@friggframework/core 2.0.0--canary.685.a13fdab.0 → 2.0.0--canary.679.a2bcc2f.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 (106) hide show
  1. package/CLAUDE.md +0 -25
  2. package/README.md +0 -105
  3. package/application/commands/integration-commands.js +2 -2
  4. package/application/commands/user-commands.js +5 -17
  5. package/credential/use-cases/credential-operations-for-user.js +25 -110
  6. package/credential/use-cases/reauthorize-credential-for-user.js +8 -15
  7. package/database/documentdb-utils.js +1 -6
  8. package/generated/prisma-mongodb/edge.js +4 -15
  9. package/generated/prisma-mongodb/index-browser.js +1 -12
  10. package/generated/prisma-mongodb/index.d.ts +86 -2027
  11. package/generated/prisma-mongodb/index.js +4 -15
  12. package/generated/prisma-mongodb/package.json +1 -1
  13. package/generated/prisma-mongodb/schema.prisma +0 -47
  14. package/generated/prisma-mongodb/wasm.js +4 -15
  15. package/generated/prisma-postgresql/edge.js +4 -15
  16. package/generated/prisma-postgresql/index-browser.js +1 -12
  17. package/generated/prisma-postgresql/index.d.ts +63 -2162
  18. package/generated/prisma-postgresql/index.js +4 -15
  19. package/generated/prisma-postgresql/package.json +1 -1
  20. package/generated/prisma-postgresql/schema.prisma +0 -44
  21. package/generated/prisma-postgresql/wasm.js +4 -15
  22. package/handlers/app-definition-loader.js +1 -24
  23. package/index.js +0 -22
  24. package/integrations/integration-router.js +73 -115
  25. package/integrations/repositories/integration-repository-documentdb.js +3 -35
  26. package/integrations/repositories/integration-repository-interface.js +1 -17
  27. package/integrations/repositories/integration-repository-mongo.js +76 -59
  28. package/integrations/repositories/integration-repository-postgres.js +76 -62
  29. package/integrations/tests/doubles/test-integration-repository.js +1 -12
  30. package/integrations/use-cases/create-integration.js +20 -55
  31. package/integrations/use-cases/get-integrations-for-user.js +40 -80
  32. package/integrations/use-cases/index.js +1 -5
  33. package/integrations/use-cases/integration-operations-for-user.js +24 -55
  34. package/management-api/management-api-config.js +2 -71
  35. package/management-api/openapi/components.js +0 -40
  36. package/management-api/openapi/v2-operations.js +4 -16
  37. package/management-api/v2/dependencies.js +15 -40
  38. package/management-api/v2/dto.js +0 -20
  39. package/management-api/v2/handlers/authorization.js +0 -1
  40. package/management-api/v2/handlers/credentials.js +2 -6
  41. package/management-api/v2/handlers/entities.js +7 -10
  42. package/management-api/v2/handlers/integrations.js +3 -6
  43. package/management-api/v2/request.js +1 -32
  44. package/modules/index.js +0 -8
  45. package/modules/repositories/module-repository-documentdb.js +6 -51
  46. package/modules/repositories/module-repository-interface.js +2 -19
  47. package/modules/repositories/module-repository-mongo.js +74 -67
  48. package/modules/repositories/module-repository-postgres.js +74 -66
  49. package/modules/repositories/module-repository.js +1 -2
  50. package/modules/use-cases/entity-operations-for-user.js +13 -50
  51. package/modules/use-cases/entity-types.js +7 -31
  52. package/modules/use-cases/execute-entity-proxy-request.js +3 -50
  53. package/modules/use-cases/get-entities-for-user.js +5 -16
  54. package/modules/use-cases/get-entity-module-for-user.js +5 -32
  55. package/modules/use-cases/get-entity-options-by-id.js +3 -9
  56. package/modules/use-cases/get-module.js +3 -9
  57. package/modules/use-cases/multi-step-authorization.js +12 -39
  58. package/modules/use-cases/process-authorization-callback.js +18 -52
  59. package/modules/use-cases/refresh-entity-options.js +3 -9
  60. package/modules/use-cases/test-module-auth.js +3 -9
  61. package/package.json +5 -6
  62. package/prisma-mongodb/schema.prisma +0 -47
  63. package/prisma-postgresql/schema.prisma +0 -44
  64. package/types/index.d.ts +0 -1
  65. package/types/modules/index.d.ts +0 -129
  66. package/user/repositories/user-repository-documentdb.js +2 -27
  67. package/user/repositories/user-repository-interface.js +0 -18
  68. package/user/repositories/user-repository-mongo.js +0 -24
  69. package/user/repositories/user-repository-postgres.js +0 -18
  70. package/user/use-cases/authenticate-user.js +1 -7
  71. package/user/use-cases/get-user-from-adopter-jwt.js +124 -95
  72. package/user/use-cases/get-user-from-x-frigg-headers.js +80 -83
  73. package/user/user.js +1 -64
  74. package/database/organization-where.js +0 -18
  75. package/database/unique-violation.js +0 -25
  76. package/integrations/repositories/integration-not-found.js +0 -14
  77. package/integrations/use-cases/resolve-integration-ownership.js +0 -177
  78. package/modules/entity-scope.js +0 -15
  79. package/modules/repositories/entity-not-found.js +0 -18
  80. package/modules/scope-config.js +0 -192
  81. package/modules/scope-policy.js +0 -112
  82. package/modules/scope-resolution.js +0 -288
  83. package/modules/scope-visibility.js +0 -247
  84. package/modules/tests/doubles/ownership-matching.js +0 -18
  85. package/modules/use-cases/authorize-entity-for-user.js +0 -61
  86. package/modules/use-cases/create-entity-from-credential.js +0 -113
  87. package/modules/use-cases/manage-access.js +0 -21
  88. package/prisma-postgresql/migrations/20261015000000_add_organization_membership/migration.sql +0 -26
  89. package/prisma-postgresql/migrations/20261016000000_add_entity_integration_organization/migration.sql +0 -25
  90. package/types/user/index.d.ts +0 -134
  91. package/user/adopter-jwt-config.js +0 -177
  92. package/user/adopter-jwt-errors.js +0 -59
  93. package/user/adopter-token-verifier.js +0 -122
  94. package/user/app-user-helpers.js +0 -97
  95. package/user/create-user-authentication.js +0 -64
  96. package/user/membership.js +0 -51
  97. package/user/repositories/organization-membership-record.js +0 -19
  98. package/user/repositories/organization-membership-repository-documentdb.js +0 -106
  99. package/user/repositories/organization-membership-repository-factory.js +0 -42
  100. package/user/repositories/organization-membership-repository-interface.js +0 -57
  101. package/user/repositories/organization-membership-repository-mongo.js +0 -13
  102. package/user/repositories/organization-membership-repository-postgres.js +0 -29
  103. package/user/repositories/organization-membership-repository-prisma.js +0 -81
  104. package/user/tests/doubles/adopter-jwt-fixtures.js +0 -220
  105. package/user/use-cases/ensure-organization-membership.js +0 -92
  106. package/user/use-cases/find-individual-users-by-organization.js +0 -54
@@ -110,15 +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
113
 
123
114
  /**
124
115
  * Enums
@@ -435,16 +426,6 @@ export class PrismaClient<
435
426
  * ```
436
427
  */
437
428
  get authorizationSession(): Prisma.AuthorizationSessionDelegate<ExtArgs, ClientOptions>;
438
-
439
- /**
440
- * `prisma.organizationMembership`: Exposes CRUD operations for the **OrganizationMembership** model.
441
- * Example usage:
442
- * ```ts
443
- * // Fetch zero or more OrganizationMemberships
444
- * const organizationMemberships = await prisma.organizationMembership.findMany()
445
- * ```
446
- */
447
- get organizationMembership(): Prisma.OrganizationMembershipDelegate<ExtArgs, ClientOptions>;
448
429
  }
449
430
 
450
431
  export namespace Prisma {
@@ -902,8 +883,7 @@ export namespace Prisma {
902
883
  AdminScriptExecution: 'AdminScriptExecution',
903
884
  ScriptSchedule: 'ScriptSchedule',
904
885
  UsageCounter: 'UsageCounter',
905
- AuthorizationSession: 'AuthorizationSession',
906
- OrganizationMembership: 'OrganizationMembership'
886
+ AuthorizationSession: 'AuthorizationSession'
907
887
  };
908
888
 
909
889
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -922,7 +902,7 @@ export namespace Prisma {
922
902
  omit: GlobalOmitOptions
923
903
  }
924
904
  meta: {
925
- modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "authorizationSession" | "organizationMembership"
905
+ modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "authorizationSession"
926
906
  txIsolationLevel: never
927
907
  }
928
908
  model: {
@@ -2184,80 +2164,6 @@ export namespace Prisma {
2184
2164
  }
2185
2165
  }
2186
2166
  }
2187
- OrganizationMembership: {
2188
- payload: Prisma.$OrganizationMembershipPayload<ExtArgs>
2189
- fields: Prisma.OrganizationMembershipFieldRefs
2190
- operations: {
2191
- findUnique: {
2192
- args: Prisma.OrganizationMembershipFindUniqueArgs<ExtArgs>
2193
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload> | null
2194
- }
2195
- findUniqueOrThrow: {
2196
- args: Prisma.OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs>
2197
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2198
- }
2199
- findFirst: {
2200
- args: Prisma.OrganizationMembershipFindFirstArgs<ExtArgs>
2201
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload> | null
2202
- }
2203
- findFirstOrThrow: {
2204
- args: Prisma.OrganizationMembershipFindFirstOrThrowArgs<ExtArgs>
2205
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2206
- }
2207
- findMany: {
2208
- args: Prisma.OrganizationMembershipFindManyArgs<ExtArgs>
2209
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>[]
2210
- }
2211
- create: {
2212
- args: Prisma.OrganizationMembershipCreateArgs<ExtArgs>
2213
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2214
- }
2215
- createMany: {
2216
- args: Prisma.OrganizationMembershipCreateManyArgs<ExtArgs>
2217
- result: BatchPayload
2218
- }
2219
- delete: {
2220
- args: Prisma.OrganizationMembershipDeleteArgs<ExtArgs>
2221
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2222
- }
2223
- update: {
2224
- args: Prisma.OrganizationMembershipUpdateArgs<ExtArgs>
2225
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2226
- }
2227
- deleteMany: {
2228
- args: Prisma.OrganizationMembershipDeleteManyArgs<ExtArgs>
2229
- result: BatchPayload
2230
- }
2231
- updateMany: {
2232
- args: Prisma.OrganizationMembershipUpdateManyArgs<ExtArgs>
2233
- result: BatchPayload
2234
- }
2235
- upsert: {
2236
- args: Prisma.OrganizationMembershipUpsertArgs<ExtArgs>
2237
- result: $Utils.PayloadToResult<Prisma.$OrganizationMembershipPayload>
2238
- }
2239
- aggregate: {
2240
- args: Prisma.OrganizationMembershipAggregateArgs<ExtArgs>
2241
- result: $Utils.Optional<AggregateOrganizationMembership>
2242
- }
2243
- groupBy: {
2244
- args: Prisma.OrganizationMembershipGroupByArgs<ExtArgs>
2245
- result: $Utils.Optional<OrganizationMembershipGroupByOutputType>[]
2246
- }
2247
- findRaw: {
2248
- args: Prisma.OrganizationMembershipFindRawArgs<ExtArgs>
2249
- result: JsonObject
2250
- }
2251
- aggregateRaw: {
2252
- args: Prisma.OrganizationMembershipAggregateRawArgs<ExtArgs>
2253
- result: JsonObject
2254
- }
2255
- count: {
2256
- args: Prisma.OrganizationMembershipCountArgs<ExtArgs>
2257
- result: $Utils.Optional<OrganizationMembershipCountAggregateOutputType> | number
2258
- }
2259
- }
2260
- }
2261
2167
  }
2262
2168
  } & {
2263
2169
  other: {
@@ -2354,7 +2260,6 @@ export namespace Prisma {
2354
2260
  scriptSchedule?: ScriptScheduleOmit
2355
2261
  usageCounter?: UsageCounterOmit
2356
2262
  authorizationSession?: AuthorizationSessionOmit
2357
- organizationMembership?: OrganizationMembershipOmit
2358
2263
  }
2359
2264
 
2360
2265
  /* Types for Logging */
@@ -2441,8 +2346,6 @@ export namespace Prisma {
2441
2346
  entities: number
2442
2347
  integrations: number
2443
2348
  processes: number
2444
- memberships: number
2445
- orgMembers: number
2446
2349
  }
2447
2350
 
2448
2351
  export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2452,8 +2355,6 @@ export namespace Prisma {
2452
2355
  entities?: boolean | UserCountOutputTypeCountEntitiesArgs
2453
2356
  integrations?: boolean | UserCountOutputTypeCountIntegrationsArgs
2454
2357
  processes?: boolean | UserCountOutputTypeCountProcessesArgs
2455
- memberships?: boolean | UserCountOutputTypeCountMembershipsArgs
2456
- orgMembers?: boolean | UserCountOutputTypeCountOrgMembersArgs
2457
2358
  }
2458
2359
 
2459
2360
  // Custom InputTypes
@@ -2509,20 +2410,6 @@ export namespace Prisma {
2509
2410
  where?: ProcessWhereInput
2510
2411
  }
2511
2412
 
2512
- /**
2513
- * UserCountOutputType without action
2514
- */
2515
- export type UserCountOutputTypeCountMembershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2516
- where?: OrganizationMembershipWhereInput
2517
- }
2518
-
2519
- /**
2520
- * UserCountOutputType without action
2521
- */
2522
- export type UserCountOutputTypeCountOrgMembersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2523
- where?: OrganizationMembershipWhereInput
2524
- }
2525
-
2526
2413
 
2527
2414
  /**
2528
2415
  * Count Type CredentialCountOutputType
@@ -2974,8 +2861,6 @@ export namespace Prisma {
2974
2861
  entities?: boolean | User$entitiesArgs<ExtArgs>
2975
2862
  integrations?: boolean | User$integrationsArgs<ExtArgs>
2976
2863
  processes?: boolean | User$processesArgs<ExtArgs>
2977
- memberships?: boolean | User$membershipsArgs<ExtArgs>
2978
- orgMembers?: boolean | User$orgMembersArgs<ExtArgs>
2979
2864
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
2980
2865
  }, ExtArgs["result"]["user"]>
2981
2866
 
@@ -3004,8 +2889,6 @@ export namespace Prisma {
3004
2889
  entities?: boolean | User$entitiesArgs<ExtArgs>
3005
2890
  integrations?: boolean | User$integrationsArgs<ExtArgs>
3006
2891
  processes?: boolean | User$processesArgs<ExtArgs>
3007
- memberships?: boolean | User$membershipsArgs<ExtArgs>
3008
- orgMembers?: boolean | User$orgMembersArgs<ExtArgs>
3009
2892
  _count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
3010
2893
  }
3011
2894
 
@@ -3019,8 +2902,6 @@ export namespace Prisma {
3019
2902
  entities: Prisma.$EntityPayload<ExtArgs>[]
3020
2903
  integrations: Prisma.$IntegrationPayload<ExtArgs>[]
3021
2904
  processes: Prisma.$ProcessPayload<ExtArgs>[]
3022
- memberships: Prisma.$OrganizationMembershipPayload<ExtArgs>[]
3023
- orgMembers: Prisma.$OrganizationMembershipPayload<ExtArgs>[]
3024
2905
  }
3025
2906
  scalars: $Extensions.GetPayloadResult<{
3026
2907
  id: string
@@ -3404,8 +3285,6 @@ export namespace Prisma {
3404
3285
  entities<T extends User$entitiesArgs<ExtArgs> = {}>(args?: Subset<T, User$entitiesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3405
3286
  integrations<T extends User$integrationsArgs<ExtArgs> = {}>(args?: Subset<T, User$integrationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3406
3287
  processes<T extends User$processesArgs<ExtArgs> = {}>(args?: Subset<T, User$processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3407
- memberships<T extends User$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, User$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3408
- orgMembers<T extends User$orgMembersArgs<ExtArgs> = {}>(args?: Subset<T, User$orgMembersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3409
3288
  /**
3410
3289
  * Attaches callbacks for the resolution and/or rejection of the Promise.
3411
3290
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -3978,54 +3857,6 @@ export namespace Prisma {
3978
3857
  distinct?: ProcessScalarFieldEnum | ProcessScalarFieldEnum[]
3979
3858
  }
3980
3859
 
3981
- /**
3982
- * User.memberships
3983
- */
3984
- export type User$membershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3985
- /**
3986
- * Select specific fields to fetch from the OrganizationMembership
3987
- */
3988
- select?: OrganizationMembershipSelect<ExtArgs> | null
3989
- /**
3990
- * Omit specific fields from the OrganizationMembership
3991
- */
3992
- omit?: OrganizationMembershipOmit<ExtArgs> | null
3993
- /**
3994
- * Choose, which related nodes to fetch as well
3995
- */
3996
- include?: OrganizationMembershipInclude<ExtArgs> | null
3997
- where?: OrganizationMembershipWhereInput
3998
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
3999
- cursor?: OrganizationMembershipWhereUniqueInput
4000
- take?: number
4001
- skip?: number
4002
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
4003
- }
4004
-
4005
- /**
4006
- * User.orgMembers
4007
- */
4008
- export type User$orgMembersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4009
- /**
4010
- * Select specific fields to fetch from the OrganizationMembership
4011
- */
4012
- select?: OrganizationMembershipSelect<ExtArgs> | null
4013
- /**
4014
- * Omit specific fields from the OrganizationMembership
4015
- */
4016
- omit?: OrganizationMembershipOmit<ExtArgs> | null
4017
- /**
4018
- * Choose, which related nodes to fetch as well
4019
- */
4020
- include?: OrganizationMembershipInclude<ExtArgs> | null
4021
- where?: OrganizationMembershipWhereInput
4022
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
4023
- cursor?: OrganizationMembershipWhereUniqueInput
4024
- take?: number
4025
- skip?: number
4026
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
4027
- }
4028
-
4029
3860
  /**
4030
3861
  * User without action
4031
3862
  */
