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