@highstate/backend 0.9.18 → 0.9.19
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/dist/chunk-5WVU2AK4.js +1535 -0
- package/dist/chunk-5WVU2AK4.js.map +1 -0
- package/dist/{chunk-OU5OQBLB.js → chunk-I7BWSAN6.js} +3 -28
- package/dist/{chunk-OU5OQBLB.js.map → chunk-I7BWSAN6.js.map} +1 -1
- package/dist/chunk-VB4YL327.js +139 -0
- package/dist/chunk-VB4YL327.js.map +1 -0
- package/dist/database/local/prisma.config.js +26 -0
- package/dist/database/local/prisma.config.js.map +1 -0
- package/dist/highstate.manifest.json +2 -1
- package/dist/index.js +7587 -7291
- package/dist/index.js.map +1 -1
- package/dist/library/package-resolution-worker.js +1 -1
- package/dist/library/package-resolution-worker.js.map +1 -1
- package/dist/library/worker/main.js +35 -29
- package/dist/library/worker/main.js.map +1 -1
- package/dist/shared/index.js +2 -2
- package/package.json +18 -9
- package/prisma/backend/_schema/layout.prisma +7 -0
- package/prisma/backend/_schema/library.prisma +17 -0
- package/prisma/backend/_schema/project.prisma +101 -0
- package/prisma/backend/_schema/pulumi.prisma +17 -0
- package/prisma/backend/postgresql/main.prisma +17 -0
- package/prisma/backend/sqlite/main.prisma +17 -0
- package/prisma/backend/sqlite/migrations/20250817070609_initiial/migration.sql +34 -0
- package/prisma/backend/sqlite/migrations/20250817104948_add_fields/migration.sql +59 -0
- package/prisma/backend/sqlite/migrations/20250818082732_add_models/migration.sql +41 -0
- package/prisma/backend/sqlite/migrations/20250818083106_a/migration.sql +19 -0
- package/prisma/backend/sqlite/migrations/20250818101945_hi/migration.sql +1 -0
- package/prisma/backend/sqlite/migrations/20250819082315_a/migration.sql +5 -0
- package/prisma/backend/sqlite/migrations/migration_lock.toml +3 -0
- package/prisma/project/api-key.prisma +27 -0
- package/prisma/project/artifact.prisma +52 -0
- package/prisma/project/custom-status.prisma +46 -0
- package/prisma/project/evaluation.prisma +35 -0
- package/prisma/project/instance.prisma +160 -0
- package/prisma/project/layout.prisma +23 -0
- package/prisma/project/lock.prisma +18 -0
- package/prisma/project/main.prisma +17 -0
- package/prisma/project/migrations/20250816081310_initial/migration.sql +300 -0
- package/prisma/project/migrations/20250816082523_test/migration.sql +72 -0
- package/prisma/project/migrations/20250818065643_update/migration.sql +42 -0
- package/prisma/project/migrations/20250818070758_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818070913_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818082720_add_motels/migration.sql +11 -0
- package/prisma/project/migrations/20250818112523_hello/migration.sql +35 -0
- package/prisma/project/migrations/20250819082305_a/migration.sql +14 -0
- package/prisma/project/migrations/20250819165004_add_missing_fields/migration.sql +216 -0
- package/prisma/project/migrations/20250819171309_a/migration.sql +22 -0
- package/prisma/project/migrations/20250820113949_a/migration.sql +66 -0
- package/prisma/project/migrations/20250820144256_b/migration.sql +31 -0
- package/prisma/project/migrations/20250820145547_a/migration.sql +24 -0
- package/prisma/project/migrations/20250820182517_b/migration.sql +2 -0
- package/prisma/project/migrations/20250821172324_a/migration.sql +2 -0
- package/prisma/project/migrations/20250822081339_a/migration.sql +219 -0
- package/prisma/project/migrations/20250822083742_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822105134_boom/migration.sql +1 -0
- package/prisma/project/migrations/20250822141028_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822142342_b/migration.sql +16 -0
- package/prisma/project/migrations/20250824072720_a/migration.sql +1 -0
- package/prisma/project/migrations/20250824093656_b/migration.sql +21 -0
- package/prisma/project/migrations/20250825082518_a/migration.sql +1 -0
- package/prisma/project/migrations/20250825085343_b/migration.sql +1 -0
- package/prisma/project/migrations/20250825091312_a/migration.sql +1 -0
- package/prisma/project/migrations/20250903095431_hi/migration.sql +44 -0
- package/prisma/project/migrations/20250903174255_a/migration.sql +24 -0
- package/prisma/project/migrations/20250908095205_hi/migration.sql +18 -0
- package/prisma/project/migrations/20250909155857_hi/migration.sql +15 -0
- package/prisma/project/migrations/migration_lock.toml +3 -0
- package/prisma/project/model.prisma +37 -0
- package/prisma/project/operation.prisma +148 -0
- package/prisma/project/page.prisma +41 -0
- package/prisma/project/secret.prisma +42 -0
- package/prisma/project/service-account.prisma +36 -0
- package/prisma/project/terminal.prisma +90 -0
- package/prisma/project/trigger.prisma +31 -0
- package/prisma/project/unlock-method.prisma +32 -0
- package/prisma/project/worker.prisma +138 -0
- package/src/artifact/abstractions.ts +13 -13
- package/src/artifact/encryption.ts +30 -54
- package/src/artifact/factory.ts +6 -9
- package/src/artifact/local.ts +33 -46
- package/src/business/api-key.ts +24 -36
- package/src/business/artifact.test.ts +978 -0
- package/src/business/artifact.ts +136 -216
- package/src/business/evaluation.ts +328 -0
- package/src/business/index.ts +5 -2
- package/src/business/instance-lock.test.ts +1060 -0
- package/src/business/instance-lock.ts +387 -78
- package/src/business/instance-state.test.ts +735 -0
- package/src/business/instance-state.ts +582 -337
- package/src/business/operation.test.ts +439 -0
- package/src/business/operation.ts +174 -208
- package/src/business/project-model.ts +258 -0
- package/src/business/project-unlock.ts +168 -126
- package/src/business/project.ts +287 -179
- package/src/business/secret.test.ts +465 -130
- package/src/business/secret.ts +186 -217
- package/src/business/settings.test.ts +695 -0
- package/src/business/settings.ts +855 -0
- package/src/business/terminal-session.ts +90 -0
- package/src/business/unit-extra.test.ts +539 -0
- package/src/business/unit-extra.ts +160 -0
- package/src/business/worker.test.ts +356 -579
- package/src/business/worker.ts +238 -339
- package/src/common/codebase.ts +65 -0
- package/src/common/index.ts +3 -5
- package/src/common/logger.ts +5 -0
- package/src/common/utils.ts +4 -3
- package/src/config.ts +10 -11
- package/src/database/_generated/backend/postgresql/client.ts +72 -0
- package/src/database/_generated/backend/postgresql/commonInputTypes.ts +350 -0
- package/src/database/_generated/backend/postgresql/enums.ts +13 -0
- package/src/database/_generated/backend/postgresql/internal/class.ts +320 -0
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +1238 -0
- package/src/database/_generated/backend/postgresql/models/Library.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/Project.ts +2175 -0
- package/src/database/_generated/backend/postgresql/models/ProjectModelStorage.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +1602 -0
- package/src/database/_generated/backend/postgresql/models/PulumiBackend.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/UserWorkspaseLayout.ts +1065 -0
- package/src/database/_generated/backend/postgresql/models.ts +16 -0
- package/src/database/_generated/backend/postgresql/pjtg.ts +182 -0
- package/src/database/_generated/backend/sqlite/client.ts +72 -0
- package/src/database/_generated/backend/sqlite/commonInputTypes.ts +331 -0
- package/src/database/_generated/backend/sqlite/enums.ts +13 -0
- package/src/database/_generated/backend/sqlite/internal/class.ts +318 -0
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +1207 -0
- package/src/database/_generated/backend/sqlite/models/Library.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/Project.ts +2169 -0
- package/src/database/_generated/backend/sqlite/models/ProjectModelStorage.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +1599 -0
- package/src/database/_generated/backend/sqlite/models/PulumiBackend.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/UserWorkspaseLayout.ts +1063 -0
- package/src/database/_generated/backend/sqlite/models.ts +16 -0
- package/src/database/_generated/backend/sqlite/pjtg.ts +182 -0
- package/src/database/_generated/project/client.ts +204 -0
- package/src/database/_generated/project/commonInputTypes.ts +827 -0
- package/src/database/_generated/project/enums.ts +104 -0
- package/src/database/_generated/project/internal/class.ts +479 -0
- package/src/database/_generated/project/internal/prismaNamespace.ts +2974 -0
- package/src/database/_generated/project/models/ApiKey.ts +1506 -0
- package/src/database/_generated/project/models/Artifact.ts +2051 -0
- package/src/database/_generated/project/models/HubModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceCustomStatus.ts +1713 -0
- package/src/database/_generated/project/models/InstanceEvaluationState.ts +1312 -0
- package/src/database/_generated/project/models/InstanceLock.ts +1268 -0
- package/src/database/_generated/project/models/InstanceModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceOperationState.ts +1707 -0
- package/src/database/_generated/project/models/InstanceState.ts +4613 -0
- package/src/database/_generated/project/models/Operation.ts +1647 -0
- package/src/database/_generated/project/models/OperationLog.ts +1455 -0
- package/src/database/_generated/project/models/Page.ts +1838 -0
- package/src/database/_generated/project/models/Secret.ts +1692 -0
- package/src/database/_generated/project/models/ServiceAccount.ts +2165 -0
- package/src/database/_generated/project/models/Terminal.ts +2038 -0
- package/src/database/_generated/project/models/TerminalSession.ts +1454 -0
- package/src/database/_generated/project/models/TerminalSessionLog.ts +1280 -0
- package/src/database/_generated/project/models/Trigger.ts +1430 -0
- package/src/database/_generated/project/models/UnlockMethod.ts +1220 -0
- package/src/database/_generated/project/models/UserCompositeViewport.ts +1280 -0
- package/src/database/_generated/project/models/UserProjectViewport.ts +1059 -0
- package/src/database/_generated/project/models/Worker.ts +1459 -0
- package/src/database/_generated/project/models/WorkerUnitRegistration.ts +1524 -0
- package/src/database/_generated/project/models/WorkerVersion.ts +1974 -0
- package/src/database/_generated/project/models/WorkerVersionLog.ts +1318 -0
- package/src/database/_generated/project/models.ts +35 -0
- package/src/database/_generated/project/pjtg.ts +182 -0
- package/src/database/abstractions.ts +19 -0
- package/src/database/factory.ts +37 -0
- package/src/database/index.ts +6 -0
- package/src/database/local/backend.ts +134 -0
- package/src/database/local/index.ts +3 -0
- package/src/database/local/meta.ts +46 -0
- package/src/database/local/prisma.config.ts +25 -0
- package/src/database/local/project.ts +39 -0
- package/src/database/manager.ts +181 -0
- package/src/database/migrate.ts +35 -0
- package/src/database/prisma.ts +56 -0
- package/src/database/well-known.ts +38 -0
- package/src/index.ts +4 -4
- package/src/library/abstractions.ts +3 -5
- package/src/library/factory.ts +1 -1
- package/src/library/local.ts +81 -26
- package/src/library/package-resolution-worker.ts +1 -1
- package/src/library/worker/evaluator.ts +40 -23
- package/src/library/worker/loader.lite.ts +1 -1
- package/src/library/worker/main.ts +3 -10
- package/src/library/worker/protocol.ts +0 -1
- package/src/lock/index.ts +0 -1
- package/src/lock/manager.ts +0 -10
- package/src/orchestrator/manager.ts +190 -104
- package/src/orchestrator/operation-context.ts +357 -0
- package/src/orchestrator/operation-plan.destroy.test.md +357 -0
- package/src/orchestrator/operation-plan.destroy.test.ts +775 -0
- package/src/orchestrator/operation-plan.fixtures.ts +213 -0
- package/src/orchestrator/operation-plan.md +198 -0
- package/src/orchestrator/operation-plan.refresh.test.md +199 -0
- package/src/orchestrator/operation-plan.refresh.test.ts +367 -0
- package/src/orchestrator/operation-plan.ts +709 -0
- package/src/orchestrator/operation-plan.update.test.md +485 -0
- package/src/orchestrator/operation-plan.update.test.ts +1066 -0
- package/src/orchestrator/operation-workset.ts +233 -578
- package/src/orchestrator/operation.ts +435 -948
- package/src/orchestrator/plan-test-builder.ts +267 -0
- package/src/project-model/abstractions.ts +118 -0
- package/src/project-model/backends/codebase.ts +365 -0
- package/src/project-model/backends/database.ts +440 -0
- package/src/project-model/errors.ts +81 -0
- package/src/project-model/factory.ts +24 -0
- package/src/project-model/index.ts +4 -0
- package/src/project-model/utils.test.ts +544 -0
- package/src/project-model/utils.ts +242 -0
- package/src/pubsub/abstractions.ts +10 -1
- package/src/pubsub/factory.ts +4 -4
- package/src/pubsub/index.ts +1 -0
- package/src/pubsub/manager.ts +29 -13
- package/src/pubsub/memory.ts +31 -0
- package/src/runner/abstractions.ts +33 -41
- package/src/runner/artifact-env.ts +19 -8
- package/src/runner/factory.ts +6 -6
- package/src/runner/force-abort.ts +3 -6
- package/src/runner/local.ts +64 -67
- package/src/runner/pulumi.ts +23 -63
- package/src/services.ts +181 -123
- package/src/shared/models/backend/index.ts +3 -1
- package/src/shared/models/backend/library.ts +9 -1
- package/src/shared/models/backend/project.ts +43 -42
- package/src/shared/models/backend/pulumi.ts +14 -0
- package/src/shared/models/backend/unlock-method.ts +1 -1
- package/src/shared/models/backend/well-known.ts +58 -0
- package/src/shared/models/base.ts +40 -26
- package/src/shared/models/errors.ts +82 -1
- package/src/shared/models/index.ts +3 -2
- package/src/shared/models/prisma.ts +36 -0
- package/src/shared/models/project/api-key.ts +37 -59
- package/src/shared/models/project/artifact.ts +16 -76
- package/src/shared/models/project/custom-status.ts +12 -0
- package/src/shared/models/project/index.ts +8 -7
- package/src/shared/models/project/lock.ts +10 -78
- package/src/shared/models/project/model.ts +19 -1
- package/src/shared/models/project/operation.ts +222 -99
- package/src/shared/models/project/page.ts +37 -48
- package/src/shared/models/project/secret.ts +29 -89
- package/src/shared/models/project/service-account.ts +12 -17
- package/src/shared/models/project/state.ts +100 -407
- package/src/shared/models/project/terminal.ts +75 -88
- package/src/shared/models/project/trigger.ts +13 -49
- package/src/shared/models/project/unlock-method.ts +20 -26
- package/src/shared/models/project/worker.ts +89 -90
- package/src/shared/resolvers/graph-resolver.ts +21 -0
- package/src/shared/resolvers/index.ts +1 -1
- package/src/shared/resolvers/input-hash.ts +24 -14
- package/src/shared/resolvers/input.ts +1 -1
- package/src/shared/resolvers/registry.ts +5 -4
- package/src/shared/resolvers/state.ts +12 -1
- package/src/shared/resolvers/validation.ts +7 -3
- package/src/shared/utils/index.ts +1 -2
- package/src/shared/utils/promise-tracker.ts +30 -3
- package/src/terminal/abstractions.ts +1 -1
- package/src/terminal/docker.ts +3 -3
- package/src/terminal/manager.ts +102 -118
- package/src/test-utils/database.ts +119 -0
- package/src/test-utils/index.ts +2 -0
- package/src/test-utils/services.ts +134 -0
- package/src/unlock/abstractions.ts +5 -23
- package/src/unlock/memory.ts +9 -14
- package/src/worker/abstractions.ts +7 -4
- package/src/worker/docker.ts +14 -19
- package/src/worker/manager.ts +366 -97
- package/dist/chunk-NAAIDR4U.js +0 -8499
- package/dist/chunk-NAAIDR4U.js.map +0 -1
- package/dist/chunk-Y7DXREVO.js +0 -1745
- package/dist/chunk-Y7DXREVO.js.map +0 -1
- package/dist/magic-string.es-5ABAC4JN.js +0 -1292
- package/dist/magic-string.es-5ABAC4JN.js.map +0 -1
- package/src/business/__traces__/secret/update-instance-secrets/create-and-delete-secrets-simultaneously.md +0 -356
- package/src/business/__traces__/secret/update-instance-secrets/create-new-secrets-for-instance.md +0 -274
- package/src/business/__traces__/secret/update-instance-secrets/delete-existing-secrets.md +0 -223
- package/src/business/__traces__/secret/update-instance-secrets/no-op-when-no-changes.md +0 -147
- package/src/business/__traces__/secret/update-instance-secrets/update-existing-secrets.md +0 -280
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration-when-other-exists.md +0 -360
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration.md +0 -215
- package/src/business/__traces__/worker/update-unit-registrations/create-multiple-workers-with-different-identities.md +0 -427
- package/src/business/__traces__/worker/update-unit-registrations/handle-nonexistent-registration-id-gracefully.md +0 -217
- package/src/business/__traces__/worker/update-unit-registrations/no-op-when-no-changes.md +0 -132
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-changes.md +0 -454
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-version-changes.md +0 -426
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-with-same-identity-reuses-service-account.md +0 -372
- package/src/business/__traces__/worker/update-unit-registrations/remove-one-of-multiple-unit-registrations.md +0 -383
- package/src/business/__traces__/worker/update-unit-registrations/remove-unit-registration.md +0 -245
- package/src/business/__traces__/worker/update-unit-registrations/update-existing-unit-registration-when-params-change.md +0 -174
- package/src/business/__traces__/worker/update-unit-registrations/update-params-and-image-simultaneously.md +0 -432
- package/src/business/__traces__/worker/update-unit-registrations/worker-with-multiple-registrations-not-deleted-when-one-removed.md +0 -220
- package/src/business/backend-unlock.ts +0 -10
- package/src/common/clock.ts +0 -18
- package/src/common/performance.ts +0 -44
- package/src/common/random.ts +0 -68
- package/src/common/test/index.ts +0 -2
- package/src/common/test/render.ts +0 -98
- package/src/common/test/tracer.ts +0 -359
- package/src/hotstate/abstractions.ts +0 -48
- package/src/hotstate/factory.ts +0 -17
- package/src/hotstate/index.ts +0 -3
- package/src/hotstate/manager.ts +0 -192
- package/src/hotstate/memory.ts +0 -100
- package/src/hotstate/validation.ts +0 -100
- package/src/lock/test.ts +0 -108
- package/src/project/abstractions.ts +0 -78
- package/src/project/evaluation.ts +0 -248
- package/src/project/factory.ts +0 -11
- package/src/project/index.ts +0 -3
- package/src/project/local.ts +0 -417
- package/src/pubsub/local.ts +0 -36
- package/src/pubsub/validation.ts +0 -33
- package/src/shared/utils/args.ts +0 -25
- package/src/state/abstractions.ts +0 -289
- package/src/state/encryption.ts +0 -98
- package/src/state/factory.ts +0 -20
- package/src/state/index.ts +0 -7
- package/src/state/local/backend.ts +0 -106
- package/src/state/local/collection.ts +0 -361
- package/src/state/local/index.ts +0 -2
- package/src/state/manager.ts +0 -890
- package/src/state/memory/backend.ts +0 -70
- package/src/state/memory/collection.ts +0 -270
- package/src/state/memory/index.ts +0 -2
- package/src/state/repository/index.ts +0 -2
- package/src/state/repository/repository.index.ts +0 -193
- package/src/state/repository/repository.ts +0 -507
- package/src/state/test.ts +0 -457
- /package/src/{state → database/local}/keyring.ts +0 -0
|
@@ -0,0 +1,2165 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports the `ServiceAccount` model and its related types.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type * as PJTG from '../pjtg.ts';
|
|
12
|
+
import * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import type * as $Enums from "../enums.ts"
|
|
14
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Model ServiceAccount
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export type ServiceAccountModel = runtime.Types.Result.DefaultSelection<Prisma.$ServiceAccountPayload>
|
|
21
|
+
|
|
22
|
+
export type AggregateServiceAccount = {
|
|
23
|
+
_count: ServiceAccountCountAggregateOutputType | null
|
|
24
|
+
_min: ServiceAccountMinAggregateOutputType | null
|
|
25
|
+
_max: ServiceAccountMaxAggregateOutputType | null
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type ServiceAccountMinAggregateOutputType = {
|
|
29
|
+
id: string | null
|
|
30
|
+
createdAt: Date | null
|
|
31
|
+
updatedAt: Date | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type ServiceAccountMaxAggregateOutputType = {
|
|
35
|
+
id: string | null
|
|
36
|
+
createdAt: Date | null
|
|
37
|
+
updatedAt: Date | null
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type ServiceAccountCountAggregateOutputType = {
|
|
41
|
+
id: number
|
|
42
|
+
meta: number
|
|
43
|
+
createdAt: number
|
|
44
|
+
updatedAt: number
|
|
45
|
+
_all: number
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
export type ServiceAccountMinAggregateInputType = {
|
|
50
|
+
id?: true
|
|
51
|
+
createdAt?: true
|
|
52
|
+
updatedAt?: true
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type ServiceAccountMaxAggregateInputType = {
|
|
56
|
+
id?: true
|
|
57
|
+
createdAt?: true
|
|
58
|
+
updatedAt?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type ServiceAccountCountAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
meta?: true
|
|
64
|
+
createdAt?: true
|
|
65
|
+
updatedAt?: true
|
|
66
|
+
_all?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type ServiceAccountAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
70
|
+
/**
|
|
71
|
+
* Filter which ServiceAccount to aggregate.
|
|
72
|
+
*/
|
|
73
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
76
|
+
*
|
|
77
|
+
* Determine the order of ServiceAccounts to fetch.
|
|
78
|
+
*/
|
|
79
|
+
orderBy?: Prisma.ServiceAccountOrderByWithRelationInput | Prisma.ServiceAccountOrderByWithRelationInput[]
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
82
|
+
*
|
|
83
|
+
* Sets the start position
|
|
84
|
+
*/
|
|
85
|
+
cursor?: Prisma.ServiceAccountWhereUniqueInput
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
88
|
+
*
|
|
89
|
+
* Take `±n` ServiceAccounts from the position of the cursor.
|
|
90
|
+
*/
|
|
91
|
+
take?: number
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Skip the first `n` ServiceAccounts.
|
|
96
|
+
*/
|
|
97
|
+
skip?: number
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
+
*
|
|
101
|
+
* Count returned ServiceAccounts
|
|
102
|
+
**/
|
|
103
|
+
_count?: true | ServiceAccountCountAggregateInputType
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Select which fields to find the minimum value
|
|
108
|
+
**/
|
|
109
|
+
_min?: ServiceAccountMinAggregateInputType
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the maximum value
|
|
114
|
+
**/
|
|
115
|
+
_max?: ServiceAccountMaxAggregateInputType
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export type GetServiceAccountAggregateType<T extends ServiceAccountAggregateArgs> = {
|
|
119
|
+
[P in keyof T & keyof AggregateServiceAccount]: P extends '_count' | 'count'
|
|
120
|
+
? T[P] extends true
|
|
121
|
+
? number
|
|
122
|
+
: Prisma.GetScalarType<T[P], AggregateServiceAccount[P]>
|
|
123
|
+
: Prisma.GetScalarType<T[P], AggregateServiceAccount[P]>
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
export type ServiceAccountGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
130
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
131
|
+
orderBy?: Prisma.ServiceAccountOrderByWithAggregationInput | Prisma.ServiceAccountOrderByWithAggregationInput[]
|
|
132
|
+
by: Prisma.ServiceAccountScalarFieldEnum[] | Prisma.ServiceAccountScalarFieldEnum
|
|
133
|
+
having?: Prisma.ServiceAccountScalarWhereWithAggregatesInput
|
|
134
|
+
take?: number
|
|
135
|
+
skip?: number
|
|
136
|
+
_count?: ServiceAccountCountAggregateInputType | true
|
|
137
|
+
_min?: ServiceAccountMinAggregateInputType
|
|
138
|
+
_max?: ServiceAccountMaxAggregateInputType
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export type ServiceAccountGroupByOutputType = {
|
|
142
|
+
id: string
|
|
143
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
144
|
+
createdAt: Date
|
|
145
|
+
updatedAt: Date
|
|
146
|
+
_count: ServiceAccountCountAggregateOutputType | null
|
|
147
|
+
_min: ServiceAccountMinAggregateOutputType | null
|
|
148
|
+
_max: ServiceAccountMaxAggregateOutputType | null
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
type GetServiceAccountGroupByPayload<T extends ServiceAccountGroupByArgs> = Prisma.PrismaPromise<
|
|
152
|
+
Array<
|
|
153
|
+
Prisma.PickEnumerable<ServiceAccountGroupByOutputType, T['by']> &
|
|
154
|
+
{
|
|
155
|
+
[P in ((keyof T) & (keyof ServiceAccountGroupByOutputType))]: P extends '_count'
|
|
156
|
+
? T[P] extends boolean
|
|
157
|
+
? number
|
|
158
|
+
: Prisma.GetScalarType<T[P], ServiceAccountGroupByOutputType[P]>
|
|
159
|
+
: Prisma.GetScalarType<T[P], ServiceAccountGroupByOutputType[P]>
|
|
160
|
+
}
|
|
161
|
+
>
|
|
162
|
+
>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
export type ServiceAccountWhereInput = {
|
|
167
|
+
AND?: Prisma.ServiceAccountWhereInput | Prisma.ServiceAccountWhereInput[]
|
|
168
|
+
OR?: Prisma.ServiceAccountWhereInput[]
|
|
169
|
+
NOT?: Prisma.ServiceAccountWhereInput | Prisma.ServiceAccountWhereInput[]
|
|
170
|
+
id?: Prisma.StringFilter<"ServiceAccount"> | string
|
|
171
|
+
meta?: Prisma.JsonFilter<"ServiceAccount">
|
|
172
|
+
createdAt?: Prisma.DateTimeFilter<"ServiceAccount"> | Date | string
|
|
173
|
+
updatedAt?: Prisma.DateTimeFilter<"ServiceAccount"> | Date | string
|
|
174
|
+
workers?: Prisma.WorkerListRelationFilter
|
|
175
|
+
artifacts?: Prisma.ArtifactListRelationFilter
|
|
176
|
+
secrets?: Prisma.SecretListRelationFilter
|
|
177
|
+
terminals?: Prisma.TerminalListRelationFilter
|
|
178
|
+
pages?: Prisma.PageListRelationFilter
|
|
179
|
+
customStatuses?: Prisma.InstanceCustomStatusListRelationFilter
|
|
180
|
+
apiKeys?: Prisma.ApiKeyListRelationFilter
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export type ServiceAccountOrderByWithRelationInput = {
|
|
184
|
+
id?: Prisma.SortOrder
|
|
185
|
+
meta?: Prisma.SortOrder
|
|
186
|
+
createdAt?: Prisma.SortOrder
|
|
187
|
+
updatedAt?: Prisma.SortOrder
|
|
188
|
+
workers?: Prisma.WorkerOrderByRelationAggregateInput
|
|
189
|
+
artifacts?: Prisma.ArtifactOrderByRelationAggregateInput
|
|
190
|
+
secrets?: Prisma.SecretOrderByRelationAggregateInput
|
|
191
|
+
terminals?: Prisma.TerminalOrderByRelationAggregateInput
|
|
192
|
+
pages?: Prisma.PageOrderByRelationAggregateInput
|
|
193
|
+
customStatuses?: Prisma.InstanceCustomStatusOrderByRelationAggregateInput
|
|
194
|
+
apiKeys?: Prisma.ApiKeyOrderByRelationAggregateInput
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export type ServiceAccountWhereUniqueInput = Prisma.AtLeast<{
|
|
198
|
+
id?: string
|
|
199
|
+
AND?: Prisma.ServiceAccountWhereInput | Prisma.ServiceAccountWhereInput[]
|
|
200
|
+
OR?: Prisma.ServiceAccountWhereInput[]
|
|
201
|
+
NOT?: Prisma.ServiceAccountWhereInput | Prisma.ServiceAccountWhereInput[]
|
|
202
|
+
meta?: Prisma.JsonFilter<"ServiceAccount">
|
|
203
|
+
createdAt?: Prisma.DateTimeFilter<"ServiceAccount"> | Date | string
|
|
204
|
+
updatedAt?: Prisma.DateTimeFilter<"ServiceAccount"> | Date | string
|
|
205
|
+
workers?: Prisma.WorkerListRelationFilter
|
|
206
|
+
artifacts?: Prisma.ArtifactListRelationFilter
|
|
207
|
+
secrets?: Prisma.SecretListRelationFilter
|
|
208
|
+
terminals?: Prisma.TerminalListRelationFilter
|
|
209
|
+
pages?: Prisma.PageListRelationFilter
|
|
210
|
+
customStatuses?: Prisma.InstanceCustomStatusListRelationFilter
|
|
211
|
+
apiKeys?: Prisma.ApiKeyListRelationFilter
|
|
212
|
+
}, "id">
|
|
213
|
+
|
|
214
|
+
export type ServiceAccountOrderByWithAggregationInput = {
|
|
215
|
+
id?: Prisma.SortOrder
|
|
216
|
+
meta?: Prisma.SortOrder
|
|
217
|
+
createdAt?: Prisma.SortOrder
|
|
218
|
+
updatedAt?: Prisma.SortOrder
|
|
219
|
+
_count?: Prisma.ServiceAccountCountOrderByAggregateInput
|
|
220
|
+
_max?: Prisma.ServiceAccountMaxOrderByAggregateInput
|
|
221
|
+
_min?: Prisma.ServiceAccountMinOrderByAggregateInput
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type ServiceAccountScalarWhereWithAggregatesInput = {
|
|
225
|
+
AND?: Prisma.ServiceAccountScalarWhereWithAggregatesInput | Prisma.ServiceAccountScalarWhereWithAggregatesInput[]
|
|
226
|
+
OR?: Prisma.ServiceAccountScalarWhereWithAggregatesInput[]
|
|
227
|
+
NOT?: Prisma.ServiceAccountScalarWhereWithAggregatesInput | Prisma.ServiceAccountScalarWhereWithAggregatesInput[]
|
|
228
|
+
id?: Prisma.StringWithAggregatesFilter<"ServiceAccount"> | string
|
|
229
|
+
meta?: Prisma.JsonWithAggregatesFilter<"ServiceAccount">
|
|
230
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ServiceAccount"> | Date | string
|
|
231
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ServiceAccount"> | Date | string
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export type ServiceAccountCreateInput = {
|
|
235
|
+
id?: string
|
|
236
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
237
|
+
createdAt?: Date | string
|
|
238
|
+
updatedAt?: Date | string
|
|
239
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
240
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
241
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
242
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
243
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
244
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
245
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type ServiceAccountUncheckedCreateInput = {
|
|
249
|
+
id?: string
|
|
250
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
251
|
+
createdAt?: Date | string
|
|
252
|
+
updatedAt?: Date | string
|
|
253
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
254
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
255
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
256
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
257
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
258
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
259
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type ServiceAccountUpdateInput = {
|
|
263
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
264
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
265
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
266
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
267
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
268
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
269
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
270
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
271
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
272
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
273
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type ServiceAccountUncheckedUpdateInput = {
|
|
277
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
278
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
279
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
280
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
281
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
282
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
283
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
284
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
285
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
286
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
287
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type ServiceAccountCreateManyInput = {
|
|
291
|
+
id?: string
|
|
292
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
293
|
+
createdAt?: Date | string
|
|
294
|
+
updatedAt?: Date | string
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type ServiceAccountUpdateManyMutationInput = {
|
|
298
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
300
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
301
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type ServiceAccountUncheckedUpdateManyInput = {
|
|
305
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
308
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type ServiceAccountScalarRelationFilter = {
|
|
312
|
+
is?: Prisma.ServiceAccountWhereInput
|
|
313
|
+
isNot?: Prisma.ServiceAccountWhereInput
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type ServiceAccountListRelationFilter = {
|
|
317
|
+
every?: Prisma.ServiceAccountWhereInput
|
|
318
|
+
some?: Prisma.ServiceAccountWhereInput
|
|
319
|
+
none?: Prisma.ServiceAccountWhereInput
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type ServiceAccountOrderByRelationAggregateInput = {
|
|
323
|
+
_count?: Prisma.SortOrder
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type ServiceAccountNullableScalarRelationFilter = {
|
|
327
|
+
is?: Prisma.ServiceAccountWhereInput | null
|
|
328
|
+
isNot?: Prisma.ServiceAccountWhereInput | null
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type ServiceAccountCountOrderByAggregateInput = {
|
|
332
|
+
id?: Prisma.SortOrder
|
|
333
|
+
meta?: Prisma.SortOrder
|
|
334
|
+
createdAt?: Prisma.SortOrder
|
|
335
|
+
updatedAt?: Prisma.SortOrder
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type ServiceAccountMaxOrderByAggregateInput = {
|
|
339
|
+
id?: Prisma.SortOrder
|
|
340
|
+
createdAt?: Prisma.SortOrder
|
|
341
|
+
updatedAt?: Prisma.SortOrder
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type ServiceAccountMinOrderByAggregateInput = {
|
|
345
|
+
id?: Prisma.SortOrder
|
|
346
|
+
createdAt?: Prisma.SortOrder
|
|
347
|
+
updatedAt?: Prisma.SortOrder
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type ServiceAccountCreateNestedOneWithoutApiKeysInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutApiKeysInput, Prisma.ServiceAccountUncheckedCreateWithoutApiKeysInput>
|
|
352
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutApiKeysInput
|
|
353
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type ServiceAccountUpdateOneRequiredWithoutApiKeysNestedInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutApiKeysInput, Prisma.ServiceAccountUncheckedCreateWithoutApiKeysInput>
|
|
358
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutApiKeysInput
|
|
359
|
+
upsert?: Prisma.ServiceAccountUpsertWithoutApiKeysInput
|
|
360
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
361
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceAccountUpdateToOneWithWhereWithoutApiKeysInput, Prisma.ServiceAccountUpdateWithoutApiKeysInput>, Prisma.ServiceAccountUncheckedUpdateWithoutApiKeysInput>
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export type ServiceAccountCreateNestedManyWithoutArtifactsInput = {
|
|
365
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput> | Prisma.ServiceAccountCreateWithoutArtifactsInput[] | Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput[]
|
|
366
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput | Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput[]
|
|
367
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type ServiceAccountUncheckedCreateNestedManyWithoutArtifactsInput = {
|
|
371
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput> | Prisma.ServiceAccountCreateWithoutArtifactsInput[] | Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput[]
|
|
372
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput | Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput[]
|
|
373
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export type ServiceAccountUpdateManyWithoutArtifactsNestedInput = {
|
|
377
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput> | Prisma.ServiceAccountCreateWithoutArtifactsInput[] | Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput[]
|
|
378
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput | Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput[]
|
|
379
|
+
upsert?: Prisma.ServiceAccountUpsertWithWhereUniqueWithoutArtifactsInput | Prisma.ServiceAccountUpsertWithWhereUniqueWithoutArtifactsInput[]
|
|
380
|
+
set?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
381
|
+
disconnect?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
382
|
+
delete?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
383
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
384
|
+
update?: Prisma.ServiceAccountUpdateWithWhereUniqueWithoutArtifactsInput | Prisma.ServiceAccountUpdateWithWhereUniqueWithoutArtifactsInput[]
|
|
385
|
+
updateMany?: Prisma.ServiceAccountUpdateManyWithWhereWithoutArtifactsInput | Prisma.ServiceAccountUpdateManyWithWhereWithoutArtifactsInput[]
|
|
386
|
+
deleteMany?: Prisma.ServiceAccountScalarWhereInput | Prisma.ServiceAccountScalarWhereInput[]
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
export type ServiceAccountUncheckedUpdateManyWithoutArtifactsNestedInput = {
|
|
390
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput> | Prisma.ServiceAccountCreateWithoutArtifactsInput[] | Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput[]
|
|
391
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput | Prisma.ServiceAccountCreateOrConnectWithoutArtifactsInput[]
|
|
392
|
+
upsert?: Prisma.ServiceAccountUpsertWithWhereUniqueWithoutArtifactsInput | Prisma.ServiceAccountUpsertWithWhereUniqueWithoutArtifactsInput[]
|
|
393
|
+
set?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
394
|
+
disconnect?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
395
|
+
delete?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
396
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput | Prisma.ServiceAccountWhereUniqueInput[]
|
|
397
|
+
update?: Prisma.ServiceAccountUpdateWithWhereUniqueWithoutArtifactsInput | Prisma.ServiceAccountUpdateWithWhereUniqueWithoutArtifactsInput[]
|
|
398
|
+
updateMany?: Prisma.ServiceAccountUpdateManyWithWhereWithoutArtifactsInput | Prisma.ServiceAccountUpdateManyWithWhereWithoutArtifactsInput[]
|
|
399
|
+
deleteMany?: Prisma.ServiceAccountScalarWhereInput | Prisma.ServiceAccountScalarWhereInput[]
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export type ServiceAccountCreateNestedOneWithoutCustomStatusesInput = {
|
|
403
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutCustomStatusesInput, Prisma.ServiceAccountUncheckedCreateWithoutCustomStatusesInput>
|
|
404
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutCustomStatusesInput
|
|
405
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type ServiceAccountUpdateOneRequiredWithoutCustomStatusesNestedInput = {
|
|
409
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutCustomStatusesInput, Prisma.ServiceAccountUncheckedCreateWithoutCustomStatusesInput>
|
|
410
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutCustomStatusesInput
|
|
411
|
+
upsert?: Prisma.ServiceAccountUpsertWithoutCustomStatusesInput
|
|
412
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
413
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceAccountUpdateToOneWithWhereWithoutCustomStatusesInput, Prisma.ServiceAccountUpdateWithoutCustomStatusesInput>, Prisma.ServiceAccountUncheckedUpdateWithoutCustomStatusesInput>
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export type ServiceAccountCreateNestedOneWithoutPagesInput = {
|
|
417
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutPagesInput, Prisma.ServiceAccountUncheckedCreateWithoutPagesInput>
|
|
418
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutPagesInput
|
|
419
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type ServiceAccountUpdateOneWithoutPagesNestedInput = {
|
|
423
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutPagesInput, Prisma.ServiceAccountUncheckedCreateWithoutPagesInput>
|
|
424
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutPagesInput
|
|
425
|
+
upsert?: Prisma.ServiceAccountUpsertWithoutPagesInput
|
|
426
|
+
disconnect?: Prisma.ServiceAccountWhereInput | boolean
|
|
427
|
+
delete?: Prisma.ServiceAccountWhereInput | boolean
|
|
428
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
429
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceAccountUpdateToOneWithWhereWithoutPagesInput, Prisma.ServiceAccountUpdateWithoutPagesInput>, Prisma.ServiceAccountUncheckedUpdateWithoutPagesInput>
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type ServiceAccountCreateNestedOneWithoutSecretsInput = {
|
|
433
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutSecretsInput, Prisma.ServiceAccountUncheckedCreateWithoutSecretsInput>
|
|
434
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutSecretsInput
|
|
435
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type ServiceAccountUpdateOneWithoutSecretsNestedInput = {
|
|
439
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutSecretsInput, Prisma.ServiceAccountUncheckedCreateWithoutSecretsInput>
|
|
440
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutSecretsInput
|
|
441
|
+
upsert?: Prisma.ServiceAccountUpsertWithoutSecretsInput
|
|
442
|
+
disconnect?: Prisma.ServiceAccountWhereInput | boolean
|
|
443
|
+
delete?: Prisma.ServiceAccountWhereInput | boolean
|
|
444
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
445
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceAccountUpdateToOneWithWhereWithoutSecretsInput, Prisma.ServiceAccountUpdateWithoutSecretsInput>, Prisma.ServiceAccountUncheckedUpdateWithoutSecretsInput>
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type ServiceAccountCreateNestedOneWithoutTerminalsInput = {
|
|
449
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutTerminalsInput, Prisma.ServiceAccountUncheckedCreateWithoutTerminalsInput>
|
|
450
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutTerminalsInput
|
|
451
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type ServiceAccountUpdateOneWithoutTerminalsNestedInput = {
|
|
455
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutTerminalsInput, Prisma.ServiceAccountUncheckedCreateWithoutTerminalsInput>
|
|
456
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutTerminalsInput
|
|
457
|
+
upsert?: Prisma.ServiceAccountUpsertWithoutTerminalsInput
|
|
458
|
+
disconnect?: Prisma.ServiceAccountWhereInput | boolean
|
|
459
|
+
delete?: Prisma.ServiceAccountWhereInput | boolean
|
|
460
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
461
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceAccountUpdateToOneWithWhereWithoutTerminalsInput, Prisma.ServiceAccountUpdateWithoutTerminalsInput>, Prisma.ServiceAccountUncheckedUpdateWithoutTerminalsInput>
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export type ServiceAccountCreateNestedOneWithoutWorkersInput = {
|
|
465
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutWorkersInput, Prisma.ServiceAccountUncheckedCreateWithoutWorkersInput>
|
|
466
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutWorkersInput
|
|
467
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type ServiceAccountUpdateOneRequiredWithoutWorkersNestedInput = {
|
|
471
|
+
create?: Prisma.XOR<Prisma.ServiceAccountCreateWithoutWorkersInput, Prisma.ServiceAccountUncheckedCreateWithoutWorkersInput>
|
|
472
|
+
connectOrCreate?: Prisma.ServiceAccountCreateOrConnectWithoutWorkersInput
|
|
473
|
+
upsert?: Prisma.ServiceAccountUpsertWithoutWorkersInput
|
|
474
|
+
connect?: Prisma.ServiceAccountWhereUniqueInput
|
|
475
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceAccountUpdateToOneWithWhereWithoutWorkersInput, Prisma.ServiceAccountUpdateWithoutWorkersInput>, Prisma.ServiceAccountUncheckedUpdateWithoutWorkersInput>
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export type ServiceAccountCreateWithoutApiKeysInput = {
|
|
479
|
+
id?: string
|
|
480
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
481
|
+
createdAt?: Date | string
|
|
482
|
+
updatedAt?: Date | string
|
|
483
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
484
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
485
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
486
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
487
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
488
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export type ServiceAccountUncheckedCreateWithoutApiKeysInput = {
|
|
492
|
+
id?: string
|
|
493
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
494
|
+
createdAt?: Date | string
|
|
495
|
+
updatedAt?: Date | string
|
|
496
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
497
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
498
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
499
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
500
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
501
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type ServiceAccountCreateOrConnectWithoutApiKeysInput = {
|
|
505
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
506
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutApiKeysInput, Prisma.ServiceAccountUncheckedCreateWithoutApiKeysInput>
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type ServiceAccountUpsertWithoutApiKeysInput = {
|
|
510
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutApiKeysInput, Prisma.ServiceAccountUncheckedUpdateWithoutApiKeysInput>
|
|
511
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutApiKeysInput, Prisma.ServiceAccountUncheckedCreateWithoutApiKeysInput>
|
|
512
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type ServiceAccountUpdateToOneWithWhereWithoutApiKeysInput = {
|
|
516
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
517
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutApiKeysInput, Prisma.ServiceAccountUncheckedUpdateWithoutApiKeysInput>
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export type ServiceAccountUpdateWithoutApiKeysInput = {
|
|
521
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
522
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
523
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
524
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
525
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
526
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
527
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
528
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
529
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
530
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export type ServiceAccountUncheckedUpdateWithoutApiKeysInput = {
|
|
534
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
535
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
536
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
537
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
538
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
539
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
540
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
541
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
542
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
543
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export type ServiceAccountCreateWithoutArtifactsInput = {
|
|
547
|
+
id?: string
|
|
548
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
549
|
+
createdAt?: Date | string
|
|
550
|
+
updatedAt?: Date | string
|
|
551
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
552
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
553
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
554
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
555
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
556
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export type ServiceAccountUncheckedCreateWithoutArtifactsInput = {
|
|
560
|
+
id?: string
|
|
561
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
562
|
+
createdAt?: Date | string
|
|
563
|
+
updatedAt?: Date | string
|
|
564
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
565
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
566
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
567
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
568
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
569
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type ServiceAccountCreateOrConnectWithoutArtifactsInput = {
|
|
573
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
574
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput>
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export type ServiceAccountUpsertWithWhereUniqueWithoutArtifactsInput = {
|
|
578
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
579
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedUpdateWithoutArtifactsInput>
|
|
580
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedCreateWithoutArtifactsInput>
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export type ServiceAccountUpdateWithWhereUniqueWithoutArtifactsInput = {
|
|
584
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
585
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutArtifactsInput, Prisma.ServiceAccountUncheckedUpdateWithoutArtifactsInput>
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type ServiceAccountUpdateManyWithWhereWithoutArtifactsInput = {
|
|
589
|
+
where: Prisma.ServiceAccountScalarWhereInput
|
|
590
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateManyMutationInput, Prisma.ServiceAccountUncheckedUpdateManyWithoutArtifactsInput>
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export type ServiceAccountScalarWhereInput = {
|
|
594
|
+
AND?: Prisma.ServiceAccountScalarWhereInput | Prisma.ServiceAccountScalarWhereInput[]
|
|
595
|
+
OR?: Prisma.ServiceAccountScalarWhereInput[]
|
|
596
|
+
NOT?: Prisma.ServiceAccountScalarWhereInput | Prisma.ServiceAccountScalarWhereInput[]
|
|
597
|
+
id?: Prisma.StringFilter<"ServiceAccount"> | string
|
|
598
|
+
meta?: Prisma.JsonFilter<"ServiceAccount">
|
|
599
|
+
createdAt?: Prisma.DateTimeFilter<"ServiceAccount"> | Date | string
|
|
600
|
+
updatedAt?: Prisma.DateTimeFilter<"ServiceAccount"> | Date | string
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export type ServiceAccountCreateWithoutCustomStatusesInput = {
|
|
604
|
+
id?: string
|
|
605
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
606
|
+
createdAt?: Date | string
|
|
607
|
+
updatedAt?: Date | string
|
|
608
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
609
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
610
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
611
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
612
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
613
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export type ServiceAccountUncheckedCreateWithoutCustomStatusesInput = {
|
|
617
|
+
id?: string
|
|
618
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
619
|
+
createdAt?: Date | string
|
|
620
|
+
updatedAt?: Date | string
|
|
621
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
622
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
623
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
624
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
625
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
626
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export type ServiceAccountCreateOrConnectWithoutCustomStatusesInput = {
|
|
630
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
631
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutCustomStatusesInput, Prisma.ServiceAccountUncheckedCreateWithoutCustomStatusesInput>
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export type ServiceAccountUpsertWithoutCustomStatusesInput = {
|
|
635
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutCustomStatusesInput, Prisma.ServiceAccountUncheckedUpdateWithoutCustomStatusesInput>
|
|
636
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutCustomStatusesInput, Prisma.ServiceAccountUncheckedCreateWithoutCustomStatusesInput>
|
|
637
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type ServiceAccountUpdateToOneWithWhereWithoutCustomStatusesInput = {
|
|
641
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
642
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutCustomStatusesInput, Prisma.ServiceAccountUncheckedUpdateWithoutCustomStatusesInput>
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export type ServiceAccountUpdateWithoutCustomStatusesInput = {
|
|
646
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
647
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
648
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
649
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
650
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
651
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
652
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
653
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
654
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
655
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export type ServiceAccountUncheckedUpdateWithoutCustomStatusesInput = {
|
|
659
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
660
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
661
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
662
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
663
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
664
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
665
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
666
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
667
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
668
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
export type ServiceAccountCreateWithoutPagesInput = {
|
|
672
|
+
id?: string
|
|
673
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
674
|
+
createdAt?: Date | string
|
|
675
|
+
updatedAt?: Date | string
|
|
676
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
677
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
678
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
679
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
680
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
681
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type ServiceAccountUncheckedCreateWithoutPagesInput = {
|
|
685
|
+
id?: string
|
|
686
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
687
|
+
createdAt?: Date | string
|
|
688
|
+
updatedAt?: Date | string
|
|
689
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
690
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
691
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
692
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
693
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
694
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
export type ServiceAccountCreateOrConnectWithoutPagesInput = {
|
|
698
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
699
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutPagesInput, Prisma.ServiceAccountUncheckedCreateWithoutPagesInput>
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export type ServiceAccountUpsertWithoutPagesInput = {
|
|
703
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutPagesInput, Prisma.ServiceAccountUncheckedUpdateWithoutPagesInput>
|
|
704
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutPagesInput, Prisma.ServiceAccountUncheckedCreateWithoutPagesInput>
|
|
705
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export type ServiceAccountUpdateToOneWithWhereWithoutPagesInput = {
|
|
709
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
710
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutPagesInput, Prisma.ServiceAccountUncheckedUpdateWithoutPagesInput>
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export type ServiceAccountUpdateWithoutPagesInput = {
|
|
714
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
715
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
716
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
717
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
718
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
719
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
720
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
721
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
722
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
723
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export type ServiceAccountUncheckedUpdateWithoutPagesInput = {
|
|
727
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
728
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
729
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
730
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
731
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
732
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
733
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
734
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
735
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
736
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export type ServiceAccountCreateWithoutSecretsInput = {
|
|
740
|
+
id?: string
|
|
741
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
742
|
+
createdAt?: Date | string
|
|
743
|
+
updatedAt?: Date | string
|
|
744
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
745
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
746
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
747
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
748
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
749
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export type ServiceAccountUncheckedCreateWithoutSecretsInput = {
|
|
753
|
+
id?: string
|
|
754
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
755
|
+
createdAt?: Date | string
|
|
756
|
+
updatedAt?: Date | string
|
|
757
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
758
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
759
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
760
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
761
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
762
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export type ServiceAccountCreateOrConnectWithoutSecretsInput = {
|
|
766
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
767
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutSecretsInput, Prisma.ServiceAccountUncheckedCreateWithoutSecretsInput>
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export type ServiceAccountUpsertWithoutSecretsInput = {
|
|
771
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutSecretsInput, Prisma.ServiceAccountUncheckedUpdateWithoutSecretsInput>
|
|
772
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutSecretsInput, Prisma.ServiceAccountUncheckedCreateWithoutSecretsInput>
|
|
773
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export type ServiceAccountUpdateToOneWithWhereWithoutSecretsInput = {
|
|
777
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
778
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutSecretsInput, Prisma.ServiceAccountUncheckedUpdateWithoutSecretsInput>
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export type ServiceAccountUpdateWithoutSecretsInput = {
|
|
782
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
783
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
784
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
785
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
786
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
787
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
788
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
789
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
790
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
791
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export type ServiceAccountUncheckedUpdateWithoutSecretsInput = {
|
|
795
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
796
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
797
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
798
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
799
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
800
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
801
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
802
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
803
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
804
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export type ServiceAccountCreateWithoutTerminalsInput = {
|
|
808
|
+
id?: string
|
|
809
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
810
|
+
createdAt?: Date | string
|
|
811
|
+
updatedAt?: Date | string
|
|
812
|
+
workers?: Prisma.WorkerCreateNestedManyWithoutServiceAccountInput
|
|
813
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
814
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
815
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
816
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
817
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export type ServiceAccountUncheckedCreateWithoutTerminalsInput = {
|
|
821
|
+
id?: string
|
|
822
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
823
|
+
createdAt?: Date | string
|
|
824
|
+
updatedAt?: Date | string
|
|
825
|
+
workers?: Prisma.WorkerUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
826
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
827
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
828
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
829
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
830
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export type ServiceAccountCreateOrConnectWithoutTerminalsInput = {
|
|
834
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
835
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutTerminalsInput, Prisma.ServiceAccountUncheckedCreateWithoutTerminalsInput>
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export type ServiceAccountUpsertWithoutTerminalsInput = {
|
|
839
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutTerminalsInput, Prisma.ServiceAccountUncheckedUpdateWithoutTerminalsInput>
|
|
840
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutTerminalsInput, Prisma.ServiceAccountUncheckedCreateWithoutTerminalsInput>
|
|
841
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export type ServiceAccountUpdateToOneWithWhereWithoutTerminalsInput = {
|
|
845
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
846
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutTerminalsInput, Prisma.ServiceAccountUncheckedUpdateWithoutTerminalsInput>
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
export type ServiceAccountUpdateWithoutTerminalsInput = {
|
|
850
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
851
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
852
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
853
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
854
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
855
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
856
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
857
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
858
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
859
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export type ServiceAccountUncheckedUpdateWithoutTerminalsInput = {
|
|
863
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
864
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
865
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
866
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
867
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
868
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
869
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
870
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
871
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
872
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export type ServiceAccountCreateWithoutWorkersInput = {
|
|
876
|
+
id?: string
|
|
877
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
878
|
+
createdAt?: Date | string
|
|
879
|
+
updatedAt?: Date | string
|
|
880
|
+
artifacts?: Prisma.ArtifactCreateNestedManyWithoutServiceAccountsInput
|
|
881
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutServiceAccountInput
|
|
882
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutServiceAccountInput
|
|
883
|
+
pages?: Prisma.PageCreateNestedManyWithoutServiceAccountInput
|
|
884
|
+
customStatuses?: Prisma.InstanceCustomStatusCreateNestedManyWithoutServiceAccountInput
|
|
885
|
+
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutServiceAccountInput
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
export type ServiceAccountUncheckedCreateWithoutWorkersInput = {
|
|
889
|
+
id?: string
|
|
890
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
891
|
+
createdAt?: Date | string
|
|
892
|
+
updatedAt?: Date | string
|
|
893
|
+
artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput
|
|
894
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
895
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
896
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
897
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
898
|
+
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutServiceAccountInput
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
export type ServiceAccountCreateOrConnectWithoutWorkersInput = {
|
|
902
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
903
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutWorkersInput, Prisma.ServiceAccountUncheckedCreateWithoutWorkersInput>
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
export type ServiceAccountUpsertWithoutWorkersInput = {
|
|
907
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutWorkersInput, Prisma.ServiceAccountUncheckedUpdateWithoutWorkersInput>
|
|
908
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateWithoutWorkersInput, Prisma.ServiceAccountUncheckedCreateWithoutWorkersInput>
|
|
909
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export type ServiceAccountUpdateToOneWithWhereWithoutWorkersInput = {
|
|
913
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
914
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateWithoutWorkersInput, Prisma.ServiceAccountUncheckedUpdateWithoutWorkersInput>
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
export type ServiceAccountUpdateWithoutWorkersInput = {
|
|
918
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
919
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
920
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
921
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
922
|
+
artifacts?: Prisma.ArtifactUpdateManyWithoutServiceAccountsNestedInput
|
|
923
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
924
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
925
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
926
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
927
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export type ServiceAccountUncheckedUpdateWithoutWorkersInput = {
|
|
931
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
932
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
933
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
934
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
935
|
+
artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput
|
|
936
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
937
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
938
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
939
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
940
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export type ServiceAccountUpdateWithoutArtifactsInput = {
|
|
944
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
945
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
946
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
947
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
948
|
+
workers?: Prisma.WorkerUpdateManyWithoutServiceAccountNestedInput
|
|
949
|
+
secrets?: Prisma.SecretUpdateManyWithoutServiceAccountNestedInput
|
|
950
|
+
terminals?: Prisma.TerminalUpdateManyWithoutServiceAccountNestedInput
|
|
951
|
+
pages?: Prisma.PageUpdateManyWithoutServiceAccountNestedInput
|
|
952
|
+
customStatuses?: Prisma.InstanceCustomStatusUpdateManyWithoutServiceAccountNestedInput
|
|
953
|
+
apiKeys?: Prisma.ApiKeyUpdateManyWithoutServiceAccountNestedInput
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export type ServiceAccountUncheckedUpdateWithoutArtifactsInput = {
|
|
957
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
958
|
+
meta?: PrismaJson.ServiceAccountMeta
|
|
959
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
960
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
961
|
+
workers?: Prisma.WorkerUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
962
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
963
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
964
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
965
|
+
customStatuses?: Prisma.InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
966
|
+
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutServiceAccountNestedInput
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export type ServiceAccountUncheckedUpdateManyWithoutArtifactsInput = {
|
|
970
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
971
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
972
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
973
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Count Type ServiceAccountCountOutputType
|
|
979
|
+
*/
|
|
980
|
+
|
|
981
|
+
export type ServiceAccountCountOutputType = {
|
|
982
|
+
workers: number
|
|
983
|
+
artifacts: number
|
|
984
|
+
secrets: number
|
|
985
|
+
terminals: number
|
|
986
|
+
pages: number
|
|
987
|
+
customStatuses: number
|
|
988
|
+
apiKeys: number
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
export type ServiceAccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
992
|
+
workers?: boolean | ServiceAccountCountOutputTypeCountWorkersArgs
|
|
993
|
+
artifacts?: boolean | ServiceAccountCountOutputTypeCountArtifactsArgs
|
|
994
|
+
secrets?: boolean | ServiceAccountCountOutputTypeCountSecretsArgs
|
|
995
|
+
terminals?: boolean | ServiceAccountCountOutputTypeCountTerminalsArgs
|
|
996
|
+
pages?: boolean | ServiceAccountCountOutputTypeCountPagesArgs
|
|
997
|
+
customStatuses?: boolean | ServiceAccountCountOutputTypeCountCustomStatusesArgs
|
|
998
|
+
apiKeys?: boolean | ServiceAccountCountOutputTypeCountApiKeysArgs
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* ServiceAccountCountOutputType without action
|
|
1003
|
+
*/
|
|
1004
|
+
export type ServiceAccountCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1005
|
+
/**
|
|
1006
|
+
* Select specific fields to fetch from the ServiceAccountCountOutputType
|
|
1007
|
+
*/
|
|
1008
|
+
select?: Prisma.ServiceAccountCountOutputTypeSelect<ExtArgs> | null
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* ServiceAccountCountOutputType without action
|
|
1013
|
+
*/
|
|
1014
|
+
export type ServiceAccountCountOutputTypeCountWorkersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1015
|
+
where?: Prisma.WorkerWhereInput
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* ServiceAccountCountOutputType without action
|
|
1020
|
+
*/
|
|
1021
|
+
export type ServiceAccountCountOutputTypeCountArtifactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1022
|
+
where?: Prisma.ArtifactWhereInput
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* ServiceAccountCountOutputType without action
|
|
1027
|
+
*/
|
|
1028
|
+
export type ServiceAccountCountOutputTypeCountSecretsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1029
|
+
where?: Prisma.SecretWhereInput
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* ServiceAccountCountOutputType without action
|
|
1034
|
+
*/
|
|
1035
|
+
export type ServiceAccountCountOutputTypeCountTerminalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1036
|
+
where?: Prisma.TerminalWhereInput
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* ServiceAccountCountOutputType without action
|
|
1041
|
+
*/
|
|
1042
|
+
export type ServiceAccountCountOutputTypeCountPagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1043
|
+
where?: Prisma.PageWhereInput
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* ServiceAccountCountOutputType without action
|
|
1048
|
+
*/
|
|
1049
|
+
export type ServiceAccountCountOutputTypeCountCustomStatusesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1050
|
+
where?: Prisma.InstanceCustomStatusWhereInput
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* ServiceAccountCountOutputType without action
|
|
1055
|
+
*/
|
|
1056
|
+
export type ServiceAccountCountOutputTypeCountApiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1057
|
+
where?: Prisma.ApiKeyWhereInput
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
export type ServiceAccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1062
|
+
id?: boolean
|
|
1063
|
+
meta?: boolean
|
|
1064
|
+
createdAt?: boolean
|
|
1065
|
+
updatedAt?: boolean
|
|
1066
|
+
workers?: boolean | Prisma.ServiceAccount$workersArgs<ExtArgs>
|
|
1067
|
+
artifacts?: boolean | Prisma.ServiceAccount$artifactsArgs<ExtArgs>
|
|
1068
|
+
secrets?: boolean | Prisma.ServiceAccount$secretsArgs<ExtArgs>
|
|
1069
|
+
terminals?: boolean | Prisma.ServiceAccount$terminalsArgs<ExtArgs>
|
|
1070
|
+
pages?: boolean | Prisma.ServiceAccount$pagesArgs<ExtArgs>
|
|
1071
|
+
customStatuses?: boolean | Prisma.ServiceAccount$customStatusesArgs<ExtArgs>
|
|
1072
|
+
apiKeys?: boolean | Prisma.ServiceAccount$apiKeysArgs<ExtArgs>
|
|
1073
|
+
_count?: boolean | Prisma.ServiceAccountCountOutputTypeDefaultArgs<ExtArgs>
|
|
1074
|
+
}, ExtArgs["result"]["serviceAccount"]>
|
|
1075
|
+
|
|
1076
|
+
export type ServiceAccountSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1077
|
+
id?: boolean
|
|
1078
|
+
meta?: boolean
|
|
1079
|
+
createdAt?: boolean
|
|
1080
|
+
updatedAt?: boolean
|
|
1081
|
+
}, ExtArgs["result"]["serviceAccount"]>
|
|
1082
|
+
|
|
1083
|
+
export type ServiceAccountSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1084
|
+
id?: boolean
|
|
1085
|
+
meta?: boolean
|
|
1086
|
+
createdAt?: boolean
|
|
1087
|
+
updatedAt?: boolean
|
|
1088
|
+
}, ExtArgs["result"]["serviceAccount"]>
|
|
1089
|
+
|
|
1090
|
+
export type ServiceAccountSelectScalar = {
|
|
1091
|
+
id?: boolean
|
|
1092
|
+
meta?: boolean
|
|
1093
|
+
createdAt?: boolean
|
|
1094
|
+
updatedAt?: boolean
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
export type ServiceAccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "meta" | "createdAt" | "updatedAt", ExtArgs["result"]["serviceAccount"]>
|
|
1098
|
+
export type ServiceAccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1099
|
+
workers?: boolean | Prisma.ServiceAccount$workersArgs<ExtArgs>
|
|
1100
|
+
artifacts?: boolean | Prisma.ServiceAccount$artifactsArgs<ExtArgs>
|
|
1101
|
+
secrets?: boolean | Prisma.ServiceAccount$secretsArgs<ExtArgs>
|
|
1102
|
+
terminals?: boolean | Prisma.ServiceAccount$terminalsArgs<ExtArgs>
|
|
1103
|
+
pages?: boolean | Prisma.ServiceAccount$pagesArgs<ExtArgs>
|
|
1104
|
+
customStatuses?: boolean | Prisma.ServiceAccount$customStatusesArgs<ExtArgs>
|
|
1105
|
+
apiKeys?: boolean | Prisma.ServiceAccount$apiKeysArgs<ExtArgs>
|
|
1106
|
+
_count?: boolean | Prisma.ServiceAccountCountOutputTypeDefaultArgs<ExtArgs>
|
|
1107
|
+
}
|
|
1108
|
+
export type ServiceAccountIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
1109
|
+
export type ServiceAccountIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
1110
|
+
|
|
1111
|
+
export type $ServiceAccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
name: "ServiceAccount"
|
|
1113
|
+
objects: {
|
|
1114
|
+
/**
|
|
1115
|
+
* The workers using this service account.
|
|
1116
|
+
*/
|
|
1117
|
+
workers: Prisma.$WorkerPayload<ExtArgs>[]
|
|
1118
|
+
/**
|
|
1119
|
+
* The artifacts used by this service account.
|
|
1120
|
+
*/
|
|
1121
|
+
artifacts: Prisma.$ArtifactPayload<ExtArgs>[]
|
|
1122
|
+
/**
|
|
1123
|
+
* The secrets owned by this service account.
|
|
1124
|
+
*/
|
|
1125
|
+
secrets: Prisma.$SecretPayload<ExtArgs>[]
|
|
1126
|
+
/**
|
|
1127
|
+
* The terminals owned by this service account.
|
|
1128
|
+
*/
|
|
1129
|
+
terminals: Prisma.$TerminalPayload<ExtArgs>[]
|
|
1130
|
+
/**
|
|
1131
|
+
* The pages owned by this service account.
|
|
1132
|
+
*/
|
|
1133
|
+
pages: Prisma.$PagePayload<ExtArgs>[]
|
|
1134
|
+
/**
|
|
1135
|
+
* The instance custom statuses attached by this service account.
|
|
1136
|
+
*/
|
|
1137
|
+
customStatuses: Prisma.$InstanceCustomStatusPayload<ExtArgs>[]
|
|
1138
|
+
/**
|
|
1139
|
+
* The API keys impersonating this service account.
|
|
1140
|
+
*/
|
|
1141
|
+
apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[]
|
|
1142
|
+
}
|
|
1143
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1144
|
+
/**
|
|
1145
|
+
* The CUIDv2 of the service account.
|
|
1146
|
+
*/
|
|
1147
|
+
id: string
|
|
1148
|
+
/**
|
|
1149
|
+
* The metadata of the service account managed by the backend.
|
|
1150
|
+
*
|
|
1151
|
+
* [ServiceAccountMeta]
|
|
1152
|
+
*/
|
|
1153
|
+
meta: PrismaJson.ServiceAccountMeta
|
|
1154
|
+
/**
|
|
1155
|
+
* The time when the service account was created.
|
|
1156
|
+
*/
|
|
1157
|
+
createdAt: Date
|
|
1158
|
+
/**
|
|
1159
|
+
* The time when the service account was last updated.
|
|
1160
|
+
*/
|
|
1161
|
+
updatedAt: Date
|
|
1162
|
+
}, ExtArgs["result"]["serviceAccount"]>
|
|
1163
|
+
composites: {}
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
export type ServiceAccountGetPayload<S extends boolean | null | undefined | ServiceAccountDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload, S>
|
|
1167
|
+
|
|
1168
|
+
export type ServiceAccountCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1169
|
+
Omit<ServiceAccountFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1170
|
+
select?: ServiceAccountCountAggregateInputType | true
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
export interface ServiceAccountDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1174
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ServiceAccount'], meta: { name: 'ServiceAccount' } }
|
|
1175
|
+
/**
|
|
1176
|
+
* Find zero or one ServiceAccount that matches the filter.
|
|
1177
|
+
* @param {ServiceAccountFindUniqueArgs} args - Arguments to find a ServiceAccount
|
|
1178
|
+
* @example
|
|
1179
|
+
* // Get one ServiceAccount
|
|
1180
|
+
* const serviceAccount = await prisma.serviceAccount.findUnique({
|
|
1181
|
+
* where: {
|
|
1182
|
+
* // ... provide filter here
|
|
1183
|
+
* }
|
|
1184
|
+
* })
|
|
1185
|
+
*/
|
|
1186
|
+
findUnique<T extends ServiceAccountFindUniqueArgs>(args: Prisma.SelectSubset<T, ServiceAccountFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Find one ServiceAccount that matches the filter or throw an error with `error.code='P2025'`
|
|
1190
|
+
* if no matches were found.
|
|
1191
|
+
* @param {ServiceAccountFindUniqueOrThrowArgs} args - Arguments to find a ServiceAccount
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Get one ServiceAccount
|
|
1194
|
+
* const serviceAccount = await prisma.serviceAccount.findUniqueOrThrow({
|
|
1195
|
+
* where: {
|
|
1196
|
+
* // ... provide filter here
|
|
1197
|
+
* }
|
|
1198
|
+
* })
|
|
1199
|
+
*/
|
|
1200
|
+
findUniqueOrThrow<T extends ServiceAccountFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ServiceAccountFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Find the first ServiceAccount that matches the filter.
|
|
1204
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1205
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1206
|
+
* @param {ServiceAccountFindFirstArgs} args - Arguments to find a ServiceAccount
|
|
1207
|
+
* @example
|
|
1208
|
+
* // Get one ServiceAccount
|
|
1209
|
+
* const serviceAccount = await prisma.serviceAccount.findFirst({
|
|
1210
|
+
* where: {
|
|
1211
|
+
* // ... provide filter here
|
|
1212
|
+
* }
|
|
1213
|
+
* })
|
|
1214
|
+
*/
|
|
1215
|
+
findFirst<T extends ServiceAccountFindFirstArgs>(args?: Prisma.SelectSubset<T, ServiceAccountFindFirstArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Find the first ServiceAccount that matches the filter or
|
|
1219
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1220
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1221
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1222
|
+
* @param {ServiceAccountFindFirstOrThrowArgs} args - Arguments to find a ServiceAccount
|
|
1223
|
+
* @example
|
|
1224
|
+
* // Get one ServiceAccount
|
|
1225
|
+
* const serviceAccount = await prisma.serviceAccount.findFirstOrThrow({
|
|
1226
|
+
* where: {
|
|
1227
|
+
* // ... provide filter here
|
|
1228
|
+
* }
|
|
1229
|
+
* })
|
|
1230
|
+
*/
|
|
1231
|
+
findFirstOrThrow<T extends ServiceAccountFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ServiceAccountFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Find zero or more ServiceAccounts that matches the filter.
|
|
1235
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1236
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1237
|
+
* @param {ServiceAccountFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1238
|
+
* @example
|
|
1239
|
+
* // Get all ServiceAccounts
|
|
1240
|
+
* const serviceAccounts = await prisma.serviceAccount.findMany()
|
|
1241
|
+
*
|
|
1242
|
+
* // Get first 10 ServiceAccounts
|
|
1243
|
+
* const serviceAccounts = await prisma.serviceAccount.findMany({ take: 10 })
|
|
1244
|
+
*
|
|
1245
|
+
* // Only select the `id`
|
|
1246
|
+
* const serviceAccountWithIdOnly = await prisma.serviceAccount.findMany({ select: { id: true } })
|
|
1247
|
+
*
|
|
1248
|
+
*/
|
|
1249
|
+
findMany<T extends ServiceAccountFindManyArgs>(args?: Prisma.SelectSubset<T, ServiceAccountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Create a ServiceAccount.
|
|
1253
|
+
* @param {ServiceAccountCreateArgs} args - Arguments to create a ServiceAccount.
|
|
1254
|
+
* @example
|
|
1255
|
+
* // Create one ServiceAccount
|
|
1256
|
+
* const ServiceAccount = await prisma.serviceAccount.create({
|
|
1257
|
+
* data: {
|
|
1258
|
+
* // ... data to create a ServiceAccount
|
|
1259
|
+
* }
|
|
1260
|
+
* })
|
|
1261
|
+
*
|
|
1262
|
+
*/
|
|
1263
|
+
create<T extends ServiceAccountCreateArgs>(args: Prisma.SelectSubset<T, ServiceAccountCreateArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Create many ServiceAccounts.
|
|
1267
|
+
* @param {ServiceAccountCreateManyArgs} args - Arguments to create many ServiceAccounts.
|
|
1268
|
+
* @example
|
|
1269
|
+
* // Create many ServiceAccounts
|
|
1270
|
+
* const serviceAccount = await prisma.serviceAccount.createMany({
|
|
1271
|
+
* data: [
|
|
1272
|
+
* // ... provide data here
|
|
1273
|
+
* ]
|
|
1274
|
+
* })
|
|
1275
|
+
*
|
|
1276
|
+
*/
|
|
1277
|
+
createMany<T extends ServiceAccountCreateManyArgs>(args?: Prisma.SelectSubset<T, ServiceAccountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Create many ServiceAccounts and returns the data saved in the database.
|
|
1281
|
+
* @param {ServiceAccountCreateManyAndReturnArgs} args - Arguments to create many ServiceAccounts.
|
|
1282
|
+
* @example
|
|
1283
|
+
* // Create many ServiceAccounts
|
|
1284
|
+
* const serviceAccount = await prisma.serviceAccount.createManyAndReturn({
|
|
1285
|
+
* data: [
|
|
1286
|
+
* // ... provide data here
|
|
1287
|
+
* ]
|
|
1288
|
+
* })
|
|
1289
|
+
*
|
|
1290
|
+
* // Create many ServiceAccounts and only return the `id`
|
|
1291
|
+
* const serviceAccountWithIdOnly = await prisma.serviceAccount.createManyAndReturn({
|
|
1292
|
+
* select: { id: true },
|
|
1293
|
+
* data: [
|
|
1294
|
+
* // ... provide data here
|
|
1295
|
+
* ]
|
|
1296
|
+
* })
|
|
1297
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1298
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1299
|
+
*
|
|
1300
|
+
*/
|
|
1301
|
+
createManyAndReturn<T extends ServiceAccountCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ServiceAccountCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Delete a ServiceAccount.
|
|
1305
|
+
* @param {ServiceAccountDeleteArgs} args - Arguments to delete one ServiceAccount.
|
|
1306
|
+
* @example
|
|
1307
|
+
* // Delete one ServiceAccount
|
|
1308
|
+
* const ServiceAccount = await prisma.serviceAccount.delete({
|
|
1309
|
+
* where: {
|
|
1310
|
+
* // ... filter to delete one ServiceAccount
|
|
1311
|
+
* }
|
|
1312
|
+
* })
|
|
1313
|
+
*
|
|
1314
|
+
*/
|
|
1315
|
+
delete<T extends ServiceAccountDeleteArgs>(args: Prisma.SelectSubset<T, ServiceAccountDeleteArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Update one ServiceAccount.
|
|
1319
|
+
* @param {ServiceAccountUpdateArgs} args - Arguments to update one ServiceAccount.
|
|
1320
|
+
* @example
|
|
1321
|
+
* // Update one ServiceAccount
|
|
1322
|
+
* const serviceAccount = await prisma.serviceAccount.update({
|
|
1323
|
+
* where: {
|
|
1324
|
+
* // ... provide filter here
|
|
1325
|
+
* },
|
|
1326
|
+
* data: {
|
|
1327
|
+
* // ... provide data here
|
|
1328
|
+
* }
|
|
1329
|
+
* })
|
|
1330
|
+
*
|
|
1331
|
+
*/
|
|
1332
|
+
update<T extends ServiceAccountUpdateArgs>(args: Prisma.SelectSubset<T, ServiceAccountUpdateArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* Delete zero or more ServiceAccounts.
|
|
1336
|
+
* @param {ServiceAccountDeleteManyArgs} args - Arguments to filter ServiceAccounts to delete.
|
|
1337
|
+
* @example
|
|
1338
|
+
* // Delete a few ServiceAccounts
|
|
1339
|
+
* const { count } = await prisma.serviceAccount.deleteMany({
|
|
1340
|
+
* where: {
|
|
1341
|
+
* // ... provide filter here
|
|
1342
|
+
* }
|
|
1343
|
+
* })
|
|
1344
|
+
*
|
|
1345
|
+
*/
|
|
1346
|
+
deleteMany<T extends ServiceAccountDeleteManyArgs>(args?: Prisma.SelectSubset<T, ServiceAccountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Update zero or more ServiceAccounts.
|
|
1350
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1351
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1352
|
+
* @param {ServiceAccountUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1353
|
+
* @example
|
|
1354
|
+
* // Update many ServiceAccounts
|
|
1355
|
+
* const serviceAccount = await prisma.serviceAccount.updateMany({
|
|
1356
|
+
* where: {
|
|
1357
|
+
* // ... provide filter here
|
|
1358
|
+
* },
|
|
1359
|
+
* data: {
|
|
1360
|
+
* // ... provide data here
|
|
1361
|
+
* }
|
|
1362
|
+
* })
|
|
1363
|
+
*
|
|
1364
|
+
*/
|
|
1365
|
+
updateMany<T extends ServiceAccountUpdateManyArgs>(args: Prisma.SelectSubset<T, ServiceAccountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* Update zero or more ServiceAccounts and returns the data updated in the database.
|
|
1369
|
+
* @param {ServiceAccountUpdateManyAndReturnArgs} args - Arguments to update many ServiceAccounts.
|
|
1370
|
+
* @example
|
|
1371
|
+
* // Update many ServiceAccounts
|
|
1372
|
+
* const serviceAccount = await prisma.serviceAccount.updateManyAndReturn({
|
|
1373
|
+
* where: {
|
|
1374
|
+
* // ... provide filter here
|
|
1375
|
+
* },
|
|
1376
|
+
* data: [
|
|
1377
|
+
* // ... provide data here
|
|
1378
|
+
* ]
|
|
1379
|
+
* })
|
|
1380
|
+
*
|
|
1381
|
+
* // Update zero or more ServiceAccounts and only return the `id`
|
|
1382
|
+
* const serviceAccountWithIdOnly = await prisma.serviceAccount.updateManyAndReturn({
|
|
1383
|
+
* select: { id: true },
|
|
1384
|
+
* where: {
|
|
1385
|
+
* // ... provide filter here
|
|
1386
|
+
* },
|
|
1387
|
+
* data: [
|
|
1388
|
+
* // ... provide data here
|
|
1389
|
+
* ]
|
|
1390
|
+
* })
|
|
1391
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1392
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1393
|
+
*
|
|
1394
|
+
*/
|
|
1395
|
+
updateManyAndReturn<T extends ServiceAccountUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ServiceAccountUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Create or update one ServiceAccount.
|
|
1399
|
+
* @param {ServiceAccountUpsertArgs} args - Arguments to update or create a ServiceAccount.
|
|
1400
|
+
* @example
|
|
1401
|
+
* // Update or create a ServiceAccount
|
|
1402
|
+
* const serviceAccount = await prisma.serviceAccount.upsert({
|
|
1403
|
+
* create: {
|
|
1404
|
+
* // ... data to create a ServiceAccount
|
|
1405
|
+
* },
|
|
1406
|
+
* update: {
|
|
1407
|
+
* // ... in case it already exists, update
|
|
1408
|
+
* },
|
|
1409
|
+
* where: {
|
|
1410
|
+
* // ... the filter for the ServiceAccount we want to update
|
|
1411
|
+
* }
|
|
1412
|
+
* })
|
|
1413
|
+
*/
|
|
1414
|
+
upsert<T extends ServiceAccountUpsertArgs>(args: Prisma.SelectSubset<T, ServiceAccountUpsertArgs<ExtArgs>>): Prisma.Prisma__ServiceAccountClient<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* Count the number of ServiceAccounts.
|
|
1419
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1420
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1421
|
+
* @param {ServiceAccountCountArgs} args - Arguments to filter ServiceAccounts to count.
|
|
1422
|
+
* @example
|
|
1423
|
+
* // Count the number of ServiceAccounts
|
|
1424
|
+
* const count = await prisma.serviceAccount.count({
|
|
1425
|
+
* where: {
|
|
1426
|
+
* // ... the filter for the ServiceAccounts we want to count
|
|
1427
|
+
* }
|
|
1428
|
+
* })
|
|
1429
|
+
**/
|
|
1430
|
+
count<T extends ServiceAccountCountArgs>(
|
|
1431
|
+
args?: Prisma.Subset<T, ServiceAccountCountArgs>,
|
|
1432
|
+
): Prisma.PrismaPromise<
|
|
1433
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1434
|
+
? T['select'] extends true
|
|
1435
|
+
? number
|
|
1436
|
+
: Prisma.GetScalarType<T['select'], ServiceAccountCountAggregateOutputType>
|
|
1437
|
+
: number
|
|
1438
|
+
>
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* Allows you to perform aggregations operations on a ServiceAccount.
|
|
1442
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1443
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1444
|
+
* @param {ServiceAccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1445
|
+
* @example
|
|
1446
|
+
* // Ordered by age ascending
|
|
1447
|
+
* // Where email contains prisma.io
|
|
1448
|
+
* // Limited to the 10 users
|
|
1449
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1450
|
+
* _avg: {
|
|
1451
|
+
* age: true,
|
|
1452
|
+
* },
|
|
1453
|
+
* where: {
|
|
1454
|
+
* email: {
|
|
1455
|
+
* contains: "prisma.io",
|
|
1456
|
+
* },
|
|
1457
|
+
* },
|
|
1458
|
+
* orderBy: {
|
|
1459
|
+
* age: "asc",
|
|
1460
|
+
* },
|
|
1461
|
+
* take: 10,
|
|
1462
|
+
* })
|
|
1463
|
+
**/
|
|
1464
|
+
aggregate<T extends ServiceAccountAggregateArgs>(args: Prisma.Subset<T, ServiceAccountAggregateArgs>): Prisma.PrismaPromise<GetServiceAccountAggregateType<T>>
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Group by ServiceAccount.
|
|
1468
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1469
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1470
|
+
* @param {ServiceAccountGroupByArgs} args - Group by arguments.
|
|
1471
|
+
* @example
|
|
1472
|
+
* // Group by city, order by createdAt, get count
|
|
1473
|
+
* const result = await prisma.user.groupBy({
|
|
1474
|
+
* by: ['city', 'createdAt'],
|
|
1475
|
+
* orderBy: {
|
|
1476
|
+
* createdAt: true
|
|
1477
|
+
* },
|
|
1478
|
+
* _count: {
|
|
1479
|
+
* _all: true
|
|
1480
|
+
* },
|
|
1481
|
+
* })
|
|
1482
|
+
*
|
|
1483
|
+
**/
|
|
1484
|
+
groupBy<
|
|
1485
|
+
T extends ServiceAccountGroupByArgs,
|
|
1486
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1487
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1488
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1489
|
+
>,
|
|
1490
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1491
|
+
? { orderBy: ServiceAccountGroupByArgs['orderBy'] }
|
|
1492
|
+
: { orderBy?: ServiceAccountGroupByArgs['orderBy'] },
|
|
1493
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1494
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1495
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1496
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1497
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1498
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1499
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1500
|
+
? `Error: "by" must not be empty.`
|
|
1501
|
+
: HavingValid extends Prisma.False
|
|
1502
|
+
? {
|
|
1503
|
+
[P in HavingFields]: P extends ByFields
|
|
1504
|
+
? never
|
|
1505
|
+
: P extends string
|
|
1506
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1507
|
+
: [
|
|
1508
|
+
Error,
|
|
1509
|
+
'Field ',
|
|
1510
|
+
P,
|
|
1511
|
+
` in "having" needs to be provided in "by"`,
|
|
1512
|
+
]
|
|
1513
|
+
}[HavingFields]
|
|
1514
|
+
: 'take' extends Prisma.Keys<T>
|
|
1515
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1516
|
+
? ByValid extends Prisma.True
|
|
1517
|
+
? {}
|
|
1518
|
+
: {
|
|
1519
|
+
[P in OrderFields]: P extends ByFields
|
|
1520
|
+
? never
|
|
1521
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1522
|
+
}[OrderFields]
|
|
1523
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1524
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1525
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1526
|
+
? ByValid extends Prisma.True
|
|
1527
|
+
? {}
|
|
1528
|
+
: {
|
|
1529
|
+
[P in OrderFields]: P extends ByFields
|
|
1530
|
+
? never
|
|
1531
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1532
|
+
}[OrderFields]
|
|
1533
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1534
|
+
: ByValid extends Prisma.True
|
|
1535
|
+
? {}
|
|
1536
|
+
: {
|
|
1537
|
+
[P in OrderFields]: P extends ByFields
|
|
1538
|
+
? never
|
|
1539
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1540
|
+
}[OrderFields]
|
|
1541
|
+
>(args: Prisma.SubsetIntersection<T, ServiceAccountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetServiceAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1542
|
+
/**
|
|
1543
|
+
* Fields of the ServiceAccount model
|
|
1544
|
+
*/
|
|
1545
|
+
readonly fields: ServiceAccountFieldRefs;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* The delegate class that acts as a "Promise-like" for ServiceAccount.
|
|
1550
|
+
* Why is this prefixed with `Prisma__`?
|
|
1551
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1552
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1553
|
+
*/
|
|
1554
|
+
export interface Prisma__ServiceAccountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1555
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1556
|
+
workers<T extends Prisma.ServiceAccount$workersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$workersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1557
|
+
artifacts<T extends Prisma.ServiceAccount$artifactsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$artifactsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1558
|
+
secrets<T extends Prisma.ServiceAccount$secretsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$secretsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecretPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1559
|
+
terminals<T extends Prisma.ServiceAccount$terminalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$terminalsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TerminalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1560
|
+
pages<T extends Prisma.ServiceAccount$pagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$pagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1561
|
+
customStatuses<T extends Prisma.ServiceAccount$customStatusesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$customStatusesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstanceCustomStatusPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1562
|
+
apiKeys<T extends Prisma.ServiceAccount$apiKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ServiceAccount$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1563
|
+
/**
|
|
1564
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1565
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1566
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1567
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1568
|
+
*/
|
|
1569
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1570
|
+
/**
|
|
1571
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1572
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1573
|
+
* @returns A Promise for the completion of the callback.
|
|
1574
|
+
*/
|
|
1575
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1576
|
+
/**
|
|
1577
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1578
|
+
* resolved value cannot be modified from the callback.
|
|
1579
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1580
|
+
* @returns A Promise for the completion of the callback.
|
|
1581
|
+
*/
|
|
1582
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* Fields of the ServiceAccount model
|
|
1590
|
+
*/
|
|
1591
|
+
export interface ServiceAccountFieldRefs {
|
|
1592
|
+
readonly id: Prisma.FieldRef<"ServiceAccount", 'String'>
|
|
1593
|
+
readonly meta: Prisma.FieldRef<"ServiceAccount", 'Json'>
|
|
1594
|
+
readonly createdAt: Prisma.FieldRef<"ServiceAccount", 'DateTime'>
|
|
1595
|
+
readonly updatedAt: Prisma.FieldRef<"ServiceAccount", 'DateTime'>
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
// Custom InputTypes
|
|
1600
|
+
/**
|
|
1601
|
+
* ServiceAccount findUnique
|
|
1602
|
+
*/
|
|
1603
|
+
export type ServiceAccountFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1604
|
+
/**
|
|
1605
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1606
|
+
*/
|
|
1607
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1608
|
+
/**
|
|
1609
|
+
* Omit specific fields from the ServiceAccount
|
|
1610
|
+
*/
|
|
1611
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1612
|
+
/**
|
|
1613
|
+
* Choose, which related nodes to fetch as well
|
|
1614
|
+
*/
|
|
1615
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1616
|
+
/**
|
|
1617
|
+
* Filter, which ServiceAccount to fetch.
|
|
1618
|
+
*/
|
|
1619
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* ServiceAccount findUniqueOrThrow
|
|
1624
|
+
*/
|
|
1625
|
+
export type ServiceAccountFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1626
|
+
/**
|
|
1627
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1628
|
+
*/
|
|
1629
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1630
|
+
/**
|
|
1631
|
+
* Omit specific fields from the ServiceAccount
|
|
1632
|
+
*/
|
|
1633
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1634
|
+
/**
|
|
1635
|
+
* Choose, which related nodes to fetch as well
|
|
1636
|
+
*/
|
|
1637
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1638
|
+
/**
|
|
1639
|
+
* Filter, which ServiceAccount to fetch.
|
|
1640
|
+
*/
|
|
1641
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* ServiceAccount findFirst
|
|
1646
|
+
*/
|
|
1647
|
+
export type ServiceAccountFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1648
|
+
/**
|
|
1649
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1650
|
+
*/
|
|
1651
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1652
|
+
/**
|
|
1653
|
+
* Omit specific fields from the ServiceAccount
|
|
1654
|
+
*/
|
|
1655
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1656
|
+
/**
|
|
1657
|
+
* Choose, which related nodes to fetch as well
|
|
1658
|
+
*/
|
|
1659
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1660
|
+
/**
|
|
1661
|
+
* Filter, which ServiceAccount to fetch.
|
|
1662
|
+
*/
|
|
1663
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1664
|
+
/**
|
|
1665
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1666
|
+
*
|
|
1667
|
+
* Determine the order of ServiceAccounts to fetch.
|
|
1668
|
+
*/
|
|
1669
|
+
orderBy?: Prisma.ServiceAccountOrderByWithRelationInput | Prisma.ServiceAccountOrderByWithRelationInput[]
|
|
1670
|
+
/**
|
|
1671
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1672
|
+
*
|
|
1673
|
+
* Sets the position for searching for ServiceAccounts.
|
|
1674
|
+
*/
|
|
1675
|
+
cursor?: Prisma.ServiceAccountWhereUniqueInput
|
|
1676
|
+
/**
|
|
1677
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1678
|
+
*
|
|
1679
|
+
* Take `±n` ServiceAccounts from the position of the cursor.
|
|
1680
|
+
*/
|
|
1681
|
+
take?: number
|
|
1682
|
+
/**
|
|
1683
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1684
|
+
*
|
|
1685
|
+
* Skip the first `n` ServiceAccounts.
|
|
1686
|
+
*/
|
|
1687
|
+
skip?: number
|
|
1688
|
+
/**
|
|
1689
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1690
|
+
*
|
|
1691
|
+
* Filter by unique combinations of ServiceAccounts.
|
|
1692
|
+
*/
|
|
1693
|
+
distinct?: Prisma.ServiceAccountScalarFieldEnum | Prisma.ServiceAccountScalarFieldEnum[]
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* ServiceAccount findFirstOrThrow
|
|
1698
|
+
*/
|
|
1699
|
+
export type ServiceAccountFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1700
|
+
/**
|
|
1701
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1702
|
+
*/
|
|
1703
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1704
|
+
/**
|
|
1705
|
+
* Omit specific fields from the ServiceAccount
|
|
1706
|
+
*/
|
|
1707
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1708
|
+
/**
|
|
1709
|
+
* Choose, which related nodes to fetch as well
|
|
1710
|
+
*/
|
|
1711
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1712
|
+
/**
|
|
1713
|
+
* Filter, which ServiceAccount to fetch.
|
|
1714
|
+
*/
|
|
1715
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1716
|
+
/**
|
|
1717
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1718
|
+
*
|
|
1719
|
+
* Determine the order of ServiceAccounts to fetch.
|
|
1720
|
+
*/
|
|
1721
|
+
orderBy?: Prisma.ServiceAccountOrderByWithRelationInput | Prisma.ServiceAccountOrderByWithRelationInput[]
|
|
1722
|
+
/**
|
|
1723
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1724
|
+
*
|
|
1725
|
+
* Sets the position for searching for ServiceAccounts.
|
|
1726
|
+
*/
|
|
1727
|
+
cursor?: Prisma.ServiceAccountWhereUniqueInput
|
|
1728
|
+
/**
|
|
1729
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1730
|
+
*
|
|
1731
|
+
* Take `±n` ServiceAccounts from the position of the cursor.
|
|
1732
|
+
*/
|
|
1733
|
+
take?: number
|
|
1734
|
+
/**
|
|
1735
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1736
|
+
*
|
|
1737
|
+
* Skip the first `n` ServiceAccounts.
|
|
1738
|
+
*/
|
|
1739
|
+
skip?: number
|
|
1740
|
+
/**
|
|
1741
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1742
|
+
*
|
|
1743
|
+
* Filter by unique combinations of ServiceAccounts.
|
|
1744
|
+
*/
|
|
1745
|
+
distinct?: Prisma.ServiceAccountScalarFieldEnum | Prisma.ServiceAccountScalarFieldEnum[]
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* ServiceAccount findMany
|
|
1750
|
+
*/
|
|
1751
|
+
export type ServiceAccountFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1752
|
+
/**
|
|
1753
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1754
|
+
*/
|
|
1755
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1756
|
+
/**
|
|
1757
|
+
* Omit specific fields from the ServiceAccount
|
|
1758
|
+
*/
|
|
1759
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1760
|
+
/**
|
|
1761
|
+
* Choose, which related nodes to fetch as well
|
|
1762
|
+
*/
|
|
1763
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1764
|
+
/**
|
|
1765
|
+
* Filter, which ServiceAccounts to fetch.
|
|
1766
|
+
*/
|
|
1767
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1768
|
+
/**
|
|
1769
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1770
|
+
*
|
|
1771
|
+
* Determine the order of ServiceAccounts to fetch.
|
|
1772
|
+
*/
|
|
1773
|
+
orderBy?: Prisma.ServiceAccountOrderByWithRelationInput | Prisma.ServiceAccountOrderByWithRelationInput[]
|
|
1774
|
+
/**
|
|
1775
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1776
|
+
*
|
|
1777
|
+
* Sets the position for listing ServiceAccounts.
|
|
1778
|
+
*/
|
|
1779
|
+
cursor?: Prisma.ServiceAccountWhereUniqueInput
|
|
1780
|
+
/**
|
|
1781
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1782
|
+
*
|
|
1783
|
+
* Take `±n` ServiceAccounts from the position of the cursor.
|
|
1784
|
+
*/
|
|
1785
|
+
take?: number
|
|
1786
|
+
/**
|
|
1787
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1788
|
+
*
|
|
1789
|
+
* Skip the first `n` ServiceAccounts.
|
|
1790
|
+
*/
|
|
1791
|
+
skip?: number
|
|
1792
|
+
distinct?: Prisma.ServiceAccountScalarFieldEnum | Prisma.ServiceAccountScalarFieldEnum[]
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
/**
|
|
1796
|
+
* ServiceAccount create
|
|
1797
|
+
*/
|
|
1798
|
+
export type ServiceAccountCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1799
|
+
/**
|
|
1800
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1801
|
+
*/
|
|
1802
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1803
|
+
/**
|
|
1804
|
+
* Omit specific fields from the ServiceAccount
|
|
1805
|
+
*/
|
|
1806
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1807
|
+
/**
|
|
1808
|
+
* Choose, which related nodes to fetch as well
|
|
1809
|
+
*/
|
|
1810
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1811
|
+
/**
|
|
1812
|
+
* The data needed to create a ServiceAccount.
|
|
1813
|
+
*/
|
|
1814
|
+
data: Prisma.XOR<Prisma.ServiceAccountCreateInput, Prisma.ServiceAccountUncheckedCreateInput>
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* ServiceAccount createMany
|
|
1819
|
+
*/
|
|
1820
|
+
export type ServiceAccountCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1821
|
+
/**
|
|
1822
|
+
* The data used to create many ServiceAccounts.
|
|
1823
|
+
*/
|
|
1824
|
+
data: Prisma.ServiceAccountCreateManyInput | Prisma.ServiceAccountCreateManyInput[]
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* ServiceAccount createManyAndReturn
|
|
1829
|
+
*/
|
|
1830
|
+
export type ServiceAccountCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1831
|
+
/**
|
|
1832
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1833
|
+
*/
|
|
1834
|
+
select?: Prisma.ServiceAccountSelectCreateManyAndReturn<ExtArgs> | null
|
|
1835
|
+
/**
|
|
1836
|
+
* Omit specific fields from the ServiceAccount
|
|
1837
|
+
*/
|
|
1838
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1839
|
+
/**
|
|
1840
|
+
* The data used to create many ServiceAccounts.
|
|
1841
|
+
*/
|
|
1842
|
+
data: Prisma.ServiceAccountCreateManyInput | Prisma.ServiceAccountCreateManyInput[]
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* ServiceAccount update
|
|
1847
|
+
*/
|
|
1848
|
+
export type ServiceAccountUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1849
|
+
/**
|
|
1850
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1851
|
+
*/
|
|
1852
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1853
|
+
/**
|
|
1854
|
+
* Omit specific fields from the ServiceAccount
|
|
1855
|
+
*/
|
|
1856
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1857
|
+
/**
|
|
1858
|
+
* Choose, which related nodes to fetch as well
|
|
1859
|
+
*/
|
|
1860
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1861
|
+
/**
|
|
1862
|
+
* The data needed to update a ServiceAccount.
|
|
1863
|
+
*/
|
|
1864
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateInput, Prisma.ServiceAccountUncheckedUpdateInput>
|
|
1865
|
+
/**
|
|
1866
|
+
* Choose, which ServiceAccount to update.
|
|
1867
|
+
*/
|
|
1868
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* ServiceAccount updateMany
|
|
1873
|
+
*/
|
|
1874
|
+
export type ServiceAccountUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1875
|
+
/**
|
|
1876
|
+
* The data used to update ServiceAccounts.
|
|
1877
|
+
*/
|
|
1878
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateManyMutationInput, Prisma.ServiceAccountUncheckedUpdateManyInput>
|
|
1879
|
+
/**
|
|
1880
|
+
* Filter which ServiceAccounts to update
|
|
1881
|
+
*/
|
|
1882
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1883
|
+
/**
|
|
1884
|
+
* Limit how many ServiceAccounts to update.
|
|
1885
|
+
*/
|
|
1886
|
+
limit?: number
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* ServiceAccount updateManyAndReturn
|
|
1891
|
+
*/
|
|
1892
|
+
export type ServiceAccountUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1893
|
+
/**
|
|
1894
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1895
|
+
*/
|
|
1896
|
+
select?: Prisma.ServiceAccountSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1897
|
+
/**
|
|
1898
|
+
* Omit specific fields from the ServiceAccount
|
|
1899
|
+
*/
|
|
1900
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1901
|
+
/**
|
|
1902
|
+
* The data used to update ServiceAccounts.
|
|
1903
|
+
*/
|
|
1904
|
+
data: Prisma.XOR<Prisma.ServiceAccountUpdateManyMutationInput, Prisma.ServiceAccountUncheckedUpdateManyInput>
|
|
1905
|
+
/**
|
|
1906
|
+
* Filter which ServiceAccounts to update
|
|
1907
|
+
*/
|
|
1908
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1909
|
+
/**
|
|
1910
|
+
* Limit how many ServiceAccounts to update.
|
|
1911
|
+
*/
|
|
1912
|
+
limit?: number
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* ServiceAccount upsert
|
|
1917
|
+
*/
|
|
1918
|
+
export type ServiceAccountUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1919
|
+
/**
|
|
1920
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1921
|
+
*/
|
|
1922
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1923
|
+
/**
|
|
1924
|
+
* Omit specific fields from the ServiceAccount
|
|
1925
|
+
*/
|
|
1926
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1927
|
+
/**
|
|
1928
|
+
* Choose, which related nodes to fetch as well
|
|
1929
|
+
*/
|
|
1930
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1931
|
+
/**
|
|
1932
|
+
* The filter to search for the ServiceAccount to update in case it exists.
|
|
1933
|
+
*/
|
|
1934
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
1935
|
+
/**
|
|
1936
|
+
* In case the ServiceAccount found by the `where` argument doesn't exist, create a new ServiceAccount with this data.
|
|
1937
|
+
*/
|
|
1938
|
+
create: Prisma.XOR<Prisma.ServiceAccountCreateInput, Prisma.ServiceAccountUncheckedCreateInput>
|
|
1939
|
+
/**
|
|
1940
|
+
* In case the ServiceAccount was found with the provided `where` argument, update it with this data.
|
|
1941
|
+
*/
|
|
1942
|
+
update: Prisma.XOR<Prisma.ServiceAccountUpdateInput, Prisma.ServiceAccountUncheckedUpdateInput>
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* ServiceAccount delete
|
|
1947
|
+
*/
|
|
1948
|
+
export type ServiceAccountDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1949
|
+
/**
|
|
1950
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1951
|
+
*/
|
|
1952
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1953
|
+
/**
|
|
1954
|
+
* Omit specific fields from the ServiceAccount
|
|
1955
|
+
*/
|
|
1956
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1957
|
+
/**
|
|
1958
|
+
* Choose, which related nodes to fetch as well
|
|
1959
|
+
*/
|
|
1960
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1961
|
+
/**
|
|
1962
|
+
* Filter which ServiceAccount to delete.
|
|
1963
|
+
*/
|
|
1964
|
+
where: Prisma.ServiceAccountWhereUniqueInput
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* ServiceAccount deleteMany
|
|
1969
|
+
*/
|
|
1970
|
+
export type ServiceAccountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1971
|
+
/**
|
|
1972
|
+
* Filter which ServiceAccounts to delete
|
|
1973
|
+
*/
|
|
1974
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1975
|
+
/**
|
|
1976
|
+
* Limit how many ServiceAccounts to delete.
|
|
1977
|
+
*/
|
|
1978
|
+
limit?: number
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* ServiceAccount.workers
|
|
1983
|
+
*/
|
|
1984
|
+
export type ServiceAccount$workersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1985
|
+
/**
|
|
1986
|
+
* Select specific fields to fetch from the Worker
|
|
1987
|
+
*/
|
|
1988
|
+
select?: Prisma.WorkerSelect<ExtArgs> | null
|
|
1989
|
+
/**
|
|
1990
|
+
* Omit specific fields from the Worker
|
|
1991
|
+
*/
|
|
1992
|
+
omit?: Prisma.WorkerOmit<ExtArgs> | null
|
|
1993
|
+
/**
|
|
1994
|
+
* Choose, which related nodes to fetch as well
|
|
1995
|
+
*/
|
|
1996
|
+
include?: Prisma.WorkerInclude<ExtArgs> | null
|
|
1997
|
+
where?: Prisma.WorkerWhereInput
|
|
1998
|
+
orderBy?: Prisma.WorkerOrderByWithRelationInput | Prisma.WorkerOrderByWithRelationInput[]
|
|
1999
|
+
cursor?: Prisma.WorkerWhereUniqueInput
|
|
2000
|
+
take?: number
|
|
2001
|
+
skip?: number
|
|
2002
|
+
distinct?: Prisma.WorkerScalarFieldEnum | Prisma.WorkerScalarFieldEnum[]
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* ServiceAccount.artifacts
|
|
2007
|
+
*/
|
|
2008
|
+
export type ServiceAccount$artifactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2009
|
+
/**
|
|
2010
|
+
* Select specific fields to fetch from the Artifact
|
|
2011
|
+
*/
|
|
2012
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
2013
|
+
/**
|
|
2014
|
+
* Omit specific fields from the Artifact
|
|
2015
|
+
*/
|
|
2016
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
2017
|
+
/**
|
|
2018
|
+
* Choose, which related nodes to fetch as well
|
|
2019
|
+
*/
|
|
2020
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
2021
|
+
where?: Prisma.ArtifactWhereInput
|
|
2022
|
+
orderBy?: Prisma.ArtifactOrderByWithRelationInput | Prisma.ArtifactOrderByWithRelationInput[]
|
|
2023
|
+
cursor?: Prisma.ArtifactWhereUniqueInput
|
|
2024
|
+
take?: number
|
|
2025
|
+
skip?: number
|
|
2026
|
+
distinct?: Prisma.ArtifactScalarFieldEnum | Prisma.ArtifactScalarFieldEnum[]
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* ServiceAccount.secrets
|
|
2031
|
+
*/
|
|
2032
|
+
export type ServiceAccount$secretsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2033
|
+
/**
|
|
2034
|
+
* Select specific fields to fetch from the Secret
|
|
2035
|
+
*/
|
|
2036
|
+
select?: Prisma.SecretSelect<ExtArgs> | null
|
|
2037
|
+
/**
|
|
2038
|
+
* Omit specific fields from the Secret
|
|
2039
|
+
*/
|
|
2040
|
+
omit?: Prisma.SecretOmit<ExtArgs> | null
|
|
2041
|
+
/**
|
|
2042
|
+
* Choose, which related nodes to fetch as well
|
|
2043
|
+
*/
|
|
2044
|
+
include?: Prisma.SecretInclude<ExtArgs> | null
|
|
2045
|
+
where?: Prisma.SecretWhereInput
|
|
2046
|
+
orderBy?: Prisma.SecretOrderByWithRelationInput | Prisma.SecretOrderByWithRelationInput[]
|
|
2047
|
+
cursor?: Prisma.SecretWhereUniqueInput
|
|
2048
|
+
take?: number
|
|
2049
|
+
skip?: number
|
|
2050
|
+
distinct?: Prisma.SecretScalarFieldEnum | Prisma.SecretScalarFieldEnum[]
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
/**
|
|
2054
|
+
* ServiceAccount.terminals
|
|
2055
|
+
*/
|
|
2056
|
+
export type ServiceAccount$terminalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2057
|
+
/**
|
|
2058
|
+
* Select specific fields to fetch from the Terminal
|
|
2059
|
+
*/
|
|
2060
|
+
select?: Prisma.TerminalSelect<ExtArgs> | null
|
|
2061
|
+
/**
|
|
2062
|
+
* Omit specific fields from the Terminal
|
|
2063
|
+
*/
|
|
2064
|
+
omit?: Prisma.TerminalOmit<ExtArgs> | null
|
|
2065
|
+
/**
|
|
2066
|
+
* Choose, which related nodes to fetch as well
|
|
2067
|
+
*/
|
|
2068
|
+
include?: Prisma.TerminalInclude<ExtArgs> | null
|
|
2069
|
+
where?: Prisma.TerminalWhereInput
|
|
2070
|
+
orderBy?: Prisma.TerminalOrderByWithRelationInput | Prisma.TerminalOrderByWithRelationInput[]
|
|
2071
|
+
cursor?: Prisma.TerminalWhereUniqueInput
|
|
2072
|
+
take?: number
|
|
2073
|
+
skip?: number
|
|
2074
|
+
distinct?: Prisma.TerminalScalarFieldEnum | Prisma.TerminalScalarFieldEnum[]
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* ServiceAccount.pages
|
|
2079
|
+
*/
|
|
2080
|
+
export type ServiceAccount$pagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2081
|
+
/**
|
|
2082
|
+
* Select specific fields to fetch from the Page
|
|
2083
|
+
*/
|
|
2084
|
+
select?: Prisma.PageSelect<ExtArgs> | null
|
|
2085
|
+
/**
|
|
2086
|
+
* Omit specific fields from the Page
|
|
2087
|
+
*/
|
|
2088
|
+
omit?: Prisma.PageOmit<ExtArgs> | null
|
|
2089
|
+
/**
|
|
2090
|
+
* Choose, which related nodes to fetch as well
|
|
2091
|
+
*/
|
|
2092
|
+
include?: Prisma.PageInclude<ExtArgs> | null
|
|
2093
|
+
where?: Prisma.PageWhereInput
|
|
2094
|
+
orderBy?: Prisma.PageOrderByWithRelationInput | Prisma.PageOrderByWithRelationInput[]
|
|
2095
|
+
cursor?: Prisma.PageWhereUniqueInput
|
|
2096
|
+
take?: number
|
|
2097
|
+
skip?: number
|
|
2098
|
+
distinct?: Prisma.PageScalarFieldEnum | Prisma.PageScalarFieldEnum[]
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* ServiceAccount.customStatuses
|
|
2103
|
+
*/
|
|
2104
|
+
export type ServiceAccount$customStatusesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2105
|
+
/**
|
|
2106
|
+
* Select specific fields to fetch from the InstanceCustomStatus
|
|
2107
|
+
*/
|
|
2108
|
+
select?: Prisma.InstanceCustomStatusSelect<ExtArgs> | null
|
|
2109
|
+
/**
|
|
2110
|
+
* Omit specific fields from the InstanceCustomStatus
|
|
2111
|
+
*/
|
|
2112
|
+
omit?: Prisma.InstanceCustomStatusOmit<ExtArgs> | null
|
|
2113
|
+
/**
|
|
2114
|
+
* Choose, which related nodes to fetch as well
|
|
2115
|
+
*/
|
|
2116
|
+
include?: Prisma.InstanceCustomStatusInclude<ExtArgs> | null
|
|
2117
|
+
where?: Prisma.InstanceCustomStatusWhereInput
|
|
2118
|
+
orderBy?: Prisma.InstanceCustomStatusOrderByWithRelationInput | Prisma.InstanceCustomStatusOrderByWithRelationInput[]
|
|
2119
|
+
cursor?: Prisma.InstanceCustomStatusWhereUniqueInput
|
|
2120
|
+
take?: number
|
|
2121
|
+
skip?: number
|
|
2122
|
+
distinct?: Prisma.InstanceCustomStatusScalarFieldEnum | Prisma.InstanceCustomStatusScalarFieldEnum[]
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* ServiceAccount.apiKeys
|
|
2127
|
+
*/
|
|
2128
|
+
export type ServiceAccount$apiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2129
|
+
/**
|
|
2130
|
+
* Select specific fields to fetch from the ApiKey
|
|
2131
|
+
*/
|
|
2132
|
+
select?: Prisma.ApiKeySelect<ExtArgs> | null
|
|
2133
|
+
/**
|
|
2134
|
+
* Omit specific fields from the ApiKey
|
|
2135
|
+
*/
|
|
2136
|
+
omit?: Prisma.ApiKeyOmit<ExtArgs> | null
|
|
2137
|
+
/**
|
|
2138
|
+
* Choose, which related nodes to fetch as well
|
|
2139
|
+
*/
|
|
2140
|
+
include?: Prisma.ApiKeyInclude<ExtArgs> | null
|
|
2141
|
+
where?: Prisma.ApiKeyWhereInput
|
|
2142
|
+
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[]
|
|
2143
|
+
cursor?: Prisma.ApiKeyWhereUniqueInput
|
|
2144
|
+
take?: number
|
|
2145
|
+
skip?: number
|
|
2146
|
+
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[]
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* ServiceAccount without action
|
|
2151
|
+
*/
|
|
2152
|
+
export type ServiceAccountDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2153
|
+
/**
|
|
2154
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
2155
|
+
*/
|
|
2156
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
2157
|
+
/**
|
|
2158
|
+
* Omit specific fields from the ServiceAccount
|
|
2159
|
+
*/
|
|
2160
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
2161
|
+
/**
|
|
2162
|
+
* Choose, which related nodes to fetch as well
|
|
2163
|
+
*/
|
|
2164
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
2165
|
+
}
|