@@ -6087,7 +5918,6 @@ export namespace Prisma {
6087
5918
  name: string | null
6088
5919
  moduleName: string | null
6089
5920
  externalId: string | null
6090
- organizationId: string | null
6091
5921
  createdAt: Date | null
6092
5922
  updatedAt: Date | null
6093
5923
  }
@@ -6099,7 +5929,6 @@ export namespace Prisma {
6099
5929
  name: string | null
6100
5930
  moduleName: string | null
6101
5931
  externalId: string | null
6102
- organizationId: string | null
6103
5932
  createdAt: Date | null
6104
5933
  updatedAt: Date | null
6105
5934
  }
@@ -6111,7 +5940,6 @@ export namespace Prisma {
6111
5940
  name: number
6112
5941
  moduleName: number
6113
5942
  externalId: number
6114
- organizationId: number
6115
5943
  data: number
6116
5944
  createdAt: number
6117
5945
  updatedAt: number
@@ -6128,7 +5956,6 @@ export namespace Prisma {
6128
5956
  name?: true
6129
5957
  moduleName?: true
6130
5958
  externalId?: true
6131
- organizationId?: true
6132
5959
  createdAt?: true
6133
5960
  updatedAt?: true
6134
5961
  }
@@ -6140,7 +5967,6 @@ export namespace Prisma {
6140
5967
  name?: true
6141
5968
  moduleName?: true
6142
5969
  externalId?: true
6143
- organizationId?: true
6144
5970
  createdAt?: true
6145
5971
  updatedAt?: true
6146
5972
  }
@@ -6152,7 +5978,6 @@ export namespace Prisma {
6152
5978
  name?: true
6153
5979
  moduleName?: true
6154
5980
  externalId?: true
6155
- organizationId?: true
6156
5981
  data?: true
6157
5982
  createdAt?: true
6158
5983
  updatedAt?: true
@@ -6240,7 +6065,6 @@ export namespace Prisma {
6240
6065
  name: string | null
6241
6066
  moduleName: string | null
6242
6067
  externalId: string | null
6243
- organizationId: string | null
6244
6068
  data: JsonValue
6245
6069
  createdAt: Date
6246
6070
  updatedAt: Date
@@ -6272,7 +6096,6 @@ export namespace Prisma {
6272
6096
  name?: boolean
6273
6097
  moduleName?: boolean
6274
6098
  externalId?: boolean
6275
- organizationId?: boolean
6276
6099
  data?: boolean
6277
6100
  createdAt?: boolean
6278
6101
  updatedAt?: boolean
@@ -6296,7 +6119,6 @@ export namespace Prisma {
6296
6119
  name?: boolean
6297
6120
  moduleName?: boolean
6298
6121
  externalId?: boolean
6299
- organizationId?: boolean
6300
6122
  data?: boolean
6301
6123
  createdAt?: boolean
6302
6124
  updatedAt?: boolean
@@ -6304,7 +6126,7 @@ export namespace Prisma {
6304
6126
  syncIds?: boolean
6305
6127
  }
6306
6128
 
6307
- 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"]>
6308
6130
  export type EntityInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
6309
6131
  credential?: boolean | Entity$credentialArgs<ExtArgs>
6310
6132
  user?: boolean | Entity$userArgs<ExtArgs>
@@ -6332,7 +6154,6 @@ export namespace Prisma {
6332
6154
  name: string | null
6333
6155
  moduleName: string | null
6334
6156
  externalId: string | null
6335
- organizationId: string | null
6336
6157
  data: Prisma.JsonValue
6337
6158
  createdAt: Date
6338
6159
  updatedAt: Date
@@ -6742,7 +6563,6 @@ export namespace Prisma {
6742
6563
  readonly name: FieldRef<"Entity", 'String'>
6743
6564
  readonly moduleName: FieldRef<"Entity", 'String'>
6744
6565
  readonly externalId: FieldRef<"Entity", 'String'>
6745
- readonly organizationId: FieldRef<"Entity", 'String'>
6746
6566
  readonly data: FieldRef<"Entity", 'Json'>
6747
6567
  readonly createdAt: FieldRef<"Entity", 'DateTime'>
6748
6568
  readonly updatedAt: FieldRef<"Entity", 'DateTime'>
@@ -7284,7 +7104,6 @@ export namespace Prisma {
7284
7104
  id: string | null
7285
7105
  userId: string | null
7286
7106
  status: $Enums.IntegrationStatus | null
7287
- organizationId: string | null
7288
7107
  version: string | null
7289
7108
  createdAt: Date | null
7290
7109
  updatedAt: Date | null
@@ -7294,7 +7113,6 @@ export namespace Prisma {
7294
7113
  id: string | null
7295
7114
  userId: string | null
7296
7115
  status: $Enums.IntegrationStatus | null
7297
- organizationId: string | null
7298
7116
  version: string | null
7299
7117
  createdAt: Date | null
7300
7118
  updatedAt: Date | null
@@ -7304,7 +7122,6 @@ export namespace Prisma {
7304
7122
  id: number
7305
7123
  userId: number
7306
7124
  status: number
7307
- organizationId: number
7308
7125
  config: number
7309
7126
  version: number
7310
7127
  entityIds: number
@@ -7322,7 +7139,6 @@ export namespace Prisma {
7322
7139
  id?: true
7323
7140
  userId?: true
7324
7141
  status?: true
7325
- organizationId?: true
7326
7142
  version?: true
7327
7143
  createdAt?: true
7328
7144
  updatedAt?: true
@@ -7332,7 +7148,6 @@ export namespace Prisma {
7332
7148
  id?: true
7333
7149
  userId?: true
7334
7150
  status?: true
7335
- organizationId?: true
7336
7151
  version?: true
7337
7152
  createdAt?: true
7338
7153
  updatedAt?: true
@@ -7342,7 +7157,6 @@ export namespace Prisma {
7342
7157
  id?: true
7343
7158
  userId?: true
7344
7159
  status?: true
7345
- organizationId?: true
7346
7160
  config?: true
7347
7161
  version?: true
7348
7162
  entityIds?: true
@@ -7431,7 +7245,6 @@ export namespace Prisma {
7431
7245
  id: string
7432
7246
  userId: string | null
7433
7247
  status: $Enums.IntegrationStatus
7434
- organizationId: string | null
7435
7248
  config: JsonValue | null
7436
7249
  version: string | null
7437
7250
  entityIds: string[]
@@ -7464,7 +7277,6 @@ export namespace Prisma {
7464
7277
  id?: boolean
7465
7278
  userId?: boolean
7466
7279
  status?: boolean
7467
- organizationId?: boolean
7468
7280
  config?: boolean
7469
7281
  version?: boolean
7470
7282
  entityIds?: boolean
@@ -7489,7 +7301,6 @@ export namespace Prisma {
7489
7301
  id?: boolean
7490
7302
  userId?: boolean
7491
7303
  status?: boolean
7492
- organizationId?: boolean
7493
7304
  config?: boolean
7494
7305
  version?: boolean
7495
7306
  entityIds?: boolean
@@ -7501,7 +7312,7 @@ export namespace Prisma {
7501
7312
  updatedAt?: boolean
7502
7313
  }
7503
7314
 
7504
- 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"]>
7505
7316
  export type IntegrationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
7506
7317
  user?: boolean | Integration$userArgs<ExtArgs>
7507
7318
  entities?: boolean | Integration$entitiesArgs<ExtArgs>
@@ -7526,7 +7337,6 @@ export namespace Prisma {
7526
7337
  id: string
7527
7338
  userId: string | null
7528
7339
  status: $Enums.IntegrationStatus
7529
- organizationId: string | null
7530
7340
  config: Prisma.JsonValue | null
7531
7341
  version: string | null
7532
7342
  entityIds: string[]
@@ -7937,7 +7747,6 @@ export namespace Prisma {
7937
7747
  readonly id: FieldRef<"Integration", 'String'>
7938
7748
  readonly userId: FieldRef<"Integration", 'String'>
7939
7749
  readonly status: FieldRef<"Integration", 'IntegrationStatus'>
7940
- readonly organizationId: FieldRef<"Integration", 'String'>
7941
7750
  readonly config: FieldRef<"Integration", 'Json'>
7942
7751
  readonly version: FieldRef<"Integration", 'String'>
7943
7752
  readonly entityIds: FieldRef<"Integration", 'String[]'>
@@ -20367,1080 +20176,95 @@ export namespace Prisma {
20367
20176
 
20368
20177
 
20369
20178
  /**
20370
- * Model OrganizationMembership
20179
+ * Enums
20371
20180
  */
20372
20181
 
20373
- export type AggregateOrganizationMembership = {
20374
- _count: OrganizationMembershipCountAggregateOutputType | null
20375
- _min: OrganizationMembershipMinAggregateOutputType | null
20376
- _max: OrganizationMembershipMaxAggregateOutputType | null
20377
- }
20378
-
20379
- export type OrganizationMembershipMinAggregateOutputType = {
20380
- id: string | null
20381
- individualUserId: string | null
20382
- organizationUserId: string | null
20383
- orgRole: string | null
20384
- createdAt: Date | null
20385
- }
20386
-
20387
- export type OrganizationMembershipMaxAggregateOutputType = {
20388
- id: string | null
20389
- individualUserId: string | null
20390
- organizationUserId: string | null
20391
- orgRole: string | null
20392
- createdAt: Date | null
20393
- }
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
+ };
20394
20195
 
20395
- export type OrganizationMembershipCountAggregateOutputType = {
20396
- id: number
20397
- individualUserId: number
20398
- organizationUserId: number
20399
- orgRole: number
20400
- createdAt: number
20401
- _all: number
20402
- }
20196
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
20403
20197
 
20404
20198
 
20405
- export type OrganizationMembershipMinAggregateInputType = {
20406
- id?: true
20407
- individualUserId?: true
20408
- organizationUserId?: true
20409
- orgRole?: true
20410
- createdAt?: true
20411
- }
20199
+ export const TokenScalarFieldEnum: {
20200
+ id: 'id',
20201
+ token: 'token',
20202
+ created: 'created',
20203
+ expires: 'expires',
20204
+ userId: 'userId'
20205
+ };
20412
20206
 
20413
- export type OrganizationMembershipMaxAggregateInputType = {
20414
- id?: true
20415
- individualUserId?: true
20416
- organizationUserId?: true
20417
- orgRole?: true
20418
- createdAt?: true
20419
- }
20207
+ export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
20420
20208
 
20421
- export type OrganizationMembershipCountAggregateInputType = {
20422
- id?: true
20423
- individualUserId?: true
20424
- organizationUserId?: true
20425
- orgRole?: true
20426
- createdAt?: true
20427
- _all?: true
20428
- }
20429
20209
 
20430
- export type OrganizationMembershipAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20431
- /**
20432
- * Filter which OrganizationMembership to aggregate.
20433
- */
20434
- where?: OrganizationMembershipWhereInput
20435
- /**
20436
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
20437
- *
20438
- * Determine the order of OrganizationMemberships to fetch.
20439
- */
20440
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
20441
- /**
20442
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
20443
- *
20444
- * Sets the start position
20445
- */
20446
- cursor?: OrganizationMembershipWhereUniqueInput
20447
- /**
20448
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20449
- *
20450
- * Take `±n` OrganizationMemberships from the position of the cursor.
20451
- */
20452
- take?: number
20453
- /**
20454
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20455
- *
20456
- * Skip the first `n` OrganizationMemberships.
20457
- */
20458
- skip?: number
20459
- /**
20460
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20461
- *
20462
- * Count returned OrganizationMemberships
20463
- **/
20464
- _count?: true | OrganizationMembershipCountAggregateInputType
20465
- /**
20466
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20467
- *
20468
- * Select which fields to find the minimum value
20469
- **/
20470
- _min?: OrganizationMembershipMinAggregateInputType
20471
- /**
20472
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20473
- *
20474
- * Select which fields to find the maximum value
20475
- **/
20476
- _max?: OrganizationMembershipMaxAggregateInputType
20477
- }
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
+ };
20478
20219
 
20479
- export type GetOrganizationMembershipAggregateType<T extends OrganizationMembershipAggregateArgs> = {
20480
- [P in keyof T & keyof AggregateOrganizationMembership]: P extends '_count' | 'count'
20481
- ? T[P] extends true
20482
- ? number
20483
- : GetScalarType<T[P], AggregateOrganizationMembership[P]>
20484
- : GetScalarType<T[P], AggregateOrganizationMembership[P]>
20485
- }
20220
+ export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
20486
20221
 
20487
20222
 
20223
+ export const EntityScalarFieldEnum: {
20224
+ id: 'id',
20225
+ credentialId: 'credentialId',
20226
+ userId: 'userId',
20227
+ name: 'name',
20228
+ moduleName: 'moduleName',
20229
+ externalId: 'externalId',
20230
+ data: 'data',
20231
+ createdAt: 'createdAt',
20232
+ updatedAt: 'updatedAt',
20233
+ integrationIds: 'integrationIds',
20234
+ syncIds: 'syncIds'
20235
+ };
20488
20236
 
20237
+ export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
20489
20238
 
20490
- export type OrganizationMembershipGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20491
- where?: OrganizationMembershipWhereInput
20492
- orderBy?: OrganizationMembershipOrderByWithAggregationInput | OrganizationMembershipOrderByWithAggregationInput[]
20493
- by: OrganizationMembershipScalarFieldEnum[] | OrganizationMembershipScalarFieldEnum
20494
- having?: OrganizationMembershipScalarWhereWithAggregatesInput
20495
- take?: number
20496
- skip?: number
20497
- _count?: OrganizationMembershipCountAggregateInputType | true
20498
- _min?: OrganizationMembershipMinAggregateInputType
20499
- _max?: OrganizationMembershipMaxAggregateInputType
20500
- }
20501
20239
 
20502
- export type OrganizationMembershipGroupByOutputType = {
20503
- id: string
20504
- individualUserId: string
20505
- organizationUserId: string
20506
- orgRole: string
20507
- createdAt: Date
20508
- _count: OrganizationMembershipCountAggregateOutputType | null
20509
- _min: OrganizationMembershipMinAggregateOutputType | null
20510
- _max: OrganizationMembershipMaxAggregateOutputType | null
20511
- }
20240
+ export const IntegrationScalarFieldEnum: {
20241
+ id: 'id',
20242
+ userId: 'userId',
20243
+ status: 'status',
20244
+ config: 'config',
20245
+ version: 'version',
20246
+ entityIds: 'entityIds',
20247
+ errors: 'errors',
20248
+ warnings: 'warnings',
20249
+ info: 'info',
20250
+ logs: 'logs',
20251
+ createdAt: 'createdAt',
20252
+ updatedAt: 'updatedAt'
20253
+ };
20512
20254
 
20513
- type GetOrganizationMembershipGroupByPayload<T extends OrganizationMembershipGroupByArgs> = Prisma.PrismaPromise<
20514
- Array<
20515
- PickEnumerable<OrganizationMembershipGroupByOutputType, T['by']> &
20516
- {
20517
- [P in ((keyof T) & (keyof OrganizationMembershipGroupByOutputType))]: P extends '_count'
20518
- ? T[P] extends boolean
20519
- ? number
20520
- : GetScalarType<T[P], OrganizationMembershipGroupByOutputType[P]>
20521
- : GetScalarType<T[P], OrganizationMembershipGroupByOutputType[P]>
20522
- }
20523
- >
20524
- >
20255
+ export type IntegrationScalarFieldEnum = (typeof IntegrationScalarFieldEnum)[keyof typeof IntegrationScalarFieldEnum]
20525
20256
 
20526
20257
 
20527
- export type OrganizationMembershipSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
20528
- id?: boolean
20529
- individualUserId?: boolean
20530
- organizationUserId?: boolean
20531
- orgRole?: boolean
20532
- createdAt?: boolean
20533
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
20534
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
20535
- }, ExtArgs["result"]["organizationMembership"]>
20258
+ export const IntegrationMappingScalarFieldEnum: {
20259
+ id: 'id',
20260
+ integrationId: 'integrationId',
20261
+ sourceId: 'sourceId',
20262
+ mapping: 'mapping',
20263
+ createdAt: 'createdAt',
20264
+ updatedAt: 'updatedAt'
20265
+ };
20536
20266
 
20537
-
20538
-
20539
- export type OrganizationMembershipSelectScalar = {
20540
- id?: boolean
20541
- individualUserId?: boolean
20542
- organizationUserId?: boolean
20543
- orgRole?: boolean
20544
- createdAt?: boolean
20545
- }
20546
-
20547
- export type OrganizationMembershipOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "individualUserId" | "organizationUserId" | "orgRole" | "createdAt", ExtArgs["result"]["organizationMembership"]>
20548
- export type OrganizationMembershipInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20549
- individualUser?: boolean | UserDefaultArgs<ExtArgs>
20550
- organizationUser?: boolean | UserDefaultArgs<ExtArgs>
20551
- }
20552
-
20553
- export type $OrganizationMembershipPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20554
- name: "OrganizationMembership"
20555
- objects: {
20556
- individualUser: Prisma.$UserPayload<ExtArgs>
20557
- organizationUser: Prisma.$UserPayload<ExtArgs>
20558
- }
20559
- scalars: $Extensions.GetPayloadResult<{
20560
- id: string
20561
- individualUserId: string
20562
- organizationUserId: string
20563
- orgRole: string
20564
- createdAt: Date
20565
- }, ExtArgs["result"]["organizationMembership"]>
20566
- composites: {}
20567
- }
20568
-
20569
- type OrganizationMembershipGetPayload<S extends boolean | null | undefined | OrganizationMembershipDefaultArgs> = $Result.GetResult<Prisma.$OrganizationMembershipPayload, S>
20570
-
20571
- type OrganizationMembershipCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
20572
- Omit<OrganizationMembershipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
20573
- select?: OrganizationMembershipCountAggregateInputType | true
20574
- }
20575
-
20576
- export interface OrganizationMembershipDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
20577
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OrganizationMembership'], meta: { name: 'OrganizationMembership' } }
20578
- /**
20579
- * Find zero or one OrganizationMembership that matches the filter.
20580
- * @param {OrganizationMembershipFindUniqueArgs} args - Arguments to find a OrganizationMembership
20581
- * @example
20582
- * // Get one OrganizationMembership
20583
- * const organizationMembership = await prisma.organizationMembership.findUnique({
20584
- * where: {
20585
- * // ... provide filter here
20586
- * }
20587
- * })
20588
- */
20589
- findUnique<T extends OrganizationMembershipFindUniqueArgs>(args: SelectSubset<T, OrganizationMembershipFindUniqueArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
20590
-
20591
- /**
20592
- * Find one OrganizationMembership that matches the filter or throw an error with `error.code='P2025'`
20593
- * if no matches were found.
20594
- * @param {OrganizationMembershipFindUniqueOrThrowArgs} args - Arguments to find a OrganizationMembership
20595
- * @example
20596
- * // Get one OrganizationMembership
20597
- * const organizationMembership = await prisma.organizationMembership.findUniqueOrThrow({
20598
- * where: {
20599
- * // ... provide filter here
20600
- * }
20601
- * })
20602
- */
20603
- findUniqueOrThrow<T extends OrganizationMembershipFindUniqueOrThrowArgs>(args: SelectSubset<T, OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20604
-
20605
- /**
20606
- * Find the first OrganizationMembership that matches the filter.
20607
- * Note, that providing `undefined` is treated as the value not being there.
20608
- * Read more here: https://pris.ly/d/null-undefined
20609
- * @param {OrganizationMembershipFindFirstArgs} args - Arguments to find a OrganizationMembership
20610
- * @example
20611
- * // Get one OrganizationMembership
20612
- * const organizationMembership = await prisma.organizationMembership.findFirst({
20613
- * where: {
20614
- * // ... provide filter here
20615
- * }
20616
- * })
20617
- */
20618
- findFirst<T extends OrganizationMembershipFindFirstArgs>(args?: SelectSubset<T, OrganizationMembershipFindFirstArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
20619
-
20620
- /**
20621
- * Find the first OrganizationMembership that matches the filter or
20622
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
20623
- * Note, that providing `undefined` is treated as the value not being there.
20624
- * Read more here: https://pris.ly/d/null-undefined
20625
- * @param {OrganizationMembershipFindFirstOrThrowArgs} args - Arguments to find a OrganizationMembership
20626
- * @example
20627
- * // Get one OrganizationMembership
20628
- * const organizationMembership = await prisma.organizationMembership.findFirstOrThrow({
20629
- * where: {
20630
- * // ... provide filter here
20631
- * }
20632
- * })
20633
- */
20634
- findFirstOrThrow<T extends OrganizationMembershipFindFirstOrThrowArgs>(args?: SelectSubset<T, OrganizationMembershipFindFirstOrThrowArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20635
-
20636
- /**
20637
- * Find zero or more OrganizationMemberships that matches the filter.
20638
- * Note, that providing `undefined` is treated as the value not being there.
20639
- * Read more here: https://pris.ly/d/null-undefined
20640
- * @param {OrganizationMembershipFindManyArgs} args - Arguments to filter and select certain fields only.
20641
- * @example
20642
- * // Get all OrganizationMemberships
20643
- * const organizationMemberships = await prisma.organizationMembership.findMany()
20644
- *
20645
- * // Get first 10 OrganizationMemberships
20646
- * const organizationMemberships = await prisma.organizationMembership.findMany({ take: 10 })
20647
- *
20648
- * // Only select the `id`
20649
- * const organizationMembershipWithIdOnly = await prisma.organizationMembership.findMany({ select: { id: true } })
20650
- *
20651
- */
20652
- findMany<T extends OrganizationMembershipFindManyArgs>(args?: SelectSubset<T, OrganizationMembershipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
20653
-
20654
- /**
20655
- * Create a OrganizationMembership.
20656
- * @param {OrganizationMembershipCreateArgs} args - Arguments to create a OrganizationMembership.
20657
- * @example
20658
- * // Create one OrganizationMembership
20659
- * const OrganizationMembership = await prisma.organizationMembership.create({
20660
- * data: {
20661
- * // ... data to create a OrganizationMembership
20662
- * }
20663
- * })
20664
- *
20665
- */
20666
- create<T extends OrganizationMembershipCreateArgs>(args: SelectSubset<T, OrganizationMembershipCreateArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20667
-
20668
- /**
20669
- * Create many OrganizationMemberships.
20670
- * @param {OrganizationMembershipCreateManyArgs} args - Arguments to create many OrganizationMemberships.
20671
- * @example
20672
- * // Create many OrganizationMemberships
20673
- * const organizationMembership = await prisma.organizationMembership.createMany({
20674
- * data: [
20675
- * // ... provide data here
20676
- * ]
20677
- * })
20678
- *
20679
- */
20680
- createMany<T extends OrganizationMembershipCreateManyArgs>(args?: SelectSubset<T, OrganizationMembershipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20681
-
20682
- /**
20683
- * Delete a OrganizationMembership.
20684
- * @param {OrganizationMembershipDeleteArgs} args - Arguments to delete one OrganizationMembership.
20685
- * @example
20686
- * // Delete one OrganizationMembership
20687
- * const OrganizationMembership = await prisma.organizationMembership.delete({
20688
- * where: {
20689
- * // ... filter to delete one OrganizationMembership
20690
- * }
20691
- * })
20692
- *
20693
- */
20694
- delete<T extends OrganizationMembershipDeleteArgs>(args: SelectSubset<T, OrganizationMembershipDeleteArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20695
-
20696
- /**
20697
- * Update one OrganizationMembership.
20698
- * @param {OrganizationMembershipUpdateArgs} args - Arguments to update one OrganizationMembership.
20699
- * @example
20700
- * // Update one OrganizationMembership
20701
- * const organizationMembership = await prisma.organizationMembership.update({
20702
- * where: {
20703
- * // ... provide filter here
20704
- * },
20705
- * data: {
20706
- * // ... provide data here
20707
- * }
20708
- * })
20709
- *
20710
- */
20711
- update<T extends OrganizationMembershipUpdateArgs>(args: SelectSubset<T, OrganizationMembershipUpdateArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20712
-
20713
- /**
20714
- * Delete zero or more OrganizationMemberships.
20715
- * @param {OrganizationMembershipDeleteManyArgs} args - Arguments to filter OrganizationMemberships to delete.
20716
- * @example
20717
- * // Delete a few OrganizationMemberships
20718
- * const { count } = await prisma.organizationMembership.deleteMany({
20719
- * where: {
20720
- * // ... provide filter here
20721
- * }
20722
- * })
20723
- *
20724
- */
20725
- deleteMany<T extends OrganizationMembershipDeleteManyArgs>(args?: SelectSubset<T, OrganizationMembershipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20726
-
20727
- /**
20728
- * Update zero or more OrganizationMemberships.
20729
- * Note, that providing `undefined` is treated as the value not being there.
20730
- * Read more here: https://pris.ly/d/null-undefined
20731
- * @param {OrganizationMembershipUpdateManyArgs} args - Arguments to update one or more rows.
20732
- * @example
20733
- * // Update many OrganizationMemberships
20734
- * const organizationMembership = await prisma.organizationMembership.updateMany({
20735
- * where: {
20736
- * // ... provide filter here
20737
- * },
20738
- * data: {
20739
- * // ... provide data here
20740
- * }
20741
- * })
20742
- *
20743
- */
20744
- updateMany<T extends OrganizationMembershipUpdateManyArgs>(args: SelectSubset<T, OrganizationMembershipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20745
-
20746
- /**
20747
- * Create or update one OrganizationMembership.
20748
- * @param {OrganizationMembershipUpsertArgs} args - Arguments to update or create a OrganizationMembership.
20749
- * @example
20750
- * // Update or create a OrganizationMembership
20751
- * const organizationMembership = await prisma.organizationMembership.upsert({
20752
- * create: {
20753
- * // ... data to create a OrganizationMembership
20754
- * },
20755
- * update: {
20756
- * // ... in case it already exists, update
20757
- * },
20758
- * where: {
20759
- * // ... the filter for the OrganizationMembership we want to update
20760
- * }
20761
- * })
20762
- */
20763
- upsert<T extends OrganizationMembershipUpsertArgs>(args: SelectSubset<T, OrganizationMembershipUpsertArgs<ExtArgs>>): Prisma__OrganizationMembershipClient<$Result.GetResult<Prisma.$OrganizationMembershipPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20764
-
20765
- /**
20766
- * Find zero or more OrganizationMemberships that matches the filter.
20767
- * @param {OrganizationMembershipFindRawArgs} args - Select which filters you would like to apply.
20768
- * @example
20769
- * const organizationMembership = await prisma.organizationMembership.findRaw({
20770
- * filter: { age: { $gt: 25 } }
20771
- * })
20772
- */
20773
- findRaw(args?: OrganizationMembershipFindRawArgs): Prisma.PrismaPromise<JsonObject>
20774
-
20775
- /**
20776
- * Perform aggregation operations on a OrganizationMembership.
20777
- * @param {OrganizationMembershipAggregateRawArgs} args - Select which aggregations you would like to apply.
20778
- * @example
20779
- * const organizationMembership = await prisma.organizationMembership.aggregateRaw({
20780
- * pipeline: [
20781
- * { $match: { status: "registered" } },
20782
- * { $group: { _id: "$country", total: { $sum: 1 } } }
20783
- * ]
20784
- * })
20785
- */
20786
- aggregateRaw(args?: OrganizationMembershipAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
20787
-
20788
-
20789
- /**
20790
- * Count the number of OrganizationMemberships.
20791
- * Note, that providing `undefined` is treated as the value not being there.
20792
- * Read more here: https://pris.ly/d/null-undefined
20793
- * @param {OrganizationMembershipCountArgs} args - Arguments to filter OrganizationMemberships to count.
20794
- * @example
20795
- * // Count the number of OrganizationMemberships
20796
- * const count = await prisma.organizationMembership.count({
20797
- * where: {
20798
- * // ... the filter for the OrganizationMemberships we want to count
20799
- * }
20800
- * })
20801
- **/
20802
- count<T extends OrganizationMembershipCountArgs>(
20803
- args?: Subset<T, OrganizationMembershipCountArgs>,
20804
- ): Prisma.PrismaPromise<
20805
- T extends $Utils.Record<'select', any>
20806
- ? T['select'] extends true
20807
- ? number
20808
- : GetScalarType<T['select'], OrganizationMembershipCountAggregateOutputType>
20809
- : number
20810
- >
20811
-
20812
- /**
20813
- * Allows you to perform aggregations operations on a OrganizationMembership.
20814
- * Note, that providing `undefined` is treated as the value not being there.
20815
- * Read more here: https://pris.ly/d/null-undefined
20816
- * @param {OrganizationMembershipAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
20817
- * @example
20818
- * // Ordered by age ascending
20819
- * // Where email contains prisma.io
20820
- * // Limited to the 10 users
20821
- * const aggregations = await prisma.user.aggregate({
20822
- * _avg: {
20823
- * age: true,
20824
- * },
20825
- * where: {
20826
- * email: {
20827
- * contains: "prisma.io",
20828
- * },
20829
- * },
20830
- * orderBy: {
20831
- * age: "asc",
20832
- * },
20833
- * take: 10,
20834
- * })
20835
- **/
20836
- aggregate<T extends OrganizationMembershipAggregateArgs>(args: Subset<T, OrganizationMembershipAggregateArgs>): Prisma.PrismaPromise<GetOrganizationMembershipAggregateType<T>>
20837
-
20838
- /**
20839
- * Group by OrganizationMembership.
20840
- * Note, that providing `undefined` is treated as the value not being there.
20841
- * Read more here: https://pris.ly/d/null-undefined
20842
- * @param {OrganizationMembershipGroupByArgs} args - Group by arguments.
20843
- * @example
20844
- * // Group by city, order by createdAt, get count
20845
- * const result = await prisma.user.groupBy({
20846
- * by: ['city', 'createdAt'],
20847
- * orderBy: {
20848
- * createdAt: true
20849
- * },
20850
- * _count: {
20851
- * _all: true
20852
- * },
20853
- * })
20854
- *
20855
- **/
20856
- groupBy<
20857
- T extends OrganizationMembershipGroupByArgs,
20858
- HasSelectOrTake extends Or<
20859
- Extends<'skip', Keys<T>>,
20860
- Extends<'take', Keys<T>>
20861
- >,
20862
- OrderByArg extends True extends HasSelectOrTake
20863
- ? { orderBy: OrganizationMembershipGroupByArgs['orderBy'] }
20864
- : { orderBy?: OrganizationMembershipGroupByArgs['orderBy'] },
20865
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
20866
- ByFields extends MaybeTupleToUnion<T['by']>,
20867
- ByValid extends Has<ByFields, OrderFields>,
20868
- HavingFields extends GetHavingFields<T['having']>,
20869
- HavingValid extends Has<ByFields, HavingFields>,
20870
- ByEmpty extends T['by'] extends never[] ? True : False,
20871
- InputErrors extends ByEmpty extends True
20872
- ? `Error: "by" must not be empty.`
20873
- : HavingValid extends False
20874
- ? {
20875
- [P in HavingFields]: P extends ByFields
20876
- ? never
20877
- : P extends string
20878
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
20879
- : [
20880
- Error,
20881
- 'Field ',
20882
- P,
20883
- ` in "having" needs to be provided in "by"`,
20884
- ]
20885
- }[HavingFields]
20886
- : 'take' extends Keys<T>
20887
- ? 'orderBy' extends Keys<T>
20888
- ? ByValid extends True
20889
- ? {}
20890
- : {
20891
- [P in OrderFields]: P extends ByFields
20892
- ? never
20893
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20894
- }[OrderFields]
20895
- : 'Error: If you provide "take", you also need to provide "orderBy"'
20896
- : 'skip' extends Keys<T>
20897
- ? 'orderBy' extends Keys<T>
20898
- ? ByValid extends True
20899
- ? {}
20900
- : {
20901
- [P in OrderFields]: P extends ByFields
20902
- ? never
20903
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20904
- }[OrderFields]
20905
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
20906
- : ByValid extends True
20907
- ? {}
20908
- : {
20909
- [P in OrderFields]: P extends ByFields
20910
- ? never
20911
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20912
- }[OrderFields]
20913
- >(args: SubsetIntersection<T, OrganizationMembershipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationMembershipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
20914
- /**
20915
- * Fields of the OrganizationMembership model
20916
- */
20917
- readonly fields: OrganizationMembershipFieldRefs;
20918
- }
20919
-
20920
- /**
20921
- * The delegate class that acts as a "Promise-like" for OrganizationMembership.
20922
- * Why is this prefixed with `Prisma__`?
20923
- * Because we want to prevent naming conflicts as mentioned in
20924
- * https://github.com/prisma/prisma-client-js/issues/707
20925
- */
20926
- export interface Prisma__OrganizationMembershipClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
20927
- readonly [Symbol.toStringTag]: "PrismaPromise"
20928
- individualUser<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
20929
- organizationUser<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
20930
- /**
20931
- * Attaches callbacks for the resolution and/or rejection of the Promise.
20932
- * @param onfulfilled The callback to execute when the Promise is resolved.
20933
- * @param onrejected The callback to execute when the Promise is rejected.
20934
- * @returns A Promise for the completion of which ever callback is executed.
20935
- */
20936
- 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>
20937
- /**
20938
- * Attaches a callback for only the rejection of the Promise.
20939
- * @param onrejected The callback to execute when the Promise is rejected.
20940
- * @returns A Promise for the completion of the callback.
20941
- */
20942
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
20943
- /**
20944
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
20945
- * resolved value cannot be modified from the callback.
20946
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
20947
- * @returns A Promise for the completion of the callback.
20948
- */
20949
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
20950
- }
20951
-
20952
-
20953
-
20954
-
20955
- /**
20956
- * Fields of the OrganizationMembership model
20957
- */
20958
- interface OrganizationMembershipFieldRefs {
20959
- readonly id: FieldRef<"OrganizationMembership", 'String'>
20960
- readonly individualUserId: FieldRef<"OrganizationMembership", 'String'>
20961
- readonly organizationUserId: FieldRef<"OrganizationMembership", 'String'>
20962
- readonly orgRole: FieldRef<"OrganizationMembership", 'String'>
20963
- readonly createdAt: FieldRef<"OrganizationMembership", 'DateTime'>
20964
- }
20965
-
20966
-
20967
- // Custom InputTypes
20968
- /**
20969
- * OrganizationMembership findUnique
20970
- */
20971
- export type OrganizationMembershipFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20972
- /**
20973
- * Select specific fields to fetch from the OrganizationMembership
20974
- */
20975
- select?: OrganizationMembershipSelect<ExtArgs> | null
20976
- /**
20977
- * Omit specific fields from the OrganizationMembership
20978
- */
20979
- omit?: OrganizationMembershipOmit<ExtArgs> | null
20980
- /**
20981
- * Choose, which related nodes to fetch as well
20982
- */
20983
- include?: OrganizationMembershipInclude<ExtArgs> | null
20984
- /**
20985
- * Filter, which OrganizationMembership to fetch.
20986
- */
20987
- where: OrganizationMembershipWhereUniqueInput
20988
- }
20989
-
20990
- /**
20991
- * OrganizationMembership findUniqueOrThrow
20992
- */
20993
- export type OrganizationMembershipFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20994
- /**
20995
- * Select specific fields to fetch from the OrganizationMembership
20996
- */
20997
- select?: OrganizationMembershipSelect<ExtArgs> | null
20998
- /**
20999
- * Omit specific fields from the OrganizationMembership
21000
- */
21001
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21002
- /**
21003
- * Choose, which related nodes to fetch as well
21004
- */
21005
- include?: OrganizationMembershipInclude<ExtArgs> | null
21006
- /**
21007
- * Filter, which OrganizationMembership to fetch.
21008
- */
21009
- where: OrganizationMembershipWhereUniqueInput
21010
- }
21011
-
21012
- /**
21013
- * OrganizationMembership findFirst
21014
- */
21015
- export type OrganizationMembershipFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21016
- /**
21017
- * Select specific fields to fetch from the OrganizationMembership
21018
- */
21019
- select?: OrganizationMembershipSelect<ExtArgs> | null
21020
- /**
21021
- * Omit specific fields from the OrganizationMembership
21022
- */
21023
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21024
- /**
21025
- * Choose, which related nodes to fetch as well
21026
- */
21027
- include?: OrganizationMembershipInclude<ExtArgs> | null
21028
- /**
21029
- * Filter, which OrganizationMembership to fetch.
21030
- */
21031
- where?: OrganizationMembershipWhereInput
21032
- /**
21033
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21034
- *
21035
- * Determine the order of OrganizationMemberships to fetch.
21036
- */
21037
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
21038
- /**
21039
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21040
- *
21041
- * Sets the position for searching for OrganizationMemberships.
21042
- */
21043
- cursor?: OrganizationMembershipWhereUniqueInput
21044
- /**
21045
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21046
- *
21047
- * Take `±n` OrganizationMemberships from the position of the cursor.
21048
- */
21049
- take?: number
21050
- /**
21051
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21052
- *
21053
- * Skip the first `n` OrganizationMemberships.
21054
- */
21055
- skip?: number
21056
- /**
21057
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
21058
- *
21059
- * Filter by unique combinations of OrganizationMemberships.
21060
- */
21061
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
21062
- }
21063
-
21064
- /**
21065
- * OrganizationMembership findFirstOrThrow
21066
- */
21067
- export type OrganizationMembershipFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21068
- /**
21069
- * Select specific fields to fetch from the OrganizationMembership
21070
- */
21071
- select?: OrganizationMembershipSelect<ExtArgs> | null
21072
- /**
21073
- * Omit specific fields from the OrganizationMembership
21074
- */
21075
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21076
- /**
21077
- * Choose, which related nodes to fetch as well
21078
- */
21079
- include?: OrganizationMembershipInclude<ExtArgs> | null
21080
- /**
21081
- * Filter, which OrganizationMembership to fetch.
21082
- */
21083
- where?: OrganizationMembershipWhereInput
21084
- /**
21085
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21086
- *
21087
- * Determine the order of OrganizationMemberships to fetch.
21088
- */
21089
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
21090
- /**
21091
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21092
- *
21093
- * Sets the position for searching for OrganizationMemberships.
21094
- */
21095
- cursor?: OrganizationMembershipWhereUniqueInput
21096
- /**
21097
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21098
- *
21099
- * Take `±n` OrganizationMemberships from the position of the cursor.
21100
- */
21101
- take?: number
21102
- /**
21103
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21104
- *
21105
- * Skip the first `n` OrganizationMemberships.
21106
- */
21107
- skip?: number
21108
- /**
21109
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
21110
- *
21111
- * Filter by unique combinations of OrganizationMemberships.
21112
- */
21113
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
21114
- }
21115
-
21116
- /**
21117
- * OrganizationMembership findMany
21118
- */
21119
- export type OrganizationMembershipFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21120
- /**
21121
- * Select specific fields to fetch from the OrganizationMembership
21122
- */
21123
- select?: OrganizationMembershipSelect<ExtArgs> | null
21124
- /**
21125
- * Omit specific fields from the OrganizationMembership
21126
- */
21127
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21128
- /**
21129
- * Choose, which related nodes to fetch as well
21130
- */
21131
- include?: OrganizationMembershipInclude<ExtArgs> | null
21132
- /**
21133
- * Filter, which OrganizationMemberships to fetch.
21134
- */
21135
- where?: OrganizationMembershipWhereInput
21136
- /**
21137
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21138
- *
21139
- * Determine the order of OrganizationMemberships to fetch.
21140
- */
21141
- orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[]
21142
- /**
21143
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21144
- *
21145
- * Sets the position for listing OrganizationMemberships.
21146
- */
21147
- cursor?: OrganizationMembershipWhereUniqueInput
21148
- /**
21149
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21150
- *
21151
- * Take `±n` OrganizationMemberships from the position of the cursor.
21152
- */
21153
- take?: number
21154
- /**
21155
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21156
- *
21157
- * Skip the first `n` OrganizationMemberships.
21158
- */
21159
- skip?: number
21160
- distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[]
21161
- }
21162
-
21163
- /**
21164
- * OrganizationMembership create
21165
- */
21166
- export type OrganizationMembershipCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21167
- /**
21168
- * Select specific fields to fetch from the OrganizationMembership
21169
- */
21170
- select?: OrganizationMembershipSelect<ExtArgs> | null
21171
- /**
21172
- * Omit specific fields from the OrganizationMembership
21173
- */
21174
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21175
- /**
21176
- * Choose, which related nodes to fetch as well
21177
- */
21178
- include?: OrganizationMembershipInclude<ExtArgs> | null
21179
- /**
21180
- * The data needed to create a OrganizationMembership.
21181
- */
21182
- data: XOR<OrganizationMembershipCreateInput, OrganizationMembershipUncheckedCreateInput>
21183
- }
21184
-
21185
- /**
21186
- * OrganizationMembership createMany
21187
- */
21188
- export type OrganizationMembershipCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21189
- /**
21190
- * The data used to create many OrganizationMemberships.
21191
- */
21192
- data: OrganizationMembershipCreateManyInput | OrganizationMembershipCreateManyInput[]
21193
- }
21194
-
21195
- /**
21196
- * OrganizationMembership update
21197
- */
21198
- export type OrganizationMembershipUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21199
- /**
21200
- * Select specific fields to fetch from the OrganizationMembership
21201
- */
21202
- select?: OrganizationMembershipSelect<ExtArgs> | null
21203
- /**
21204
- * Omit specific fields from the OrganizationMembership
21205
- */
21206
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21207
- /**
21208
- * Choose, which related nodes to fetch as well
21209
- */
21210
- include?: OrganizationMembershipInclude<ExtArgs> | null
21211
- /**
21212
- * The data needed to update a OrganizationMembership.
21213
- */
21214
- data: XOR<OrganizationMembershipUpdateInput, OrganizationMembershipUncheckedUpdateInput>
21215
- /**
21216
- * Choose, which OrganizationMembership to update.
21217
- */
21218
- where: OrganizationMembershipWhereUniqueInput
21219
- }
21220
-
21221
- /**
21222
- * OrganizationMembership updateMany
21223
- */
21224
- export type OrganizationMembershipUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21225
- /**
21226
- * The data used to update OrganizationMemberships.
21227
- */
21228
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyInput>
21229
- /**
21230
- * Filter which OrganizationMemberships to update
21231
- */
21232
- where?: OrganizationMembershipWhereInput
21233
- /**
21234
- * Limit how many OrganizationMemberships to update.
21235
- */
21236
- limit?: number
21237
- }
21238
-
21239
- /**
21240
- * OrganizationMembership upsert
21241
- */
21242
- export type OrganizationMembershipUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21243
- /**
21244
- * Select specific fields to fetch from the OrganizationMembership
21245
- */
21246
- select?: OrganizationMembershipSelect<ExtArgs> | null
21247
- /**
21248
- * Omit specific fields from the OrganizationMembership
21249
- */
21250
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21251
- /**
21252
- * Choose, which related nodes to fetch as well
21253
- */
21254
- include?: OrganizationMembershipInclude<ExtArgs> | null
21255
- /**
21256
- * The filter to search for the OrganizationMembership to update in case it exists.
21257
- */
21258
- where: OrganizationMembershipWhereUniqueInput
21259
- /**
21260
- * In case the OrganizationMembership found by the `where` argument doesn't exist, create a new OrganizationMembership with this data.
21261
- */
21262
- create: XOR<OrganizationMembershipCreateInput, OrganizationMembershipUncheckedCreateInput>
21263
- /**
21264
- * In case the OrganizationMembership was found with the provided `where` argument, update it with this data.
21265
- */
21266
- update: XOR<OrganizationMembershipUpdateInput, OrganizationMembershipUncheckedUpdateInput>
21267
- }
21268
-
21269
- /**
21270
- * OrganizationMembership delete
21271
- */
21272
- export type OrganizationMembershipDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21273
- /**
21274
- * Select specific fields to fetch from the OrganizationMembership
21275
- */
21276
- select?: OrganizationMembershipSelect<ExtArgs> | null
21277
- /**
21278
- * Omit specific fields from the OrganizationMembership
21279
- */
21280
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21281
- /**
21282
- * Choose, which related nodes to fetch as well
21283
- */
21284
- include?: OrganizationMembershipInclude<ExtArgs> | null
21285
- /**
21286
- * Filter which OrganizationMembership to delete.
21287
- */
21288
- where: OrganizationMembershipWhereUniqueInput
21289
- }
21290
-
21291
- /**
21292
- * OrganizationMembership deleteMany
21293
- */
21294
- export type OrganizationMembershipDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21295
- /**
21296
- * Filter which OrganizationMemberships to delete
21297
- */
21298
- where?: OrganizationMembershipWhereInput
21299
- /**
21300
- * Limit how many OrganizationMemberships to delete.
21301
- */
21302
- limit?: number
21303
- }
21304
-
21305
- /**
21306
- * OrganizationMembership findRaw
21307
- */
21308
- export type OrganizationMembershipFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21309
- /**
21310
- * 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}.
21311
- */
21312
- filter?: InputJsonValue
21313
- /**
21314
- * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
21315
- */
21316
- options?: InputJsonValue
21317
- }
21318
-
21319
- /**
21320
- * OrganizationMembership aggregateRaw
21321
- */
21322
- export type OrganizationMembershipAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21323
- /**
21324
- * 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}.
21325
- */
21326
- pipeline?: InputJsonValue[]
21327
- /**
21328
- * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
21329
- */
21330
- options?: InputJsonValue
21331
- }
21332
-
21333
- /**
21334
- * OrganizationMembership without action
21335
- */
21336
- export type OrganizationMembershipDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21337
- /**
21338
- * Select specific fields to fetch from the OrganizationMembership
21339
- */
21340
- select?: OrganizationMembershipSelect<ExtArgs> | null
21341
- /**
21342
- * Omit specific fields from the OrganizationMembership
21343
- */
21344
- omit?: OrganizationMembershipOmit<ExtArgs> | null
21345
- /**
21346
- * Choose, which related nodes to fetch as well
21347
- */
21348
- include?: OrganizationMembershipInclude<ExtArgs> | null
21349
- }
21350
-
21351
-
21352
- /**
21353
- * Enums
21354
- */
21355
-
21356
- export const UserScalarFieldEnum: {
21357
- id: 'id',
21358
- type: 'type',
21359
- createdAt: 'createdAt',
21360
- updatedAt: 'updatedAt',
21361
- email: 'email',
21362
- username: 'username',
21363
- hashword: 'hashword',
21364
- appUserId: 'appUserId',
21365
- organizationId: 'organizationId',
21366
- appOrgId: 'appOrgId',
21367
- name: 'name'
21368
- };
21369
-
21370
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
21371
-
21372
-
21373
- export const TokenScalarFieldEnum: {
21374
- id: 'id',
21375
- token: 'token',
21376
- created: 'created',
21377
- expires: 'expires',
21378
- userId: 'userId'
21379
- };
21380
-
21381
- export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
21382
-
21383
-
21384
- export const CredentialScalarFieldEnum: {
21385
- id: 'id',
21386
- userId: 'userId',
21387
- authIsValid: 'authIsValid',
21388
- externalId: 'externalId',
21389
- data: 'data',
21390
- createdAt: 'createdAt',
21391
- updatedAt: 'updatedAt'
21392
- };
21393
-
21394
- export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
21395
-
21396
-
21397
- export const EntityScalarFieldEnum: {
21398
- id: 'id',
21399
- credentialId: 'credentialId',
21400
- userId: 'userId',
21401
- name: 'name',
21402
- moduleName: 'moduleName',
21403
- externalId: 'externalId',
21404
- organizationId: 'organizationId',
21405
- data: 'data',
21406
- createdAt: 'createdAt',
21407
- updatedAt: 'updatedAt',
21408
- integrationIds: 'integrationIds',
21409
- syncIds: 'syncIds'
21410
- };
21411
-
21412
- export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
21413
-
21414
-
21415
- export const IntegrationScalarFieldEnum: {
21416
- id: 'id',
21417
- userId: 'userId',
21418
- status: 'status',
21419
- organizationId: 'organizationId',
21420
- config: 'config',
21421
- version: 'version',
21422
- entityIds: 'entityIds',
21423
- errors: 'errors',
21424
- warnings: 'warnings',
21425
- info: 'info',
21426
- logs: 'logs',
21427
- createdAt: 'createdAt',
21428
- updatedAt: 'updatedAt'
21429
- };
21430
-
21431
- export type IntegrationScalarFieldEnum = (typeof IntegrationScalarFieldEnum)[keyof typeof IntegrationScalarFieldEnum]
21432
-
21433
-
21434
- export const IntegrationMappingScalarFieldEnum: {
21435
- id: 'id',
21436
- integrationId: 'integrationId',
21437
- sourceId: 'sourceId',
21438
- mapping: 'mapping',
21439
- createdAt: 'createdAt',
21440
- updatedAt: 'updatedAt'
21441
- };
21442
-
21443
- export type IntegrationMappingScalarFieldEnum = (typeof IntegrationMappingScalarFieldEnum)[keyof typeof IntegrationMappingScalarFieldEnum]
20267
+ export type IntegrationMappingScalarFieldEnum = (typeof IntegrationMappingScalarFieldEnum)[keyof typeof IntegrationMappingScalarFieldEnum]
21444
20268
 
21445
20269
 
21446
20270
  export const ProcessScalarFieldEnum: {
@@ -21587,17 +20411,6 @@ export namespace Prisma {
21587
20411
  export type AuthorizationSessionScalarFieldEnum = (typeof AuthorizationSessionScalarFieldEnum)[keyof typeof AuthorizationSessionScalarFieldEnum]
21588
20412
 
21589
20413
 
21590
- export const OrganizationMembershipScalarFieldEnum: {
21591
- id: 'id',
21592
- individualUserId: 'individualUserId',
21593
- organizationUserId: 'organizationUserId',
21594
- orgRole: 'orgRole',
21595
- createdAt: 'createdAt'
21596
- };
21597
-
21598
- export type OrganizationMembershipScalarFieldEnum = (typeof OrganizationMembershipScalarFieldEnum)[keyof typeof OrganizationMembershipScalarFieldEnum]
21599
-
21600
-
21601
20414
  export const SortOrder: {
21602
20415
  asc: 'asc',
21603
20416
  desc: 'desc'
@@ -21784,8 +20597,6 @@ export namespace Prisma {
21784
20597
  entities?: EntityListRelationFilter
21785
20598
  integrations?: IntegrationListRelationFilter
21786
20599
  processes?: ProcessListRelationFilter
21787
- memberships?: OrganizationMembershipListRelationFilter
21788
- orgMembers?: OrganizationMembershipListRelationFilter
21789
20600
  }
21790
20601
 
21791
20602
  export type UserOrderByWithRelationInput = {
@@ -21807,8 +20618,6 @@ export namespace Prisma {
21807
20618
  entities?: EntityOrderByRelationAggregateInput
21808
20619
  integrations?: IntegrationOrderByRelationAggregateInput
21809
20620
  processes?: ProcessOrderByRelationAggregateInput
21810
- memberships?: OrganizationMembershipOrderByRelationAggregateInput
21811
- orgMembers?: OrganizationMembershipOrderByRelationAggregateInput
21812
20621
  }
21813
20622
 
21814
20623
  export type UserWhereUniqueInput = Prisma.AtLeast<{
@@ -21834,8 +20643,6 @@ export namespace Prisma {
21834
20643
  entities?: EntityListRelationFilter
21835
20644
  integrations?: IntegrationListRelationFilter
21836
20645
  processes?: ProcessListRelationFilter
21837
- memberships?: OrganizationMembershipListRelationFilter
21838
- orgMembers?: OrganizationMembershipListRelationFilter
21839
20646
  }, "id" | "username_appUserId">
21840
20647
 
21841
20648
  export type UserOrderByWithAggregationInput = {
@@ -22005,7 +20812,6 @@ export namespace Prisma {
22005
20812
  name?: StringNullableFilter<"Entity"> | string | null
22006
20813
  moduleName?: StringNullableFilter<"Entity"> | string | null
22007
20814
  externalId?: StringNullableFilter<"Entity"> | string | null
22008
- organizationId?: StringNullableFilter<"Entity"> | string | null
22009
20815
  data?: JsonFilter<"Entity">
22010
20816
  createdAt?: DateTimeFilter<"Entity"> | Date | string
22011
20817
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -22026,7 +20832,6 @@ export namespace Prisma {
22026
20832
  name?: SortOrder
22027
20833
  moduleName?: SortOrder
22028
20834
  externalId?: SortOrder
22029
- organizationId?: SortOrder
22030
20835
  data?: SortOrder
22031
20836
  createdAt?: SortOrder
22032
20837
  updatedAt?: SortOrder
@@ -22050,7 +20855,6 @@ export namespace Prisma {
22050
20855
  name?: StringNullableFilter<"Entity"> | string | null
22051
20856
  moduleName?: StringNullableFilter<"Entity"> | string | null
22052
20857
  externalId?: StringNullableFilter<"Entity"> | string | null
22053
- organizationId?: StringNullableFilter<"Entity"> | string | null
22054
20858
  data?: JsonFilter<"Entity">
22055
20859
  createdAt?: DateTimeFilter<"Entity"> | Date | string
22056
20860
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -22071,7 +20875,6 @@ export namespace Prisma {
22071
20875
  name?: SortOrder
22072
20876
  moduleName?: SortOrder
22073
20877
  externalId?: SortOrder
22074
- organizationId?: SortOrder
22075
20878
  data?: SortOrder
22076
20879
  createdAt?: SortOrder
22077
20880
  updatedAt?: SortOrder
@@ -22092,7 +20895,6 @@ export namespace Prisma {
22092
20895
  name?: StringNullableWithAggregatesFilter<"Entity"> | string | null
22093
20896
  moduleName?: StringNullableWithAggregatesFilter<"Entity"> | string | null
22094
20897
  externalId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
22095
- organizationId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
22096
20898
  data?: JsonWithAggregatesFilter<"Entity">
22097
20899
  createdAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
22098
20900
  updatedAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
@@ -22107,7 +20909,6 @@ export namespace Prisma {
22107
20909
  id?: StringFilter<"Integration"> | string
22108
20910
  userId?: StringNullableFilter<"Integration"> | string | null
22109
20911
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
22110
- organizationId?: StringNullableFilter<"Integration"> | string | null
22111
20912
  config?: JsonNullableFilter<"Integration">
22112
20913
  version?: StringNullableFilter<"Integration"> | string | null
22113
20914
  entityIds?: StringNullableListFilter<"Integration">
@@ -22129,7 +20930,6 @@ export namespace Prisma {
22129
20930
  id?: SortOrder
22130
20931
  userId?: SortOrder
22131
20932
  status?: SortOrder
22132
- organizationId?: SortOrder
22133
20933
  config?: SortOrder
22134
20934
  version?: SortOrder
22135
20935
  entityIds?: SortOrder
@@ -22154,7 +20954,6 @@ export namespace Prisma {
22154
20954
  NOT?: IntegrationWhereInput | IntegrationWhereInput[]
22155
20955
  userId?: StringNullableFilter<"Integration"> | string | null
22156
20956
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
22157
- organizationId?: StringNullableFilter<"Integration"> | string | null
22158
20957
  config?: JsonNullableFilter<"Integration">
22159
20958
  version?: StringNullableFilter<"Integration"> | string | null
22160
20959
  entityIds?: StringNullableListFilter<"Integration">
@@ -22176,7 +20975,6 @@ export namespace Prisma {
22176
20975
  id?: SortOrder
22177
20976
  userId?: SortOrder
22178
20977
  status?: SortOrder
22179
- organizationId?: SortOrder
22180
20978
  config?: SortOrder
22181
20979
  version?: SortOrder
22182
20980
  entityIds?: SortOrder
@@ -22198,7 +20996,6 @@ export namespace Prisma {
22198
20996
  id?: StringWithAggregatesFilter<"Integration"> | string
22199
20997
  userId?: StringNullableWithAggregatesFilter<"Integration"> | string | null
22200
20998
  status?: EnumIntegrationStatusWithAggregatesFilter<"Integration"> | $Enums.IntegrationStatus
22201
- organizationId?: StringNullableWithAggregatesFilter<"Integration"> | string | null
22202
20999
  config?: JsonNullableWithAggregatesFilter<"Integration">
22203
21000
  version?: StringNullableWithAggregatesFilter<"Integration"> | string | null
22204
21001
  entityIds?: StringNullableListFilter<"Integration">
@@ -22996,65 +21793,6 @@ export namespace Prisma {
22996
21793
  updatedAt?: DateTimeWithAggregatesFilter<"AuthorizationSession"> | Date | string
22997
21794
  }
22998
21795
 
22999
- export type OrganizationMembershipWhereInput = {
23000
- AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
23001
- OR?: OrganizationMembershipWhereInput[]
23002
- NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
23003
- id?: StringFilter<"OrganizationMembership"> | string
23004
- individualUserId?: StringFilter<"OrganizationMembership"> | string
23005
- organizationUserId?: StringFilter<"OrganizationMembership"> | string
23006
- orgRole?: StringFilter<"OrganizationMembership"> | string
23007
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
23008
- individualUser?: XOR<UserScalarRelationFilter, UserWhereInput>
23009
- organizationUser?: XOR<UserScalarRelationFilter, UserWhereInput>
23010
- }
23011
-
23012
- export type OrganizationMembershipOrderByWithRelationInput = {
23013
- id?: SortOrder
23014
- individualUserId?: SortOrder
23015
- organizationUserId?: SortOrder
23016
- orgRole?: SortOrder
23017
- createdAt?: SortOrder
23018
- individualUser?: UserOrderByWithRelationInput
23019
- organizationUser?: UserOrderByWithRelationInput
23020
- }
23021
-
23022
- export type OrganizationMembershipWhereUniqueInput = Prisma.AtLeast<{
23023
- id?: string
23024
- individualUserId_organizationUserId?: OrganizationMembershipIndividualUserIdOrganizationUserIdCompoundUniqueInput
23025
- AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
23026
- OR?: OrganizationMembershipWhereInput[]
23027
- NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[]
23028
- individualUserId?: StringFilter<"OrganizationMembership"> | string
23029
- organizationUserId?: StringFilter<"OrganizationMembership"> | string
23030
- orgRole?: StringFilter<"OrganizationMembership"> | string
23031
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
23032
- individualUser?: XOR<UserScalarRelationFilter, UserWhereInput>
23033
- organizationUser?: XOR<UserScalarRelationFilter, UserWhereInput>
23034
- }, "id" | "individualUserId_organizationUserId">
23035
-
23036
- export type OrganizationMembershipOrderByWithAggregationInput = {
23037
- id?: SortOrder
23038
- individualUserId?: SortOrder
23039
- organizationUserId?: SortOrder
23040
- orgRole?: SortOrder
23041
- createdAt?: SortOrder
23042
- _count?: OrganizationMembershipCountOrderByAggregateInput
23043
- _max?: OrganizationMembershipMaxOrderByAggregateInput
23044
- _min?: OrganizationMembershipMinOrderByAggregateInput
23045
- }
23046
-
23047
- export type OrganizationMembershipScalarWhereWithAggregatesInput = {
23048
- AND?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[]
23049
- OR?: OrganizationMembershipScalarWhereWithAggregatesInput[]
23050
- NOT?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[]
23051
- id?: StringWithAggregatesFilter<"OrganizationMembership"> | string
23052
- individualUserId?: StringWithAggregatesFilter<"OrganizationMembership"> | string
23053
- organizationUserId?: StringWithAggregatesFilter<"OrganizationMembership"> | string
23054
- orgRole?: StringWithAggregatesFilter<"OrganizationMembership"> | string
23055
- createdAt?: DateTimeWithAggregatesFilter<"OrganizationMembership"> | Date | string
23056
- }
23057
-
23058
21796
  export type UserCreateInput = {
23059
21797
  id?: string
23060
21798
  type: $Enums.UserType
@@ -23073,8 +21811,6 @@ export namespace Prisma {
23073
21811
  entities?: EntityCreateNestedManyWithoutUserInput
23074
21812
  integrations?: IntegrationCreateNestedManyWithoutUserInput
23075
21813
  processes?: ProcessCreateNestedManyWithoutUserInput
23076
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
23077
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
23078
21814
  }
23079
21815
 
23080
21816
  export type UserUncheckedCreateInput = {
@@ -23095,8 +21831,6 @@ export namespace Prisma {
23095
21831
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
23096
21832
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
23097
21833
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
23098
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
23099
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
23100
21834
  }
23101
21835
 
23102
21836
  export type UserUpdateInput = {
@@ -23116,8 +21850,6 @@ export namespace Prisma {
23116
21850
  entities?: EntityUpdateManyWithoutUserNestedInput
23117
21851
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
23118
21852
  processes?: ProcessUpdateManyWithoutUserNestedInput
23119
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
23120
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
23121
21853
  }
23122
21854
 
23123
21855
  export type UserUncheckedUpdateInput = {
@@ -23137,8 +21869,6 @@ export namespace Prisma {
23137
21869
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
23138
21870
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
23139
21871
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
23140
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
23141
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
23142
21872
  }
23143
21873
 
23144
21874
  export type UserCreateManyInput = {
@@ -23305,7 +22035,6 @@ export namespace Prisma {
23305
22035
  name?: string | null
23306
22036
  moduleName?: string | null
23307
22037
  externalId?: string | null
23308
- organizationId?: string | null
23309
22038
  data?: InputJsonValue
23310
22039
  createdAt?: Date | string
23311
22040
  updatedAt?: Date | string
@@ -23324,7 +22053,6 @@ export namespace Prisma {
23324
22053
  name?: string | null
23325
22054
  moduleName?: string | null
23326
22055
  externalId?: string | null
23327
- organizationId?: string | null
23328
22056
  data?: InputJsonValue
23329
22057
  createdAt?: Date | string
23330
22058
  updatedAt?: Date | string
@@ -23340,7 +22068,6 @@ export namespace Prisma {
23340
22068
  name?: NullableStringFieldUpdateOperationsInput | string | null
23341
22069
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
23342
22070
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
23343
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23344
22071
  data?: InputJsonValue | InputJsonValue
23345
22072
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23346
22073
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -23358,7 +22085,6 @@ export namespace Prisma {
23358
22085
  name?: NullableStringFieldUpdateOperationsInput | string | null
23359
22086
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
23360
22087
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
23361
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23362
22088
  data?: InputJsonValue | InputJsonValue
23363
22089
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23364
22090
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -23377,7 +22103,6 @@ export namespace Prisma {
23377
22103
  name?: string | null
23378
22104
  moduleName?: string | null
23379
22105
  externalId?: string | null
23380
- organizationId?: string | null
23381
22106
  data?: InputJsonValue
23382
22107
  createdAt?: Date | string
23383
22108
  updatedAt?: Date | string
@@ -23389,7 +22114,6 @@ export namespace Prisma {
23389
22114
  name?: NullableStringFieldUpdateOperationsInput | string | null
23390
22115
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
23391
22116
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
23392
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23393
22117
  data?: InputJsonValue | InputJsonValue
23394
22118
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23395
22119
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -23401,7 +22125,6 @@ export namespace Prisma {
23401
22125
  name?: NullableStringFieldUpdateOperationsInput | string | null
23402
22126
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
23403
22127
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
23404
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23405
22128
  data?: InputJsonValue | InputJsonValue
23406
22129
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23407
22130
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -23412,7 +22135,6 @@ export namespace Prisma {
23412
22135
  export type IntegrationCreateInput = {
23413
22136
  id?: string
23414
22137
  status?: $Enums.IntegrationStatus
23415
- organizationId?: string | null
23416
22138
  config?: InputJsonValue | null
23417
22139
  version?: string | null
23418
22140
  errors?: InputJsonValue
@@ -23433,7 +22155,6 @@ export namespace Prisma {
23433
22155
  id?: string
23434
22156
  userId?: string | null
23435
22157
  status?: $Enums.IntegrationStatus
23436
- organizationId?: string | null
23437
22158
  config?: InputJsonValue | null
23438
22159
  version?: string | null
23439
22160
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -23452,7 +22173,6 @@ export namespace Prisma {
23452
22173
 
23453
22174
  export type IntegrationUpdateInput = {
23454
22175
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
23455
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23456
22176
  config?: InputJsonValue | InputJsonValue | null
23457
22177
  version?: NullableStringFieldUpdateOperationsInput | string | null
23458
22178
  errors?: InputJsonValue | InputJsonValue
@@ -23472,7 +22192,6 @@ export namespace Prisma {
23472
22192
  export type IntegrationUncheckedUpdateInput = {
23473
22193
  userId?: NullableStringFieldUpdateOperationsInput | string | null
23474
22194
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
23475
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23476
22195
  config?: InputJsonValue | InputJsonValue | null
23477
22196
  version?: NullableStringFieldUpdateOperationsInput | string | null
23478
22197
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -23493,7 +22212,6 @@ export namespace Prisma {
23493
22212
  id?: string
23494
22213
  userId?: string | null
23495
22214
  status?: $Enums.IntegrationStatus
23496
- organizationId?: string | null
23497
22215
  config?: InputJsonValue | null
23498
22216
  version?: string | null
23499
22217
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -23507,7 +22225,6 @@ export namespace Prisma {
23507
22225
 
23508
22226
  export type IntegrationUpdateManyMutationInput = {
23509
22227
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
23510
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23511
22228
  config?: InputJsonValue | InputJsonValue | null
23512
22229
  version?: NullableStringFieldUpdateOperationsInput | string | null
23513
22230
  errors?: InputJsonValue | InputJsonValue
@@ -23521,7 +22238,6 @@ export namespace Prisma {
23521
22238
  export type IntegrationUncheckedUpdateManyInput = {
23522
22239
  userId?: NullableStringFieldUpdateOperationsInput | string | null
23523
22240
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
23524
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
23525
22241
  config?: InputJsonValue | InputJsonValue | null
23526
22242
  version?: NullableStringFieldUpdateOperationsInput | string | null
23527
22243
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -24325,56 +23041,6 @@ export namespace Prisma {
24325
23041
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24326
23042
  }
24327
23043
 
24328
- export type OrganizationMembershipCreateInput = {
24329
- id?: string
24330
- orgRole?: string
24331
- createdAt?: Date | string
24332
- individualUser: UserCreateNestedOneWithoutMembershipsInput
24333
- organizationUser: UserCreateNestedOneWithoutOrgMembersInput
24334
- }
24335
-
24336
- export type OrganizationMembershipUncheckedCreateInput = {
24337
- id?: string
24338
- individualUserId: string
24339
- organizationUserId: string
24340
- orgRole?: string
24341
- createdAt?: Date | string
24342
- }
24343
-
24344
- export type OrganizationMembershipUpdateInput = {
24345
- orgRole?: StringFieldUpdateOperationsInput | string
24346
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24347
- individualUser?: UserUpdateOneRequiredWithoutMembershipsNestedInput
24348
- organizationUser?: UserUpdateOneRequiredWithoutOrgMembersNestedInput
24349
- }
24350
-
24351
- export type OrganizationMembershipUncheckedUpdateInput = {
24352
- individualUserId?: StringFieldUpdateOperationsInput | string
24353
- organizationUserId?: StringFieldUpdateOperationsInput | string
24354
- orgRole?: StringFieldUpdateOperationsInput | string
24355
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24356
- }
24357
-
24358
- export type OrganizationMembershipCreateManyInput = {
24359
- id?: string
24360
- individualUserId: string
24361
- organizationUserId: string
24362
- orgRole?: string
24363
- createdAt?: Date | string
24364
- }
24365
-
24366
- export type OrganizationMembershipUpdateManyMutationInput = {
24367
- orgRole?: StringFieldUpdateOperationsInput | string
24368
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24369
- }
24370
-
24371
- export type OrganizationMembershipUncheckedUpdateManyInput = {
24372
- individualUserId?: StringFieldUpdateOperationsInput | string
24373
- organizationUserId?: StringFieldUpdateOperationsInput | string
24374
- orgRole?: StringFieldUpdateOperationsInput | string
24375
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24376
- }
24377
-
24378
23044
  export type StringFilter<$PrismaModel = never> = {
24379
23045
  equals?: string | StringFieldRefInput<$PrismaModel>
24380
23046
  in?: string[] | ListStringFieldRefInput<$PrismaModel>
@@ -24465,12 +23131,6 @@ export namespace Prisma {
24465
23131
  none?: ProcessWhereInput
24466
23132
  }
24467
23133
 
24468
- export type OrganizationMembershipListRelationFilter = {
24469
- every?: OrganizationMembershipWhereInput
24470
- some?: OrganizationMembershipWhereInput
24471
- none?: OrganizationMembershipWhereInput
24472
- }
24473
-
24474
23134
  export type UserOrderByRelationAggregateInput = {
24475
23135
  _count?: SortOrder
24476
23136
  }
@@ -24495,10 +23155,6 @@ export namespace Prisma {
24495
23155
  _count?: SortOrder
24496
23156
  }
24497
23157
 
24498
- export type OrganizationMembershipOrderByRelationAggregateInput = {
24499
- _count?: SortOrder
24500
- }
24501
-
24502
23158
  export type UserUsernameAppUserIdCompoundUniqueInput = {
24503
23159
  username: string
24504
23160
  appUserId: string
@@ -24781,7 +23437,6 @@ export namespace Prisma {
24781
23437
  name?: SortOrder
24782
23438
  moduleName?: SortOrder
24783
23439
  externalId?: SortOrder
24784
- organizationId?: SortOrder
24785
23440
  data?: SortOrder
24786
23441
  createdAt?: SortOrder
24787
23442
  updatedAt?: SortOrder
@@ -24796,7 +23451,6 @@ export namespace Prisma {
24796
23451
  name?: SortOrder
24797
23452
  moduleName?: SortOrder
24798
23453
  externalId?: SortOrder
24799
- organizationId?: SortOrder
24800
23454
  createdAt?: SortOrder
24801
23455
  updatedAt?: SortOrder
24802
23456
  }
@@ -24808,7 +23462,6 @@ export namespace Prisma {
24808
23462
  name?: SortOrder
24809
23463
  moduleName?: SortOrder
24810
23464
  externalId?: SortOrder
24811
- organizationId?: SortOrder
24812
23465
  createdAt?: SortOrder
24813
23466
  updatedAt?: SortOrder
24814
23467
  }
@@ -24856,7 +23509,6 @@ export namespace Prisma {
24856
23509
  id?: SortOrder
24857
23510
  userId?: SortOrder
24858
23511
  status?: SortOrder
24859
- organizationId?: SortOrder
24860
23512
  config?: SortOrder
24861
23513
  version?: SortOrder
24862
23514
  entityIds?: SortOrder
@@ -24872,7 +23524,6 @@ export namespace Prisma {
24872
23524
  id?: SortOrder
24873
23525
  userId?: SortOrder
24874
23526
  status?: SortOrder
24875
- organizationId?: SortOrder
24876
23527
  version?: SortOrder
24877
23528
  createdAt?: SortOrder
24878
23529
  updatedAt?: SortOrder
@@ -24882,7 +23533,6 @@ export namespace Prisma {
24882
23533
  id?: SortOrder
24883
23534
  userId?: SortOrder
24884
23535
  status?: SortOrder
24885
- organizationId?: SortOrder
24886
23536
  version?: SortOrder
24887
23537
  createdAt?: SortOrder
24888
23538
  updatedAt?: SortOrder
@@ -25405,35 +24055,6 @@ export namespace Prisma {
25405
24055
  _max?: NestedIntFilter<$PrismaModel>
25406
24056
  }
25407
24057
 
25408
- export type OrganizationMembershipIndividualUserIdOrganizationUserIdCompoundUniqueInput = {
25409
- individualUserId: string
25410
- organizationUserId: string
25411
- }
25412
-
25413
- export type OrganizationMembershipCountOrderByAggregateInput = {
25414
- id?: SortOrder
25415
- individualUserId?: SortOrder
25416
- organizationUserId?: SortOrder
25417
- orgRole?: SortOrder
25418
- createdAt?: SortOrder
25419
- }
25420
-
25421
- export type OrganizationMembershipMaxOrderByAggregateInput = {
25422
- id?: SortOrder
25423
- individualUserId?: SortOrder
25424
- organizationUserId?: SortOrder
25425
- orgRole?: SortOrder
25426
- createdAt?: SortOrder
25427
- }
25428
-
25429
- export type OrganizationMembershipMinOrderByAggregateInput = {
25430
- id?: SortOrder
25431
- individualUserId?: SortOrder
25432
- organizationUserId?: SortOrder
25433
- orgRole?: SortOrder
25434
- createdAt?: SortOrder
25435
- }
25436
-
25437
24058
  export type UserCreateNestedOneWithoutMembersInput = {
25438
24059
  create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
25439
24060
  connectOrCreate?: UserCreateOrConnectWithoutMembersInput
@@ -25482,20 +24103,6 @@ export namespace Prisma {
25482
24103
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
25483
24104
  }
25484
24105
 
25485
- export type OrganizationMembershipCreateNestedManyWithoutIndividualUserInput = {
25486
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
25487
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
25488
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
25489
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25490
- }
25491
-
25492
- export type OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput = {
25493
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
25494
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
25495
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
25496
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25497
- }
25498
-
25499
24106
  export type UserUncheckedCreateNestedManyWithoutOrganizationInput = {
25500
24107
  create?: XOR<UserCreateWithoutOrganizationInput, UserUncheckedCreateWithoutOrganizationInput> | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[]
25501
24108
  connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[]
@@ -25538,20 +24145,6 @@ export namespace Prisma {
25538
24145
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
25539
24146
  }
25540
24147
 
25541
- export type OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput = {
25542
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
25543
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
25544
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
25545
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25546
- }
25547
-
25548
- export type OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput = {
25549
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
25550
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
25551
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
25552
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25553
- }
25554
-
25555
24148
  export type EnumUserTypeFieldUpdateOperationsInput = {
25556
24149
  set?: $Enums.UserType
25557
24150
  }
@@ -25659,34 +24252,6 @@ export namespace Prisma {
25659
24252
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
25660
24253
  }
25661
24254
 
25662
- export type OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput = {
25663
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
25664
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
25665
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput[]
25666
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
25667
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25668
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25669
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25670
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25671
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput[]
25672
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput | OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput[]
25673
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
25674
- }
25675
-
25676
- export type OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput = {
25677
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
25678
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
25679
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput[]
25680
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
25681
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25682
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25683
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25684
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25685
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput[]
25686
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput[]
25687
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
25688
- }
25689
-
25690
24255
  export type UserUncheckedUpdateManyWithoutOrganizationNestedInput = {
25691
24256
  create?: XOR<UserCreateWithoutOrganizationInput, UserUncheckedCreateWithoutOrganizationInput> | UserCreateWithoutOrganizationInput[] | UserUncheckedCreateWithoutOrganizationInput[]
25692
24257
  connectOrCreate?: UserCreateOrConnectWithoutOrganizationInput | UserCreateOrConnectWithoutOrganizationInput[]
@@ -25771,34 +24336,6 @@ export namespace Prisma {
25771
24336
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
25772
24337
  }
25773
24338
 
25774
- export type OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput = {
25775
- create?: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput> | OrganizationMembershipCreateWithoutIndividualUserInput[] | OrganizationMembershipUncheckedCreateWithoutIndividualUserInput[]
25776
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutIndividualUserInput | OrganizationMembershipCreateOrConnectWithoutIndividualUserInput[]
25777
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput[]
25778
- createMany?: OrganizationMembershipCreateManyIndividualUserInputEnvelope
25779
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25780
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25781
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25782
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25783
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput[]
25784
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput | OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput[]
25785
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
25786
- }
25787
-
25788
- export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput = {
25789
- create?: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput> | OrganizationMembershipCreateWithoutOrganizationUserInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput[]
25790
- connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput | OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput[]
25791
- upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput[]
25792
- createMany?: OrganizationMembershipCreateManyOrganizationUserInputEnvelope
25793
- set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25794
- disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25795
- delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25796
- connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[]
25797
- update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput[]
25798
- updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput[]
25799
- deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
25800
- }
25801
-
25802
24339
  export type UserCreateNestedOneWithoutTokensInput = {
25803
24340
  create?: XOR<UserCreateWithoutTokensInput, UserUncheckedCreateWithoutTokensInput>
25804
24341
  connectOrCreate?: UserCreateOrConnectWithoutTokensInput
@@ -26637,34 +25174,6 @@ export namespace Prisma {
26637
25174
  divide?: number
26638
25175
  }
26639
25176
 
26640
- export type UserCreateNestedOneWithoutMembershipsInput = {
26641
- create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
26642
- connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
26643
- connect?: UserWhereUniqueInput
26644
- }
26645
-
26646
- export type UserCreateNestedOneWithoutOrgMembersInput = {
26647
- create?: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
26648
- connectOrCreate?: UserCreateOrConnectWithoutOrgMembersInput
26649
- connect?: UserWhereUniqueInput
26650
- }
26651
-
26652
- export type UserUpdateOneRequiredWithoutMembershipsNestedInput = {
26653
- create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
26654
- connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
26655
- upsert?: UserUpsertWithoutMembershipsInput
26656
- connect?: UserWhereUniqueInput
26657
- update?: XOR<XOR<UserUpdateToOneWithWhereWithoutMembershipsInput, UserUpdateWithoutMembershipsInput>, UserUncheckedUpdateWithoutMembershipsInput>
26658
- }
26659
-
26660
- export type UserUpdateOneRequiredWithoutOrgMembersNestedInput = {
26661
- create?: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
26662
- connectOrCreate?: UserCreateOrConnectWithoutOrgMembersInput
26663
- upsert?: UserUpsertWithoutOrgMembersInput
26664
- connect?: UserWhereUniqueInput
26665
- update?: XOR<XOR<UserUpdateToOneWithWhereWithoutOrgMembersInput, UserUpdateWithoutOrgMembersInput>, UserUncheckedUpdateWithoutOrgMembersInput>
26666
- }
26667
-
26668
25177
  export type NestedStringFilter<$PrismaModel = never> = {
26669
25178
  equals?: string | StringFieldRefInput<$PrismaModel>
26670
25179
  in?: string[] | ListStringFieldRefInput<$PrismaModel>
@@ -26994,8 +25503,6 @@ export namespace Prisma {
26994
25503
  entities?: EntityCreateNestedManyWithoutUserInput
26995
25504
  integrations?: IntegrationCreateNestedManyWithoutUserInput
26996
25505
  processes?: ProcessCreateNestedManyWithoutUserInput
26997
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
26998
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
26999
25506
  }
27000
25507
 
27001
25508
  export type UserUncheckedCreateWithoutMembersInput = {
@@ -27015,8 +25522,6 @@ export namespace Prisma {
27015
25522
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
27016
25523
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
27017
25524
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
27018
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
27019
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
27020
25525
  }
27021
25526
 
27022
25527
  export type UserCreateOrConnectWithoutMembersInput = {
@@ -27041,8 +25546,6 @@ export namespace Prisma {
27041
25546
  entities?: EntityCreateNestedManyWithoutUserInput
27042
25547
  integrations?: IntegrationCreateNestedManyWithoutUserInput
27043
25548
  processes?: ProcessCreateNestedManyWithoutUserInput
27044
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
27045
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
27046
25549
  }
27047
25550
 
27048
25551
  export type UserUncheckedCreateWithoutOrganizationInput = {
@@ -27062,8 +25565,6 @@ export namespace Prisma {
27062
25565
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
27063
25566
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
27064
25567
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
27065
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
27066
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
27067
25568
  }
27068
25569
 
27069
25570
  export type UserCreateOrConnectWithoutOrganizationInput = {
@@ -27132,7 +25633,6 @@ export namespace Prisma {
27132
25633
  name?: string | null
27133
25634
  moduleName?: string | null
27134
25635
  externalId?: string | null
27135
- organizationId?: string | null
27136
25636
  data?: InputJsonValue
27137
25637
  createdAt?: Date | string
27138
25638
  updatedAt?: Date | string
@@ -27149,7 +25649,6 @@ export namespace Prisma {
27149
25649
  name?: string | null
27150
25650
  moduleName?: string | null
27151
25651
  externalId?: string | null
27152
- organizationId?: string | null
27153
25652
  data?: InputJsonValue
27154
25653
  createdAt?: Date | string
27155
25654
  updatedAt?: Date | string
@@ -27173,7 +25672,6 @@ export namespace Prisma {
27173
25672
  export type IntegrationCreateWithoutUserInput = {
27174
25673
  id?: string
27175
25674
  status?: $Enums.IntegrationStatus
27176
- organizationId?: string | null
27177
25675
  config?: InputJsonValue | null
27178
25676
  version?: string | null
27179
25677
  errors?: InputJsonValue
@@ -27192,7 +25690,6 @@ export namespace Prisma {
27192
25690
  export type IntegrationUncheckedCreateWithoutUserInput = {
27193
25691
  id?: string
27194
25692
  status?: $Enums.IntegrationStatus
27195
- organizationId?: string | null
27196
25693
  config?: InputJsonValue | null
27197
25694
  version?: string | null
27198
25695
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -27255,52 +25752,6 @@ export namespace Prisma {
27255
25752
  data: ProcessCreateManyUserInput | ProcessCreateManyUserInput[]
27256
25753
  }
27257
25754
 
27258
- export type OrganizationMembershipCreateWithoutIndividualUserInput = {
27259
- id?: string
27260
- orgRole?: string
27261
- createdAt?: Date | string
27262
- organizationUser: UserCreateNestedOneWithoutOrgMembersInput
27263
- }
27264
-
27265
- export type OrganizationMembershipUncheckedCreateWithoutIndividualUserInput = {
27266
- id?: string
27267
- organizationUserId: string
27268
- orgRole?: string
27269
- createdAt?: Date | string
27270
- }
27271
-
27272
- export type OrganizationMembershipCreateOrConnectWithoutIndividualUserInput = {
27273
- where: OrganizationMembershipWhereUniqueInput
27274
- create: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput>
27275
- }
27276
-
27277
- export type OrganizationMembershipCreateManyIndividualUserInputEnvelope = {
27278
- data: OrganizationMembershipCreateManyIndividualUserInput | OrganizationMembershipCreateManyIndividualUserInput[]
27279
- }
27280
-
27281
- export type OrganizationMembershipCreateWithoutOrganizationUserInput = {
27282
- id?: string
27283
- orgRole?: string
27284
- createdAt?: Date | string
27285
- individualUser: UserCreateNestedOneWithoutMembershipsInput
27286
- }
27287
-
27288
- export type OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput = {
27289
- id?: string
27290
- individualUserId: string
27291
- orgRole?: string
27292
- createdAt?: Date | string
27293
- }
27294
-
27295
- export type OrganizationMembershipCreateOrConnectWithoutOrganizationUserInput = {
27296
- where: OrganizationMembershipWhereUniqueInput
27297
- create: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput>
27298
- }
27299
-
27300
- export type OrganizationMembershipCreateManyOrganizationUserInputEnvelope = {
27301
- data: OrganizationMembershipCreateManyOrganizationUserInput | OrganizationMembershipCreateManyOrganizationUserInput[]
27302
- }
27303
-
27304
25755
  export type UserUpsertWithoutMembersInput = {
27305
25756
  update: XOR<UserUpdateWithoutMembersInput, UserUncheckedUpdateWithoutMembersInput>
27306
25757
  create: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
@@ -27328,8 +25779,6 @@ export namespace Prisma {
27328
25779
  entities?: EntityUpdateManyWithoutUserNestedInput
27329
25780
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
27330
25781
  processes?: ProcessUpdateManyWithoutUserNestedInput
27331
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
27332
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
27333
25782
  }
27334
25783
 
27335
25784
  export type UserUncheckedUpdateWithoutMembersInput = {
@@ -27348,8 +25797,6 @@ export namespace Prisma {
27348
25797
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
27349
25798
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
27350
25799
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
27351
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
27352
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
27353
25800
  }
27354
25801
 
27355
25802
  export type UserUpsertWithWhereUniqueWithoutOrganizationInput = {
@@ -27467,7 +25914,6 @@ export namespace Prisma {
27467
25914
  name?: StringNullableFilter<"Entity"> | string | null
27468
25915
  moduleName?: StringNullableFilter<"Entity"> | string | null
27469
25916
  externalId?: StringNullableFilter<"Entity"> | string | null
27470
- organizationId?: StringNullableFilter<"Entity"> | string | null
27471
25917
  data?: JsonFilter<"Entity">
27472
25918
  createdAt?: DateTimeFilter<"Entity"> | Date | string
27473
25919
  updatedAt?: DateTimeFilter<"Entity"> | Date | string
@@ -27498,7 +25944,6 @@ export namespace Prisma {
27498
25944
  id?: StringFilter<"Integration"> | string
27499
25945
  userId?: StringNullableFilter<"Integration"> | string | null
27500
25946
  status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
27501
- organizationId?: StringNullableFilter<"Integration"> | string | null
27502
25947
  config?: JsonNullableFilter<"Integration">
27503
25948
  version?: StringNullableFilter<"Integration"> | string | null
27504
25949
  entityIds?: StringNullableListFilter<"Integration">
@@ -27531,60 +25976,17 @@ export namespace Prisma {
27531
25976
  OR?: ProcessScalarWhereInput[]
27532
25977
  NOT?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
27533
25978
  id?: StringFilter<"Process"> | string
27534
- userId?: StringFilter<"Process"> | string
27535
- integrationId?: StringFilter<"Process"> | string
27536
- name?: StringFilter<"Process"> | string
27537
- type?: StringFilter<"Process"> | string
27538
- state?: StringFilter<"Process"> | string
27539
- context?: JsonFilter<"Process">
27540
- results?: JsonFilter<"Process">
27541
- childProcesses?: StringNullableListFilter<"Process">
27542
- parentProcessId?: StringNullableFilter<"Process"> | string | null
27543
- createdAt?: DateTimeFilter<"Process"> | Date | string
27544
- updatedAt?: DateTimeFilter<"Process"> | Date | string
27545
- }
27546
-
27547
- export type OrganizationMembershipUpsertWithWhereUniqueWithoutIndividualUserInput = {
27548
- where: OrganizationMembershipWhereUniqueInput
27549
- update: XOR<OrganizationMembershipUpdateWithoutIndividualUserInput, OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput>
27550
- create: XOR<OrganizationMembershipCreateWithoutIndividualUserInput, OrganizationMembershipUncheckedCreateWithoutIndividualUserInput>
27551
- }
27552
-
27553
- export type OrganizationMembershipUpdateWithWhereUniqueWithoutIndividualUserInput = {
27554
- where: OrganizationMembershipWhereUniqueInput
27555
- data: XOR<OrganizationMembershipUpdateWithoutIndividualUserInput, OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput>
27556
- }
27557
-
27558
- export type OrganizationMembershipUpdateManyWithWhereWithoutIndividualUserInput = {
27559
- where: OrganizationMembershipScalarWhereInput
27560
- data: XOR<OrganizationMembershipUpdateManyMutationInput, OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserInput>
27561
- }
27562
-
27563
- export type OrganizationMembershipScalarWhereInput = {
27564
- AND?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
27565
- OR?: OrganizationMembershipScalarWhereInput[]
27566
- NOT?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[]
27567
- id?: StringFilter<"OrganizationMembership"> | string
27568
- individualUserId?: StringFilter<"OrganizationMembership"> | string
27569
- organizationUserId?: StringFilter<"OrganizationMembership"> | string
27570
- orgRole?: StringFilter<"OrganizationMembership"> | string
27571
- createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string
27572
- }
27573
-
27574
- export type OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationUserInput = {
27575
- where: OrganizationMembershipWhereUniqueInput
27576
- update: XOR<OrganizationMembershipUpdateWithoutOrganizationUserInput, OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput>
27577
- create: XOR<OrganizationMembershipCreateWithoutOrganizationUserInput, OrganizationMembershipUncheckedCreateWithoutOrganizationUserInput>
27578
- }
27579
-
27580
- export type OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationUserInput = {
27581
- where: OrganizationMembershipWhereUniqueInput
27582
- data: XOR<OrganizationMembershipUpdateWithoutOrganizationUserInput, OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput>
27583
- }
27584
-
27585
- export type OrganizationMembershipUpdateManyWithWhereWithoutOrganizationUserInput = {
27586
- where: OrganizationMembershipScalarWhereInput
27587
- 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
27588
25990
  }
27589
25991
 
27590
25992
  export type UserCreateWithoutTokensInput = {
@@ -27604,8 +26006,6 @@ export namespace Prisma {
27604
26006
  entities?: EntityCreateNestedManyWithoutUserInput
27605
26007
  integrations?: IntegrationCreateNestedManyWithoutUserInput
27606
26008
  processes?: ProcessCreateNestedManyWithoutUserInput
27607
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
27608
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
27609
26009
  }
27610
26010
 
27611
26011
  export type UserUncheckedCreateWithoutTokensInput = {
@@ -27625,8 +26025,6 @@ export namespace Prisma {
27625
26025
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
27626
26026
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
27627
26027
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
27628
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
27629
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
27630
26028
  }
27631
26029
 
27632
26030
  export type UserCreateOrConnectWithoutTokensInput = {
@@ -27661,8 +26059,6 @@ export namespace Prisma {
27661
26059
  entities?: EntityUpdateManyWithoutUserNestedInput
27662
26060
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
27663
26061
  processes?: ProcessUpdateManyWithoutUserNestedInput
27664
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
27665
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
27666
26062
  }
27667
26063
 
27668
26064
  export type UserUncheckedUpdateWithoutTokensInput = {
@@ -27681,8 +26077,6 @@ export namespace Prisma {
27681
26077
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
27682
26078
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
27683
26079
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
27684
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
27685
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
27686
26080
  }
27687
26081
 
27688
26082
  export type UserCreateWithoutCredentialsInput = {
@@ -27702,8 +26096,6 @@ export namespace Prisma {
27702
26096
  entities?: EntityCreateNestedManyWithoutUserInput
27703
26097
  integrations?: IntegrationCreateNestedManyWithoutUserInput
27704
26098
  processes?: ProcessCreateNestedManyWithoutUserInput
27705
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
27706
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
27707
26099
  }
27708
26100
 
27709
26101
  export type UserUncheckedCreateWithoutCredentialsInput = {
@@ -27723,8 +26115,6 @@ export namespace Prisma {
27723
26115
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
27724
26116
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
27725
26117
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
27726
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
27727
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
27728
26118
  }
27729
26119
 
27730
26120
  export type UserCreateOrConnectWithoutCredentialsInput = {
@@ -27737,7 +26127,6 @@ export namespace Prisma {
27737
26127
  name?: string | null
27738
26128
  moduleName?: string | null
27739
26129
  externalId?: string | null
27740
- organizationId?: string | null
27741
26130
  data?: InputJsonValue
27742
26131
  createdAt?: Date | string
27743
26132
  updatedAt?: Date | string
@@ -27754,7 +26143,6 @@ export namespace Prisma {
27754
26143
  name?: string | null
27755
26144
  moduleName?: string | null
27756
26145
  externalId?: string | null
27757
- organizationId?: string | null
27758
26146
  data?: InputJsonValue
27759
26147
  createdAt?: Date | string
27760
26148
  updatedAt?: Date | string
@@ -27802,8 +26190,6 @@ export namespace Prisma {
27802
26190
  entities?: EntityUpdateManyWithoutUserNestedInput
27803
26191
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
27804
26192
  processes?: ProcessUpdateManyWithoutUserNestedInput
27805
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
27806
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
27807
26193
  }
27808
26194
 
27809
26195
  export type UserUncheckedUpdateWithoutCredentialsInput = {
@@ -27822,8 +26208,6 @@ export namespace Prisma {
27822
26208
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
27823
26209
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
27824
26210
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
27825
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
27826
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
27827
26211
  }
27828
26212
 
27829
26213
  export type EntityUpsertWithWhereUniqueWithoutCredentialInput = {
@@ -27884,8 +26268,6 @@ export namespace Prisma {
27884
26268
  credentials?: CredentialCreateNestedManyWithoutUserInput
27885
26269
  integrations?: IntegrationCreateNestedManyWithoutUserInput
27886
26270
  processes?: ProcessCreateNestedManyWithoutUserInput
27887
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
27888
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
27889
26271
  }
27890
26272
 
27891
26273
  export type UserUncheckedCreateWithoutEntitiesInput = {
@@ -27905,8 +26287,6 @@ export namespace Prisma {
27905
26287
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
27906
26288
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
27907
26289
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
27908
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
27909
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
27910
26290
  }
27911
26291
 
27912
26292
  export type UserCreateOrConnectWithoutEntitiesInput = {
@@ -27917,7 +26297,6 @@ export namespace Prisma {
27917
26297
  export type IntegrationCreateWithoutEntitiesInput = {
27918
26298
  id?: string
27919
26299
  status?: $Enums.IntegrationStatus
27920
- organizationId?: string | null
27921
26300
  config?: InputJsonValue | null
27922
26301
  version?: string | null
27923
26302
  errors?: InputJsonValue
@@ -27937,7 +26316,6 @@ export namespace Prisma {
27937
26316
  id?: string
27938
26317
  userId?: string | null
27939
26318
  status?: $Enums.IntegrationStatus
27940
- organizationId?: string | null
27941
26319
  config?: InputJsonValue | null
27942
26320
  version?: string | null
27943
26321
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -28084,8 +26462,6 @@ export namespace Prisma {
28084
26462
  credentials?: CredentialUpdateManyWithoutUserNestedInput
28085
26463
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
28086
26464
  processes?: ProcessUpdateManyWithoutUserNestedInput
28087
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
28088
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
28089
26465
  }
28090
26466
 
28091
26467
  export type UserUncheckedUpdateWithoutEntitiesInput = {
@@ -28104,8 +26480,6 @@ export namespace Prisma {
28104
26480
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
28105
26481
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
28106
26482
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
28107
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
28108
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
28109
26483
  }
28110
26484
 
28111
26485
  export type IntegrationUpsertWithWhereUniqueWithoutEntitiesInput = {
@@ -28223,8 +26597,6 @@ export namespace Prisma {
28223
26597
  credentials?: CredentialCreateNestedManyWithoutUserInput
28224
26598
  entities?: EntityCreateNestedManyWithoutUserInput
28225
26599
  processes?: ProcessCreateNestedManyWithoutUserInput
28226
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
28227
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
28228
26600
  }
28229
26601
 
28230
26602
  export type UserUncheckedCreateWithoutIntegrationsInput = {
@@ -28244,8 +26616,6 @@ export namespace Prisma {
28244
26616
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
28245
26617
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
28246
26618
  processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
28247
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
28248
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
28249
26619
  }
28250
26620
 
28251
26621
  export type UserCreateOrConnectWithoutIntegrationsInput = {
@@ -28258,7 +26628,6 @@ export namespace Prisma {
28258
26628
  name?: string | null
28259
26629
  moduleName?: string | null
28260
26630
  externalId?: string | null
28261
- organizationId?: string | null
28262
26631
  data?: InputJsonValue
28263
26632
  createdAt?: Date | string
28264
26633
  updatedAt?: Date | string
@@ -28276,7 +26645,6 @@ export namespace Prisma {
28276
26645
  name?: string | null
28277
26646
  moduleName?: string | null
28278
26647
  externalId?: string | null
28279
- organizationId?: string | null
28280
26648
  data?: InputJsonValue
28281
26649
  createdAt?: Date | string
28282
26650
  updatedAt?: Date | string
@@ -28432,8 +26800,6 @@ export namespace Prisma {
28432
26800
  credentials?: CredentialUpdateManyWithoutUserNestedInput
28433
26801
  entities?: EntityUpdateManyWithoutUserNestedInput
28434
26802
  processes?: ProcessUpdateManyWithoutUserNestedInput
28435
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
28436
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
28437
26803
  }
28438
26804
 
28439
26805
  export type UserUncheckedUpdateWithoutIntegrationsInput = {
@@ -28452,8 +26818,6 @@ export namespace Prisma {
28452
26818
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
28453
26819
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
28454
26820
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
28455
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
28456
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
28457
26821
  }
28458
26822
 
28459
26823
  export type EntityUpsertWithWhereUniqueWithoutIntegrationsInput = {
@@ -28562,7 +26926,6 @@ export namespace Prisma {
28562
26926
  export type IntegrationCreateWithoutMappingsInput = {
28563
26927
  id?: string
28564
26928
  status?: $Enums.IntegrationStatus
28565
- organizationId?: string | null
28566
26929
  config?: InputJsonValue | null
28567
26930
  version?: string | null
28568
26931
  errors?: InputJsonValue
@@ -28582,7 +26945,6 @@ export namespace Prisma {
28582
26945
  id?: string
28583
26946
  userId?: string | null
28584
26947
  status?: $Enums.IntegrationStatus
28585
- organizationId?: string | null
28586
26948
  config?: InputJsonValue | null
28587
26949
  version?: string | null
28588
26950
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -28616,7 +26978,6 @@ export namespace Prisma {
28616
26978
 
28617
26979
  export type IntegrationUpdateWithoutMappingsInput = {
28618
26980
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
28619
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
28620
26981
  config?: InputJsonValue | InputJsonValue | null
28621
26982
  version?: NullableStringFieldUpdateOperationsInput | string | null
28622
26983
  errors?: InputJsonValue | InputJsonValue
@@ -28635,7 +26996,6 @@ export namespace Prisma {
28635
26996
  export type IntegrationUncheckedUpdateWithoutMappingsInput = {
28636
26997
  userId?: NullableStringFieldUpdateOperationsInput | string | null
28637
26998
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
28638
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
28639
26999
  config?: InputJsonValue | InputJsonValue | null
28640
27000
  version?: NullableStringFieldUpdateOperationsInput | string | null
28641
27001
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -28668,8 +27028,6 @@ export namespace Prisma {
28668
27028
  credentials?: CredentialCreateNestedManyWithoutUserInput
28669
27029
  entities?: EntityCreateNestedManyWithoutUserInput
28670
27030
  integrations?: IntegrationCreateNestedManyWithoutUserInput
28671
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
28672
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
28673
27031
  }
28674
27032
 
28675
27033
  export type UserUncheckedCreateWithoutProcessesInput = {
@@ -28689,8 +27047,6 @@ export namespace Prisma {
28689
27047
  credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
28690
27048
  entities?: EntityUncheckedCreateNestedManyWithoutUserInput
28691
27049
  integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
28692
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
28693
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
28694
27050
  }
28695
27051
 
28696
27052
  export type UserCreateOrConnectWithoutProcessesInput = {
@@ -28701,7 +27057,6 @@ export namespace Prisma {
28701
27057
  export type IntegrationCreateWithoutProcessesInput = {
28702
27058
  id?: string
28703
27059
  status?: $Enums.IntegrationStatus
28704
- organizationId?: string | null
28705
27060
  config?: InputJsonValue | null
28706
27061
  version?: string | null
28707
27062
  errors?: InputJsonValue
@@ -28721,7 +27076,6 @@ export namespace Prisma {
28721
27076
  id?: string
28722
27077
  userId?: string | null
28723
27078
  status?: $Enums.IntegrationStatus
28724
- organizationId?: string | null
28725
27079
  config?: InputJsonValue | null
28726
27080
  version?: string | null
28727
27081
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -28769,8 +27123,6 @@ export namespace Prisma {
28769
27123
  credentials?: CredentialUpdateManyWithoutUserNestedInput
28770
27124
  entities?: EntityUpdateManyWithoutUserNestedInput
28771
27125
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
28772
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
28773
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
28774
27126
  }
28775
27127
 
28776
27128
  export type UserUncheckedUpdateWithoutProcessesInput = {
@@ -28789,8 +27141,6 @@ export namespace Prisma {
28789
27141
  credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
28790
27142
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
28791
27143
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
28792
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
28793
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
28794
27144
  }
28795
27145
 
28796
27146
  export type IntegrationUpsertWithoutProcessesInput = {
@@ -28806,7 +27156,6 @@ export namespace Prisma {
28806
27156
 
28807
27157
  export type IntegrationUpdateWithoutProcessesInput = {
28808
27158
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
28809
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
28810
27159
  config?: InputJsonValue | InputJsonValue | null
28811
27160
  version?: NullableStringFieldUpdateOperationsInput | string | null
28812
27161
  errors?: InputJsonValue | InputJsonValue
@@ -28825,7 +27174,6 @@ export namespace Prisma {
28825
27174
  export type IntegrationUncheckedUpdateWithoutProcessesInput = {
28826
27175
  userId?: NullableStringFieldUpdateOperationsInput | string | null
28827
27176
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
28828
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
28829
27177
  config?: InputJsonValue | InputJsonValue | null
28830
27178
  version?: NullableStringFieldUpdateOperationsInput | string | null
28831
27179
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -28844,7 +27192,6 @@ export namespace Prisma {
28844
27192
  export type IntegrationCreateWithoutSyncsInput = {
28845
27193
  id?: string
28846
27194
  status?: $Enums.IntegrationStatus
28847
- organizationId?: string | null
28848
27195
  config?: InputJsonValue | null
28849
27196
  version?: string | null
28850
27197
  errors?: InputJsonValue
@@ -28864,7 +27211,6 @@ export namespace Prisma {
28864
27211
  id?: string
28865
27212
  userId?: string | null
28866
27213
  status?: $Enums.IntegrationStatus
28867
- organizationId?: string | null
28868
27214
  config?: InputJsonValue | null
28869
27215
  version?: string | null
28870
27216
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -28890,7 +27236,6 @@ export namespace Prisma {
28890
27236
  name?: string | null
28891
27237
  moduleName?: string | null
28892
27238
  externalId?: string | null
28893
- organizationId?: string | null
28894
27239
  data?: InputJsonValue
28895
27240
  createdAt?: Date | string
28896
27241
  updatedAt?: Date | string
@@ -28908,7 +27253,6 @@ export namespace Prisma {
28908
27253
  name?: string | null
28909
27254
  moduleName?: string | null
28910
27255
  externalId?: string | null
28911
- organizationId?: string | null
28912
27256
  data?: InputJsonValue
28913
27257
  createdAt?: Date | string
28914
27258
  updatedAt?: Date | string
@@ -28960,7 +27304,6 @@ export namespace Prisma {
28960
27304
 
28961
27305
  export type IntegrationUpdateWithoutSyncsInput = {
28962
27306
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
28963
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
28964
27307
  config?: InputJsonValue | InputJsonValue | null
28965
27308
  version?: NullableStringFieldUpdateOperationsInput | string | null
28966
27309
  errors?: InputJsonValue | InputJsonValue
@@ -28979,7 +27322,6 @@ export namespace Prisma {
28979
27322
  export type IntegrationUncheckedUpdateWithoutSyncsInput = {
28980
27323
  userId?: NullableStringFieldUpdateOperationsInput | string | null
28981
27324
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
28982
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
28983
27325
  config?: InputJsonValue | InputJsonValue | null
28984
27326
  version?: NullableStringFieldUpdateOperationsInput | string | null
28985
27327
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -29054,7 +27396,6 @@ export namespace Prisma {
29054
27396
  name?: string | null
29055
27397
  moduleName?: string | null
29056
27398
  externalId?: string | null
29057
- organizationId?: string | null
29058
27399
  data?: InputJsonValue
29059
27400
  createdAt?: Date | string
29060
27401
  updatedAt?: Date | string
@@ -29072,7 +27413,6 @@ export namespace Prisma {
29072
27413
  name?: string | null
29073
27414
  moduleName?: string | null
29074
27415
  externalId?: string | null
29075
- organizationId?: string | null
29076
27416
  data?: InputJsonValue
29077
27417
  createdAt?: Date | string
29078
27418
  updatedAt?: Date | string
@@ -29129,7 +27469,6 @@ export namespace Prisma {
29129
27469
  name?: NullableStringFieldUpdateOperationsInput | string | null
29130
27470
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29131
27471
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29132
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29133
27472
  data?: InputJsonValue | InputJsonValue
29134
27473
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29135
27474
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29146,7 +27485,6 @@ export namespace Prisma {
29146
27485
  name?: NullableStringFieldUpdateOperationsInput | string | null
29147
27486
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29148
27487
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29149
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29150
27488
  data?: InputJsonValue | InputJsonValue
29151
27489
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29152
27490
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29160,7 +27498,6 @@ export namespace Prisma {
29160
27498
  export type IntegrationCreateWithoutAssociationsInput = {
29161
27499
  id?: string
29162
27500
  status?: $Enums.IntegrationStatus
29163
- organizationId?: string | null
29164
27501
  config?: InputJsonValue | null
29165
27502
  version?: string | null
29166
27503
  errors?: InputJsonValue
@@ -29180,7 +27517,6 @@ export namespace Prisma {
29180
27517
  id?: string
29181
27518
  userId?: string | null
29182
27519
  status?: $Enums.IntegrationStatus
29183
- organizationId?: string | null
29184
27520
  config?: InputJsonValue | null
29185
27521
  version?: string | null
29186
27522
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -29239,7 +27575,6 @@ export namespace Prisma {
29239
27575
 
29240
27576
  export type IntegrationUpdateWithoutAssociationsInput = {
29241
27577
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29242
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29243
27578
  config?: InputJsonValue | InputJsonValue | null
29244
27579
  version?: NullableStringFieldUpdateOperationsInput | string | null
29245
27580
  errors?: InputJsonValue | InputJsonValue
@@ -29258,7 +27593,6 @@ export namespace Prisma {
29258
27593
  export type IntegrationUncheckedUpdateWithoutAssociationsInput = {
29259
27594
  userId?: NullableStringFieldUpdateOperationsInput | string | null
29260
27595
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29261
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29262
27596
  config?: InputJsonValue | InputJsonValue | null
29263
27597
  version?: NullableStringFieldUpdateOperationsInput | string | null
29264
27598
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -29316,7 +27650,6 @@ export namespace Prisma {
29316
27650
  name?: string | null
29317
27651
  moduleName?: string | null
29318
27652
  externalId?: string | null
29319
- organizationId?: string | null
29320
27653
  data?: InputJsonValue
29321
27654
  createdAt?: Date | string
29322
27655
  updatedAt?: Date | string
@@ -29334,7 +27667,6 @@ export namespace Prisma {
29334
27667
  name?: string | null
29335
27668
  moduleName?: string | null
29336
27669
  externalId?: string | null
29337
- organizationId?: string | null
29338
27670
  data?: InputJsonValue
29339
27671
  createdAt?: Date | string
29340
27672
  updatedAt?: Date | string
@@ -29390,7 +27722,6 @@ export namespace Prisma {
29390
27722
  name?: NullableStringFieldUpdateOperationsInput | string | null
29391
27723
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29392
27724
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29393
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29394
27725
  data?: InputJsonValue | InputJsonValue
29395
27726
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29396
27727
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29407,7 +27738,6 @@ export namespace Prisma {
29407
27738
  name?: NullableStringFieldUpdateOperationsInput | string | null
29408
27739
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29409
27740
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29410
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29411
27741
  data?: InputJsonValue | InputJsonValue
29412
27742
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29413
27743
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29418,202 +27748,6 @@ export namespace Prisma {
29418
27748
  dataIdentifiers?: DataIdentifierUncheckedUpdateManyWithoutEntityNestedInput
29419
27749
  }
29420
27750
 
29421
- export type UserCreateWithoutMembershipsInput = {
29422
- id?: string
29423
- type: $Enums.UserType
29424
- createdAt?: Date | string
29425
- updatedAt?: Date | string
29426
- email?: string | null
29427
- username?: string | null
29428
- hashword?: string | null
29429
- appUserId?: string | null
29430
- appOrgId?: string | null
29431
- name?: string | null
29432
- organization?: UserCreateNestedOneWithoutMembersInput
29433
- members?: UserCreateNestedManyWithoutOrganizationInput
29434
- tokens?: TokenCreateNestedManyWithoutUserInput
29435
- credentials?: CredentialCreateNestedManyWithoutUserInput
29436
- entities?: EntityCreateNestedManyWithoutUserInput
29437
- integrations?: IntegrationCreateNestedManyWithoutUserInput
29438
- processes?: ProcessCreateNestedManyWithoutUserInput
29439
- orgMembers?: OrganizationMembershipCreateNestedManyWithoutOrganizationUserInput
29440
- }
29441
-
29442
- export type UserUncheckedCreateWithoutMembershipsInput = {
29443
- id?: string
29444
- type: $Enums.UserType
29445
- createdAt?: Date | string
29446
- updatedAt?: Date | string
29447
- email?: string | null
29448
- username?: string | null
29449
- hashword?: string | null
29450
- appUserId?: string | null
29451
- organizationId?: string | null
29452
- appOrgId?: string | null
29453
- name?: string | null
29454
- members?: UserUncheckedCreateNestedManyWithoutOrganizationInput
29455
- tokens?: TokenUncheckedCreateNestedManyWithoutUserInput
29456
- credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
29457
- entities?: EntityUncheckedCreateNestedManyWithoutUserInput
29458
- integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
29459
- processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
29460
- orgMembers?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationUserInput
29461
- }
29462
-
29463
- export type UserCreateOrConnectWithoutMembershipsInput = {
29464
- where: UserWhereUniqueInput
29465
- create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
29466
- }
29467
-
29468
- export type UserCreateWithoutOrgMembersInput = {
29469
- id?: string
29470
- type: $Enums.UserType
29471
- createdAt?: Date | string
29472
- updatedAt?: Date | string
29473
- email?: string | null
29474
- username?: string | null
29475
- hashword?: string | null
29476
- appUserId?: string | null
29477
- appOrgId?: string | null
29478
- name?: string | null
29479
- organization?: UserCreateNestedOneWithoutMembersInput
29480
- members?: UserCreateNestedManyWithoutOrganizationInput
29481
- tokens?: TokenCreateNestedManyWithoutUserInput
29482
- credentials?: CredentialCreateNestedManyWithoutUserInput
29483
- entities?: EntityCreateNestedManyWithoutUserInput
29484
- integrations?: IntegrationCreateNestedManyWithoutUserInput
29485
- processes?: ProcessCreateNestedManyWithoutUserInput
29486
- memberships?: OrganizationMembershipCreateNestedManyWithoutIndividualUserInput
29487
- }
29488
-
29489
- export type UserUncheckedCreateWithoutOrgMembersInput = {
29490
- id?: string
29491
- type: $Enums.UserType
29492
- createdAt?: Date | string
29493
- updatedAt?: Date | string
29494
- email?: string | null
29495
- username?: string | null
29496
- hashword?: string | null
29497
- appUserId?: string | null
29498
- organizationId?: string | null
29499
- appOrgId?: string | null
29500
- name?: string | null
29501
- members?: UserUncheckedCreateNestedManyWithoutOrganizationInput
29502
- tokens?: TokenUncheckedCreateNestedManyWithoutUserInput
29503
- credentials?: CredentialUncheckedCreateNestedManyWithoutUserInput
29504
- entities?: EntityUncheckedCreateNestedManyWithoutUserInput
29505
- integrations?: IntegrationUncheckedCreateNestedManyWithoutUserInput
29506
- processes?: ProcessUncheckedCreateNestedManyWithoutUserInput
29507
- memberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutIndividualUserInput
29508
- }
29509
-
29510
- export type UserCreateOrConnectWithoutOrgMembersInput = {
29511
- where: UserWhereUniqueInput
29512
- create: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
29513
- }
29514
-
29515
- export type UserUpsertWithoutMembershipsInput = {
29516
- update: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
29517
- create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
29518
- where?: UserWhereInput
29519
- }
29520
-
29521
- export type UserUpdateToOneWithWhereWithoutMembershipsInput = {
29522
- where?: UserWhereInput
29523
- data: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
29524
- }
29525
-
29526
- export type UserUpdateWithoutMembershipsInput = {
29527
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
29528
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29529
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29530
- email?: NullableStringFieldUpdateOperationsInput | string | null
29531
- username?: NullableStringFieldUpdateOperationsInput | string | null
29532
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
29533
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
29534
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
29535
- name?: NullableStringFieldUpdateOperationsInput | string | null
29536
- organization?: UserUpdateOneWithoutMembersNestedInput
29537
- members?: UserUpdateManyWithoutOrganizationNestedInput
29538
- tokens?: TokenUpdateManyWithoutUserNestedInput
29539
- credentials?: CredentialUpdateManyWithoutUserNestedInput
29540
- entities?: EntityUpdateManyWithoutUserNestedInput
29541
- integrations?: IntegrationUpdateManyWithoutUserNestedInput
29542
- processes?: ProcessUpdateManyWithoutUserNestedInput
29543
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
29544
- }
29545
-
29546
- export type UserUncheckedUpdateWithoutMembershipsInput = {
29547
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
29548
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29549
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29550
- email?: NullableStringFieldUpdateOperationsInput | string | null
29551
- username?: NullableStringFieldUpdateOperationsInput | string | null
29552
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
29553
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
29554
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29555
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
29556
- name?: NullableStringFieldUpdateOperationsInput | string | null
29557
- members?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
29558
- tokens?: TokenUncheckedUpdateManyWithoutUserNestedInput
29559
- credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
29560
- entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
29561
- integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
29562
- processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
29563
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
29564
- }
29565
-
29566
- export type UserUpsertWithoutOrgMembersInput = {
29567
- update: XOR<UserUpdateWithoutOrgMembersInput, UserUncheckedUpdateWithoutOrgMembersInput>
29568
- create: XOR<UserCreateWithoutOrgMembersInput, UserUncheckedCreateWithoutOrgMembersInput>
29569
- where?: UserWhereInput
29570
- }
29571
-
29572
- export type UserUpdateToOneWithWhereWithoutOrgMembersInput = {
29573
- where?: UserWhereInput
29574
- data: XOR<UserUpdateWithoutOrgMembersInput, UserUncheckedUpdateWithoutOrgMembersInput>
29575
- }
29576
-
29577
- export type UserUpdateWithoutOrgMembersInput = {
29578
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
29579
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29580
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29581
- email?: NullableStringFieldUpdateOperationsInput | string | null
29582
- username?: NullableStringFieldUpdateOperationsInput | string | null
29583
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
29584
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
29585
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
29586
- name?: NullableStringFieldUpdateOperationsInput | string | null
29587
- organization?: UserUpdateOneWithoutMembersNestedInput
29588
- members?: UserUpdateManyWithoutOrganizationNestedInput
29589
- tokens?: TokenUpdateManyWithoutUserNestedInput
29590
- credentials?: CredentialUpdateManyWithoutUserNestedInput
29591
- entities?: EntityUpdateManyWithoutUserNestedInput
29592
- integrations?: IntegrationUpdateManyWithoutUserNestedInput
29593
- processes?: ProcessUpdateManyWithoutUserNestedInput
29594
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
29595
- }
29596
-
29597
- export type UserUncheckedUpdateWithoutOrgMembersInput = {
29598
- type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
29599
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29600
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29601
- email?: NullableStringFieldUpdateOperationsInput | string | null
29602
- username?: NullableStringFieldUpdateOperationsInput | string | null
29603
- hashword?: NullableStringFieldUpdateOperationsInput | string | null
29604
- appUserId?: NullableStringFieldUpdateOperationsInput | string | null
29605
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29606
- appOrgId?: NullableStringFieldUpdateOperationsInput | string | null
29607
- name?: NullableStringFieldUpdateOperationsInput | string | null
29608
- members?: UserUncheckedUpdateManyWithoutOrganizationNestedInput
29609
- tokens?: TokenUncheckedUpdateManyWithoutUserNestedInput
29610
- credentials?: CredentialUncheckedUpdateManyWithoutUserNestedInput
29611
- entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
29612
- integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
29613
- processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
29614
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
29615
- }
29616
-
29617
27751
  export type UserCreateManyOrganizationInput = {
29618
27752
  id?: string
29619
27753
  type: $Enums.UserType
@@ -29649,7 +27783,6 @@ export namespace Prisma {
29649
27783
  name?: string | null
29650
27784
  moduleName?: string | null
29651
27785
  externalId?: string | null
29652
- organizationId?: string | null
29653
27786
  data?: InputJsonValue
29654
27787
  createdAt?: Date | string
29655
27788
  updatedAt?: Date | string
@@ -29660,7 +27793,6 @@ export namespace Prisma {
29660
27793
  export type IntegrationCreateManyUserInput = {
29661
27794
  id?: string
29662
27795
  status?: $Enums.IntegrationStatus
29663
- organizationId?: string | null
29664
27796
  config?: InputJsonValue | null
29665
27797
  version?: string | null
29666
27798
  entityIds?: IntegrationCreateentityIdsInput | string[]
@@ -29686,20 +27818,6 @@ export namespace Prisma {
29686
27818
  updatedAt?: Date | string
29687
27819
  }
29688
27820
 
29689
- export type OrganizationMembershipCreateManyIndividualUserInput = {
29690
- id?: string
29691
- organizationUserId: string
29692
- orgRole?: string
29693
- createdAt?: Date | string
29694
- }
29695
-
29696
- export type OrganizationMembershipCreateManyOrganizationUserInput = {
29697
- id?: string
29698
- individualUserId: string
29699
- orgRole?: string
29700
- createdAt?: Date | string
29701
- }
29702
-
29703
27821
  export type UserUpdateWithoutOrganizationInput = {
29704
27822
  type?: EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType
29705
27823
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29716,8 +27834,6 @@ export namespace Prisma {
29716
27834
  entities?: EntityUpdateManyWithoutUserNestedInput
29717
27835
  integrations?: IntegrationUpdateManyWithoutUserNestedInput
29718
27836
  processes?: ProcessUpdateManyWithoutUserNestedInput
29719
- memberships?: OrganizationMembershipUpdateManyWithoutIndividualUserNestedInput
29720
- orgMembers?: OrganizationMembershipUpdateManyWithoutOrganizationUserNestedInput
29721
27837
  }
29722
27838
 
29723
27839
  export type UserUncheckedUpdateWithoutOrganizationInput = {
@@ -29736,8 +27852,6 @@ export namespace Prisma {
29736
27852
  entities?: EntityUncheckedUpdateManyWithoutUserNestedInput
29737
27853
  integrations?: IntegrationUncheckedUpdateManyWithoutUserNestedInput
29738
27854
  processes?: ProcessUncheckedUpdateManyWithoutUserNestedInput
29739
- memberships?: OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserNestedInput
29740
- orgMembers?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserNestedInput
29741
27855
  }
29742
27856
 
29743
27857
  export type UserUncheckedUpdateManyWithoutOrganizationInput = {
@@ -29800,7 +27914,6 @@ export namespace Prisma {
29800
27914
  name?: NullableStringFieldUpdateOperationsInput | string | null
29801
27915
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29802
27916
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29803
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29804
27917
  data?: InputJsonValue | InputJsonValue
29805
27918
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29806
27919
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29816,7 +27929,6 @@ export namespace Prisma {
29816
27929
  name?: NullableStringFieldUpdateOperationsInput | string | null
29817
27930
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29818
27931
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29819
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29820
27932
  data?: InputJsonValue | InputJsonValue
29821
27933
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29822
27934
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29833,7 +27945,6 @@ export namespace Prisma {
29833
27945
  name?: NullableStringFieldUpdateOperationsInput | string | null
29834
27946
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29835
27947
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29836
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29837
27948
  data?: InputJsonValue | InputJsonValue
29838
27949
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29839
27950
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -29843,7 +27954,6 @@ export namespace Prisma {
29843
27954
 
29844
27955
  export type IntegrationUpdateWithoutUserInput = {
29845
27956
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29846
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29847
27957
  config?: InputJsonValue | InputJsonValue | null
29848
27958
  version?: NullableStringFieldUpdateOperationsInput | string | null
29849
27959
  errors?: InputJsonValue | InputJsonValue
@@ -29861,7 +27971,6 @@ export namespace Prisma {
29861
27971
 
29862
27972
  export type IntegrationUncheckedUpdateWithoutUserInput = {
29863
27973
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29864
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29865
27974
  config?: InputJsonValue | InputJsonValue | null
29866
27975
  version?: NullableStringFieldUpdateOperationsInput | string | null
29867
27976
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -29880,7 +27989,6 @@ export namespace Prisma {
29880
27989
 
29881
27990
  export type IntegrationUncheckedUpdateManyWithoutUserInput = {
29882
27991
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29883
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29884
27992
  config?: InputJsonValue | InputJsonValue | null
29885
27993
  version?: NullableStringFieldUpdateOperationsInput | string | null
29886
27994
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -29931,49 +28039,12 @@ export namespace Prisma {
29931
28039
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29932
28040
  }
29933
28041
 
29934
- export type OrganizationMembershipUpdateWithoutIndividualUserInput = {
29935
- orgRole?: StringFieldUpdateOperationsInput | string
29936
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29937
- organizationUser?: UserUpdateOneRequiredWithoutOrgMembersNestedInput
29938
- }
29939
-
29940
- export type OrganizationMembershipUncheckedUpdateWithoutIndividualUserInput = {
29941
- organizationUserId?: StringFieldUpdateOperationsInput | string
29942
- orgRole?: StringFieldUpdateOperationsInput | string
29943
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29944
- }
29945
-
29946
- export type OrganizationMembershipUncheckedUpdateManyWithoutIndividualUserInput = {
29947
- organizationUserId?: StringFieldUpdateOperationsInput | string
29948
- orgRole?: StringFieldUpdateOperationsInput | string
29949
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29950
- }
29951
-
29952
- export type OrganizationMembershipUpdateWithoutOrganizationUserInput = {
29953
- orgRole?: StringFieldUpdateOperationsInput | string
29954
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29955
- individualUser?: UserUpdateOneRequiredWithoutMembershipsNestedInput
29956
- }
29957
-
29958
- export type OrganizationMembershipUncheckedUpdateWithoutOrganizationUserInput = {
29959
- individualUserId?: StringFieldUpdateOperationsInput | string
29960
- orgRole?: StringFieldUpdateOperationsInput | string
29961
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29962
- }
29963
-
29964
- export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationUserInput = {
29965
- individualUserId?: StringFieldUpdateOperationsInput | string
29966
- orgRole?: StringFieldUpdateOperationsInput | string
29967
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29968
- }
29969
-
29970
28042
  export type EntityCreateManyCredentialInput = {
29971
28043
  id?: string
29972
28044
  userId?: string | null
29973
28045
  name?: string | null
29974
28046
  moduleName?: string | null
29975
28047
  externalId?: string | null
29976
- organizationId?: string | null
29977
28048
  data?: InputJsonValue
29978
28049
  createdAt?: Date | string
29979
28050
  updatedAt?: Date | string
@@ -29985,7 +28056,6 @@ export namespace Prisma {
29985
28056
  name?: NullableStringFieldUpdateOperationsInput | string | null
29986
28057
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
29987
28058
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
29988
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
29989
28059
  data?: InputJsonValue | InputJsonValue
29990
28060
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29991
28061
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30001,7 +28071,6 @@ export namespace Prisma {
30001
28071
  name?: NullableStringFieldUpdateOperationsInput | string | null
30002
28072
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30003
28073
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30004
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30005
28074
  data?: InputJsonValue | InputJsonValue
30006
28075
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30007
28076
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30018,7 +28087,6 @@ export namespace Prisma {
30018
28087
  name?: NullableStringFieldUpdateOperationsInput | string | null
30019
28088
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30020
28089
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30021
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30022
28090
  data?: InputJsonValue | InputJsonValue
30023
28091
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30024
28092
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30043,7 +28111,6 @@ export namespace Prisma {
30043
28111
 
30044
28112
  export type IntegrationUpdateWithoutEntitiesInput = {
30045
28113
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30046
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30047
28114
  config?: InputJsonValue | InputJsonValue | null
30048
28115
  version?: NullableStringFieldUpdateOperationsInput | string | null
30049
28116
  errors?: InputJsonValue | InputJsonValue
@@ -30062,7 +28129,6 @@ export namespace Prisma {
30062
28129
  export type IntegrationUncheckedUpdateWithoutEntitiesInput = {
30063
28130
  userId?: NullableStringFieldUpdateOperationsInput | string | null
30064
28131
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30065
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30066
28132
  config?: InputJsonValue | InputJsonValue | null
30067
28133
  version?: NullableStringFieldUpdateOperationsInput | string | null
30068
28134
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -30081,7 +28147,6 @@ export namespace Prisma {
30081
28147
  export type IntegrationUncheckedUpdateManyWithoutEntitiesInput = {
30082
28148
  userId?: NullableStringFieldUpdateOperationsInput | string | null
30083
28149
  status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
30084
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30085
28150
  config?: InputJsonValue | InputJsonValue | null
30086
28151
  version?: NullableStringFieldUpdateOperationsInput | string | null
30087
28152
  entityIds?: IntegrationUpdateentityIdsInput | string[]
@@ -30194,7 +28259,6 @@ export namespace Prisma {
30194
28259
  name?: NullableStringFieldUpdateOperationsInput | string | null
30195
28260
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30196
28261
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30197
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30198
28262
  data?: InputJsonValue | InputJsonValue
30199
28263
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30200
28264
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30211,7 +28275,6 @@ export namespace Prisma {
30211
28275
  name?: NullableStringFieldUpdateOperationsInput | string | null
30212
28276
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30213
28277
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30214
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30215
28278
  data?: InputJsonValue | InputJsonValue
30216
28279
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30217
28280
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30228,7 +28291,6 @@ export namespace Prisma {
30228
28291
  name?: NullableStringFieldUpdateOperationsInput | string | null
30229
28292
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30230
28293
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30231
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30232
28294
  data?: InputJsonValue | InputJsonValue
30233
28295
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30234
28296
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30348,7 +28410,6 @@ export namespace Prisma {
30348
28410
  name?: NullableStringFieldUpdateOperationsInput | string | null
30349
28411
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30350
28412
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30351
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30352
28413
  data?: InputJsonValue | InputJsonValue
30353
28414
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30354
28415
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30365,7 +28426,6 @@ export namespace Prisma {
30365
28426
  name?: NullableStringFieldUpdateOperationsInput | string | null
30366
28427
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30367
28428
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30368
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30369
28429
  data?: InputJsonValue | InputJsonValue
30370
28430
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30371
28431
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -30382,7 +28442,6 @@ export namespace Prisma {
30382
28442
  name?: NullableStringFieldUpdateOperationsInput | string | null
30383
28443
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
30384
28444
  externalId?: NullableStringFieldUpdateOperationsInput | string | null
30385
- organizationId?: NullableStringFieldUpdateOperationsInput | string | null
30386
28445
  data?: InputJsonValue | InputJsonValue
30387
28446
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30388
28447
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string