@friggframework/core 2.0.0--canary.520.6641121.0 → 2.0.0--canary.517.35ee143.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin-scripts/index.js +52 -0
- package/admin-scripts/repositories/admin-process-repository-documentdb.js +21 -0
- package/admin-scripts/repositories/admin-process-repository-factory.js +51 -0
- package/admin-scripts/repositories/admin-process-repository-interface.js +150 -0
- package/admin-scripts/repositories/admin-process-repository-mongo.js +213 -0
- package/admin-scripts/repositories/admin-process-repository-postgres.js +251 -0
- package/admin-scripts/repositories/script-schedule-repository-documentdb.js +21 -0
- package/admin-scripts/repositories/script-schedule-repository-factory.js +51 -0
- package/admin-scripts/repositories/script-schedule-repository-interface.js +108 -0
- package/admin-scripts/repositories/script-schedule-repository-mongo.js +179 -0
- package/admin-scripts/repositories/script-schedule-repository-postgres.js +210 -0
- package/application/commands/admin-script-commands.js +344 -0
- package/database/use-cases/check-database-state-use-case.js +2 -2
- package/database/use-cases/trigger-database-migration-use-case.js +1 -1
- package/generated/prisma-mongodb/edge.js +47 -4
- package/generated/prisma-mongodb/index-browser.js +37 -1
- package/generated/prisma-mongodb/index.d.ts +2775 -52
- package/generated/prisma-mongodb/index.js +47 -4
- package/generated/prisma-mongodb/package.json +1 -1
- package/generated/prisma-mongodb/schema.prisma +69 -0
- package/generated/prisma-mongodb/wasm.js +47 -4
- package/generated/prisma-postgresql/edge.js +46 -4
- package/generated/prisma-postgresql/index-browser.js +36 -1
- package/generated/prisma-postgresql/index.d.ts +3414 -83
- package/generated/prisma-postgresql/index.js +46 -4
- package/generated/prisma-postgresql/package.json +1 -1
- package/generated/prisma-postgresql/schema.prisma +68 -0
- package/generated/prisma-postgresql/wasm.js +46 -4
- package/handlers/middleware/admin-auth.js +53 -0
- package/handlers/routers/db-migration.handler.js +1 -1
- package/handlers/routers/db-migration.js +18 -33
- package/package.json +5 -5
- package/prisma-mongodb/schema.prisma +69 -0
- package/prisma-postgresql/schema.prisma +68 -0
|
@@ -85,6 +85,17 @@ export type State = $Result.DefaultSelection<Prisma.$StatePayload>
|
|
|
85
85
|
* AWS API Gateway WebSocket connection tracking
|
|
86
86
|
*/
|
|
87
87
|
export type WebsocketConnection = $Result.DefaultSelection<Prisma.$WebsocketConnectionPayload>
|
|
88
|
+
/**
|
|
89
|
+
* Model AdminProcess
|
|
90
|
+
* Admin process tracking (like Process but without user/integration FK)
|
|
91
|
+
* Used for: admin scripts, db migrations, system maintenance tasks
|
|
92
|
+
*/
|
|
93
|
+
export type AdminProcess = $Result.DefaultSelection<Prisma.$AdminProcessPayload>
|
|
94
|
+
/**
|
|
95
|
+
* Model ScriptSchedule
|
|
96
|
+
* Script scheduling configuration for hybrid scheduling (SQS + EventBridge)
|
|
97
|
+
*/
|
|
98
|
+
export type ScriptSchedule = $Result.DefaultSelection<Prisma.$ScriptSchedulePayload>
|
|
88
99
|
|
|
89
100
|
/**
|
|
90
101
|
* Enums
|
|
@@ -117,6 +128,26 @@ export const AssociationType: {
|
|
|
117
128
|
|
|
118
129
|
export type AssociationType = (typeof AssociationType)[keyof typeof AssociationType]
|
|
119
130
|
|
|
131
|
+
|
|
132
|
+
export const AdminProcessState: {
|
|
133
|
+
PENDING: 'PENDING',
|
|
134
|
+
RUNNING: 'RUNNING',
|
|
135
|
+
COMPLETED: 'COMPLETED',
|
|
136
|
+
FAILED: 'FAILED'
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export type AdminProcessState = (typeof AdminProcessState)[keyof typeof AdminProcessState]
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
export const AdminTrigger: {
|
|
143
|
+
MANUAL: 'MANUAL',
|
|
144
|
+
SCHEDULED: 'SCHEDULED',
|
|
145
|
+
QUEUE: 'QUEUE',
|
|
146
|
+
WEBHOOK: 'WEBHOOK'
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export type AdminTrigger = (typeof AdminTrigger)[keyof typeof AdminTrigger]
|
|
150
|
+
|
|
120
151
|
}
|
|
121
152
|
|
|
122
153
|
export type UserType = $Enums.UserType
|
|
@@ -131,6 +162,14 @@ export type AssociationType = $Enums.AssociationType
|
|
|
131
162
|
|
|
132
163
|
export const AssociationType: typeof $Enums.AssociationType
|
|
133
164
|
|
|
165
|
+
export type AdminProcessState = $Enums.AdminProcessState
|
|
166
|
+
|
|
167
|
+
export const AdminProcessState: typeof $Enums.AdminProcessState
|
|
168
|
+
|
|
169
|
+
export type AdminTrigger = $Enums.AdminTrigger
|
|
170
|
+
|
|
171
|
+
export const AdminTrigger: typeof $Enums.AdminTrigger
|
|
172
|
+
|
|
134
173
|
/**
|
|
135
174
|
* ## Prisma Client ʲˢ
|
|
136
175
|
*
|
|
@@ -378,6 +417,26 @@ export class PrismaClient<
|
|
|
378
417
|
* ```
|
|
379
418
|
*/
|
|
380
419
|
get websocketConnection(): Prisma.WebsocketConnectionDelegate<ExtArgs, ClientOptions>;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* `prisma.adminProcess`: Exposes CRUD operations for the **AdminProcess** model.
|
|
423
|
+
* Example usage:
|
|
424
|
+
* ```ts
|
|
425
|
+
* // Fetch zero or more AdminProcesses
|
|
426
|
+
* const adminProcesses = await prisma.adminProcess.findMany()
|
|
427
|
+
* ```
|
|
428
|
+
*/
|
|
429
|
+
get adminProcess(): Prisma.AdminProcessDelegate<ExtArgs, ClientOptions>;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* `prisma.scriptSchedule`: Exposes CRUD operations for the **ScriptSchedule** model.
|
|
433
|
+
* Example usage:
|
|
434
|
+
* ```ts
|
|
435
|
+
* // Fetch zero or more ScriptSchedules
|
|
436
|
+
* const scriptSchedules = await prisma.scriptSchedule.findMany()
|
|
437
|
+
* ```
|
|
438
|
+
*/
|
|
439
|
+
get scriptSchedule(): Prisma.ScriptScheduleDelegate<ExtArgs, ClientOptions>;
|
|
381
440
|
}
|
|
382
441
|
|
|
383
442
|
export namespace Prisma {
|
|
@@ -830,7 +889,9 @@ export namespace Prisma {
|
|
|
830
889
|
AssociationObject: 'AssociationObject',
|
|
831
890
|
Process: 'Process',
|
|
832
891
|
State: 'State',
|
|
833
|
-
WebsocketConnection: 'WebsocketConnection'
|
|
892
|
+
WebsocketConnection: 'WebsocketConnection',
|
|
893
|
+
AdminProcess: 'AdminProcess',
|
|
894
|
+
ScriptSchedule: 'ScriptSchedule'
|
|
834
895
|
};
|
|
835
896
|
|
|
836
897
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -849,7 +910,7 @@ export namespace Prisma {
|
|
|
849
910
|
omit: GlobalOmitOptions
|
|
850
911
|
}
|
|
851
912
|
meta: {
|
|
852
|
-
modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "sync" | "dataIdentifier" | "association" | "associationObject" | "process" | "state" | "websocketConnection"
|
|
913
|
+
modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "sync" | "dataIdentifier" | "association" | "associationObject" | "process" | "state" | "websocketConnection" | "adminProcess" | "scriptSchedule"
|
|
853
914
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
854
915
|
}
|
|
855
916
|
model: {
|
|
@@ -1815,6 +1876,154 @@ export namespace Prisma {
|
|
|
1815
1876
|
}
|
|
1816
1877
|
}
|
|
1817
1878
|
}
|
|
1879
|
+
AdminProcess: {
|
|
1880
|
+
payload: Prisma.$AdminProcessPayload<ExtArgs>
|
|
1881
|
+
fields: Prisma.AdminProcessFieldRefs
|
|
1882
|
+
operations: {
|
|
1883
|
+
findUnique: {
|
|
1884
|
+
args: Prisma.AdminProcessFindUniqueArgs<ExtArgs>
|
|
1885
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload> | null
|
|
1886
|
+
}
|
|
1887
|
+
findUniqueOrThrow: {
|
|
1888
|
+
args: Prisma.AdminProcessFindUniqueOrThrowArgs<ExtArgs>
|
|
1889
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1890
|
+
}
|
|
1891
|
+
findFirst: {
|
|
1892
|
+
args: Prisma.AdminProcessFindFirstArgs<ExtArgs>
|
|
1893
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload> | null
|
|
1894
|
+
}
|
|
1895
|
+
findFirstOrThrow: {
|
|
1896
|
+
args: Prisma.AdminProcessFindFirstOrThrowArgs<ExtArgs>
|
|
1897
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1898
|
+
}
|
|
1899
|
+
findMany: {
|
|
1900
|
+
args: Prisma.AdminProcessFindManyArgs<ExtArgs>
|
|
1901
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>[]
|
|
1902
|
+
}
|
|
1903
|
+
create: {
|
|
1904
|
+
args: Prisma.AdminProcessCreateArgs<ExtArgs>
|
|
1905
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1906
|
+
}
|
|
1907
|
+
createMany: {
|
|
1908
|
+
args: Prisma.AdminProcessCreateManyArgs<ExtArgs>
|
|
1909
|
+
result: BatchPayload
|
|
1910
|
+
}
|
|
1911
|
+
createManyAndReturn: {
|
|
1912
|
+
args: Prisma.AdminProcessCreateManyAndReturnArgs<ExtArgs>
|
|
1913
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>[]
|
|
1914
|
+
}
|
|
1915
|
+
delete: {
|
|
1916
|
+
args: Prisma.AdminProcessDeleteArgs<ExtArgs>
|
|
1917
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1918
|
+
}
|
|
1919
|
+
update: {
|
|
1920
|
+
args: Prisma.AdminProcessUpdateArgs<ExtArgs>
|
|
1921
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1922
|
+
}
|
|
1923
|
+
deleteMany: {
|
|
1924
|
+
args: Prisma.AdminProcessDeleteManyArgs<ExtArgs>
|
|
1925
|
+
result: BatchPayload
|
|
1926
|
+
}
|
|
1927
|
+
updateMany: {
|
|
1928
|
+
args: Prisma.AdminProcessUpdateManyArgs<ExtArgs>
|
|
1929
|
+
result: BatchPayload
|
|
1930
|
+
}
|
|
1931
|
+
updateManyAndReturn: {
|
|
1932
|
+
args: Prisma.AdminProcessUpdateManyAndReturnArgs<ExtArgs>
|
|
1933
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>[]
|
|
1934
|
+
}
|
|
1935
|
+
upsert: {
|
|
1936
|
+
args: Prisma.AdminProcessUpsertArgs<ExtArgs>
|
|
1937
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1938
|
+
}
|
|
1939
|
+
aggregate: {
|
|
1940
|
+
args: Prisma.AdminProcessAggregateArgs<ExtArgs>
|
|
1941
|
+
result: $Utils.Optional<AggregateAdminProcess>
|
|
1942
|
+
}
|
|
1943
|
+
groupBy: {
|
|
1944
|
+
args: Prisma.AdminProcessGroupByArgs<ExtArgs>
|
|
1945
|
+
result: $Utils.Optional<AdminProcessGroupByOutputType>[]
|
|
1946
|
+
}
|
|
1947
|
+
count: {
|
|
1948
|
+
args: Prisma.AdminProcessCountArgs<ExtArgs>
|
|
1949
|
+
result: $Utils.Optional<AdminProcessCountAggregateOutputType> | number
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
ScriptSchedule: {
|
|
1954
|
+
payload: Prisma.$ScriptSchedulePayload<ExtArgs>
|
|
1955
|
+
fields: Prisma.ScriptScheduleFieldRefs
|
|
1956
|
+
operations: {
|
|
1957
|
+
findUnique: {
|
|
1958
|
+
args: Prisma.ScriptScheduleFindUniqueArgs<ExtArgs>
|
|
1959
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload> | null
|
|
1960
|
+
}
|
|
1961
|
+
findUniqueOrThrow: {
|
|
1962
|
+
args: Prisma.ScriptScheduleFindUniqueOrThrowArgs<ExtArgs>
|
|
1963
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1964
|
+
}
|
|
1965
|
+
findFirst: {
|
|
1966
|
+
args: Prisma.ScriptScheduleFindFirstArgs<ExtArgs>
|
|
1967
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload> | null
|
|
1968
|
+
}
|
|
1969
|
+
findFirstOrThrow: {
|
|
1970
|
+
args: Prisma.ScriptScheduleFindFirstOrThrowArgs<ExtArgs>
|
|
1971
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1972
|
+
}
|
|
1973
|
+
findMany: {
|
|
1974
|
+
args: Prisma.ScriptScheduleFindManyArgs<ExtArgs>
|
|
1975
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>[]
|
|
1976
|
+
}
|
|
1977
|
+
create: {
|
|
1978
|
+
args: Prisma.ScriptScheduleCreateArgs<ExtArgs>
|
|
1979
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1980
|
+
}
|
|
1981
|
+
createMany: {
|
|
1982
|
+
args: Prisma.ScriptScheduleCreateManyArgs<ExtArgs>
|
|
1983
|
+
result: BatchPayload
|
|
1984
|
+
}
|
|
1985
|
+
createManyAndReturn: {
|
|
1986
|
+
args: Prisma.ScriptScheduleCreateManyAndReturnArgs<ExtArgs>
|
|
1987
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>[]
|
|
1988
|
+
}
|
|
1989
|
+
delete: {
|
|
1990
|
+
args: Prisma.ScriptScheduleDeleteArgs<ExtArgs>
|
|
1991
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1992
|
+
}
|
|
1993
|
+
update: {
|
|
1994
|
+
args: Prisma.ScriptScheduleUpdateArgs<ExtArgs>
|
|
1995
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1996
|
+
}
|
|
1997
|
+
deleteMany: {
|
|
1998
|
+
args: Prisma.ScriptScheduleDeleteManyArgs<ExtArgs>
|
|
1999
|
+
result: BatchPayload
|
|
2000
|
+
}
|
|
2001
|
+
updateMany: {
|
|
2002
|
+
args: Prisma.ScriptScheduleUpdateManyArgs<ExtArgs>
|
|
2003
|
+
result: BatchPayload
|
|
2004
|
+
}
|
|
2005
|
+
updateManyAndReturn: {
|
|
2006
|
+
args: Prisma.ScriptScheduleUpdateManyAndReturnArgs<ExtArgs>
|
|
2007
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>[]
|
|
2008
|
+
}
|
|
2009
|
+
upsert: {
|
|
2010
|
+
args: Prisma.ScriptScheduleUpsertArgs<ExtArgs>
|
|
2011
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
2012
|
+
}
|
|
2013
|
+
aggregate: {
|
|
2014
|
+
args: Prisma.ScriptScheduleAggregateArgs<ExtArgs>
|
|
2015
|
+
result: $Utils.Optional<AggregateScriptSchedule>
|
|
2016
|
+
}
|
|
2017
|
+
groupBy: {
|
|
2018
|
+
args: Prisma.ScriptScheduleGroupByArgs<ExtArgs>
|
|
2019
|
+
result: $Utils.Optional<ScriptScheduleGroupByOutputType>[]
|
|
2020
|
+
}
|
|
2021
|
+
count: {
|
|
2022
|
+
args: Prisma.ScriptScheduleCountArgs<ExtArgs>
|
|
2023
|
+
result: $Utils.Optional<ScriptScheduleCountAggregateOutputType> | number
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
1818
2027
|
}
|
|
1819
2028
|
} & {
|
|
1820
2029
|
other: {
|
|
@@ -1920,6 +2129,8 @@ export namespace Prisma {
|
|
|
1920
2129
|
process?: ProcessOmit
|
|
1921
2130
|
state?: StateOmit
|
|
1922
2131
|
websocketConnection?: WebsocketConnectionOmit
|
|
2132
|
+
adminProcess?: AdminProcessOmit
|
|
2133
|
+
scriptSchedule?: ScriptScheduleOmit
|
|
1923
2134
|
}
|
|
1924
2135
|
|
|
1925
2136
|
/* Types for Logging */
|
|
@@ -2329,6 +2540,37 @@ export namespace Prisma {
|
|
|
2329
2540
|
}
|
|
2330
2541
|
|
|
2331
2542
|
|
|
2543
|
+
/**
|
|
2544
|
+
* Count Type AdminProcessCountOutputType
|
|
2545
|
+
*/
|
|
2546
|
+
|
|
2547
|
+
export type AdminProcessCountOutputType = {
|
|
2548
|
+
childProcesses: number
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
export type AdminProcessCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2552
|
+
childProcesses?: boolean | AdminProcessCountOutputTypeCountChildProcessesArgs
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
// Custom InputTypes
|
|
2556
|
+
/**
|
|
2557
|
+
* AdminProcessCountOutputType without action
|
|
2558
|
+
*/
|
|
2559
|
+
export type AdminProcessCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2560
|
+
/**
|
|
2561
|
+
* Select specific fields to fetch from the AdminProcessCountOutputType
|
|
2562
|
+
*/
|
|
2563
|
+
select?: AdminProcessCountOutputTypeSelect<ExtArgs> | null
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* AdminProcessCountOutputType without action
|
|
2568
|
+
*/
|
|
2569
|
+
export type AdminProcessCountOutputTypeCountChildProcessesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2570
|
+
where?: AdminProcessWhereInput
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
|
|
2332
2574
|
/**
|
|
2333
2575
|
* Models
|
|
2334
2576
|
*/
|
|
@@ -17420,83 +17662,2379 @@ export namespace Prisma {
|
|
|
17420
17662
|
|
|
17421
17663
|
|
|
17422
17664
|
/**
|
|
17423
|
-
*
|
|
17665
|
+
* Model AdminProcess
|
|
17424
17666
|
*/
|
|
17425
17667
|
|
|
17426
|
-
export
|
|
17427
|
-
|
|
17428
|
-
|
|
17429
|
-
|
|
17430
|
-
|
|
17431
|
-
|
|
17432
|
-
|
|
17433
|
-
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
17434
|
-
|
|
17435
|
-
|
|
17436
|
-
export const UserScalarFieldEnum: {
|
|
17437
|
-
id: 'id',
|
|
17438
|
-
type: 'type',
|
|
17439
|
-
createdAt: 'createdAt',
|
|
17440
|
-
updatedAt: 'updatedAt',
|
|
17441
|
-
email: 'email',
|
|
17442
|
-
username: 'username',
|
|
17443
|
-
hashword: 'hashword',
|
|
17444
|
-
appUserId: 'appUserId',
|
|
17445
|
-
organizationId: 'organizationId',
|
|
17446
|
-
appOrgId: 'appOrgId',
|
|
17447
|
-
name: 'name'
|
|
17448
|
-
};
|
|
17668
|
+
export type AggregateAdminProcess = {
|
|
17669
|
+
_count: AdminProcessCountAggregateOutputType | null
|
|
17670
|
+
_avg: AdminProcessAvgAggregateOutputType | null
|
|
17671
|
+
_sum: AdminProcessSumAggregateOutputType | null
|
|
17672
|
+
_min: AdminProcessMinAggregateOutputType | null
|
|
17673
|
+
_max: AdminProcessMaxAggregateOutputType | null
|
|
17674
|
+
}
|
|
17449
17675
|
|
|
17450
|
-
export type
|
|
17676
|
+
export type AdminProcessAvgAggregateOutputType = {
|
|
17677
|
+
id: number | null
|
|
17678
|
+
parentProcessId: number | null
|
|
17679
|
+
}
|
|
17451
17680
|
|
|
17681
|
+
export type AdminProcessSumAggregateOutputType = {
|
|
17682
|
+
id: number | null
|
|
17683
|
+
parentProcessId: number | null
|
|
17684
|
+
}
|
|
17452
17685
|
|
|
17453
|
-
export
|
|
17454
|
-
id:
|
|
17455
|
-
|
|
17456
|
-
|
|
17457
|
-
|
|
17458
|
-
|
|
17459
|
-
|
|
17686
|
+
export type AdminProcessMinAggregateOutputType = {
|
|
17687
|
+
id: number | null
|
|
17688
|
+
name: string | null
|
|
17689
|
+
type: string | null
|
|
17690
|
+
state: $Enums.AdminProcessState | null
|
|
17691
|
+
parentProcessId: number | null
|
|
17692
|
+
createdAt: Date | null
|
|
17693
|
+
updatedAt: Date | null
|
|
17694
|
+
}
|
|
17460
17695
|
|
|
17461
|
-
export type
|
|
17696
|
+
export type AdminProcessMaxAggregateOutputType = {
|
|
17697
|
+
id: number | null
|
|
17698
|
+
name: string | null
|
|
17699
|
+
type: string | null
|
|
17700
|
+
state: $Enums.AdminProcessState | null
|
|
17701
|
+
parentProcessId: number | null
|
|
17702
|
+
createdAt: Date | null
|
|
17703
|
+
updatedAt: Date | null
|
|
17704
|
+
}
|
|
17462
17705
|
|
|
17706
|
+
export type AdminProcessCountAggregateOutputType = {
|
|
17707
|
+
id: number
|
|
17708
|
+
name: number
|
|
17709
|
+
type: number
|
|
17710
|
+
state: number
|
|
17711
|
+
context: number
|
|
17712
|
+
results: number
|
|
17713
|
+
parentProcessId: number
|
|
17714
|
+
createdAt: number
|
|
17715
|
+
updatedAt: number
|
|
17716
|
+
_all: number
|
|
17717
|
+
}
|
|
17463
17718
|
|
|
17464
|
-
export const CredentialScalarFieldEnum: {
|
|
17465
|
-
id: 'id',
|
|
17466
|
-
userId: 'userId',
|
|
17467
|
-
authIsValid: 'authIsValid',
|
|
17468
|
-
externalId: 'externalId',
|
|
17469
|
-
data: 'data',
|
|
17470
|
-
createdAt: 'createdAt',
|
|
17471
|
-
updatedAt: 'updatedAt'
|
|
17472
|
-
};
|
|
17473
17719
|
|
|
17474
|
-
export type
|
|
17720
|
+
export type AdminProcessAvgAggregateInputType = {
|
|
17721
|
+
id?: true
|
|
17722
|
+
parentProcessId?: true
|
|
17723
|
+
}
|
|
17475
17724
|
|
|
17725
|
+
export type AdminProcessSumAggregateInputType = {
|
|
17726
|
+
id?: true
|
|
17727
|
+
parentProcessId?: true
|
|
17728
|
+
}
|
|
17476
17729
|
|
|
17477
|
-
export
|
|
17478
|
-
id
|
|
17479
|
-
|
|
17480
|
-
|
|
17481
|
-
|
|
17482
|
-
|
|
17483
|
-
|
|
17484
|
-
|
|
17485
|
-
|
|
17486
|
-
};
|
|
17730
|
+
export type AdminProcessMinAggregateInputType = {
|
|
17731
|
+
id?: true
|
|
17732
|
+
name?: true
|
|
17733
|
+
type?: true
|
|
17734
|
+
state?: true
|
|
17735
|
+
parentProcessId?: true
|
|
17736
|
+
createdAt?: true
|
|
17737
|
+
updatedAt?: true
|
|
17738
|
+
}
|
|
17487
17739
|
|
|
17488
|
-
export type
|
|
17740
|
+
export type AdminProcessMaxAggregateInputType = {
|
|
17741
|
+
id?: true
|
|
17742
|
+
name?: true
|
|
17743
|
+
type?: true
|
|
17744
|
+
state?: true
|
|
17745
|
+
parentProcessId?: true
|
|
17746
|
+
createdAt?: true
|
|
17747
|
+
updatedAt?: true
|
|
17748
|
+
}
|
|
17489
17749
|
|
|
17750
|
+
export type AdminProcessCountAggregateInputType = {
|
|
17751
|
+
id?: true
|
|
17752
|
+
name?: true
|
|
17753
|
+
type?: true
|
|
17754
|
+
state?: true
|
|
17755
|
+
context?: true
|
|
17756
|
+
results?: true
|
|
17757
|
+
parentProcessId?: true
|
|
17758
|
+
createdAt?: true
|
|
17759
|
+
updatedAt?: true
|
|
17760
|
+
_all?: true
|
|
17761
|
+
}
|
|
17490
17762
|
|
|
17491
|
-
export
|
|
17492
|
-
|
|
17493
|
-
|
|
17494
|
-
|
|
17495
|
-
|
|
17496
|
-
|
|
17497
|
-
|
|
17498
|
-
|
|
17499
|
-
|
|
17763
|
+
export type AdminProcessAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17764
|
+
/**
|
|
17765
|
+
* Filter which AdminProcess to aggregate.
|
|
17766
|
+
*/
|
|
17767
|
+
where?: AdminProcessWhereInput
|
|
17768
|
+
/**
|
|
17769
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
17770
|
+
*
|
|
17771
|
+
* Determine the order of AdminProcesses to fetch.
|
|
17772
|
+
*/
|
|
17773
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
17774
|
+
/**
|
|
17775
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
17776
|
+
*
|
|
17777
|
+
* Sets the start position
|
|
17778
|
+
*/
|
|
17779
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
17780
|
+
/**
|
|
17781
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17782
|
+
*
|
|
17783
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
17784
|
+
*/
|
|
17785
|
+
take?: number
|
|
17786
|
+
/**
|
|
17787
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17788
|
+
*
|
|
17789
|
+
* Skip the first `n` AdminProcesses.
|
|
17790
|
+
*/
|
|
17791
|
+
skip?: number
|
|
17792
|
+
/**
|
|
17793
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17794
|
+
*
|
|
17795
|
+
* Count returned AdminProcesses
|
|
17796
|
+
**/
|
|
17797
|
+
_count?: true | AdminProcessCountAggregateInputType
|
|
17798
|
+
/**
|
|
17799
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17800
|
+
*
|
|
17801
|
+
* Select which fields to average
|
|
17802
|
+
**/
|
|
17803
|
+
_avg?: AdminProcessAvgAggregateInputType
|
|
17804
|
+
/**
|
|
17805
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17806
|
+
*
|
|
17807
|
+
* Select which fields to sum
|
|
17808
|
+
**/
|
|
17809
|
+
_sum?: AdminProcessSumAggregateInputType
|
|
17810
|
+
/**
|
|
17811
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17812
|
+
*
|
|
17813
|
+
* Select which fields to find the minimum value
|
|
17814
|
+
**/
|
|
17815
|
+
_min?: AdminProcessMinAggregateInputType
|
|
17816
|
+
/**
|
|
17817
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17818
|
+
*
|
|
17819
|
+
* Select which fields to find the maximum value
|
|
17820
|
+
**/
|
|
17821
|
+
_max?: AdminProcessMaxAggregateInputType
|
|
17822
|
+
}
|
|
17823
|
+
|
|
17824
|
+
export type GetAdminProcessAggregateType<T extends AdminProcessAggregateArgs> = {
|
|
17825
|
+
[P in keyof T & keyof AggregateAdminProcess]: P extends '_count' | 'count'
|
|
17826
|
+
? T[P] extends true
|
|
17827
|
+
? number
|
|
17828
|
+
: GetScalarType<T[P], AggregateAdminProcess[P]>
|
|
17829
|
+
: GetScalarType<T[P], AggregateAdminProcess[P]>
|
|
17830
|
+
}
|
|
17831
|
+
|
|
17832
|
+
|
|
17833
|
+
|
|
17834
|
+
|
|
17835
|
+
export type AdminProcessGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17836
|
+
where?: AdminProcessWhereInput
|
|
17837
|
+
orderBy?: AdminProcessOrderByWithAggregationInput | AdminProcessOrderByWithAggregationInput[]
|
|
17838
|
+
by: AdminProcessScalarFieldEnum[] | AdminProcessScalarFieldEnum
|
|
17839
|
+
having?: AdminProcessScalarWhereWithAggregatesInput
|
|
17840
|
+
take?: number
|
|
17841
|
+
skip?: number
|
|
17842
|
+
_count?: AdminProcessCountAggregateInputType | true
|
|
17843
|
+
_avg?: AdminProcessAvgAggregateInputType
|
|
17844
|
+
_sum?: AdminProcessSumAggregateInputType
|
|
17845
|
+
_min?: AdminProcessMinAggregateInputType
|
|
17846
|
+
_max?: AdminProcessMaxAggregateInputType
|
|
17847
|
+
}
|
|
17848
|
+
|
|
17849
|
+
export type AdminProcessGroupByOutputType = {
|
|
17850
|
+
id: number
|
|
17851
|
+
name: string
|
|
17852
|
+
type: string
|
|
17853
|
+
state: $Enums.AdminProcessState
|
|
17854
|
+
context: JsonValue
|
|
17855
|
+
results: JsonValue
|
|
17856
|
+
parentProcessId: number | null
|
|
17857
|
+
createdAt: Date
|
|
17858
|
+
updatedAt: Date
|
|
17859
|
+
_count: AdminProcessCountAggregateOutputType | null
|
|
17860
|
+
_avg: AdminProcessAvgAggregateOutputType | null
|
|
17861
|
+
_sum: AdminProcessSumAggregateOutputType | null
|
|
17862
|
+
_min: AdminProcessMinAggregateOutputType | null
|
|
17863
|
+
_max: AdminProcessMaxAggregateOutputType | null
|
|
17864
|
+
}
|
|
17865
|
+
|
|
17866
|
+
type GetAdminProcessGroupByPayload<T extends AdminProcessGroupByArgs> = Prisma.PrismaPromise<
|
|
17867
|
+
Array<
|
|
17868
|
+
PickEnumerable<AdminProcessGroupByOutputType, T['by']> &
|
|
17869
|
+
{
|
|
17870
|
+
[P in ((keyof T) & (keyof AdminProcessGroupByOutputType))]: P extends '_count'
|
|
17871
|
+
? T[P] extends boolean
|
|
17872
|
+
? number
|
|
17873
|
+
: GetScalarType<T[P], AdminProcessGroupByOutputType[P]>
|
|
17874
|
+
: GetScalarType<T[P], AdminProcessGroupByOutputType[P]>
|
|
17875
|
+
}
|
|
17876
|
+
>
|
|
17877
|
+
>
|
|
17878
|
+
|
|
17879
|
+
|
|
17880
|
+
export type AdminProcessSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17881
|
+
id?: boolean
|
|
17882
|
+
name?: boolean
|
|
17883
|
+
type?: boolean
|
|
17884
|
+
state?: boolean
|
|
17885
|
+
context?: boolean
|
|
17886
|
+
results?: boolean
|
|
17887
|
+
parentProcessId?: boolean
|
|
17888
|
+
createdAt?: boolean
|
|
17889
|
+
updatedAt?: boolean
|
|
17890
|
+
parentProcess?: boolean | AdminProcess$parentProcessArgs<ExtArgs>
|
|
17891
|
+
childProcesses?: boolean | AdminProcess$childProcessesArgs<ExtArgs>
|
|
17892
|
+
_count?: boolean | AdminProcessCountOutputTypeDefaultArgs<ExtArgs>
|
|
17893
|
+
}, ExtArgs["result"]["adminProcess"]>
|
|
17894
|
+
|
|
17895
|
+
export type AdminProcessSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17896
|
+
id?: boolean
|
|
17897
|
+
name?: boolean
|
|
17898
|
+
type?: boolean
|
|
17899
|
+
state?: boolean
|
|
17900
|
+
context?: boolean
|
|
17901
|
+
results?: boolean
|
|
17902
|
+
parentProcessId?: boolean
|
|
17903
|
+
createdAt?: boolean
|
|
17904
|
+
updatedAt?: boolean
|
|
17905
|
+
parentProcess?: boolean | AdminProcess$parentProcessArgs<ExtArgs>
|
|
17906
|
+
}, ExtArgs["result"]["adminProcess"]>
|
|
17907
|
+
|
|
17908
|
+
export type AdminProcessSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17909
|
+
id?: boolean
|
|
17910
|
+
name?: boolean
|
|
17911
|
+
type?: boolean
|
|
17912
|
+
state?: boolean
|
|
17913
|
+
context?: boolean
|
|
17914
|
+
results?: boolean
|
|
17915
|
+
parentProcessId?: boolean
|
|
17916
|
+
createdAt?: boolean
|
|
17917
|
+
updatedAt?: boolean
|
|
17918
|
+
parentProcess?: boolean | AdminProcess$parentProcessArgs<ExtArgs>
|
|
17919
|
+
}, ExtArgs["result"]["adminProcess"]>
|
|
17920
|
+
|
|
17921
|
+
export type AdminProcessSelectScalar = {
|
|
17922
|
+
id?: boolean
|
|
17923
|
+
name?: boolean
|
|
17924
|
+
type?: boolean
|
|
17925
|
+
state?: boolean
|
|
17926
|
+
context?: boolean
|
|
17927
|
+
results?: boolean
|
|
17928
|
+
parentProcessId?: boolean
|
|
17929
|
+
createdAt?: boolean
|
|
17930
|
+
updatedAt?: boolean
|
|
17931
|
+
}
|
|
17932
|
+
|
|
17933
|
+
export type AdminProcessOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "type" | "state" | "context" | "results" | "parentProcessId" | "createdAt" | "updatedAt", ExtArgs["result"]["adminProcess"]>
|
|
17934
|
+
export type AdminProcessInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17935
|
+
parentProcess?: boolean | AdminProcess$parentProcessArgs<ExtArgs>
|
|
17936
|
+
childProcesses?: boolean | AdminProcess$childProcessesArgs<ExtArgs>
|
|
17937
|
+
_count?: boolean | AdminProcessCountOutputTypeDefaultArgs<ExtArgs>
|
|
17938
|
+
}
|
|
17939
|
+
export type AdminProcessIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17940
|
+
parentProcess?: boolean | AdminProcess$parentProcessArgs<ExtArgs>
|
|
17941
|
+
}
|
|
17942
|
+
export type AdminProcessIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17943
|
+
parentProcess?: boolean | AdminProcess$parentProcessArgs<ExtArgs>
|
|
17944
|
+
}
|
|
17945
|
+
|
|
17946
|
+
export type $AdminProcessPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17947
|
+
name: "AdminProcess"
|
|
17948
|
+
objects: {
|
|
17949
|
+
parentProcess: Prisma.$AdminProcessPayload<ExtArgs> | null
|
|
17950
|
+
childProcesses: Prisma.$AdminProcessPayload<ExtArgs>[]
|
|
17951
|
+
}
|
|
17952
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
17953
|
+
id: number
|
|
17954
|
+
name: string
|
|
17955
|
+
type: string
|
|
17956
|
+
state: $Enums.AdminProcessState
|
|
17957
|
+
context: Prisma.JsonValue
|
|
17958
|
+
results: Prisma.JsonValue
|
|
17959
|
+
parentProcessId: number | null
|
|
17960
|
+
createdAt: Date
|
|
17961
|
+
updatedAt: Date
|
|
17962
|
+
}, ExtArgs["result"]["adminProcess"]>
|
|
17963
|
+
composites: {}
|
|
17964
|
+
}
|
|
17965
|
+
|
|
17966
|
+
type AdminProcessGetPayload<S extends boolean | null | undefined | AdminProcessDefaultArgs> = $Result.GetResult<Prisma.$AdminProcessPayload, S>
|
|
17967
|
+
|
|
17968
|
+
type AdminProcessCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
17969
|
+
Omit<AdminProcessFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
17970
|
+
select?: AdminProcessCountAggregateInputType | true
|
|
17971
|
+
}
|
|
17972
|
+
|
|
17973
|
+
export interface AdminProcessDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
17974
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminProcess'], meta: { name: 'AdminProcess' } }
|
|
17975
|
+
/**
|
|
17976
|
+
* Find zero or one AdminProcess that matches the filter.
|
|
17977
|
+
* @param {AdminProcessFindUniqueArgs} args - Arguments to find a AdminProcess
|
|
17978
|
+
* @example
|
|
17979
|
+
* // Get one AdminProcess
|
|
17980
|
+
* const adminProcess = await prisma.adminProcess.findUnique({
|
|
17981
|
+
* where: {
|
|
17982
|
+
* // ... provide filter here
|
|
17983
|
+
* }
|
|
17984
|
+
* })
|
|
17985
|
+
*/
|
|
17986
|
+
findUnique<T extends AdminProcessFindUniqueArgs>(args: SelectSubset<T, AdminProcessFindUniqueArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
17987
|
+
|
|
17988
|
+
/**
|
|
17989
|
+
* Find one AdminProcess that matches the filter or throw an error with `error.code='P2025'`
|
|
17990
|
+
* if no matches were found.
|
|
17991
|
+
* @param {AdminProcessFindUniqueOrThrowArgs} args - Arguments to find a AdminProcess
|
|
17992
|
+
* @example
|
|
17993
|
+
* // Get one AdminProcess
|
|
17994
|
+
* const adminProcess = await prisma.adminProcess.findUniqueOrThrow({
|
|
17995
|
+
* where: {
|
|
17996
|
+
* // ... provide filter here
|
|
17997
|
+
* }
|
|
17998
|
+
* })
|
|
17999
|
+
*/
|
|
18000
|
+
findUniqueOrThrow<T extends AdminProcessFindUniqueOrThrowArgs>(args: SelectSubset<T, AdminProcessFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
18001
|
+
|
|
18002
|
+
/**
|
|
18003
|
+
* Find the first AdminProcess that matches the filter.
|
|
18004
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18005
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18006
|
+
* @param {AdminProcessFindFirstArgs} args - Arguments to find a AdminProcess
|
|
18007
|
+
* @example
|
|
18008
|
+
* // Get one AdminProcess
|
|
18009
|
+
* const adminProcess = await prisma.adminProcess.findFirst({
|
|
18010
|
+
* where: {
|
|
18011
|
+
* // ... provide filter here
|
|
18012
|
+
* }
|
|
18013
|
+
* })
|
|
18014
|
+
*/
|
|
18015
|
+
findFirst<T extends AdminProcessFindFirstArgs>(args?: SelectSubset<T, AdminProcessFindFirstArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
18016
|
+
|
|
18017
|
+
/**
|
|
18018
|
+
* Find the first AdminProcess that matches the filter or
|
|
18019
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
18020
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18021
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18022
|
+
* @param {AdminProcessFindFirstOrThrowArgs} args - Arguments to find a AdminProcess
|
|
18023
|
+
* @example
|
|
18024
|
+
* // Get one AdminProcess
|
|
18025
|
+
* const adminProcess = await prisma.adminProcess.findFirstOrThrow({
|
|
18026
|
+
* where: {
|
|
18027
|
+
* // ... provide filter here
|
|
18028
|
+
* }
|
|
18029
|
+
* })
|
|
18030
|
+
*/
|
|
18031
|
+
findFirstOrThrow<T extends AdminProcessFindFirstOrThrowArgs>(args?: SelectSubset<T, AdminProcessFindFirstOrThrowArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
18032
|
+
|
|
18033
|
+
/**
|
|
18034
|
+
* Find zero or more AdminProcesses that matches the filter.
|
|
18035
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18036
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18037
|
+
* @param {AdminProcessFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
18038
|
+
* @example
|
|
18039
|
+
* // Get all AdminProcesses
|
|
18040
|
+
* const adminProcesses = await prisma.adminProcess.findMany()
|
|
18041
|
+
*
|
|
18042
|
+
* // Get first 10 AdminProcesses
|
|
18043
|
+
* const adminProcesses = await prisma.adminProcess.findMany({ take: 10 })
|
|
18044
|
+
*
|
|
18045
|
+
* // Only select the `id`
|
|
18046
|
+
* const adminProcessWithIdOnly = await prisma.adminProcess.findMany({ select: { id: true } })
|
|
18047
|
+
*
|
|
18048
|
+
*/
|
|
18049
|
+
findMany<T extends AdminProcessFindManyArgs>(args?: SelectSubset<T, AdminProcessFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
18050
|
+
|
|
18051
|
+
/**
|
|
18052
|
+
* Create a AdminProcess.
|
|
18053
|
+
* @param {AdminProcessCreateArgs} args - Arguments to create a AdminProcess.
|
|
18054
|
+
* @example
|
|
18055
|
+
* // Create one AdminProcess
|
|
18056
|
+
* const AdminProcess = await prisma.adminProcess.create({
|
|
18057
|
+
* data: {
|
|
18058
|
+
* // ... data to create a AdminProcess
|
|
18059
|
+
* }
|
|
18060
|
+
* })
|
|
18061
|
+
*
|
|
18062
|
+
*/
|
|
18063
|
+
create<T extends AdminProcessCreateArgs>(args: SelectSubset<T, AdminProcessCreateArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
18064
|
+
|
|
18065
|
+
/**
|
|
18066
|
+
* Create many AdminProcesses.
|
|
18067
|
+
* @param {AdminProcessCreateManyArgs} args - Arguments to create many AdminProcesses.
|
|
18068
|
+
* @example
|
|
18069
|
+
* // Create many AdminProcesses
|
|
18070
|
+
* const adminProcess = await prisma.adminProcess.createMany({
|
|
18071
|
+
* data: [
|
|
18072
|
+
* // ... provide data here
|
|
18073
|
+
* ]
|
|
18074
|
+
* })
|
|
18075
|
+
*
|
|
18076
|
+
*/
|
|
18077
|
+
createMany<T extends AdminProcessCreateManyArgs>(args?: SelectSubset<T, AdminProcessCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
18078
|
+
|
|
18079
|
+
/**
|
|
18080
|
+
* Create many AdminProcesses and returns the data saved in the database.
|
|
18081
|
+
* @param {AdminProcessCreateManyAndReturnArgs} args - Arguments to create many AdminProcesses.
|
|
18082
|
+
* @example
|
|
18083
|
+
* // Create many AdminProcesses
|
|
18084
|
+
* const adminProcess = await prisma.adminProcess.createManyAndReturn({
|
|
18085
|
+
* data: [
|
|
18086
|
+
* // ... provide data here
|
|
18087
|
+
* ]
|
|
18088
|
+
* })
|
|
18089
|
+
*
|
|
18090
|
+
* // Create many AdminProcesses and only return the `id`
|
|
18091
|
+
* const adminProcessWithIdOnly = await prisma.adminProcess.createManyAndReturn({
|
|
18092
|
+
* select: { id: true },
|
|
18093
|
+
* data: [
|
|
18094
|
+
* // ... provide data here
|
|
18095
|
+
* ]
|
|
18096
|
+
* })
|
|
18097
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18098
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18099
|
+
*
|
|
18100
|
+
*/
|
|
18101
|
+
createManyAndReturn<T extends AdminProcessCreateManyAndReturnArgs>(args?: SelectSubset<T, AdminProcessCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
18102
|
+
|
|
18103
|
+
/**
|
|
18104
|
+
* Delete a AdminProcess.
|
|
18105
|
+
* @param {AdminProcessDeleteArgs} args - Arguments to delete one AdminProcess.
|
|
18106
|
+
* @example
|
|
18107
|
+
* // Delete one AdminProcess
|
|
18108
|
+
* const AdminProcess = await prisma.adminProcess.delete({
|
|
18109
|
+
* where: {
|
|
18110
|
+
* // ... filter to delete one AdminProcess
|
|
18111
|
+
* }
|
|
18112
|
+
* })
|
|
18113
|
+
*
|
|
18114
|
+
*/
|
|
18115
|
+
delete<T extends AdminProcessDeleteArgs>(args: SelectSubset<T, AdminProcessDeleteArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
18116
|
+
|
|
18117
|
+
/**
|
|
18118
|
+
* Update one AdminProcess.
|
|
18119
|
+
* @param {AdminProcessUpdateArgs} args - Arguments to update one AdminProcess.
|
|
18120
|
+
* @example
|
|
18121
|
+
* // Update one AdminProcess
|
|
18122
|
+
* const adminProcess = await prisma.adminProcess.update({
|
|
18123
|
+
* where: {
|
|
18124
|
+
* // ... provide filter here
|
|
18125
|
+
* },
|
|
18126
|
+
* data: {
|
|
18127
|
+
* // ... provide data here
|
|
18128
|
+
* }
|
|
18129
|
+
* })
|
|
18130
|
+
*
|
|
18131
|
+
*/
|
|
18132
|
+
update<T extends AdminProcessUpdateArgs>(args: SelectSubset<T, AdminProcessUpdateArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
18133
|
+
|
|
18134
|
+
/**
|
|
18135
|
+
* Delete zero or more AdminProcesses.
|
|
18136
|
+
* @param {AdminProcessDeleteManyArgs} args - Arguments to filter AdminProcesses to delete.
|
|
18137
|
+
* @example
|
|
18138
|
+
* // Delete a few AdminProcesses
|
|
18139
|
+
* const { count } = await prisma.adminProcess.deleteMany({
|
|
18140
|
+
* where: {
|
|
18141
|
+
* // ... provide filter here
|
|
18142
|
+
* }
|
|
18143
|
+
* })
|
|
18144
|
+
*
|
|
18145
|
+
*/
|
|
18146
|
+
deleteMany<T extends AdminProcessDeleteManyArgs>(args?: SelectSubset<T, AdminProcessDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
18147
|
+
|
|
18148
|
+
/**
|
|
18149
|
+
* Update zero or more AdminProcesses.
|
|
18150
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18151
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18152
|
+
* @param {AdminProcessUpdateManyArgs} args - Arguments to update one or more rows.
|
|
18153
|
+
* @example
|
|
18154
|
+
* // Update many AdminProcesses
|
|
18155
|
+
* const adminProcess = await prisma.adminProcess.updateMany({
|
|
18156
|
+
* where: {
|
|
18157
|
+
* // ... provide filter here
|
|
18158
|
+
* },
|
|
18159
|
+
* data: {
|
|
18160
|
+
* // ... provide data here
|
|
18161
|
+
* }
|
|
18162
|
+
* })
|
|
18163
|
+
*
|
|
18164
|
+
*/
|
|
18165
|
+
updateMany<T extends AdminProcessUpdateManyArgs>(args: SelectSubset<T, AdminProcessUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
18166
|
+
|
|
18167
|
+
/**
|
|
18168
|
+
* Update zero or more AdminProcesses and returns the data updated in the database.
|
|
18169
|
+
* @param {AdminProcessUpdateManyAndReturnArgs} args - Arguments to update many AdminProcesses.
|
|
18170
|
+
* @example
|
|
18171
|
+
* // Update many AdminProcesses
|
|
18172
|
+
* const adminProcess = await prisma.adminProcess.updateManyAndReturn({
|
|
18173
|
+
* where: {
|
|
18174
|
+
* // ... provide filter here
|
|
18175
|
+
* },
|
|
18176
|
+
* data: [
|
|
18177
|
+
* // ... provide data here
|
|
18178
|
+
* ]
|
|
18179
|
+
* })
|
|
18180
|
+
*
|
|
18181
|
+
* // Update zero or more AdminProcesses and only return the `id`
|
|
18182
|
+
* const adminProcessWithIdOnly = await prisma.adminProcess.updateManyAndReturn({
|
|
18183
|
+
* select: { id: true },
|
|
18184
|
+
* where: {
|
|
18185
|
+
* // ... provide filter here
|
|
18186
|
+
* },
|
|
18187
|
+
* data: [
|
|
18188
|
+
* // ... provide data here
|
|
18189
|
+
* ]
|
|
18190
|
+
* })
|
|
18191
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18192
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18193
|
+
*
|
|
18194
|
+
*/
|
|
18195
|
+
updateManyAndReturn<T extends AdminProcessUpdateManyAndReturnArgs>(args: SelectSubset<T, AdminProcessUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
18196
|
+
|
|
18197
|
+
/**
|
|
18198
|
+
* Create or update one AdminProcess.
|
|
18199
|
+
* @param {AdminProcessUpsertArgs} args - Arguments to update or create a AdminProcess.
|
|
18200
|
+
* @example
|
|
18201
|
+
* // Update or create a AdminProcess
|
|
18202
|
+
* const adminProcess = await prisma.adminProcess.upsert({
|
|
18203
|
+
* create: {
|
|
18204
|
+
* // ... data to create a AdminProcess
|
|
18205
|
+
* },
|
|
18206
|
+
* update: {
|
|
18207
|
+
* // ... in case it already exists, update
|
|
18208
|
+
* },
|
|
18209
|
+
* where: {
|
|
18210
|
+
* // ... the filter for the AdminProcess we want to update
|
|
18211
|
+
* }
|
|
18212
|
+
* })
|
|
18213
|
+
*/
|
|
18214
|
+
upsert<T extends AdminProcessUpsertArgs>(args: SelectSubset<T, AdminProcessUpsertArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
18215
|
+
|
|
18216
|
+
|
|
18217
|
+
/**
|
|
18218
|
+
* Count the number of AdminProcesses.
|
|
18219
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18220
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18221
|
+
* @param {AdminProcessCountArgs} args - Arguments to filter AdminProcesses to count.
|
|
18222
|
+
* @example
|
|
18223
|
+
* // Count the number of AdminProcesses
|
|
18224
|
+
* const count = await prisma.adminProcess.count({
|
|
18225
|
+
* where: {
|
|
18226
|
+
* // ... the filter for the AdminProcesses we want to count
|
|
18227
|
+
* }
|
|
18228
|
+
* })
|
|
18229
|
+
**/
|
|
18230
|
+
count<T extends AdminProcessCountArgs>(
|
|
18231
|
+
args?: Subset<T, AdminProcessCountArgs>,
|
|
18232
|
+
): Prisma.PrismaPromise<
|
|
18233
|
+
T extends $Utils.Record<'select', any>
|
|
18234
|
+
? T['select'] extends true
|
|
18235
|
+
? number
|
|
18236
|
+
: GetScalarType<T['select'], AdminProcessCountAggregateOutputType>
|
|
18237
|
+
: number
|
|
18238
|
+
>
|
|
18239
|
+
|
|
18240
|
+
/**
|
|
18241
|
+
* Allows you to perform aggregations operations on a AdminProcess.
|
|
18242
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18243
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18244
|
+
* @param {AdminProcessAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
18245
|
+
* @example
|
|
18246
|
+
* // Ordered by age ascending
|
|
18247
|
+
* // Where email contains prisma.io
|
|
18248
|
+
* // Limited to the 10 users
|
|
18249
|
+
* const aggregations = await prisma.user.aggregate({
|
|
18250
|
+
* _avg: {
|
|
18251
|
+
* age: true,
|
|
18252
|
+
* },
|
|
18253
|
+
* where: {
|
|
18254
|
+
* email: {
|
|
18255
|
+
* contains: "prisma.io",
|
|
18256
|
+
* },
|
|
18257
|
+
* },
|
|
18258
|
+
* orderBy: {
|
|
18259
|
+
* age: "asc",
|
|
18260
|
+
* },
|
|
18261
|
+
* take: 10,
|
|
18262
|
+
* })
|
|
18263
|
+
**/
|
|
18264
|
+
aggregate<T extends AdminProcessAggregateArgs>(args: Subset<T, AdminProcessAggregateArgs>): Prisma.PrismaPromise<GetAdminProcessAggregateType<T>>
|
|
18265
|
+
|
|
18266
|
+
/**
|
|
18267
|
+
* Group by AdminProcess.
|
|
18268
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
18269
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
18270
|
+
* @param {AdminProcessGroupByArgs} args - Group by arguments.
|
|
18271
|
+
* @example
|
|
18272
|
+
* // Group by city, order by createdAt, get count
|
|
18273
|
+
* const result = await prisma.user.groupBy({
|
|
18274
|
+
* by: ['city', 'createdAt'],
|
|
18275
|
+
* orderBy: {
|
|
18276
|
+
* createdAt: true
|
|
18277
|
+
* },
|
|
18278
|
+
* _count: {
|
|
18279
|
+
* _all: true
|
|
18280
|
+
* },
|
|
18281
|
+
* })
|
|
18282
|
+
*
|
|
18283
|
+
**/
|
|
18284
|
+
groupBy<
|
|
18285
|
+
T extends AdminProcessGroupByArgs,
|
|
18286
|
+
HasSelectOrTake extends Or<
|
|
18287
|
+
Extends<'skip', Keys<T>>,
|
|
18288
|
+
Extends<'take', Keys<T>>
|
|
18289
|
+
>,
|
|
18290
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
18291
|
+
? { orderBy: AdminProcessGroupByArgs['orderBy'] }
|
|
18292
|
+
: { orderBy?: AdminProcessGroupByArgs['orderBy'] },
|
|
18293
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
18294
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
18295
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
18296
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
18297
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
18298
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
18299
|
+
InputErrors extends ByEmpty extends True
|
|
18300
|
+
? `Error: "by" must not be empty.`
|
|
18301
|
+
: HavingValid extends False
|
|
18302
|
+
? {
|
|
18303
|
+
[P in HavingFields]: P extends ByFields
|
|
18304
|
+
? never
|
|
18305
|
+
: P extends string
|
|
18306
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
18307
|
+
: [
|
|
18308
|
+
Error,
|
|
18309
|
+
'Field ',
|
|
18310
|
+
P,
|
|
18311
|
+
` in "having" needs to be provided in "by"`,
|
|
18312
|
+
]
|
|
18313
|
+
}[HavingFields]
|
|
18314
|
+
: 'take' extends Keys<T>
|
|
18315
|
+
? 'orderBy' extends Keys<T>
|
|
18316
|
+
? ByValid extends True
|
|
18317
|
+
? {}
|
|
18318
|
+
: {
|
|
18319
|
+
[P in OrderFields]: P extends ByFields
|
|
18320
|
+
? never
|
|
18321
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
18322
|
+
}[OrderFields]
|
|
18323
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
18324
|
+
: 'skip' extends Keys<T>
|
|
18325
|
+
? 'orderBy' extends Keys<T>
|
|
18326
|
+
? ByValid extends True
|
|
18327
|
+
? {}
|
|
18328
|
+
: {
|
|
18329
|
+
[P in OrderFields]: P extends ByFields
|
|
18330
|
+
? never
|
|
18331
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
18332
|
+
}[OrderFields]
|
|
18333
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
18334
|
+
: ByValid extends True
|
|
18335
|
+
? {}
|
|
18336
|
+
: {
|
|
18337
|
+
[P in OrderFields]: P extends ByFields
|
|
18338
|
+
? never
|
|
18339
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
18340
|
+
}[OrderFields]
|
|
18341
|
+
>(args: SubsetIntersection<T, AdminProcessGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminProcessGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
18342
|
+
/**
|
|
18343
|
+
* Fields of the AdminProcess model
|
|
18344
|
+
*/
|
|
18345
|
+
readonly fields: AdminProcessFieldRefs;
|
|
18346
|
+
}
|
|
18347
|
+
|
|
18348
|
+
/**
|
|
18349
|
+
* The delegate class that acts as a "Promise-like" for AdminProcess.
|
|
18350
|
+
* Why is this prefixed with `Prisma__`?
|
|
18351
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
18352
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
18353
|
+
*/
|
|
18354
|
+
export interface Prisma__AdminProcessClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
18355
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
18356
|
+
parentProcess<T extends AdminProcess$parentProcessArgs<ExtArgs> = {}>(args?: Subset<T, AdminProcess$parentProcessArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
18357
|
+
childProcesses<T extends AdminProcess$childProcessesArgs<ExtArgs> = {}>(args?: Subset<T, AdminProcess$childProcessesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
18358
|
+
/**
|
|
18359
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
18360
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
18361
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
18362
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
18363
|
+
*/
|
|
18364
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
18365
|
+
/**
|
|
18366
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
18367
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
18368
|
+
* @returns A Promise for the completion of the callback.
|
|
18369
|
+
*/
|
|
18370
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
18371
|
+
/**
|
|
18372
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
18373
|
+
* resolved value cannot be modified from the callback.
|
|
18374
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
18375
|
+
* @returns A Promise for the completion of the callback.
|
|
18376
|
+
*/
|
|
18377
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
18378
|
+
}
|
|
18379
|
+
|
|
18380
|
+
|
|
18381
|
+
|
|
18382
|
+
|
|
18383
|
+
/**
|
|
18384
|
+
* Fields of the AdminProcess model
|
|
18385
|
+
*/
|
|
18386
|
+
interface AdminProcessFieldRefs {
|
|
18387
|
+
readonly id: FieldRef<"AdminProcess", 'Int'>
|
|
18388
|
+
readonly name: FieldRef<"AdminProcess", 'String'>
|
|
18389
|
+
readonly type: FieldRef<"AdminProcess", 'String'>
|
|
18390
|
+
readonly state: FieldRef<"AdminProcess", 'AdminProcessState'>
|
|
18391
|
+
readonly context: FieldRef<"AdminProcess", 'Json'>
|
|
18392
|
+
readonly results: FieldRef<"AdminProcess", 'Json'>
|
|
18393
|
+
readonly parentProcessId: FieldRef<"AdminProcess", 'Int'>
|
|
18394
|
+
readonly createdAt: FieldRef<"AdminProcess", 'DateTime'>
|
|
18395
|
+
readonly updatedAt: FieldRef<"AdminProcess", 'DateTime'>
|
|
18396
|
+
}
|
|
18397
|
+
|
|
18398
|
+
|
|
18399
|
+
// Custom InputTypes
|
|
18400
|
+
/**
|
|
18401
|
+
* AdminProcess findUnique
|
|
18402
|
+
*/
|
|
18403
|
+
export type AdminProcessFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18404
|
+
/**
|
|
18405
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18406
|
+
*/
|
|
18407
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18408
|
+
/**
|
|
18409
|
+
* Omit specific fields from the AdminProcess
|
|
18410
|
+
*/
|
|
18411
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18412
|
+
/**
|
|
18413
|
+
* Choose, which related nodes to fetch as well
|
|
18414
|
+
*/
|
|
18415
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18416
|
+
/**
|
|
18417
|
+
* Filter, which AdminProcess to fetch.
|
|
18418
|
+
*/
|
|
18419
|
+
where: AdminProcessWhereUniqueInput
|
|
18420
|
+
}
|
|
18421
|
+
|
|
18422
|
+
/**
|
|
18423
|
+
* AdminProcess findUniqueOrThrow
|
|
18424
|
+
*/
|
|
18425
|
+
export type AdminProcessFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18426
|
+
/**
|
|
18427
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18428
|
+
*/
|
|
18429
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18430
|
+
/**
|
|
18431
|
+
* Omit specific fields from the AdminProcess
|
|
18432
|
+
*/
|
|
18433
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18434
|
+
/**
|
|
18435
|
+
* Choose, which related nodes to fetch as well
|
|
18436
|
+
*/
|
|
18437
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18438
|
+
/**
|
|
18439
|
+
* Filter, which AdminProcess to fetch.
|
|
18440
|
+
*/
|
|
18441
|
+
where: AdminProcessWhereUniqueInput
|
|
18442
|
+
}
|
|
18443
|
+
|
|
18444
|
+
/**
|
|
18445
|
+
* AdminProcess findFirst
|
|
18446
|
+
*/
|
|
18447
|
+
export type AdminProcessFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18448
|
+
/**
|
|
18449
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18450
|
+
*/
|
|
18451
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18452
|
+
/**
|
|
18453
|
+
* Omit specific fields from the AdminProcess
|
|
18454
|
+
*/
|
|
18455
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18456
|
+
/**
|
|
18457
|
+
* Choose, which related nodes to fetch as well
|
|
18458
|
+
*/
|
|
18459
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18460
|
+
/**
|
|
18461
|
+
* Filter, which AdminProcess to fetch.
|
|
18462
|
+
*/
|
|
18463
|
+
where?: AdminProcessWhereInput
|
|
18464
|
+
/**
|
|
18465
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
18466
|
+
*
|
|
18467
|
+
* Determine the order of AdminProcesses to fetch.
|
|
18468
|
+
*/
|
|
18469
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
18470
|
+
/**
|
|
18471
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
18472
|
+
*
|
|
18473
|
+
* Sets the position for searching for AdminProcesses.
|
|
18474
|
+
*/
|
|
18475
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
18476
|
+
/**
|
|
18477
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18478
|
+
*
|
|
18479
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
18480
|
+
*/
|
|
18481
|
+
take?: number
|
|
18482
|
+
/**
|
|
18483
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18484
|
+
*
|
|
18485
|
+
* Skip the first `n` AdminProcesses.
|
|
18486
|
+
*/
|
|
18487
|
+
skip?: number
|
|
18488
|
+
/**
|
|
18489
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
18490
|
+
*
|
|
18491
|
+
* Filter by unique combinations of AdminProcesses.
|
|
18492
|
+
*/
|
|
18493
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
18494
|
+
}
|
|
18495
|
+
|
|
18496
|
+
/**
|
|
18497
|
+
* AdminProcess findFirstOrThrow
|
|
18498
|
+
*/
|
|
18499
|
+
export type AdminProcessFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18500
|
+
/**
|
|
18501
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18502
|
+
*/
|
|
18503
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18504
|
+
/**
|
|
18505
|
+
* Omit specific fields from the AdminProcess
|
|
18506
|
+
*/
|
|
18507
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18508
|
+
/**
|
|
18509
|
+
* Choose, which related nodes to fetch as well
|
|
18510
|
+
*/
|
|
18511
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18512
|
+
/**
|
|
18513
|
+
* Filter, which AdminProcess to fetch.
|
|
18514
|
+
*/
|
|
18515
|
+
where?: AdminProcessWhereInput
|
|
18516
|
+
/**
|
|
18517
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
18518
|
+
*
|
|
18519
|
+
* Determine the order of AdminProcesses to fetch.
|
|
18520
|
+
*/
|
|
18521
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
18522
|
+
/**
|
|
18523
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
18524
|
+
*
|
|
18525
|
+
* Sets the position for searching for AdminProcesses.
|
|
18526
|
+
*/
|
|
18527
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
18528
|
+
/**
|
|
18529
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18530
|
+
*
|
|
18531
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
18532
|
+
*/
|
|
18533
|
+
take?: number
|
|
18534
|
+
/**
|
|
18535
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18536
|
+
*
|
|
18537
|
+
* Skip the first `n` AdminProcesses.
|
|
18538
|
+
*/
|
|
18539
|
+
skip?: number
|
|
18540
|
+
/**
|
|
18541
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
18542
|
+
*
|
|
18543
|
+
* Filter by unique combinations of AdminProcesses.
|
|
18544
|
+
*/
|
|
18545
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
18546
|
+
}
|
|
18547
|
+
|
|
18548
|
+
/**
|
|
18549
|
+
* AdminProcess findMany
|
|
18550
|
+
*/
|
|
18551
|
+
export type AdminProcessFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18552
|
+
/**
|
|
18553
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18554
|
+
*/
|
|
18555
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18556
|
+
/**
|
|
18557
|
+
* Omit specific fields from the AdminProcess
|
|
18558
|
+
*/
|
|
18559
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18560
|
+
/**
|
|
18561
|
+
* Choose, which related nodes to fetch as well
|
|
18562
|
+
*/
|
|
18563
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18564
|
+
/**
|
|
18565
|
+
* Filter, which AdminProcesses to fetch.
|
|
18566
|
+
*/
|
|
18567
|
+
where?: AdminProcessWhereInput
|
|
18568
|
+
/**
|
|
18569
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
18570
|
+
*
|
|
18571
|
+
* Determine the order of AdminProcesses to fetch.
|
|
18572
|
+
*/
|
|
18573
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
18574
|
+
/**
|
|
18575
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
18576
|
+
*
|
|
18577
|
+
* Sets the position for listing AdminProcesses.
|
|
18578
|
+
*/
|
|
18579
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
18580
|
+
/**
|
|
18581
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18582
|
+
*
|
|
18583
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
18584
|
+
*/
|
|
18585
|
+
take?: number
|
|
18586
|
+
/**
|
|
18587
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18588
|
+
*
|
|
18589
|
+
* Skip the first `n` AdminProcesses.
|
|
18590
|
+
*/
|
|
18591
|
+
skip?: number
|
|
18592
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
18593
|
+
}
|
|
18594
|
+
|
|
18595
|
+
/**
|
|
18596
|
+
* AdminProcess create
|
|
18597
|
+
*/
|
|
18598
|
+
export type AdminProcessCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18599
|
+
/**
|
|
18600
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18601
|
+
*/
|
|
18602
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18603
|
+
/**
|
|
18604
|
+
* Omit specific fields from the AdminProcess
|
|
18605
|
+
*/
|
|
18606
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18607
|
+
/**
|
|
18608
|
+
* Choose, which related nodes to fetch as well
|
|
18609
|
+
*/
|
|
18610
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18611
|
+
/**
|
|
18612
|
+
* The data needed to create a AdminProcess.
|
|
18613
|
+
*/
|
|
18614
|
+
data: XOR<AdminProcessCreateInput, AdminProcessUncheckedCreateInput>
|
|
18615
|
+
}
|
|
18616
|
+
|
|
18617
|
+
/**
|
|
18618
|
+
* AdminProcess createMany
|
|
18619
|
+
*/
|
|
18620
|
+
export type AdminProcessCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18621
|
+
/**
|
|
18622
|
+
* The data used to create many AdminProcesses.
|
|
18623
|
+
*/
|
|
18624
|
+
data: AdminProcessCreateManyInput | AdminProcessCreateManyInput[]
|
|
18625
|
+
skipDuplicates?: boolean
|
|
18626
|
+
}
|
|
18627
|
+
|
|
18628
|
+
/**
|
|
18629
|
+
* AdminProcess createManyAndReturn
|
|
18630
|
+
*/
|
|
18631
|
+
export type AdminProcessCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18632
|
+
/**
|
|
18633
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18634
|
+
*/
|
|
18635
|
+
select?: AdminProcessSelectCreateManyAndReturn<ExtArgs> | null
|
|
18636
|
+
/**
|
|
18637
|
+
* Omit specific fields from the AdminProcess
|
|
18638
|
+
*/
|
|
18639
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18640
|
+
/**
|
|
18641
|
+
* The data used to create many AdminProcesses.
|
|
18642
|
+
*/
|
|
18643
|
+
data: AdminProcessCreateManyInput | AdminProcessCreateManyInput[]
|
|
18644
|
+
skipDuplicates?: boolean
|
|
18645
|
+
/**
|
|
18646
|
+
* Choose, which related nodes to fetch as well
|
|
18647
|
+
*/
|
|
18648
|
+
include?: AdminProcessIncludeCreateManyAndReturn<ExtArgs> | null
|
|
18649
|
+
}
|
|
18650
|
+
|
|
18651
|
+
/**
|
|
18652
|
+
* AdminProcess update
|
|
18653
|
+
*/
|
|
18654
|
+
export type AdminProcessUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18655
|
+
/**
|
|
18656
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18657
|
+
*/
|
|
18658
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18659
|
+
/**
|
|
18660
|
+
* Omit specific fields from the AdminProcess
|
|
18661
|
+
*/
|
|
18662
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18663
|
+
/**
|
|
18664
|
+
* Choose, which related nodes to fetch as well
|
|
18665
|
+
*/
|
|
18666
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18667
|
+
/**
|
|
18668
|
+
* The data needed to update a AdminProcess.
|
|
18669
|
+
*/
|
|
18670
|
+
data: XOR<AdminProcessUpdateInput, AdminProcessUncheckedUpdateInput>
|
|
18671
|
+
/**
|
|
18672
|
+
* Choose, which AdminProcess to update.
|
|
18673
|
+
*/
|
|
18674
|
+
where: AdminProcessWhereUniqueInput
|
|
18675
|
+
}
|
|
18676
|
+
|
|
18677
|
+
/**
|
|
18678
|
+
* AdminProcess updateMany
|
|
18679
|
+
*/
|
|
18680
|
+
export type AdminProcessUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18681
|
+
/**
|
|
18682
|
+
* The data used to update AdminProcesses.
|
|
18683
|
+
*/
|
|
18684
|
+
data: XOR<AdminProcessUpdateManyMutationInput, AdminProcessUncheckedUpdateManyInput>
|
|
18685
|
+
/**
|
|
18686
|
+
* Filter which AdminProcesses to update
|
|
18687
|
+
*/
|
|
18688
|
+
where?: AdminProcessWhereInput
|
|
18689
|
+
/**
|
|
18690
|
+
* Limit how many AdminProcesses to update.
|
|
18691
|
+
*/
|
|
18692
|
+
limit?: number
|
|
18693
|
+
}
|
|
18694
|
+
|
|
18695
|
+
/**
|
|
18696
|
+
* AdminProcess updateManyAndReturn
|
|
18697
|
+
*/
|
|
18698
|
+
export type AdminProcessUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18699
|
+
/**
|
|
18700
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18701
|
+
*/
|
|
18702
|
+
select?: AdminProcessSelectUpdateManyAndReturn<ExtArgs> | null
|
|
18703
|
+
/**
|
|
18704
|
+
* Omit specific fields from the AdminProcess
|
|
18705
|
+
*/
|
|
18706
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18707
|
+
/**
|
|
18708
|
+
* The data used to update AdminProcesses.
|
|
18709
|
+
*/
|
|
18710
|
+
data: XOR<AdminProcessUpdateManyMutationInput, AdminProcessUncheckedUpdateManyInput>
|
|
18711
|
+
/**
|
|
18712
|
+
* Filter which AdminProcesses to update
|
|
18713
|
+
*/
|
|
18714
|
+
where?: AdminProcessWhereInput
|
|
18715
|
+
/**
|
|
18716
|
+
* Limit how many AdminProcesses to update.
|
|
18717
|
+
*/
|
|
18718
|
+
limit?: number
|
|
18719
|
+
/**
|
|
18720
|
+
* Choose, which related nodes to fetch as well
|
|
18721
|
+
*/
|
|
18722
|
+
include?: AdminProcessIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
18723
|
+
}
|
|
18724
|
+
|
|
18725
|
+
/**
|
|
18726
|
+
* AdminProcess upsert
|
|
18727
|
+
*/
|
|
18728
|
+
export type AdminProcessUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18729
|
+
/**
|
|
18730
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18731
|
+
*/
|
|
18732
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18733
|
+
/**
|
|
18734
|
+
* Omit specific fields from the AdminProcess
|
|
18735
|
+
*/
|
|
18736
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18737
|
+
/**
|
|
18738
|
+
* Choose, which related nodes to fetch as well
|
|
18739
|
+
*/
|
|
18740
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18741
|
+
/**
|
|
18742
|
+
* The filter to search for the AdminProcess to update in case it exists.
|
|
18743
|
+
*/
|
|
18744
|
+
where: AdminProcessWhereUniqueInput
|
|
18745
|
+
/**
|
|
18746
|
+
* In case the AdminProcess found by the `where` argument doesn't exist, create a new AdminProcess with this data.
|
|
18747
|
+
*/
|
|
18748
|
+
create: XOR<AdminProcessCreateInput, AdminProcessUncheckedCreateInput>
|
|
18749
|
+
/**
|
|
18750
|
+
* In case the AdminProcess was found with the provided `where` argument, update it with this data.
|
|
18751
|
+
*/
|
|
18752
|
+
update: XOR<AdminProcessUpdateInput, AdminProcessUncheckedUpdateInput>
|
|
18753
|
+
}
|
|
18754
|
+
|
|
18755
|
+
/**
|
|
18756
|
+
* AdminProcess delete
|
|
18757
|
+
*/
|
|
18758
|
+
export type AdminProcessDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18759
|
+
/**
|
|
18760
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18761
|
+
*/
|
|
18762
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18763
|
+
/**
|
|
18764
|
+
* Omit specific fields from the AdminProcess
|
|
18765
|
+
*/
|
|
18766
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18767
|
+
/**
|
|
18768
|
+
* Choose, which related nodes to fetch as well
|
|
18769
|
+
*/
|
|
18770
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18771
|
+
/**
|
|
18772
|
+
* Filter which AdminProcess to delete.
|
|
18773
|
+
*/
|
|
18774
|
+
where: AdminProcessWhereUniqueInput
|
|
18775
|
+
}
|
|
18776
|
+
|
|
18777
|
+
/**
|
|
18778
|
+
* AdminProcess deleteMany
|
|
18779
|
+
*/
|
|
18780
|
+
export type AdminProcessDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18781
|
+
/**
|
|
18782
|
+
* Filter which AdminProcesses to delete
|
|
18783
|
+
*/
|
|
18784
|
+
where?: AdminProcessWhereInput
|
|
18785
|
+
/**
|
|
18786
|
+
* Limit how many AdminProcesses to delete.
|
|
18787
|
+
*/
|
|
18788
|
+
limit?: number
|
|
18789
|
+
}
|
|
18790
|
+
|
|
18791
|
+
/**
|
|
18792
|
+
* AdminProcess.parentProcess
|
|
18793
|
+
*/
|
|
18794
|
+
export type AdminProcess$parentProcessArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18795
|
+
/**
|
|
18796
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18797
|
+
*/
|
|
18798
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18799
|
+
/**
|
|
18800
|
+
* Omit specific fields from the AdminProcess
|
|
18801
|
+
*/
|
|
18802
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18803
|
+
/**
|
|
18804
|
+
* Choose, which related nodes to fetch as well
|
|
18805
|
+
*/
|
|
18806
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18807
|
+
where?: AdminProcessWhereInput
|
|
18808
|
+
}
|
|
18809
|
+
|
|
18810
|
+
/**
|
|
18811
|
+
* AdminProcess.childProcesses
|
|
18812
|
+
*/
|
|
18813
|
+
export type AdminProcess$childProcessesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18814
|
+
/**
|
|
18815
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18816
|
+
*/
|
|
18817
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18818
|
+
/**
|
|
18819
|
+
* Omit specific fields from the AdminProcess
|
|
18820
|
+
*/
|
|
18821
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18822
|
+
/**
|
|
18823
|
+
* Choose, which related nodes to fetch as well
|
|
18824
|
+
*/
|
|
18825
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18826
|
+
where?: AdminProcessWhereInput
|
|
18827
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
18828
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
18829
|
+
take?: number
|
|
18830
|
+
skip?: number
|
|
18831
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
18832
|
+
}
|
|
18833
|
+
|
|
18834
|
+
/**
|
|
18835
|
+
* AdminProcess without action
|
|
18836
|
+
*/
|
|
18837
|
+
export type AdminProcessDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18838
|
+
/**
|
|
18839
|
+
* Select specific fields to fetch from the AdminProcess
|
|
18840
|
+
*/
|
|
18841
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
18842
|
+
/**
|
|
18843
|
+
* Omit specific fields from the AdminProcess
|
|
18844
|
+
*/
|
|
18845
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
18846
|
+
/**
|
|
18847
|
+
* Choose, which related nodes to fetch as well
|
|
18848
|
+
*/
|
|
18849
|
+
include?: AdminProcessInclude<ExtArgs> | null
|
|
18850
|
+
}
|
|
18851
|
+
|
|
18852
|
+
|
|
18853
|
+
/**
|
|
18854
|
+
* Model ScriptSchedule
|
|
18855
|
+
*/
|
|
18856
|
+
|
|
18857
|
+
export type AggregateScriptSchedule = {
|
|
18858
|
+
_count: ScriptScheduleCountAggregateOutputType | null
|
|
18859
|
+
_avg: ScriptScheduleAvgAggregateOutputType | null
|
|
18860
|
+
_sum: ScriptScheduleSumAggregateOutputType | null
|
|
18861
|
+
_min: ScriptScheduleMinAggregateOutputType | null
|
|
18862
|
+
_max: ScriptScheduleMaxAggregateOutputType | null
|
|
18863
|
+
}
|
|
18864
|
+
|
|
18865
|
+
export type ScriptScheduleAvgAggregateOutputType = {
|
|
18866
|
+
id: number | null
|
|
18867
|
+
}
|
|
18868
|
+
|
|
18869
|
+
export type ScriptScheduleSumAggregateOutputType = {
|
|
18870
|
+
id: number | null
|
|
18871
|
+
}
|
|
18872
|
+
|
|
18873
|
+
export type ScriptScheduleMinAggregateOutputType = {
|
|
18874
|
+
id: number | null
|
|
18875
|
+
scriptName: string | null
|
|
18876
|
+
enabled: boolean | null
|
|
18877
|
+
cronExpression: string | null
|
|
18878
|
+
timezone: string | null
|
|
18879
|
+
lastTriggeredAt: Date | null
|
|
18880
|
+
nextTriggerAt: Date | null
|
|
18881
|
+
externalScheduleId: string | null
|
|
18882
|
+
externalScheduleName: string | null
|
|
18883
|
+
createdAt: Date | null
|
|
18884
|
+
updatedAt: Date | null
|
|
18885
|
+
}
|
|
18886
|
+
|
|
18887
|
+
export type ScriptScheduleMaxAggregateOutputType = {
|
|
18888
|
+
id: number | null
|
|
18889
|
+
scriptName: string | null
|
|
18890
|
+
enabled: boolean | null
|
|
18891
|
+
cronExpression: string | null
|
|
18892
|
+
timezone: string | null
|
|
18893
|
+
lastTriggeredAt: Date | null
|
|
18894
|
+
nextTriggerAt: Date | null
|
|
18895
|
+
externalScheduleId: string | null
|
|
18896
|
+
externalScheduleName: string | null
|
|
18897
|
+
createdAt: Date | null
|
|
18898
|
+
updatedAt: Date | null
|
|
18899
|
+
}
|
|
18900
|
+
|
|
18901
|
+
export type ScriptScheduleCountAggregateOutputType = {
|
|
18902
|
+
id: number
|
|
18903
|
+
scriptName: number
|
|
18904
|
+
enabled: number
|
|
18905
|
+
cronExpression: number
|
|
18906
|
+
timezone: number
|
|
18907
|
+
lastTriggeredAt: number
|
|
18908
|
+
nextTriggerAt: number
|
|
18909
|
+
externalScheduleId: number
|
|
18910
|
+
externalScheduleName: number
|
|
18911
|
+
createdAt: number
|
|
18912
|
+
updatedAt: number
|
|
18913
|
+
_all: number
|
|
18914
|
+
}
|
|
18915
|
+
|
|
18916
|
+
|
|
18917
|
+
export type ScriptScheduleAvgAggregateInputType = {
|
|
18918
|
+
id?: true
|
|
18919
|
+
}
|
|
18920
|
+
|
|
18921
|
+
export type ScriptScheduleSumAggregateInputType = {
|
|
18922
|
+
id?: true
|
|
18923
|
+
}
|
|
18924
|
+
|
|
18925
|
+
export type ScriptScheduleMinAggregateInputType = {
|
|
18926
|
+
id?: true
|
|
18927
|
+
scriptName?: true
|
|
18928
|
+
enabled?: true
|
|
18929
|
+
cronExpression?: true
|
|
18930
|
+
timezone?: true
|
|
18931
|
+
lastTriggeredAt?: true
|
|
18932
|
+
nextTriggerAt?: true
|
|
18933
|
+
externalScheduleId?: true
|
|
18934
|
+
externalScheduleName?: true
|
|
18935
|
+
createdAt?: true
|
|
18936
|
+
updatedAt?: true
|
|
18937
|
+
}
|
|
18938
|
+
|
|
18939
|
+
export type ScriptScheduleMaxAggregateInputType = {
|
|
18940
|
+
id?: true
|
|
18941
|
+
scriptName?: true
|
|
18942
|
+
enabled?: true
|
|
18943
|
+
cronExpression?: true
|
|
18944
|
+
timezone?: true
|
|
18945
|
+
lastTriggeredAt?: true
|
|
18946
|
+
nextTriggerAt?: true
|
|
18947
|
+
externalScheduleId?: true
|
|
18948
|
+
externalScheduleName?: true
|
|
18949
|
+
createdAt?: true
|
|
18950
|
+
updatedAt?: true
|
|
18951
|
+
}
|
|
18952
|
+
|
|
18953
|
+
export type ScriptScheduleCountAggregateInputType = {
|
|
18954
|
+
id?: true
|
|
18955
|
+
scriptName?: true
|
|
18956
|
+
enabled?: true
|
|
18957
|
+
cronExpression?: true
|
|
18958
|
+
timezone?: true
|
|
18959
|
+
lastTriggeredAt?: true
|
|
18960
|
+
nextTriggerAt?: true
|
|
18961
|
+
externalScheduleId?: true
|
|
18962
|
+
externalScheduleName?: true
|
|
18963
|
+
createdAt?: true
|
|
18964
|
+
updatedAt?: true
|
|
18965
|
+
_all?: true
|
|
18966
|
+
}
|
|
18967
|
+
|
|
18968
|
+
export type ScriptScheduleAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18969
|
+
/**
|
|
18970
|
+
* Filter which ScriptSchedule to aggregate.
|
|
18971
|
+
*/
|
|
18972
|
+
where?: ScriptScheduleWhereInput
|
|
18973
|
+
/**
|
|
18974
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
18975
|
+
*
|
|
18976
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
18977
|
+
*/
|
|
18978
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
18979
|
+
/**
|
|
18980
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
18981
|
+
*
|
|
18982
|
+
* Sets the start position
|
|
18983
|
+
*/
|
|
18984
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
18985
|
+
/**
|
|
18986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18987
|
+
*
|
|
18988
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
18989
|
+
*/
|
|
18990
|
+
take?: number
|
|
18991
|
+
/**
|
|
18992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
18993
|
+
*
|
|
18994
|
+
* Skip the first `n` ScriptSchedules.
|
|
18995
|
+
*/
|
|
18996
|
+
skip?: number
|
|
18997
|
+
/**
|
|
18998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
18999
|
+
*
|
|
19000
|
+
* Count returned ScriptSchedules
|
|
19001
|
+
**/
|
|
19002
|
+
_count?: true | ScriptScheduleCountAggregateInputType
|
|
19003
|
+
/**
|
|
19004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19005
|
+
*
|
|
19006
|
+
* Select which fields to average
|
|
19007
|
+
**/
|
|
19008
|
+
_avg?: ScriptScheduleAvgAggregateInputType
|
|
19009
|
+
/**
|
|
19010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19011
|
+
*
|
|
19012
|
+
* Select which fields to sum
|
|
19013
|
+
**/
|
|
19014
|
+
_sum?: ScriptScheduleSumAggregateInputType
|
|
19015
|
+
/**
|
|
19016
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19017
|
+
*
|
|
19018
|
+
* Select which fields to find the minimum value
|
|
19019
|
+
**/
|
|
19020
|
+
_min?: ScriptScheduleMinAggregateInputType
|
|
19021
|
+
/**
|
|
19022
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19023
|
+
*
|
|
19024
|
+
* Select which fields to find the maximum value
|
|
19025
|
+
**/
|
|
19026
|
+
_max?: ScriptScheduleMaxAggregateInputType
|
|
19027
|
+
}
|
|
19028
|
+
|
|
19029
|
+
export type GetScriptScheduleAggregateType<T extends ScriptScheduleAggregateArgs> = {
|
|
19030
|
+
[P in keyof T & keyof AggregateScriptSchedule]: P extends '_count' | 'count'
|
|
19031
|
+
? T[P] extends true
|
|
19032
|
+
? number
|
|
19033
|
+
: GetScalarType<T[P], AggregateScriptSchedule[P]>
|
|
19034
|
+
: GetScalarType<T[P], AggregateScriptSchedule[P]>
|
|
19035
|
+
}
|
|
19036
|
+
|
|
19037
|
+
|
|
19038
|
+
|
|
19039
|
+
|
|
19040
|
+
export type ScriptScheduleGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19041
|
+
where?: ScriptScheduleWhereInput
|
|
19042
|
+
orderBy?: ScriptScheduleOrderByWithAggregationInput | ScriptScheduleOrderByWithAggregationInput[]
|
|
19043
|
+
by: ScriptScheduleScalarFieldEnum[] | ScriptScheduleScalarFieldEnum
|
|
19044
|
+
having?: ScriptScheduleScalarWhereWithAggregatesInput
|
|
19045
|
+
take?: number
|
|
19046
|
+
skip?: number
|
|
19047
|
+
_count?: ScriptScheduleCountAggregateInputType | true
|
|
19048
|
+
_avg?: ScriptScheduleAvgAggregateInputType
|
|
19049
|
+
_sum?: ScriptScheduleSumAggregateInputType
|
|
19050
|
+
_min?: ScriptScheduleMinAggregateInputType
|
|
19051
|
+
_max?: ScriptScheduleMaxAggregateInputType
|
|
19052
|
+
}
|
|
19053
|
+
|
|
19054
|
+
export type ScriptScheduleGroupByOutputType = {
|
|
19055
|
+
id: number
|
|
19056
|
+
scriptName: string
|
|
19057
|
+
enabled: boolean
|
|
19058
|
+
cronExpression: string | null
|
|
19059
|
+
timezone: string
|
|
19060
|
+
lastTriggeredAt: Date | null
|
|
19061
|
+
nextTriggerAt: Date | null
|
|
19062
|
+
externalScheduleId: string | null
|
|
19063
|
+
externalScheduleName: string | null
|
|
19064
|
+
createdAt: Date
|
|
19065
|
+
updatedAt: Date
|
|
19066
|
+
_count: ScriptScheduleCountAggregateOutputType | null
|
|
19067
|
+
_avg: ScriptScheduleAvgAggregateOutputType | null
|
|
19068
|
+
_sum: ScriptScheduleSumAggregateOutputType | null
|
|
19069
|
+
_min: ScriptScheduleMinAggregateOutputType | null
|
|
19070
|
+
_max: ScriptScheduleMaxAggregateOutputType | null
|
|
19071
|
+
}
|
|
19072
|
+
|
|
19073
|
+
type GetScriptScheduleGroupByPayload<T extends ScriptScheduleGroupByArgs> = Prisma.PrismaPromise<
|
|
19074
|
+
Array<
|
|
19075
|
+
PickEnumerable<ScriptScheduleGroupByOutputType, T['by']> &
|
|
19076
|
+
{
|
|
19077
|
+
[P in ((keyof T) & (keyof ScriptScheduleGroupByOutputType))]: P extends '_count'
|
|
19078
|
+
? T[P] extends boolean
|
|
19079
|
+
? number
|
|
19080
|
+
: GetScalarType<T[P], ScriptScheduleGroupByOutputType[P]>
|
|
19081
|
+
: GetScalarType<T[P], ScriptScheduleGroupByOutputType[P]>
|
|
19082
|
+
}
|
|
19083
|
+
>
|
|
19084
|
+
>
|
|
19085
|
+
|
|
19086
|
+
|
|
19087
|
+
export type ScriptScheduleSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
19088
|
+
id?: boolean
|
|
19089
|
+
scriptName?: boolean
|
|
19090
|
+
enabled?: boolean
|
|
19091
|
+
cronExpression?: boolean
|
|
19092
|
+
timezone?: boolean
|
|
19093
|
+
lastTriggeredAt?: boolean
|
|
19094
|
+
nextTriggerAt?: boolean
|
|
19095
|
+
externalScheduleId?: boolean
|
|
19096
|
+
externalScheduleName?: boolean
|
|
19097
|
+
createdAt?: boolean
|
|
19098
|
+
updatedAt?: boolean
|
|
19099
|
+
}, ExtArgs["result"]["scriptSchedule"]>
|
|
19100
|
+
|
|
19101
|
+
export type ScriptScheduleSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
19102
|
+
id?: boolean
|
|
19103
|
+
scriptName?: boolean
|
|
19104
|
+
enabled?: boolean
|
|
19105
|
+
cronExpression?: boolean
|
|
19106
|
+
timezone?: boolean
|
|
19107
|
+
lastTriggeredAt?: boolean
|
|
19108
|
+
nextTriggerAt?: boolean
|
|
19109
|
+
externalScheduleId?: boolean
|
|
19110
|
+
externalScheduleName?: boolean
|
|
19111
|
+
createdAt?: boolean
|
|
19112
|
+
updatedAt?: boolean
|
|
19113
|
+
}, ExtArgs["result"]["scriptSchedule"]>
|
|
19114
|
+
|
|
19115
|
+
export type ScriptScheduleSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
19116
|
+
id?: boolean
|
|
19117
|
+
scriptName?: boolean
|
|
19118
|
+
enabled?: boolean
|
|
19119
|
+
cronExpression?: boolean
|
|
19120
|
+
timezone?: boolean
|
|
19121
|
+
lastTriggeredAt?: boolean
|
|
19122
|
+
nextTriggerAt?: boolean
|
|
19123
|
+
externalScheduleId?: boolean
|
|
19124
|
+
externalScheduleName?: boolean
|
|
19125
|
+
createdAt?: boolean
|
|
19126
|
+
updatedAt?: boolean
|
|
19127
|
+
}, ExtArgs["result"]["scriptSchedule"]>
|
|
19128
|
+
|
|
19129
|
+
export type ScriptScheduleSelectScalar = {
|
|
19130
|
+
id?: boolean
|
|
19131
|
+
scriptName?: boolean
|
|
19132
|
+
enabled?: boolean
|
|
19133
|
+
cronExpression?: boolean
|
|
19134
|
+
timezone?: boolean
|
|
19135
|
+
lastTriggeredAt?: boolean
|
|
19136
|
+
nextTriggerAt?: boolean
|
|
19137
|
+
externalScheduleId?: boolean
|
|
19138
|
+
externalScheduleName?: boolean
|
|
19139
|
+
createdAt?: boolean
|
|
19140
|
+
updatedAt?: boolean
|
|
19141
|
+
}
|
|
19142
|
+
|
|
19143
|
+
export type ScriptScheduleOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "scriptName" | "enabled" | "cronExpression" | "timezone" | "lastTriggeredAt" | "nextTriggerAt" | "externalScheduleId" | "externalScheduleName" | "createdAt" | "updatedAt", ExtArgs["result"]["scriptSchedule"]>
|
|
19144
|
+
|
|
19145
|
+
export type $ScriptSchedulePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19146
|
+
name: "ScriptSchedule"
|
|
19147
|
+
objects: {}
|
|
19148
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
19149
|
+
id: number
|
|
19150
|
+
scriptName: string
|
|
19151
|
+
enabled: boolean
|
|
19152
|
+
cronExpression: string | null
|
|
19153
|
+
timezone: string
|
|
19154
|
+
lastTriggeredAt: Date | null
|
|
19155
|
+
nextTriggerAt: Date | null
|
|
19156
|
+
externalScheduleId: string | null
|
|
19157
|
+
externalScheduleName: string | null
|
|
19158
|
+
createdAt: Date
|
|
19159
|
+
updatedAt: Date
|
|
19160
|
+
}, ExtArgs["result"]["scriptSchedule"]>
|
|
19161
|
+
composites: {}
|
|
19162
|
+
}
|
|
19163
|
+
|
|
19164
|
+
type ScriptScheduleGetPayload<S extends boolean | null | undefined | ScriptScheduleDefaultArgs> = $Result.GetResult<Prisma.$ScriptSchedulePayload, S>
|
|
19165
|
+
|
|
19166
|
+
type ScriptScheduleCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
19167
|
+
Omit<ScriptScheduleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
19168
|
+
select?: ScriptScheduleCountAggregateInputType | true
|
|
19169
|
+
}
|
|
19170
|
+
|
|
19171
|
+
export interface ScriptScheduleDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
19172
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScriptSchedule'], meta: { name: 'ScriptSchedule' } }
|
|
19173
|
+
/**
|
|
19174
|
+
* Find zero or one ScriptSchedule that matches the filter.
|
|
19175
|
+
* @param {ScriptScheduleFindUniqueArgs} args - Arguments to find a ScriptSchedule
|
|
19176
|
+
* @example
|
|
19177
|
+
* // Get one ScriptSchedule
|
|
19178
|
+
* const scriptSchedule = await prisma.scriptSchedule.findUnique({
|
|
19179
|
+
* where: {
|
|
19180
|
+
* // ... provide filter here
|
|
19181
|
+
* }
|
|
19182
|
+
* })
|
|
19183
|
+
*/
|
|
19184
|
+
findUnique<T extends ScriptScheduleFindUniqueArgs>(args: SelectSubset<T, ScriptScheduleFindUniqueArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
19185
|
+
|
|
19186
|
+
/**
|
|
19187
|
+
* Find one ScriptSchedule that matches the filter or throw an error with `error.code='P2025'`
|
|
19188
|
+
* if no matches were found.
|
|
19189
|
+
* @param {ScriptScheduleFindUniqueOrThrowArgs} args - Arguments to find a ScriptSchedule
|
|
19190
|
+
* @example
|
|
19191
|
+
* // Get one ScriptSchedule
|
|
19192
|
+
* const scriptSchedule = await prisma.scriptSchedule.findUniqueOrThrow({
|
|
19193
|
+
* where: {
|
|
19194
|
+
* // ... provide filter here
|
|
19195
|
+
* }
|
|
19196
|
+
* })
|
|
19197
|
+
*/
|
|
19198
|
+
findUniqueOrThrow<T extends ScriptScheduleFindUniqueOrThrowArgs>(args: SelectSubset<T, ScriptScheduleFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19199
|
+
|
|
19200
|
+
/**
|
|
19201
|
+
* Find the first ScriptSchedule that matches the filter.
|
|
19202
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19203
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19204
|
+
* @param {ScriptScheduleFindFirstArgs} args - Arguments to find a ScriptSchedule
|
|
19205
|
+
* @example
|
|
19206
|
+
* // Get one ScriptSchedule
|
|
19207
|
+
* const scriptSchedule = await prisma.scriptSchedule.findFirst({
|
|
19208
|
+
* where: {
|
|
19209
|
+
* // ... provide filter here
|
|
19210
|
+
* }
|
|
19211
|
+
* })
|
|
19212
|
+
*/
|
|
19213
|
+
findFirst<T extends ScriptScheduleFindFirstArgs>(args?: SelectSubset<T, ScriptScheduleFindFirstArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
19214
|
+
|
|
19215
|
+
/**
|
|
19216
|
+
* Find the first ScriptSchedule that matches the filter or
|
|
19217
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
19218
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19219
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19220
|
+
* @param {ScriptScheduleFindFirstOrThrowArgs} args - Arguments to find a ScriptSchedule
|
|
19221
|
+
* @example
|
|
19222
|
+
* // Get one ScriptSchedule
|
|
19223
|
+
* const scriptSchedule = await prisma.scriptSchedule.findFirstOrThrow({
|
|
19224
|
+
* where: {
|
|
19225
|
+
* // ... provide filter here
|
|
19226
|
+
* }
|
|
19227
|
+
* })
|
|
19228
|
+
*/
|
|
19229
|
+
findFirstOrThrow<T extends ScriptScheduleFindFirstOrThrowArgs>(args?: SelectSubset<T, ScriptScheduleFindFirstOrThrowArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19230
|
+
|
|
19231
|
+
/**
|
|
19232
|
+
* Find zero or more ScriptSchedules that matches the filter.
|
|
19233
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19234
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19235
|
+
* @param {ScriptScheduleFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
19236
|
+
* @example
|
|
19237
|
+
* // Get all ScriptSchedules
|
|
19238
|
+
* const scriptSchedules = await prisma.scriptSchedule.findMany()
|
|
19239
|
+
*
|
|
19240
|
+
* // Get first 10 ScriptSchedules
|
|
19241
|
+
* const scriptSchedules = await prisma.scriptSchedule.findMany({ take: 10 })
|
|
19242
|
+
*
|
|
19243
|
+
* // Only select the `id`
|
|
19244
|
+
* const scriptScheduleWithIdOnly = await prisma.scriptSchedule.findMany({ select: { id: true } })
|
|
19245
|
+
*
|
|
19246
|
+
*/
|
|
19247
|
+
findMany<T extends ScriptScheduleFindManyArgs>(args?: SelectSubset<T, ScriptScheduleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
19248
|
+
|
|
19249
|
+
/**
|
|
19250
|
+
* Create a ScriptSchedule.
|
|
19251
|
+
* @param {ScriptScheduleCreateArgs} args - Arguments to create a ScriptSchedule.
|
|
19252
|
+
* @example
|
|
19253
|
+
* // Create one ScriptSchedule
|
|
19254
|
+
* const ScriptSchedule = await prisma.scriptSchedule.create({
|
|
19255
|
+
* data: {
|
|
19256
|
+
* // ... data to create a ScriptSchedule
|
|
19257
|
+
* }
|
|
19258
|
+
* })
|
|
19259
|
+
*
|
|
19260
|
+
*/
|
|
19261
|
+
create<T extends ScriptScheduleCreateArgs>(args: SelectSubset<T, ScriptScheduleCreateArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19262
|
+
|
|
19263
|
+
/**
|
|
19264
|
+
* Create many ScriptSchedules.
|
|
19265
|
+
* @param {ScriptScheduleCreateManyArgs} args - Arguments to create many ScriptSchedules.
|
|
19266
|
+
* @example
|
|
19267
|
+
* // Create many ScriptSchedules
|
|
19268
|
+
* const scriptSchedule = await prisma.scriptSchedule.createMany({
|
|
19269
|
+
* data: [
|
|
19270
|
+
* // ... provide data here
|
|
19271
|
+
* ]
|
|
19272
|
+
* })
|
|
19273
|
+
*
|
|
19274
|
+
*/
|
|
19275
|
+
createMany<T extends ScriptScheduleCreateManyArgs>(args?: SelectSubset<T, ScriptScheduleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
19276
|
+
|
|
19277
|
+
/**
|
|
19278
|
+
* Create many ScriptSchedules and returns the data saved in the database.
|
|
19279
|
+
* @param {ScriptScheduleCreateManyAndReturnArgs} args - Arguments to create many ScriptSchedules.
|
|
19280
|
+
* @example
|
|
19281
|
+
* // Create many ScriptSchedules
|
|
19282
|
+
* const scriptSchedule = await prisma.scriptSchedule.createManyAndReturn({
|
|
19283
|
+
* data: [
|
|
19284
|
+
* // ... provide data here
|
|
19285
|
+
* ]
|
|
19286
|
+
* })
|
|
19287
|
+
*
|
|
19288
|
+
* // Create many ScriptSchedules and only return the `id`
|
|
19289
|
+
* const scriptScheduleWithIdOnly = await prisma.scriptSchedule.createManyAndReturn({
|
|
19290
|
+
* select: { id: true },
|
|
19291
|
+
* data: [
|
|
19292
|
+
* // ... provide data here
|
|
19293
|
+
* ]
|
|
19294
|
+
* })
|
|
19295
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19296
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19297
|
+
*
|
|
19298
|
+
*/
|
|
19299
|
+
createManyAndReturn<T extends ScriptScheduleCreateManyAndReturnArgs>(args?: SelectSubset<T, ScriptScheduleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
19300
|
+
|
|
19301
|
+
/**
|
|
19302
|
+
* Delete a ScriptSchedule.
|
|
19303
|
+
* @param {ScriptScheduleDeleteArgs} args - Arguments to delete one ScriptSchedule.
|
|
19304
|
+
* @example
|
|
19305
|
+
* // Delete one ScriptSchedule
|
|
19306
|
+
* const ScriptSchedule = await prisma.scriptSchedule.delete({
|
|
19307
|
+
* where: {
|
|
19308
|
+
* // ... filter to delete one ScriptSchedule
|
|
19309
|
+
* }
|
|
19310
|
+
* })
|
|
19311
|
+
*
|
|
19312
|
+
*/
|
|
19313
|
+
delete<T extends ScriptScheduleDeleteArgs>(args: SelectSubset<T, ScriptScheduleDeleteArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19314
|
+
|
|
19315
|
+
/**
|
|
19316
|
+
* Update one ScriptSchedule.
|
|
19317
|
+
* @param {ScriptScheduleUpdateArgs} args - Arguments to update one ScriptSchedule.
|
|
19318
|
+
* @example
|
|
19319
|
+
* // Update one ScriptSchedule
|
|
19320
|
+
* const scriptSchedule = await prisma.scriptSchedule.update({
|
|
19321
|
+
* where: {
|
|
19322
|
+
* // ... provide filter here
|
|
19323
|
+
* },
|
|
19324
|
+
* data: {
|
|
19325
|
+
* // ... provide data here
|
|
19326
|
+
* }
|
|
19327
|
+
* })
|
|
19328
|
+
*
|
|
19329
|
+
*/
|
|
19330
|
+
update<T extends ScriptScheduleUpdateArgs>(args: SelectSubset<T, ScriptScheduleUpdateArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19331
|
+
|
|
19332
|
+
/**
|
|
19333
|
+
* Delete zero or more ScriptSchedules.
|
|
19334
|
+
* @param {ScriptScheduleDeleteManyArgs} args - Arguments to filter ScriptSchedules to delete.
|
|
19335
|
+
* @example
|
|
19336
|
+
* // Delete a few ScriptSchedules
|
|
19337
|
+
* const { count } = await prisma.scriptSchedule.deleteMany({
|
|
19338
|
+
* where: {
|
|
19339
|
+
* // ... provide filter here
|
|
19340
|
+
* }
|
|
19341
|
+
* })
|
|
19342
|
+
*
|
|
19343
|
+
*/
|
|
19344
|
+
deleteMany<T extends ScriptScheduleDeleteManyArgs>(args?: SelectSubset<T, ScriptScheduleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
19345
|
+
|
|
19346
|
+
/**
|
|
19347
|
+
* Update zero or more ScriptSchedules.
|
|
19348
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19349
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19350
|
+
* @param {ScriptScheduleUpdateManyArgs} args - Arguments to update one or more rows.
|
|
19351
|
+
* @example
|
|
19352
|
+
* // Update many ScriptSchedules
|
|
19353
|
+
* const scriptSchedule = await prisma.scriptSchedule.updateMany({
|
|
19354
|
+
* where: {
|
|
19355
|
+
* // ... provide filter here
|
|
19356
|
+
* },
|
|
19357
|
+
* data: {
|
|
19358
|
+
* // ... provide data here
|
|
19359
|
+
* }
|
|
19360
|
+
* })
|
|
19361
|
+
*
|
|
19362
|
+
*/
|
|
19363
|
+
updateMany<T extends ScriptScheduleUpdateManyArgs>(args: SelectSubset<T, ScriptScheduleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
19364
|
+
|
|
19365
|
+
/**
|
|
19366
|
+
* Update zero or more ScriptSchedules and returns the data updated in the database.
|
|
19367
|
+
* @param {ScriptScheduleUpdateManyAndReturnArgs} args - Arguments to update many ScriptSchedules.
|
|
19368
|
+
* @example
|
|
19369
|
+
* // Update many ScriptSchedules
|
|
19370
|
+
* const scriptSchedule = await prisma.scriptSchedule.updateManyAndReturn({
|
|
19371
|
+
* where: {
|
|
19372
|
+
* // ... provide filter here
|
|
19373
|
+
* },
|
|
19374
|
+
* data: [
|
|
19375
|
+
* // ... provide data here
|
|
19376
|
+
* ]
|
|
19377
|
+
* })
|
|
19378
|
+
*
|
|
19379
|
+
* // Update zero or more ScriptSchedules and only return the `id`
|
|
19380
|
+
* const scriptScheduleWithIdOnly = await prisma.scriptSchedule.updateManyAndReturn({
|
|
19381
|
+
* select: { id: true },
|
|
19382
|
+
* where: {
|
|
19383
|
+
* // ... provide filter here
|
|
19384
|
+
* },
|
|
19385
|
+
* data: [
|
|
19386
|
+
* // ... provide data here
|
|
19387
|
+
* ]
|
|
19388
|
+
* })
|
|
19389
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19390
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19391
|
+
*
|
|
19392
|
+
*/
|
|
19393
|
+
updateManyAndReturn<T extends ScriptScheduleUpdateManyAndReturnArgs>(args: SelectSubset<T, ScriptScheduleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
19394
|
+
|
|
19395
|
+
/**
|
|
19396
|
+
* Create or update one ScriptSchedule.
|
|
19397
|
+
* @param {ScriptScheduleUpsertArgs} args - Arguments to update or create a ScriptSchedule.
|
|
19398
|
+
* @example
|
|
19399
|
+
* // Update or create a ScriptSchedule
|
|
19400
|
+
* const scriptSchedule = await prisma.scriptSchedule.upsert({
|
|
19401
|
+
* create: {
|
|
19402
|
+
* // ... data to create a ScriptSchedule
|
|
19403
|
+
* },
|
|
19404
|
+
* update: {
|
|
19405
|
+
* // ... in case it already exists, update
|
|
19406
|
+
* },
|
|
19407
|
+
* where: {
|
|
19408
|
+
* // ... the filter for the ScriptSchedule we want to update
|
|
19409
|
+
* }
|
|
19410
|
+
* })
|
|
19411
|
+
*/
|
|
19412
|
+
upsert<T extends ScriptScheduleUpsertArgs>(args: SelectSubset<T, ScriptScheduleUpsertArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19413
|
+
|
|
19414
|
+
|
|
19415
|
+
/**
|
|
19416
|
+
* Count the number of ScriptSchedules.
|
|
19417
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19418
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19419
|
+
* @param {ScriptScheduleCountArgs} args - Arguments to filter ScriptSchedules to count.
|
|
19420
|
+
* @example
|
|
19421
|
+
* // Count the number of ScriptSchedules
|
|
19422
|
+
* const count = await prisma.scriptSchedule.count({
|
|
19423
|
+
* where: {
|
|
19424
|
+
* // ... the filter for the ScriptSchedules we want to count
|
|
19425
|
+
* }
|
|
19426
|
+
* })
|
|
19427
|
+
**/
|
|
19428
|
+
count<T extends ScriptScheduleCountArgs>(
|
|
19429
|
+
args?: Subset<T, ScriptScheduleCountArgs>,
|
|
19430
|
+
): Prisma.PrismaPromise<
|
|
19431
|
+
T extends $Utils.Record<'select', any>
|
|
19432
|
+
? T['select'] extends true
|
|
19433
|
+
? number
|
|
19434
|
+
: GetScalarType<T['select'], ScriptScheduleCountAggregateOutputType>
|
|
19435
|
+
: number
|
|
19436
|
+
>
|
|
19437
|
+
|
|
19438
|
+
/**
|
|
19439
|
+
* Allows you to perform aggregations operations on a ScriptSchedule.
|
|
19440
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19441
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19442
|
+
* @param {ScriptScheduleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
19443
|
+
* @example
|
|
19444
|
+
* // Ordered by age ascending
|
|
19445
|
+
* // Where email contains prisma.io
|
|
19446
|
+
* // Limited to the 10 users
|
|
19447
|
+
* const aggregations = await prisma.user.aggregate({
|
|
19448
|
+
* _avg: {
|
|
19449
|
+
* age: true,
|
|
19450
|
+
* },
|
|
19451
|
+
* where: {
|
|
19452
|
+
* email: {
|
|
19453
|
+
* contains: "prisma.io",
|
|
19454
|
+
* },
|
|
19455
|
+
* },
|
|
19456
|
+
* orderBy: {
|
|
19457
|
+
* age: "asc",
|
|
19458
|
+
* },
|
|
19459
|
+
* take: 10,
|
|
19460
|
+
* })
|
|
19461
|
+
**/
|
|
19462
|
+
aggregate<T extends ScriptScheduleAggregateArgs>(args: Subset<T, ScriptScheduleAggregateArgs>): Prisma.PrismaPromise<GetScriptScheduleAggregateType<T>>
|
|
19463
|
+
|
|
19464
|
+
/**
|
|
19465
|
+
* Group by ScriptSchedule.
|
|
19466
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
19467
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
19468
|
+
* @param {ScriptScheduleGroupByArgs} args - Group by arguments.
|
|
19469
|
+
* @example
|
|
19470
|
+
* // Group by city, order by createdAt, get count
|
|
19471
|
+
* const result = await prisma.user.groupBy({
|
|
19472
|
+
* by: ['city', 'createdAt'],
|
|
19473
|
+
* orderBy: {
|
|
19474
|
+
* createdAt: true
|
|
19475
|
+
* },
|
|
19476
|
+
* _count: {
|
|
19477
|
+
* _all: true
|
|
19478
|
+
* },
|
|
19479
|
+
* })
|
|
19480
|
+
*
|
|
19481
|
+
**/
|
|
19482
|
+
groupBy<
|
|
19483
|
+
T extends ScriptScheduleGroupByArgs,
|
|
19484
|
+
HasSelectOrTake extends Or<
|
|
19485
|
+
Extends<'skip', Keys<T>>,
|
|
19486
|
+
Extends<'take', Keys<T>>
|
|
19487
|
+
>,
|
|
19488
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
19489
|
+
? { orderBy: ScriptScheduleGroupByArgs['orderBy'] }
|
|
19490
|
+
: { orderBy?: ScriptScheduleGroupByArgs['orderBy'] },
|
|
19491
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
19492
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
19493
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
19494
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
19495
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
19496
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
19497
|
+
InputErrors extends ByEmpty extends True
|
|
19498
|
+
? `Error: "by" must not be empty.`
|
|
19499
|
+
: HavingValid extends False
|
|
19500
|
+
? {
|
|
19501
|
+
[P in HavingFields]: P extends ByFields
|
|
19502
|
+
? never
|
|
19503
|
+
: P extends string
|
|
19504
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
19505
|
+
: [
|
|
19506
|
+
Error,
|
|
19507
|
+
'Field ',
|
|
19508
|
+
P,
|
|
19509
|
+
` in "having" needs to be provided in "by"`,
|
|
19510
|
+
]
|
|
19511
|
+
}[HavingFields]
|
|
19512
|
+
: 'take' extends Keys<T>
|
|
19513
|
+
? 'orderBy' extends Keys<T>
|
|
19514
|
+
? ByValid extends True
|
|
19515
|
+
? {}
|
|
19516
|
+
: {
|
|
19517
|
+
[P in OrderFields]: P extends ByFields
|
|
19518
|
+
? never
|
|
19519
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
19520
|
+
}[OrderFields]
|
|
19521
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
19522
|
+
: 'skip' extends Keys<T>
|
|
19523
|
+
? 'orderBy' extends Keys<T>
|
|
19524
|
+
? ByValid extends True
|
|
19525
|
+
? {}
|
|
19526
|
+
: {
|
|
19527
|
+
[P in OrderFields]: P extends ByFields
|
|
19528
|
+
? never
|
|
19529
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
19530
|
+
}[OrderFields]
|
|
19531
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
19532
|
+
: ByValid extends True
|
|
19533
|
+
? {}
|
|
19534
|
+
: {
|
|
19535
|
+
[P in OrderFields]: P extends ByFields
|
|
19536
|
+
? never
|
|
19537
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
19538
|
+
}[OrderFields]
|
|
19539
|
+
>(args: SubsetIntersection<T, ScriptScheduleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScriptScheduleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
19540
|
+
/**
|
|
19541
|
+
* Fields of the ScriptSchedule model
|
|
19542
|
+
*/
|
|
19543
|
+
readonly fields: ScriptScheduleFieldRefs;
|
|
19544
|
+
}
|
|
19545
|
+
|
|
19546
|
+
/**
|
|
19547
|
+
* The delegate class that acts as a "Promise-like" for ScriptSchedule.
|
|
19548
|
+
* Why is this prefixed with `Prisma__`?
|
|
19549
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
19550
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
19551
|
+
*/
|
|
19552
|
+
export interface Prisma__ScriptScheduleClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
19553
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
19554
|
+
/**
|
|
19555
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
19556
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
19557
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
19558
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
19559
|
+
*/
|
|
19560
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
19561
|
+
/**
|
|
19562
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
19563
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
19564
|
+
* @returns A Promise for the completion of the callback.
|
|
19565
|
+
*/
|
|
19566
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
19567
|
+
/**
|
|
19568
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
19569
|
+
* resolved value cannot be modified from the callback.
|
|
19570
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
19571
|
+
* @returns A Promise for the completion of the callback.
|
|
19572
|
+
*/
|
|
19573
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
19574
|
+
}
|
|
19575
|
+
|
|
19576
|
+
|
|
19577
|
+
|
|
19578
|
+
|
|
19579
|
+
/**
|
|
19580
|
+
* Fields of the ScriptSchedule model
|
|
19581
|
+
*/
|
|
19582
|
+
interface ScriptScheduleFieldRefs {
|
|
19583
|
+
readonly id: FieldRef<"ScriptSchedule", 'Int'>
|
|
19584
|
+
readonly scriptName: FieldRef<"ScriptSchedule", 'String'>
|
|
19585
|
+
readonly enabled: FieldRef<"ScriptSchedule", 'Boolean'>
|
|
19586
|
+
readonly cronExpression: FieldRef<"ScriptSchedule", 'String'>
|
|
19587
|
+
readonly timezone: FieldRef<"ScriptSchedule", 'String'>
|
|
19588
|
+
readonly lastTriggeredAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
19589
|
+
readonly nextTriggerAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
19590
|
+
readonly externalScheduleId: FieldRef<"ScriptSchedule", 'String'>
|
|
19591
|
+
readonly externalScheduleName: FieldRef<"ScriptSchedule", 'String'>
|
|
19592
|
+
readonly createdAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
19593
|
+
readonly updatedAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
19594
|
+
}
|
|
19595
|
+
|
|
19596
|
+
|
|
19597
|
+
// Custom InputTypes
|
|
19598
|
+
/**
|
|
19599
|
+
* ScriptSchedule findUnique
|
|
19600
|
+
*/
|
|
19601
|
+
export type ScriptScheduleFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19602
|
+
/**
|
|
19603
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19604
|
+
*/
|
|
19605
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19606
|
+
/**
|
|
19607
|
+
* Omit specific fields from the ScriptSchedule
|
|
19608
|
+
*/
|
|
19609
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19610
|
+
/**
|
|
19611
|
+
* Filter, which ScriptSchedule to fetch.
|
|
19612
|
+
*/
|
|
19613
|
+
where: ScriptScheduleWhereUniqueInput
|
|
19614
|
+
}
|
|
19615
|
+
|
|
19616
|
+
/**
|
|
19617
|
+
* ScriptSchedule findUniqueOrThrow
|
|
19618
|
+
*/
|
|
19619
|
+
export type ScriptScheduleFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19620
|
+
/**
|
|
19621
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19622
|
+
*/
|
|
19623
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19624
|
+
/**
|
|
19625
|
+
* Omit specific fields from the ScriptSchedule
|
|
19626
|
+
*/
|
|
19627
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19628
|
+
/**
|
|
19629
|
+
* Filter, which ScriptSchedule to fetch.
|
|
19630
|
+
*/
|
|
19631
|
+
where: ScriptScheduleWhereUniqueInput
|
|
19632
|
+
}
|
|
19633
|
+
|
|
19634
|
+
/**
|
|
19635
|
+
* ScriptSchedule findFirst
|
|
19636
|
+
*/
|
|
19637
|
+
export type ScriptScheduleFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19638
|
+
/**
|
|
19639
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19640
|
+
*/
|
|
19641
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19642
|
+
/**
|
|
19643
|
+
* Omit specific fields from the ScriptSchedule
|
|
19644
|
+
*/
|
|
19645
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19646
|
+
/**
|
|
19647
|
+
* Filter, which ScriptSchedule to fetch.
|
|
19648
|
+
*/
|
|
19649
|
+
where?: ScriptScheduleWhereInput
|
|
19650
|
+
/**
|
|
19651
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
19652
|
+
*
|
|
19653
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
19654
|
+
*/
|
|
19655
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
19656
|
+
/**
|
|
19657
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
19658
|
+
*
|
|
19659
|
+
* Sets the position for searching for ScriptSchedules.
|
|
19660
|
+
*/
|
|
19661
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
19662
|
+
/**
|
|
19663
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19664
|
+
*
|
|
19665
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
19666
|
+
*/
|
|
19667
|
+
take?: number
|
|
19668
|
+
/**
|
|
19669
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19670
|
+
*
|
|
19671
|
+
* Skip the first `n` ScriptSchedules.
|
|
19672
|
+
*/
|
|
19673
|
+
skip?: number
|
|
19674
|
+
/**
|
|
19675
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
19676
|
+
*
|
|
19677
|
+
* Filter by unique combinations of ScriptSchedules.
|
|
19678
|
+
*/
|
|
19679
|
+
distinct?: ScriptScheduleScalarFieldEnum | ScriptScheduleScalarFieldEnum[]
|
|
19680
|
+
}
|
|
19681
|
+
|
|
19682
|
+
/**
|
|
19683
|
+
* ScriptSchedule findFirstOrThrow
|
|
19684
|
+
*/
|
|
19685
|
+
export type ScriptScheduleFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19686
|
+
/**
|
|
19687
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19688
|
+
*/
|
|
19689
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19690
|
+
/**
|
|
19691
|
+
* Omit specific fields from the ScriptSchedule
|
|
19692
|
+
*/
|
|
19693
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19694
|
+
/**
|
|
19695
|
+
* Filter, which ScriptSchedule to fetch.
|
|
19696
|
+
*/
|
|
19697
|
+
where?: ScriptScheduleWhereInput
|
|
19698
|
+
/**
|
|
19699
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
19700
|
+
*
|
|
19701
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
19702
|
+
*/
|
|
19703
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
19704
|
+
/**
|
|
19705
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
19706
|
+
*
|
|
19707
|
+
* Sets the position for searching for ScriptSchedules.
|
|
19708
|
+
*/
|
|
19709
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
19710
|
+
/**
|
|
19711
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19712
|
+
*
|
|
19713
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
19714
|
+
*/
|
|
19715
|
+
take?: number
|
|
19716
|
+
/**
|
|
19717
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19718
|
+
*
|
|
19719
|
+
* Skip the first `n` ScriptSchedules.
|
|
19720
|
+
*/
|
|
19721
|
+
skip?: number
|
|
19722
|
+
/**
|
|
19723
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
19724
|
+
*
|
|
19725
|
+
* Filter by unique combinations of ScriptSchedules.
|
|
19726
|
+
*/
|
|
19727
|
+
distinct?: ScriptScheduleScalarFieldEnum | ScriptScheduleScalarFieldEnum[]
|
|
19728
|
+
}
|
|
19729
|
+
|
|
19730
|
+
/**
|
|
19731
|
+
* ScriptSchedule findMany
|
|
19732
|
+
*/
|
|
19733
|
+
export type ScriptScheduleFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19734
|
+
/**
|
|
19735
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19736
|
+
*/
|
|
19737
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19738
|
+
/**
|
|
19739
|
+
* Omit specific fields from the ScriptSchedule
|
|
19740
|
+
*/
|
|
19741
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19742
|
+
/**
|
|
19743
|
+
* Filter, which ScriptSchedules to fetch.
|
|
19744
|
+
*/
|
|
19745
|
+
where?: ScriptScheduleWhereInput
|
|
19746
|
+
/**
|
|
19747
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
19748
|
+
*
|
|
19749
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
19750
|
+
*/
|
|
19751
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
19752
|
+
/**
|
|
19753
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
19754
|
+
*
|
|
19755
|
+
* Sets the position for listing ScriptSchedules.
|
|
19756
|
+
*/
|
|
19757
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
19758
|
+
/**
|
|
19759
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19760
|
+
*
|
|
19761
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
19762
|
+
*/
|
|
19763
|
+
take?: number
|
|
19764
|
+
/**
|
|
19765
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19766
|
+
*
|
|
19767
|
+
* Skip the first `n` ScriptSchedules.
|
|
19768
|
+
*/
|
|
19769
|
+
skip?: number
|
|
19770
|
+
distinct?: ScriptScheduleScalarFieldEnum | ScriptScheduleScalarFieldEnum[]
|
|
19771
|
+
}
|
|
19772
|
+
|
|
19773
|
+
/**
|
|
19774
|
+
* ScriptSchedule create
|
|
19775
|
+
*/
|
|
19776
|
+
export type ScriptScheduleCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19777
|
+
/**
|
|
19778
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19779
|
+
*/
|
|
19780
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19781
|
+
/**
|
|
19782
|
+
* Omit specific fields from the ScriptSchedule
|
|
19783
|
+
*/
|
|
19784
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19785
|
+
/**
|
|
19786
|
+
* The data needed to create a ScriptSchedule.
|
|
19787
|
+
*/
|
|
19788
|
+
data: XOR<ScriptScheduleCreateInput, ScriptScheduleUncheckedCreateInput>
|
|
19789
|
+
}
|
|
19790
|
+
|
|
19791
|
+
/**
|
|
19792
|
+
* ScriptSchedule createMany
|
|
19793
|
+
*/
|
|
19794
|
+
export type ScriptScheduleCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19795
|
+
/**
|
|
19796
|
+
* The data used to create many ScriptSchedules.
|
|
19797
|
+
*/
|
|
19798
|
+
data: ScriptScheduleCreateManyInput | ScriptScheduleCreateManyInput[]
|
|
19799
|
+
skipDuplicates?: boolean
|
|
19800
|
+
}
|
|
19801
|
+
|
|
19802
|
+
/**
|
|
19803
|
+
* ScriptSchedule createManyAndReturn
|
|
19804
|
+
*/
|
|
19805
|
+
export type ScriptScheduleCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19806
|
+
/**
|
|
19807
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19808
|
+
*/
|
|
19809
|
+
select?: ScriptScheduleSelectCreateManyAndReturn<ExtArgs> | null
|
|
19810
|
+
/**
|
|
19811
|
+
* Omit specific fields from the ScriptSchedule
|
|
19812
|
+
*/
|
|
19813
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19814
|
+
/**
|
|
19815
|
+
* The data used to create many ScriptSchedules.
|
|
19816
|
+
*/
|
|
19817
|
+
data: ScriptScheduleCreateManyInput | ScriptScheduleCreateManyInput[]
|
|
19818
|
+
skipDuplicates?: boolean
|
|
19819
|
+
}
|
|
19820
|
+
|
|
19821
|
+
/**
|
|
19822
|
+
* ScriptSchedule update
|
|
19823
|
+
*/
|
|
19824
|
+
export type ScriptScheduleUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19825
|
+
/**
|
|
19826
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19827
|
+
*/
|
|
19828
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19829
|
+
/**
|
|
19830
|
+
* Omit specific fields from the ScriptSchedule
|
|
19831
|
+
*/
|
|
19832
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19833
|
+
/**
|
|
19834
|
+
* The data needed to update a ScriptSchedule.
|
|
19835
|
+
*/
|
|
19836
|
+
data: XOR<ScriptScheduleUpdateInput, ScriptScheduleUncheckedUpdateInput>
|
|
19837
|
+
/**
|
|
19838
|
+
* Choose, which ScriptSchedule to update.
|
|
19839
|
+
*/
|
|
19840
|
+
where: ScriptScheduleWhereUniqueInput
|
|
19841
|
+
}
|
|
19842
|
+
|
|
19843
|
+
/**
|
|
19844
|
+
* ScriptSchedule updateMany
|
|
19845
|
+
*/
|
|
19846
|
+
export type ScriptScheduleUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19847
|
+
/**
|
|
19848
|
+
* The data used to update ScriptSchedules.
|
|
19849
|
+
*/
|
|
19850
|
+
data: XOR<ScriptScheduleUpdateManyMutationInput, ScriptScheduleUncheckedUpdateManyInput>
|
|
19851
|
+
/**
|
|
19852
|
+
* Filter which ScriptSchedules to update
|
|
19853
|
+
*/
|
|
19854
|
+
where?: ScriptScheduleWhereInput
|
|
19855
|
+
/**
|
|
19856
|
+
* Limit how many ScriptSchedules to update.
|
|
19857
|
+
*/
|
|
19858
|
+
limit?: number
|
|
19859
|
+
}
|
|
19860
|
+
|
|
19861
|
+
/**
|
|
19862
|
+
* ScriptSchedule updateManyAndReturn
|
|
19863
|
+
*/
|
|
19864
|
+
export type ScriptScheduleUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19865
|
+
/**
|
|
19866
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19867
|
+
*/
|
|
19868
|
+
select?: ScriptScheduleSelectUpdateManyAndReturn<ExtArgs> | null
|
|
19869
|
+
/**
|
|
19870
|
+
* Omit specific fields from the ScriptSchedule
|
|
19871
|
+
*/
|
|
19872
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19873
|
+
/**
|
|
19874
|
+
* The data used to update ScriptSchedules.
|
|
19875
|
+
*/
|
|
19876
|
+
data: XOR<ScriptScheduleUpdateManyMutationInput, ScriptScheduleUncheckedUpdateManyInput>
|
|
19877
|
+
/**
|
|
19878
|
+
* Filter which ScriptSchedules to update
|
|
19879
|
+
*/
|
|
19880
|
+
where?: ScriptScheduleWhereInput
|
|
19881
|
+
/**
|
|
19882
|
+
* Limit how many ScriptSchedules to update.
|
|
19883
|
+
*/
|
|
19884
|
+
limit?: number
|
|
19885
|
+
}
|
|
19886
|
+
|
|
19887
|
+
/**
|
|
19888
|
+
* ScriptSchedule upsert
|
|
19889
|
+
*/
|
|
19890
|
+
export type ScriptScheduleUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19891
|
+
/**
|
|
19892
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19893
|
+
*/
|
|
19894
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19895
|
+
/**
|
|
19896
|
+
* Omit specific fields from the ScriptSchedule
|
|
19897
|
+
*/
|
|
19898
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19899
|
+
/**
|
|
19900
|
+
* The filter to search for the ScriptSchedule to update in case it exists.
|
|
19901
|
+
*/
|
|
19902
|
+
where: ScriptScheduleWhereUniqueInput
|
|
19903
|
+
/**
|
|
19904
|
+
* In case the ScriptSchedule found by the `where` argument doesn't exist, create a new ScriptSchedule with this data.
|
|
19905
|
+
*/
|
|
19906
|
+
create: XOR<ScriptScheduleCreateInput, ScriptScheduleUncheckedCreateInput>
|
|
19907
|
+
/**
|
|
19908
|
+
* In case the ScriptSchedule was found with the provided `where` argument, update it with this data.
|
|
19909
|
+
*/
|
|
19910
|
+
update: XOR<ScriptScheduleUpdateInput, ScriptScheduleUncheckedUpdateInput>
|
|
19911
|
+
}
|
|
19912
|
+
|
|
19913
|
+
/**
|
|
19914
|
+
* ScriptSchedule delete
|
|
19915
|
+
*/
|
|
19916
|
+
export type ScriptScheduleDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19917
|
+
/**
|
|
19918
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19919
|
+
*/
|
|
19920
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19921
|
+
/**
|
|
19922
|
+
* Omit specific fields from the ScriptSchedule
|
|
19923
|
+
*/
|
|
19924
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19925
|
+
/**
|
|
19926
|
+
* Filter which ScriptSchedule to delete.
|
|
19927
|
+
*/
|
|
19928
|
+
where: ScriptScheduleWhereUniqueInput
|
|
19929
|
+
}
|
|
19930
|
+
|
|
19931
|
+
/**
|
|
19932
|
+
* ScriptSchedule deleteMany
|
|
19933
|
+
*/
|
|
19934
|
+
export type ScriptScheduleDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19935
|
+
/**
|
|
19936
|
+
* Filter which ScriptSchedules to delete
|
|
19937
|
+
*/
|
|
19938
|
+
where?: ScriptScheduleWhereInput
|
|
19939
|
+
/**
|
|
19940
|
+
* Limit how many ScriptSchedules to delete.
|
|
19941
|
+
*/
|
|
19942
|
+
limit?: number
|
|
19943
|
+
}
|
|
19944
|
+
|
|
19945
|
+
/**
|
|
19946
|
+
* ScriptSchedule without action
|
|
19947
|
+
*/
|
|
19948
|
+
export type ScriptScheduleDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19949
|
+
/**
|
|
19950
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
19951
|
+
*/
|
|
19952
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
19953
|
+
/**
|
|
19954
|
+
* Omit specific fields from the ScriptSchedule
|
|
19955
|
+
*/
|
|
19956
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
19957
|
+
}
|
|
19958
|
+
|
|
19959
|
+
|
|
19960
|
+
/**
|
|
19961
|
+
* Enums
|
|
19962
|
+
*/
|
|
19963
|
+
|
|
19964
|
+
export const TransactionIsolationLevel: {
|
|
19965
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
19966
|
+
ReadCommitted: 'ReadCommitted',
|
|
19967
|
+
RepeatableRead: 'RepeatableRead',
|
|
19968
|
+
Serializable: 'Serializable'
|
|
19969
|
+
};
|
|
19970
|
+
|
|
19971
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
19972
|
+
|
|
19973
|
+
|
|
19974
|
+
export const UserScalarFieldEnum: {
|
|
19975
|
+
id: 'id',
|
|
19976
|
+
type: 'type',
|
|
19977
|
+
createdAt: 'createdAt',
|
|
19978
|
+
updatedAt: 'updatedAt',
|
|
19979
|
+
email: 'email',
|
|
19980
|
+
username: 'username',
|
|
19981
|
+
hashword: 'hashword',
|
|
19982
|
+
appUserId: 'appUserId',
|
|
19983
|
+
organizationId: 'organizationId',
|
|
19984
|
+
appOrgId: 'appOrgId',
|
|
19985
|
+
name: 'name'
|
|
19986
|
+
};
|
|
19987
|
+
|
|
19988
|
+
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
19989
|
+
|
|
19990
|
+
|
|
19991
|
+
export const TokenScalarFieldEnum: {
|
|
19992
|
+
id: 'id',
|
|
19993
|
+
token: 'token',
|
|
19994
|
+
created: 'created',
|
|
19995
|
+
expires: 'expires',
|
|
19996
|
+
userId: 'userId'
|
|
19997
|
+
};
|
|
19998
|
+
|
|
19999
|
+
export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
|
|
20000
|
+
|
|
20001
|
+
|
|
20002
|
+
export const CredentialScalarFieldEnum: {
|
|
20003
|
+
id: 'id',
|
|
20004
|
+
userId: 'userId',
|
|
20005
|
+
authIsValid: 'authIsValid',
|
|
20006
|
+
externalId: 'externalId',
|
|
20007
|
+
data: 'data',
|
|
20008
|
+
createdAt: 'createdAt',
|
|
20009
|
+
updatedAt: 'updatedAt'
|
|
20010
|
+
};
|
|
20011
|
+
|
|
20012
|
+
export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
|
|
20013
|
+
|
|
20014
|
+
|
|
20015
|
+
export const EntityScalarFieldEnum: {
|
|
20016
|
+
id: 'id',
|
|
20017
|
+
credentialId: 'credentialId',
|
|
20018
|
+
userId: 'userId',
|
|
20019
|
+
name: 'name',
|
|
20020
|
+
moduleName: 'moduleName',
|
|
20021
|
+
externalId: 'externalId',
|
|
20022
|
+
createdAt: 'createdAt',
|
|
20023
|
+
updatedAt: 'updatedAt'
|
|
20024
|
+
};
|
|
20025
|
+
|
|
20026
|
+
export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
|
|
20027
|
+
|
|
20028
|
+
|
|
20029
|
+
export const IntegrationScalarFieldEnum: {
|
|
20030
|
+
id: 'id',
|
|
20031
|
+
userId: 'userId',
|
|
20032
|
+
status: 'status',
|
|
20033
|
+
config: 'config',
|
|
20034
|
+
version: 'version',
|
|
20035
|
+
errors: 'errors',
|
|
20036
|
+
warnings: 'warnings',
|
|
20037
|
+
info: 'info',
|
|
17500
20038
|
logs: 'logs',
|
|
17501
20039
|
createdAt: 'createdAt',
|
|
17502
20040
|
updatedAt: 'updatedAt'
|
|
@@ -17594,6 +20132,38 @@ export namespace Prisma {
|
|
|
17594
20132
|
export type WebsocketConnectionScalarFieldEnum = (typeof WebsocketConnectionScalarFieldEnum)[keyof typeof WebsocketConnectionScalarFieldEnum]
|
|
17595
20133
|
|
|
17596
20134
|
|
|
20135
|
+
export const AdminProcessScalarFieldEnum: {
|
|
20136
|
+
id: 'id',
|
|
20137
|
+
name: 'name',
|
|
20138
|
+
type: 'type',
|
|
20139
|
+
state: 'state',
|
|
20140
|
+
context: 'context',
|
|
20141
|
+
results: 'results',
|
|
20142
|
+
parentProcessId: 'parentProcessId',
|
|
20143
|
+
createdAt: 'createdAt',
|
|
20144
|
+
updatedAt: 'updatedAt'
|
|
20145
|
+
};
|
|
20146
|
+
|
|
20147
|
+
export type AdminProcessScalarFieldEnum = (typeof AdminProcessScalarFieldEnum)[keyof typeof AdminProcessScalarFieldEnum]
|
|
20148
|
+
|
|
20149
|
+
|
|
20150
|
+
export const ScriptScheduleScalarFieldEnum: {
|
|
20151
|
+
id: 'id',
|
|
20152
|
+
scriptName: 'scriptName',
|
|
20153
|
+
enabled: 'enabled',
|
|
20154
|
+
cronExpression: 'cronExpression',
|
|
20155
|
+
timezone: 'timezone',
|
|
20156
|
+
lastTriggeredAt: 'lastTriggeredAt',
|
|
20157
|
+
nextTriggerAt: 'nextTriggerAt',
|
|
20158
|
+
externalScheduleId: 'externalScheduleId',
|
|
20159
|
+
externalScheduleName: 'externalScheduleName',
|
|
20160
|
+
createdAt: 'createdAt',
|
|
20161
|
+
updatedAt: 'updatedAt'
|
|
20162
|
+
};
|
|
20163
|
+
|
|
20164
|
+
export type ScriptScheduleScalarFieldEnum = (typeof ScriptScheduleScalarFieldEnum)[keyof typeof ScriptScheduleScalarFieldEnum]
|
|
20165
|
+
|
|
20166
|
+
|
|
17597
20167
|
export const SortOrder: {
|
|
17598
20168
|
asc: 'asc',
|
|
17599
20169
|
desc: 'desc'
|
|
@@ -17752,6 +20322,20 @@ export namespace Prisma {
|
|
|
17752
20322
|
|
|
17753
20323
|
|
|
17754
20324
|
|
|
20325
|
+
/**
|
|
20326
|
+
* Reference to a field of type 'AdminProcessState'
|
|
20327
|
+
*/
|
|
20328
|
+
export type EnumAdminProcessStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AdminProcessState'>
|
|
20329
|
+
|
|
20330
|
+
|
|
20331
|
+
|
|
20332
|
+
/**
|
|
20333
|
+
* Reference to a field of type 'AdminProcessState[]'
|
|
20334
|
+
*/
|
|
20335
|
+
export type ListEnumAdminProcessStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AdminProcessState[]'>
|
|
20336
|
+
|
|
20337
|
+
|
|
20338
|
+
|
|
17755
20339
|
/**
|
|
17756
20340
|
* Reference to a field of type 'Float'
|
|
17757
20341
|
*/
|
|
@@ -18671,6 +21255,170 @@ export namespace Prisma {
|
|
|
18671
21255
|
connectionId?: StringNullableWithAggregatesFilter<"WebsocketConnection"> | string | null
|
|
18672
21256
|
}
|
|
18673
21257
|
|
|
21258
|
+
export type AdminProcessWhereInput = {
|
|
21259
|
+
AND?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
21260
|
+
OR?: AdminProcessWhereInput[]
|
|
21261
|
+
NOT?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
21262
|
+
id?: IntFilter<"AdminProcess"> | number
|
|
21263
|
+
name?: StringFilter<"AdminProcess"> | string
|
|
21264
|
+
type?: StringFilter<"AdminProcess"> | string
|
|
21265
|
+
state?: EnumAdminProcessStateFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
21266
|
+
context?: JsonFilter<"AdminProcess">
|
|
21267
|
+
results?: JsonFilter<"AdminProcess">
|
|
21268
|
+
parentProcessId?: IntNullableFilter<"AdminProcess"> | number | null
|
|
21269
|
+
createdAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
21270
|
+
updatedAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
21271
|
+
parentProcess?: XOR<AdminProcessNullableScalarRelationFilter, AdminProcessWhereInput> | null
|
|
21272
|
+
childProcesses?: AdminProcessListRelationFilter
|
|
21273
|
+
}
|
|
21274
|
+
|
|
21275
|
+
export type AdminProcessOrderByWithRelationInput = {
|
|
21276
|
+
id?: SortOrder
|
|
21277
|
+
name?: SortOrder
|
|
21278
|
+
type?: SortOrder
|
|
21279
|
+
state?: SortOrder
|
|
21280
|
+
context?: SortOrder
|
|
21281
|
+
results?: SortOrder
|
|
21282
|
+
parentProcessId?: SortOrderInput | SortOrder
|
|
21283
|
+
createdAt?: SortOrder
|
|
21284
|
+
updatedAt?: SortOrder
|
|
21285
|
+
parentProcess?: AdminProcessOrderByWithRelationInput
|
|
21286
|
+
childProcesses?: AdminProcessOrderByRelationAggregateInput
|
|
21287
|
+
}
|
|
21288
|
+
|
|
21289
|
+
export type AdminProcessWhereUniqueInput = Prisma.AtLeast<{
|
|
21290
|
+
id?: number
|
|
21291
|
+
AND?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
21292
|
+
OR?: AdminProcessWhereInput[]
|
|
21293
|
+
NOT?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
21294
|
+
name?: StringFilter<"AdminProcess"> | string
|
|
21295
|
+
type?: StringFilter<"AdminProcess"> | string
|
|
21296
|
+
state?: EnumAdminProcessStateFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
21297
|
+
context?: JsonFilter<"AdminProcess">
|
|
21298
|
+
results?: JsonFilter<"AdminProcess">
|
|
21299
|
+
parentProcessId?: IntNullableFilter<"AdminProcess"> | number | null
|
|
21300
|
+
createdAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
21301
|
+
updatedAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
21302
|
+
parentProcess?: XOR<AdminProcessNullableScalarRelationFilter, AdminProcessWhereInput> | null
|
|
21303
|
+
childProcesses?: AdminProcessListRelationFilter
|
|
21304
|
+
}, "id">
|
|
21305
|
+
|
|
21306
|
+
export type AdminProcessOrderByWithAggregationInput = {
|
|
21307
|
+
id?: SortOrder
|
|
21308
|
+
name?: SortOrder
|
|
21309
|
+
type?: SortOrder
|
|
21310
|
+
state?: SortOrder
|
|
21311
|
+
context?: SortOrder
|
|
21312
|
+
results?: SortOrder
|
|
21313
|
+
parentProcessId?: SortOrderInput | SortOrder
|
|
21314
|
+
createdAt?: SortOrder
|
|
21315
|
+
updatedAt?: SortOrder
|
|
21316
|
+
_count?: AdminProcessCountOrderByAggregateInput
|
|
21317
|
+
_avg?: AdminProcessAvgOrderByAggregateInput
|
|
21318
|
+
_max?: AdminProcessMaxOrderByAggregateInput
|
|
21319
|
+
_min?: AdminProcessMinOrderByAggregateInput
|
|
21320
|
+
_sum?: AdminProcessSumOrderByAggregateInput
|
|
21321
|
+
}
|
|
21322
|
+
|
|
21323
|
+
export type AdminProcessScalarWhereWithAggregatesInput = {
|
|
21324
|
+
AND?: AdminProcessScalarWhereWithAggregatesInput | AdminProcessScalarWhereWithAggregatesInput[]
|
|
21325
|
+
OR?: AdminProcessScalarWhereWithAggregatesInput[]
|
|
21326
|
+
NOT?: AdminProcessScalarWhereWithAggregatesInput | AdminProcessScalarWhereWithAggregatesInput[]
|
|
21327
|
+
id?: IntWithAggregatesFilter<"AdminProcess"> | number
|
|
21328
|
+
name?: StringWithAggregatesFilter<"AdminProcess"> | string
|
|
21329
|
+
type?: StringWithAggregatesFilter<"AdminProcess"> | string
|
|
21330
|
+
state?: EnumAdminProcessStateWithAggregatesFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
21331
|
+
context?: JsonWithAggregatesFilter<"AdminProcess">
|
|
21332
|
+
results?: JsonWithAggregatesFilter<"AdminProcess">
|
|
21333
|
+
parentProcessId?: IntNullableWithAggregatesFilter<"AdminProcess"> | number | null
|
|
21334
|
+
createdAt?: DateTimeWithAggregatesFilter<"AdminProcess"> | Date | string
|
|
21335
|
+
updatedAt?: DateTimeWithAggregatesFilter<"AdminProcess"> | Date | string
|
|
21336
|
+
}
|
|
21337
|
+
|
|
21338
|
+
export type ScriptScheduleWhereInput = {
|
|
21339
|
+
AND?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
21340
|
+
OR?: ScriptScheduleWhereInput[]
|
|
21341
|
+
NOT?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
21342
|
+
id?: IntFilter<"ScriptSchedule"> | number
|
|
21343
|
+
scriptName?: StringFilter<"ScriptSchedule"> | string
|
|
21344
|
+
enabled?: BoolFilter<"ScriptSchedule"> | boolean
|
|
21345
|
+
cronExpression?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
21346
|
+
timezone?: StringFilter<"ScriptSchedule"> | string
|
|
21347
|
+
lastTriggeredAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
21348
|
+
nextTriggerAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
21349
|
+
externalScheduleId?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
21350
|
+
externalScheduleName?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
21351
|
+
createdAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
21352
|
+
updatedAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
21353
|
+
}
|
|
21354
|
+
|
|
21355
|
+
export type ScriptScheduleOrderByWithRelationInput = {
|
|
21356
|
+
id?: SortOrder
|
|
21357
|
+
scriptName?: SortOrder
|
|
21358
|
+
enabled?: SortOrder
|
|
21359
|
+
cronExpression?: SortOrderInput | SortOrder
|
|
21360
|
+
timezone?: SortOrder
|
|
21361
|
+
lastTriggeredAt?: SortOrderInput | SortOrder
|
|
21362
|
+
nextTriggerAt?: SortOrderInput | SortOrder
|
|
21363
|
+
externalScheduleId?: SortOrderInput | SortOrder
|
|
21364
|
+
externalScheduleName?: SortOrderInput | SortOrder
|
|
21365
|
+
createdAt?: SortOrder
|
|
21366
|
+
updatedAt?: SortOrder
|
|
21367
|
+
}
|
|
21368
|
+
|
|
21369
|
+
export type ScriptScheduleWhereUniqueInput = Prisma.AtLeast<{
|
|
21370
|
+
id?: number
|
|
21371
|
+
scriptName?: string
|
|
21372
|
+
AND?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
21373
|
+
OR?: ScriptScheduleWhereInput[]
|
|
21374
|
+
NOT?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
21375
|
+
enabled?: BoolFilter<"ScriptSchedule"> | boolean
|
|
21376
|
+
cronExpression?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
21377
|
+
timezone?: StringFilter<"ScriptSchedule"> | string
|
|
21378
|
+
lastTriggeredAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
21379
|
+
nextTriggerAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
21380
|
+
externalScheduleId?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
21381
|
+
externalScheduleName?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
21382
|
+
createdAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
21383
|
+
updatedAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
21384
|
+
}, "id" | "scriptName">
|
|
21385
|
+
|
|
21386
|
+
export type ScriptScheduleOrderByWithAggregationInput = {
|
|
21387
|
+
id?: SortOrder
|
|
21388
|
+
scriptName?: SortOrder
|
|
21389
|
+
enabled?: SortOrder
|
|
21390
|
+
cronExpression?: SortOrderInput | SortOrder
|
|
21391
|
+
timezone?: SortOrder
|
|
21392
|
+
lastTriggeredAt?: SortOrderInput | SortOrder
|
|
21393
|
+
nextTriggerAt?: SortOrderInput | SortOrder
|
|
21394
|
+
externalScheduleId?: SortOrderInput | SortOrder
|
|
21395
|
+
externalScheduleName?: SortOrderInput | SortOrder
|
|
21396
|
+
createdAt?: SortOrder
|
|
21397
|
+
updatedAt?: SortOrder
|
|
21398
|
+
_count?: ScriptScheduleCountOrderByAggregateInput
|
|
21399
|
+
_avg?: ScriptScheduleAvgOrderByAggregateInput
|
|
21400
|
+
_max?: ScriptScheduleMaxOrderByAggregateInput
|
|
21401
|
+
_min?: ScriptScheduleMinOrderByAggregateInput
|
|
21402
|
+
_sum?: ScriptScheduleSumOrderByAggregateInput
|
|
21403
|
+
}
|
|
21404
|
+
|
|
21405
|
+
export type ScriptScheduleScalarWhereWithAggregatesInput = {
|
|
21406
|
+
AND?: ScriptScheduleScalarWhereWithAggregatesInput | ScriptScheduleScalarWhereWithAggregatesInput[]
|
|
21407
|
+
OR?: ScriptScheduleScalarWhereWithAggregatesInput[]
|
|
21408
|
+
NOT?: ScriptScheduleScalarWhereWithAggregatesInput | ScriptScheduleScalarWhereWithAggregatesInput[]
|
|
21409
|
+
id?: IntWithAggregatesFilter<"ScriptSchedule"> | number
|
|
21410
|
+
scriptName?: StringWithAggregatesFilter<"ScriptSchedule"> | string
|
|
21411
|
+
enabled?: BoolWithAggregatesFilter<"ScriptSchedule"> | boolean
|
|
21412
|
+
cronExpression?: StringNullableWithAggregatesFilter<"ScriptSchedule"> | string | null
|
|
21413
|
+
timezone?: StringWithAggregatesFilter<"ScriptSchedule"> | string
|
|
21414
|
+
lastTriggeredAt?: DateTimeNullableWithAggregatesFilter<"ScriptSchedule"> | Date | string | null
|
|
21415
|
+
nextTriggerAt?: DateTimeNullableWithAggregatesFilter<"ScriptSchedule"> | Date | string | null
|
|
21416
|
+
externalScheduleId?: StringNullableWithAggregatesFilter<"ScriptSchedule"> | string | null
|
|
21417
|
+
externalScheduleName?: StringNullableWithAggregatesFilter<"ScriptSchedule"> | string | null
|
|
21418
|
+
createdAt?: DateTimeWithAggregatesFilter<"ScriptSchedule"> | Date | string
|
|
21419
|
+
updatedAt?: DateTimeWithAggregatesFilter<"ScriptSchedule"> | Date | string
|
|
21420
|
+
}
|
|
21421
|
+
|
|
18674
21422
|
export type UserCreateInput = {
|
|
18675
21423
|
type: $Enums.UserType
|
|
18676
21424
|
createdAt?: Date | string
|
|
@@ -19509,45 +22257,224 @@ export namespace Prisma {
|
|
|
19509
22257
|
state?: NullableJsonNullValueInput | InputJsonValue
|
|
19510
22258
|
}
|
|
19511
22259
|
|
|
19512
|
-
export type StateUpdateManyMutationInput = {
|
|
19513
|
-
state?: NullableJsonNullValueInput | InputJsonValue
|
|
22260
|
+
export type StateUpdateManyMutationInput = {
|
|
22261
|
+
state?: NullableJsonNullValueInput | InputJsonValue
|
|
22262
|
+
}
|
|
22263
|
+
|
|
22264
|
+
export type StateUncheckedUpdateManyInput = {
|
|
22265
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
22266
|
+
state?: NullableJsonNullValueInput | InputJsonValue
|
|
22267
|
+
}
|
|
22268
|
+
|
|
22269
|
+
export type WebsocketConnectionCreateInput = {
|
|
22270
|
+
connectionId?: string | null
|
|
22271
|
+
}
|
|
22272
|
+
|
|
22273
|
+
export type WebsocketConnectionUncheckedCreateInput = {
|
|
22274
|
+
id?: number
|
|
22275
|
+
connectionId?: string | null
|
|
22276
|
+
}
|
|
22277
|
+
|
|
22278
|
+
export type WebsocketConnectionUpdateInput = {
|
|
22279
|
+
connectionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22280
|
+
}
|
|
22281
|
+
|
|
22282
|
+
export type WebsocketConnectionUncheckedUpdateInput = {
|
|
22283
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
22284
|
+
connectionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22285
|
+
}
|
|
22286
|
+
|
|
22287
|
+
export type WebsocketConnectionCreateManyInput = {
|
|
22288
|
+
id?: number
|
|
22289
|
+
connectionId?: string | null
|
|
22290
|
+
}
|
|
22291
|
+
|
|
22292
|
+
export type WebsocketConnectionUpdateManyMutationInput = {
|
|
22293
|
+
connectionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22294
|
+
}
|
|
22295
|
+
|
|
22296
|
+
export type WebsocketConnectionUncheckedUpdateManyInput = {
|
|
22297
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
22298
|
+
connectionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22299
|
+
}
|
|
22300
|
+
|
|
22301
|
+
export type AdminProcessCreateInput = {
|
|
22302
|
+
name: string
|
|
22303
|
+
type: string
|
|
22304
|
+
state?: $Enums.AdminProcessState
|
|
22305
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22306
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22307
|
+
createdAt?: Date | string
|
|
22308
|
+
updatedAt?: Date | string
|
|
22309
|
+
parentProcess?: AdminProcessCreateNestedOneWithoutChildProcessesInput
|
|
22310
|
+
childProcesses?: AdminProcessCreateNestedManyWithoutParentProcessInput
|
|
22311
|
+
}
|
|
22312
|
+
|
|
22313
|
+
export type AdminProcessUncheckedCreateInput = {
|
|
22314
|
+
id?: number
|
|
22315
|
+
name: string
|
|
22316
|
+
type: string
|
|
22317
|
+
state?: $Enums.AdminProcessState
|
|
22318
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22319
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22320
|
+
parentProcessId?: number | null
|
|
22321
|
+
createdAt?: Date | string
|
|
22322
|
+
updatedAt?: Date | string
|
|
22323
|
+
childProcesses?: AdminProcessUncheckedCreateNestedManyWithoutParentProcessInput
|
|
22324
|
+
}
|
|
22325
|
+
|
|
22326
|
+
export type AdminProcessUpdateInput = {
|
|
22327
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
22328
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
22329
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
22330
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22331
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22332
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22333
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22334
|
+
parentProcess?: AdminProcessUpdateOneWithoutChildProcessesNestedInput
|
|
22335
|
+
childProcesses?: AdminProcessUpdateManyWithoutParentProcessNestedInput
|
|
22336
|
+
}
|
|
22337
|
+
|
|
22338
|
+
export type AdminProcessUncheckedUpdateInput = {
|
|
22339
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
22340
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
22341
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
22342
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
22343
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22344
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22345
|
+
parentProcessId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
22346
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22347
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22348
|
+
childProcesses?: AdminProcessUncheckedUpdateManyWithoutParentProcessNestedInput
|
|
22349
|
+
}
|
|
22350
|
+
|
|
22351
|
+
export type AdminProcessCreateManyInput = {
|
|
22352
|
+
id?: number
|
|
22353
|
+
name: string
|
|
22354
|
+
type: string
|
|
22355
|
+
state?: $Enums.AdminProcessState
|
|
22356
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22357
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22358
|
+
parentProcessId?: number | null
|
|
22359
|
+
createdAt?: Date | string
|
|
22360
|
+
updatedAt?: Date | string
|
|
22361
|
+
}
|
|
22362
|
+
|
|
22363
|
+
export type AdminProcessUpdateManyMutationInput = {
|
|
22364
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
22365
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
22366
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
22367
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22368
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22369
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22370
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19514
22371
|
}
|
|
19515
22372
|
|
|
19516
|
-
export type
|
|
22373
|
+
export type AdminProcessUncheckedUpdateManyInput = {
|
|
19517
22374
|
id?: IntFieldUpdateOperationsInput | number
|
|
19518
|
-
|
|
22375
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
22376
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
22377
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
22378
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
22379
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
22380
|
+
parentProcessId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
22381
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22382
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19519
22383
|
}
|
|
19520
22384
|
|
|
19521
|
-
export type
|
|
19522
|
-
|
|
22385
|
+
export type ScriptScheduleCreateInput = {
|
|
22386
|
+
scriptName: string
|
|
22387
|
+
enabled?: boolean
|
|
22388
|
+
cronExpression?: string | null
|
|
22389
|
+
timezone?: string
|
|
22390
|
+
lastTriggeredAt?: Date | string | null
|
|
22391
|
+
nextTriggerAt?: Date | string | null
|
|
22392
|
+
externalScheduleId?: string | null
|
|
22393
|
+
externalScheduleName?: string | null
|
|
22394
|
+
createdAt?: Date | string
|
|
22395
|
+
updatedAt?: Date | string
|
|
19523
22396
|
}
|
|
19524
22397
|
|
|
19525
|
-
export type
|
|
22398
|
+
export type ScriptScheduleUncheckedCreateInput = {
|
|
19526
22399
|
id?: number
|
|
19527
|
-
|
|
22400
|
+
scriptName: string
|
|
22401
|
+
enabled?: boolean
|
|
22402
|
+
cronExpression?: string | null
|
|
22403
|
+
timezone?: string
|
|
22404
|
+
lastTriggeredAt?: Date | string | null
|
|
22405
|
+
nextTriggerAt?: Date | string | null
|
|
22406
|
+
externalScheduleId?: string | null
|
|
22407
|
+
externalScheduleName?: string | null
|
|
22408
|
+
createdAt?: Date | string
|
|
22409
|
+
updatedAt?: Date | string
|
|
19528
22410
|
}
|
|
19529
22411
|
|
|
19530
|
-
export type
|
|
19531
|
-
|
|
22412
|
+
export type ScriptScheduleUpdateInput = {
|
|
22413
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
22414
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
22415
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22416
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
22417
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22418
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22419
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22420
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22421
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22422
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19532
22423
|
}
|
|
19533
22424
|
|
|
19534
|
-
export type
|
|
22425
|
+
export type ScriptScheduleUncheckedUpdateInput = {
|
|
19535
22426
|
id?: IntFieldUpdateOperationsInput | number
|
|
19536
|
-
|
|
22427
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
22428
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
22429
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22430
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
22431
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22432
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22433
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22434
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22435
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22436
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19537
22437
|
}
|
|
19538
22438
|
|
|
19539
|
-
export type
|
|
22439
|
+
export type ScriptScheduleCreateManyInput = {
|
|
19540
22440
|
id?: number
|
|
19541
|
-
|
|
22441
|
+
scriptName: string
|
|
22442
|
+
enabled?: boolean
|
|
22443
|
+
cronExpression?: string | null
|
|
22444
|
+
timezone?: string
|
|
22445
|
+
lastTriggeredAt?: Date | string | null
|
|
22446
|
+
nextTriggerAt?: Date | string | null
|
|
22447
|
+
externalScheduleId?: string | null
|
|
22448
|
+
externalScheduleName?: string | null
|
|
22449
|
+
createdAt?: Date | string
|
|
22450
|
+
updatedAt?: Date | string
|
|
19542
22451
|
}
|
|
19543
22452
|
|
|
19544
|
-
export type
|
|
19545
|
-
|
|
22453
|
+
export type ScriptScheduleUpdateManyMutationInput = {
|
|
22454
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
22455
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
22456
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22457
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
22458
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22459
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22460
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22461
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22462
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22463
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19546
22464
|
}
|
|
19547
22465
|
|
|
19548
|
-
export type
|
|
22466
|
+
export type ScriptScheduleUncheckedUpdateManyInput = {
|
|
19549
22467
|
id?: IntFieldUpdateOperationsInput | number
|
|
19550
|
-
|
|
22468
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
22469
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
22470
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22471
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
22472
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22473
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22474
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22475
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22476
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22477
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
19551
22478
|
}
|
|
19552
22479
|
|
|
19553
22480
|
export type IntFilter<$PrismaModel = never> = {
|
|
@@ -20530,6 +23457,143 @@ export namespace Prisma {
|
|
|
20530
23457
|
id?: SortOrder
|
|
20531
23458
|
}
|
|
20532
23459
|
|
|
23460
|
+
export type EnumAdminProcessStateFilter<$PrismaModel = never> = {
|
|
23461
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
23462
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
23463
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
23464
|
+
not?: NestedEnumAdminProcessStateFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
23465
|
+
}
|
|
23466
|
+
|
|
23467
|
+
export type AdminProcessNullableScalarRelationFilter = {
|
|
23468
|
+
is?: AdminProcessWhereInput | null
|
|
23469
|
+
isNot?: AdminProcessWhereInput | null
|
|
23470
|
+
}
|
|
23471
|
+
|
|
23472
|
+
export type AdminProcessListRelationFilter = {
|
|
23473
|
+
every?: AdminProcessWhereInput
|
|
23474
|
+
some?: AdminProcessWhereInput
|
|
23475
|
+
none?: AdminProcessWhereInput
|
|
23476
|
+
}
|
|
23477
|
+
|
|
23478
|
+
export type AdminProcessOrderByRelationAggregateInput = {
|
|
23479
|
+
_count?: SortOrder
|
|
23480
|
+
}
|
|
23481
|
+
|
|
23482
|
+
export type AdminProcessCountOrderByAggregateInput = {
|
|
23483
|
+
id?: SortOrder
|
|
23484
|
+
name?: SortOrder
|
|
23485
|
+
type?: SortOrder
|
|
23486
|
+
state?: SortOrder
|
|
23487
|
+
context?: SortOrder
|
|
23488
|
+
results?: SortOrder
|
|
23489
|
+
parentProcessId?: SortOrder
|
|
23490
|
+
createdAt?: SortOrder
|
|
23491
|
+
updatedAt?: SortOrder
|
|
23492
|
+
}
|
|
23493
|
+
|
|
23494
|
+
export type AdminProcessAvgOrderByAggregateInput = {
|
|
23495
|
+
id?: SortOrder
|
|
23496
|
+
parentProcessId?: SortOrder
|
|
23497
|
+
}
|
|
23498
|
+
|
|
23499
|
+
export type AdminProcessMaxOrderByAggregateInput = {
|
|
23500
|
+
id?: SortOrder
|
|
23501
|
+
name?: SortOrder
|
|
23502
|
+
type?: SortOrder
|
|
23503
|
+
state?: SortOrder
|
|
23504
|
+
parentProcessId?: SortOrder
|
|
23505
|
+
createdAt?: SortOrder
|
|
23506
|
+
updatedAt?: SortOrder
|
|
23507
|
+
}
|
|
23508
|
+
|
|
23509
|
+
export type AdminProcessMinOrderByAggregateInput = {
|
|
23510
|
+
id?: SortOrder
|
|
23511
|
+
name?: SortOrder
|
|
23512
|
+
type?: SortOrder
|
|
23513
|
+
state?: SortOrder
|
|
23514
|
+
parentProcessId?: SortOrder
|
|
23515
|
+
createdAt?: SortOrder
|
|
23516
|
+
updatedAt?: SortOrder
|
|
23517
|
+
}
|
|
23518
|
+
|
|
23519
|
+
export type AdminProcessSumOrderByAggregateInput = {
|
|
23520
|
+
id?: SortOrder
|
|
23521
|
+
parentProcessId?: SortOrder
|
|
23522
|
+
}
|
|
23523
|
+
|
|
23524
|
+
export type EnumAdminProcessStateWithAggregatesFilter<$PrismaModel = never> = {
|
|
23525
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
23526
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
23527
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
23528
|
+
not?: NestedEnumAdminProcessStateWithAggregatesFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
23529
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
23530
|
+
_min?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
23531
|
+
_max?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
23532
|
+
}
|
|
23533
|
+
|
|
23534
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
23535
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
23536
|
+
not?: NestedBoolFilter<$PrismaModel> | boolean
|
|
23537
|
+
}
|
|
23538
|
+
|
|
23539
|
+
export type ScriptScheduleCountOrderByAggregateInput = {
|
|
23540
|
+
id?: SortOrder
|
|
23541
|
+
scriptName?: SortOrder
|
|
23542
|
+
enabled?: SortOrder
|
|
23543
|
+
cronExpression?: SortOrder
|
|
23544
|
+
timezone?: SortOrder
|
|
23545
|
+
lastTriggeredAt?: SortOrder
|
|
23546
|
+
nextTriggerAt?: SortOrder
|
|
23547
|
+
externalScheduleId?: SortOrder
|
|
23548
|
+
externalScheduleName?: SortOrder
|
|
23549
|
+
createdAt?: SortOrder
|
|
23550
|
+
updatedAt?: SortOrder
|
|
23551
|
+
}
|
|
23552
|
+
|
|
23553
|
+
export type ScriptScheduleAvgOrderByAggregateInput = {
|
|
23554
|
+
id?: SortOrder
|
|
23555
|
+
}
|
|
23556
|
+
|
|
23557
|
+
export type ScriptScheduleMaxOrderByAggregateInput = {
|
|
23558
|
+
id?: SortOrder
|
|
23559
|
+
scriptName?: SortOrder
|
|
23560
|
+
enabled?: SortOrder
|
|
23561
|
+
cronExpression?: SortOrder
|
|
23562
|
+
timezone?: SortOrder
|
|
23563
|
+
lastTriggeredAt?: SortOrder
|
|
23564
|
+
nextTriggerAt?: SortOrder
|
|
23565
|
+
externalScheduleId?: SortOrder
|
|
23566
|
+
externalScheduleName?: SortOrder
|
|
23567
|
+
createdAt?: SortOrder
|
|
23568
|
+
updatedAt?: SortOrder
|
|
23569
|
+
}
|
|
23570
|
+
|
|
23571
|
+
export type ScriptScheduleMinOrderByAggregateInput = {
|
|
23572
|
+
id?: SortOrder
|
|
23573
|
+
scriptName?: SortOrder
|
|
23574
|
+
enabled?: SortOrder
|
|
23575
|
+
cronExpression?: SortOrder
|
|
23576
|
+
timezone?: SortOrder
|
|
23577
|
+
lastTriggeredAt?: SortOrder
|
|
23578
|
+
nextTriggerAt?: SortOrder
|
|
23579
|
+
externalScheduleId?: SortOrder
|
|
23580
|
+
externalScheduleName?: SortOrder
|
|
23581
|
+
createdAt?: SortOrder
|
|
23582
|
+
updatedAt?: SortOrder
|
|
23583
|
+
}
|
|
23584
|
+
|
|
23585
|
+
export type ScriptScheduleSumOrderByAggregateInput = {
|
|
23586
|
+
id?: SortOrder
|
|
23587
|
+
}
|
|
23588
|
+
|
|
23589
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
23590
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
23591
|
+
not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
23592
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
23593
|
+
_min?: NestedBoolFilter<$PrismaModel>
|
|
23594
|
+
_max?: NestedBoolFilter<$PrismaModel>
|
|
23595
|
+
}
|
|
23596
|
+
|
|
20533
23597
|
export type UserCreateNestedOneWithoutMembersInput = {
|
|
20534
23598
|
create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
|
|
20535
23599
|
connectOrCreate?: UserCreateOrConnectWithoutMembersInput
|
|
@@ -21642,6 +24706,72 @@ export namespace Prisma {
|
|
|
21642
24706
|
deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
|
|
21643
24707
|
}
|
|
21644
24708
|
|
|
24709
|
+
export type AdminProcessCreateNestedOneWithoutChildProcessesInput = {
|
|
24710
|
+
create?: XOR<AdminProcessCreateWithoutChildProcessesInput, AdminProcessUncheckedCreateWithoutChildProcessesInput>
|
|
24711
|
+
connectOrCreate?: AdminProcessCreateOrConnectWithoutChildProcessesInput
|
|
24712
|
+
connect?: AdminProcessWhereUniqueInput
|
|
24713
|
+
}
|
|
24714
|
+
|
|
24715
|
+
export type AdminProcessCreateNestedManyWithoutParentProcessInput = {
|
|
24716
|
+
create?: XOR<AdminProcessCreateWithoutParentProcessInput, AdminProcessUncheckedCreateWithoutParentProcessInput> | AdminProcessCreateWithoutParentProcessInput[] | AdminProcessUncheckedCreateWithoutParentProcessInput[]
|
|
24717
|
+
connectOrCreate?: AdminProcessCreateOrConnectWithoutParentProcessInput | AdminProcessCreateOrConnectWithoutParentProcessInput[]
|
|
24718
|
+
createMany?: AdminProcessCreateManyParentProcessInputEnvelope
|
|
24719
|
+
connect?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24720
|
+
}
|
|
24721
|
+
|
|
24722
|
+
export type AdminProcessUncheckedCreateNestedManyWithoutParentProcessInput = {
|
|
24723
|
+
create?: XOR<AdminProcessCreateWithoutParentProcessInput, AdminProcessUncheckedCreateWithoutParentProcessInput> | AdminProcessCreateWithoutParentProcessInput[] | AdminProcessUncheckedCreateWithoutParentProcessInput[]
|
|
24724
|
+
connectOrCreate?: AdminProcessCreateOrConnectWithoutParentProcessInput | AdminProcessCreateOrConnectWithoutParentProcessInput[]
|
|
24725
|
+
createMany?: AdminProcessCreateManyParentProcessInputEnvelope
|
|
24726
|
+
connect?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24727
|
+
}
|
|
24728
|
+
|
|
24729
|
+
export type EnumAdminProcessStateFieldUpdateOperationsInput = {
|
|
24730
|
+
set?: $Enums.AdminProcessState
|
|
24731
|
+
}
|
|
24732
|
+
|
|
24733
|
+
export type AdminProcessUpdateOneWithoutChildProcessesNestedInput = {
|
|
24734
|
+
create?: XOR<AdminProcessCreateWithoutChildProcessesInput, AdminProcessUncheckedCreateWithoutChildProcessesInput>
|
|
24735
|
+
connectOrCreate?: AdminProcessCreateOrConnectWithoutChildProcessesInput
|
|
24736
|
+
upsert?: AdminProcessUpsertWithoutChildProcessesInput
|
|
24737
|
+
disconnect?: AdminProcessWhereInput | boolean
|
|
24738
|
+
delete?: AdminProcessWhereInput | boolean
|
|
24739
|
+
connect?: AdminProcessWhereUniqueInput
|
|
24740
|
+
update?: XOR<XOR<AdminProcessUpdateToOneWithWhereWithoutChildProcessesInput, AdminProcessUpdateWithoutChildProcessesInput>, AdminProcessUncheckedUpdateWithoutChildProcessesInput>
|
|
24741
|
+
}
|
|
24742
|
+
|
|
24743
|
+
export type AdminProcessUpdateManyWithoutParentProcessNestedInput = {
|
|
24744
|
+
create?: XOR<AdminProcessCreateWithoutParentProcessInput, AdminProcessUncheckedCreateWithoutParentProcessInput> | AdminProcessCreateWithoutParentProcessInput[] | AdminProcessUncheckedCreateWithoutParentProcessInput[]
|
|
24745
|
+
connectOrCreate?: AdminProcessCreateOrConnectWithoutParentProcessInput | AdminProcessCreateOrConnectWithoutParentProcessInput[]
|
|
24746
|
+
upsert?: AdminProcessUpsertWithWhereUniqueWithoutParentProcessInput | AdminProcessUpsertWithWhereUniqueWithoutParentProcessInput[]
|
|
24747
|
+
createMany?: AdminProcessCreateManyParentProcessInputEnvelope
|
|
24748
|
+
set?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24749
|
+
disconnect?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24750
|
+
delete?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24751
|
+
connect?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24752
|
+
update?: AdminProcessUpdateWithWhereUniqueWithoutParentProcessInput | AdminProcessUpdateWithWhereUniqueWithoutParentProcessInput[]
|
|
24753
|
+
updateMany?: AdminProcessUpdateManyWithWhereWithoutParentProcessInput | AdminProcessUpdateManyWithWhereWithoutParentProcessInput[]
|
|
24754
|
+
deleteMany?: AdminProcessScalarWhereInput | AdminProcessScalarWhereInput[]
|
|
24755
|
+
}
|
|
24756
|
+
|
|
24757
|
+
export type AdminProcessUncheckedUpdateManyWithoutParentProcessNestedInput = {
|
|
24758
|
+
create?: XOR<AdminProcessCreateWithoutParentProcessInput, AdminProcessUncheckedCreateWithoutParentProcessInput> | AdminProcessCreateWithoutParentProcessInput[] | AdminProcessUncheckedCreateWithoutParentProcessInput[]
|
|
24759
|
+
connectOrCreate?: AdminProcessCreateOrConnectWithoutParentProcessInput | AdminProcessCreateOrConnectWithoutParentProcessInput[]
|
|
24760
|
+
upsert?: AdminProcessUpsertWithWhereUniqueWithoutParentProcessInput | AdminProcessUpsertWithWhereUniqueWithoutParentProcessInput[]
|
|
24761
|
+
createMany?: AdminProcessCreateManyParentProcessInputEnvelope
|
|
24762
|
+
set?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24763
|
+
disconnect?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24764
|
+
delete?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24765
|
+
connect?: AdminProcessWhereUniqueInput | AdminProcessWhereUniqueInput[]
|
|
24766
|
+
update?: AdminProcessUpdateWithWhereUniqueWithoutParentProcessInput | AdminProcessUpdateWithWhereUniqueWithoutParentProcessInput[]
|
|
24767
|
+
updateMany?: AdminProcessUpdateManyWithWhereWithoutParentProcessInput | AdminProcessUpdateManyWithWhereWithoutParentProcessInput[]
|
|
24768
|
+
deleteMany?: AdminProcessScalarWhereInput | AdminProcessScalarWhereInput[]
|
|
24769
|
+
}
|
|
24770
|
+
|
|
24771
|
+
export type BoolFieldUpdateOperationsInput = {
|
|
24772
|
+
set?: boolean
|
|
24773
|
+
}
|
|
24774
|
+
|
|
21645
24775
|
export type NestedIntFilter<$PrismaModel = never> = {
|
|
21646
24776
|
equals?: number | IntFieldRefInput<$PrismaModel>
|
|
21647
24777
|
in?: number[] | ListIntFieldRefInput<$PrismaModel>
|
|
@@ -21940,6 +25070,36 @@ export namespace Prisma {
|
|
|
21940
25070
|
_max?: NestedEnumAssociationTypeFilter<$PrismaModel>
|
|
21941
25071
|
}
|
|
21942
25072
|
|
|
25073
|
+
export type NestedEnumAdminProcessStateFilter<$PrismaModel = never> = {
|
|
25074
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
25075
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
25076
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
25077
|
+
not?: NestedEnumAdminProcessStateFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
25078
|
+
}
|
|
25079
|
+
|
|
25080
|
+
export type NestedEnumAdminProcessStateWithAggregatesFilter<$PrismaModel = never> = {
|
|
25081
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
25082
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
25083
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
25084
|
+
not?: NestedEnumAdminProcessStateWithAggregatesFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
25085
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
25086
|
+
_min?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
25087
|
+
_max?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
25088
|
+
}
|
|
25089
|
+
|
|
25090
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
25091
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
25092
|
+
not?: NestedBoolFilter<$PrismaModel> | boolean
|
|
25093
|
+
}
|
|
25094
|
+
|
|
25095
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
25096
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
25097
|
+
not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
25098
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
25099
|
+
_min?: NestedBoolFilter<$PrismaModel>
|
|
25100
|
+
_max?: NestedBoolFilter<$PrismaModel>
|
|
25101
|
+
}
|
|
25102
|
+
|
|
21943
25103
|
export type UserCreateWithoutMembersInput = {
|
|
21944
25104
|
type: $Enums.UserType
|
|
21945
25105
|
createdAt?: Date | string
|
|
@@ -24269,6 +27429,132 @@ export namespace Prisma {
|
|
|
24269
27429
|
data: XOR<ProcessUpdateManyMutationInput, ProcessUncheckedUpdateManyWithoutParentProcessInput>
|
|
24270
27430
|
}
|
|
24271
27431
|
|
|
27432
|
+
export type AdminProcessCreateWithoutChildProcessesInput = {
|
|
27433
|
+
name: string
|
|
27434
|
+
type: string
|
|
27435
|
+
state?: $Enums.AdminProcessState
|
|
27436
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
27437
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
27438
|
+
createdAt?: Date | string
|
|
27439
|
+
updatedAt?: Date | string
|
|
27440
|
+
parentProcess?: AdminProcessCreateNestedOneWithoutChildProcessesInput
|
|
27441
|
+
}
|
|
27442
|
+
|
|
27443
|
+
export type AdminProcessUncheckedCreateWithoutChildProcessesInput = {
|
|
27444
|
+
id?: number
|
|
27445
|
+
name: string
|
|
27446
|
+
type: string
|
|
27447
|
+
state?: $Enums.AdminProcessState
|
|
27448
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
27449
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
27450
|
+
parentProcessId?: number | null
|
|
27451
|
+
createdAt?: Date | string
|
|
27452
|
+
updatedAt?: Date | string
|
|
27453
|
+
}
|
|
27454
|
+
|
|
27455
|
+
export type AdminProcessCreateOrConnectWithoutChildProcessesInput = {
|
|
27456
|
+
where: AdminProcessWhereUniqueInput
|
|
27457
|
+
create: XOR<AdminProcessCreateWithoutChildProcessesInput, AdminProcessUncheckedCreateWithoutChildProcessesInput>
|
|
27458
|
+
}
|
|
27459
|
+
|
|
27460
|
+
export type AdminProcessCreateWithoutParentProcessInput = {
|
|
27461
|
+
name: string
|
|
27462
|
+
type: string
|
|
27463
|
+
state?: $Enums.AdminProcessState
|
|
27464
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
27465
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
27466
|
+
createdAt?: Date | string
|
|
27467
|
+
updatedAt?: Date | string
|
|
27468
|
+
childProcesses?: AdminProcessCreateNestedManyWithoutParentProcessInput
|
|
27469
|
+
}
|
|
27470
|
+
|
|
27471
|
+
export type AdminProcessUncheckedCreateWithoutParentProcessInput = {
|
|
27472
|
+
id?: number
|
|
27473
|
+
name: string
|
|
27474
|
+
type: string
|
|
27475
|
+
state?: $Enums.AdminProcessState
|
|
27476
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
27477
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
27478
|
+
createdAt?: Date | string
|
|
27479
|
+
updatedAt?: Date | string
|
|
27480
|
+
childProcesses?: AdminProcessUncheckedCreateNestedManyWithoutParentProcessInput
|
|
27481
|
+
}
|
|
27482
|
+
|
|
27483
|
+
export type AdminProcessCreateOrConnectWithoutParentProcessInput = {
|
|
27484
|
+
where: AdminProcessWhereUniqueInput
|
|
27485
|
+
create: XOR<AdminProcessCreateWithoutParentProcessInput, AdminProcessUncheckedCreateWithoutParentProcessInput>
|
|
27486
|
+
}
|
|
27487
|
+
|
|
27488
|
+
export type AdminProcessCreateManyParentProcessInputEnvelope = {
|
|
27489
|
+
data: AdminProcessCreateManyParentProcessInput | AdminProcessCreateManyParentProcessInput[]
|
|
27490
|
+
skipDuplicates?: boolean
|
|
27491
|
+
}
|
|
27492
|
+
|
|
27493
|
+
export type AdminProcessUpsertWithoutChildProcessesInput = {
|
|
27494
|
+
update: XOR<AdminProcessUpdateWithoutChildProcessesInput, AdminProcessUncheckedUpdateWithoutChildProcessesInput>
|
|
27495
|
+
create: XOR<AdminProcessCreateWithoutChildProcessesInput, AdminProcessUncheckedCreateWithoutChildProcessesInput>
|
|
27496
|
+
where?: AdminProcessWhereInput
|
|
27497
|
+
}
|
|
27498
|
+
|
|
27499
|
+
export type AdminProcessUpdateToOneWithWhereWithoutChildProcessesInput = {
|
|
27500
|
+
where?: AdminProcessWhereInput
|
|
27501
|
+
data: XOR<AdminProcessUpdateWithoutChildProcessesInput, AdminProcessUncheckedUpdateWithoutChildProcessesInput>
|
|
27502
|
+
}
|
|
27503
|
+
|
|
27504
|
+
export type AdminProcessUpdateWithoutChildProcessesInput = {
|
|
27505
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
27506
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
27507
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
27508
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
27509
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
27510
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
27511
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
27512
|
+
parentProcess?: AdminProcessUpdateOneWithoutChildProcessesNestedInput
|
|
27513
|
+
}
|
|
27514
|
+
|
|
27515
|
+
export type AdminProcessUncheckedUpdateWithoutChildProcessesInput = {
|
|
27516
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
27517
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
27518
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
27519
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
27520
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
27521
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
27522
|
+
parentProcessId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
27523
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
27524
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
27525
|
+
}
|
|
27526
|
+
|
|
27527
|
+
export type AdminProcessUpsertWithWhereUniqueWithoutParentProcessInput = {
|
|
27528
|
+
where: AdminProcessWhereUniqueInput
|
|
27529
|
+
update: XOR<AdminProcessUpdateWithoutParentProcessInput, AdminProcessUncheckedUpdateWithoutParentProcessInput>
|
|
27530
|
+
create: XOR<AdminProcessCreateWithoutParentProcessInput, AdminProcessUncheckedCreateWithoutParentProcessInput>
|
|
27531
|
+
}
|
|
27532
|
+
|
|
27533
|
+
export type AdminProcessUpdateWithWhereUniqueWithoutParentProcessInput = {
|
|
27534
|
+
where: AdminProcessWhereUniqueInput
|
|
27535
|
+
data: XOR<AdminProcessUpdateWithoutParentProcessInput, AdminProcessUncheckedUpdateWithoutParentProcessInput>
|
|
27536
|
+
}
|
|
27537
|
+
|
|
27538
|
+
export type AdminProcessUpdateManyWithWhereWithoutParentProcessInput = {
|
|
27539
|
+
where: AdminProcessScalarWhereInput
|
|
27540
|
+
data: XOR<AdminProcessUpdateManyMutationInput, AdminProcessUncheckedUpdateManyWithoutParentProcessInput>
|
|
27541
|
+
}
|
|
27542
|
+
|
|
27543
|
+
export type AdminProcessScalarWhereInput = {
|
|
27544
|
+
AND?: AdminProcessScalarWhereInput | AdminProcessScalarWhereInput[]
|
|
27545
|
+
OR?: AdminProcessScalarWhereInput[]
|
|
27546
|
+
NOT?: AdminProcessScalarWhereInput | AdminProcessScalarWhereInput[]
|
|
27547
|
+
id?: IntFilter<"AdminProcess"> | number
|
|
27548
|
+
name?: StringFilter<"AdminProcess"> | string
|
|
27549
|
+
type?: StringFilter<"AdminProcess"> | string
|
|
27550
|
+
state?: EnumAdminProcessStateFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
27551
|
+
context?: JsonFilter<"AdminProcess">
|
|
27552
|
+
results?: JsonFilter<"AdminProcess">
|
|
27553
|
+
parentProcessId?: IntNullableFilter<"AdminProcess"> | number | null
|
|
27554
|
+
createdAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
27555
|
+
updatedAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
27556
|
+
}
|
|
27557
|
+
|
|
24272
27558
|
export type UserCreateManyOrganizationInput = {
|
|
24273
27559
|
id?: number
|
|
24274
27560
|
type: $Enums.UserType
|
|
@@ -25060,6 +28346,51 @@ export namespace Prisma {
|
|
|
25060
28346
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
25061
28347
|
}
|
|
25062
28348
|
|
|
28349
|
+
export type AdminProcessCreateManyParentProcessInput = {
|
|
28350
|
+
id?: number
|
|
28351
|
+
name: string
|
|
28352
|
+
type: string
|
|
28353
|
+
state?: $Enums.AdminProcessState
|
|
28354
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
28355
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
28356
|
+
createdAt?: Date | string
|
|
28357
|
+
updatedAt?: Date | string
|
|
28358
|
+
}
|
|
28359
|
+
|
|
28360
|
+
export type AdminProcessUpdateWithoutParentProcessInput = {
|
|
28361
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
28362
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
28363
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
28364
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
28365
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
28366
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
28367
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
28368
|
+
childProcesses?: AdminProcessUpdateManyWithoutParentProcessNestedInput
|
|
28369
|
+
}
|
|
28370
|
+
|
|
28371
|
+
export type AdminProcessUncheckedUpdateWithoutParentProcessInput = {
|
|
28372
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
28373
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
28374
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
28375
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
28376
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
28377
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
28378
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
28379
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
28380
|
+
childProcesses?: AdminProcessUncheckedUpdateManyWithoutParentProcessNestedInput
|
|
28381
|
+
}
|
|
28382
|
+
|
|
28383
|
+
export type AdminProcessUncheckedUpdateManyWithoutParentProcessInput = {
|
|
28384
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
28385
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
28386
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
28387
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
28388
|
+
context?: JsonNullValueInput | InputJsonValue
|
|
28389
|
+
results?: JsonNullValueInput | InputJsonValue
|
|
28390
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
28391
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
28392
|
+
}
|
|
28393
|
+
|
|
25063
28394
|
|
|
25064
28395
|
|
|
25065
28396
|
/**
|