@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
|
*
|
|
@@ -345,6 +384,26 @@ export class PrismaClient<
|
|
|
345
384
|
* ```
|
|
346
385
|
*/
|
|
347
386
|
get websocketConnection(): Prisma.WebsocketConnectionDelegate<ExtArgs, ClientOptions>;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* `prisma.adminProcess`: Exposes CRUD operations for the **AdminProcess** model.
|
|
390
|
+
* Example usage:
|
|
391
|
+
* ```ts
|
|
392
|
+
* // Fetch zero or more AdminProcesses
|
|
393
|
+
* const adminProcesses = await prisma.adminProcess.findMany()
|
|
394
|
+
* ```
|
|
395
|
+
*/
|
|
396
|
+
get adminProcess(): Prisma.AdminProcessDelegate<ExtArgs, ClientOptions>;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* `prisma.scriptSchedule`: Exposes CRUD operations for the **ScriptSchedule** model.
|
|
400
|
+
* Example usage:
|
|
401
|
+
* ```ts
|
|
402
|
+
* // Fetch zero or more ScriptSchedules
|
|
403
|
+
* const scriptSchedules = await prisma.scriptSchedule.findMany()
|
|
404
|
+
* ```
|
|
405
|
+
*/
|
|
406
|
+
get scriptSchedule(): Prisma.ScriptScheduleDelegate<ExtArgs, ClientOptions>;
|
|
348
407
|
}
|
|
349
408
|
|
|
350
409
|
export namespace Prisma {
|
|
@@ -797,7 +856,9 @@ export namespace Prisma {
|
|
|
797
856
|
Association: 'Association',
|
|
798
857
|
AssociationObject: 'AssociationObject',
|
|
799
858
|
State: 'State',
|
|
800
|
-
WebsocketConnection: 'WebsocketConnection'
|
|
859
|
+
WebsocketConnection: 'WebsocketConnection',
|
|
860
|
+
AdminProcess: 'AdminProcess',
|
|
861
|
+
ScriptSchedule: 'ScriptSchedule'
|
|
801
862
|
};
|
|
802
863
|
|
|
803
864
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -816,7 +877,7 @@ export namespace Prisma {
|
|
|
816
877
|
omit: GlobalOmitOptions
|
|
817
878
|
}
|
|
818
879
|
meta: {
|
|
819
|
-
modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection"
|
|
880
|
+
modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminProcess" | "scriptSchedule"
|
|
820
881
|
txIsolationLevel: never
|
|
821
882
|
}
|
|
822
883
|
model: {
|
|
@@ -1782,6 +1843,154 @@ export namespace Prisma {
|
|
|
1782
1843
|
}
|
|
1783
1844
|
}
|
|
1784
1845
|
}
|
|
1846
|
+
AdminProcess: {
|
|
1847
|
+
payload: Prisma.$AdminProcessPayload<ExtArgs>
|
|
1848
|
+
fields: Prisma.AdminProcessFieldRefs
|
|
1849
|
+
operations: {
|
|
1850
|
+
findUnique: {
|
|
1851
|
+
args: Prisma.AdminProcessFindUniqueArgs<ExtArgs>
|
|
1852
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload> | null
|
|
1853
|
+
}
|
|
1854
|
+
findUniqueOrThrow: {
|
|
1855
|
+
args: Prisma.AdminProcessFindUniqueOrThrowArgs<ExtArgs>
|
|
1856
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1857
|
+
}
|
|
1858
|
+
findFirst: {
|
|
1859
|
+
args: Prisma.AdminProcessFindFirstArgs<ExtArgs>
|
|
1860
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload> | null
|
|
1861
|
+
}
|
|
1862
|
+
findFirstOrThrow: {
|
|
1863
|
+
args: Prisma.AdminProcessFindFirstOrThrowArgs<ExtArgs>
|
|
1864
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1865
|
+
}
|
|
1866
|
+
findMany: {
|
|
1867
|
+
args: Prisma.AdminProcessFindManyArgs<ExtArgs>
|
|
1868
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>[]
|
|
1869
|
+
}
|
|
1870
|
+
create: {
|
|
1871
|
+
args: Prisma.AdminProcessCreateArgs<ExtArgs>
|
|
1872
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1873
|
+
}
|
|
1874
|
+
createMany: {
|
|
1875
|
+
args: Prisma.AdminProcessCreateManyArgs<ExtArgs>
|
|
1876
|
+
result: BatchPayload
|
|
1877
|
+
}
|
|
1878
|
+
delete: {
|
|
1879
|
+
args: Prisma.AdminProcessDeleteArgs<ExtArgs>
|
|
1880
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1881
|
+
}
|
|
1882
|
+
update: {
|
|
1883
|
+
args: Prisma.AdminProcessUpdateArgs<ExtArgs>
|
|
1884
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1885
|
+
}
|
|
1886
|
+
deleteMany: {
|
|
1887
|
+
args: Prisma.AdminProcessDeleteManyArgs<ExtArgs>
|
|
1888
|
+
result: BatchPayload
|
|
1889
|
+
}
|
|
1890
|
+
updateMany: {
|
|
1891
|
+
args: Prisma.AdminProcessUpdateManyArgs<ExtArgs>
|
|
1892
|
+
result: BatchPayload
|
|
1893
|
+
}
|
|
1894
|
+
upsert: {
|
|
1895
|
+
args: Prisma.AdminProcessUpsertArgs<ExtArgs>
|
|
1896
|
+
result: $Utils.PayloadToResult<Prisma.$AdminProcessPayload>
|
|
1897
|
+
}
|
|
1898
|
+
aggregate: {
|
|
1899
|
+
args: Prisma.AdminProcessAggregateArgs<ExtArgs>
|
|
1900
|
+
result: $Utils.Optional<AggregateAdminProcess>
|
|
1901
|
+
}
|
|
1902
|
+
groupBy: {
|
|
1903
|
+
args: Prisma.AdminProcessGroupByArgs<ExtArgs>
|
|
1904
|
+
result: $Utils.Optional<AdminProcessGroupByOutputType>[]
|
|
1905
|
+
}
|
|
1906
|
+
findRaw: {
|
|
1907
|
+
args: Prisma.AdminProcessFindRawArgs<ExtArgs>
|
|
1908
|
+
result: JsonObject
|
|
1909
|
+
}
|
|
1910
|
+
aggregateRaw: {
|
|
1911
|
+
args: Prisma.AdminProcessAggregateRawArgs<ExtArgs>
|
|
1912
|
+
result: JsonObject
|
|
1913
|
+
}
|
|
1914
|
+
count: {
|
|
1915
|
+
args: Prisma.AdminProcessCountArgs<ExtArgs>
|
|
1916
|
+
result: $Utils.Optional<AdminProcessCountAggregateOutputType> | number
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
ScriptSchedule: {
|
|
1921
|
+
payload: Prisma.$ScriptSchedulePayload<ExtArgs>
|
|
1922
|
+
fields: Prisma.ScriptScheduleFieldRefs
|
|
1923
|
+
operations: {
|
|
1924
|
+
findUnique: {
|
|
1925
|
+
args: Prisma.ScriptScheduleFindUniqueArgs<ExtArgs>
|
|
1926
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload> | null
|
|
1927
|
+
}
|
|
1928
|
+
findUniqueOrThrow: {
|
|
1929
|
+
args: Prisma.ScriptScheduleFindUniqueOrThrowArgs<ExtArgs>
|
|
1930
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1931
|
+
}
|
|
1932
|
+
findFirst: {
|
|
1933
|
+
args: Prisma.ScriptScheduleFindFirstArgs<ExtArgs>
|
|
1934
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload> | null
|
|
1935
|
+
}
|
|
1936
|
+
findFirstOrThrow: {
|
|
1937
|
+
args: Prisma.ScriptScheduleFindFirstOrThrowArgs<ExtArgs>
|
|
1938
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1939
|
+
}
|
|
1940
|
+
findMany: {
|
|
1941
|
+
args: Prisma.ScriptScheduleFindManyArgs<ExtArgs>
|
|
1942
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>[]
|
|
1943
|
+
}
|
|
1944
|
+
create: {
|
|
1945
|
+
args: Prisma.ScriptScheduleCreateArgs<ExtArgs>
|
|
1946
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1947
|
+
}
|
|
1948
|
+
createMany: {
|
|
1949
|
+
args: Prisma.ScriptScheduleCreateManyArgs<ExtArgs>
|
|
1950
|
+
result: BatchPayload
|
|
1951
|
+
}
|
|
1952
|
+
delete: {
|
|
1953
|
+
args: Prisma.ScriptScheduleDeleteArgs<ExtArgs>
|
|
1954
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1955
|
+
}
|
|
1956
|
+
update: {
|
|
1957
|
+
args: Prisma.ScriptScheduleUpdateArgs<ExtArgs>
|
|
1958
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1959
|
+
}
|
|
1960
|
+
deleteMany: {
|
|
1961
|
+
args: Prisma.ScriptScheduleDeleteManyArgs<ExtArgs>
|
|
1962
|
+
result: BatchPayload
|
|
1963
|
+
}
|
|
1964
|
+
updateMany: {
|
|
1965
|
+
args: Prisma.ScriptScheduleUpdateManyArgs<ExtArgs>
|
|
1966
|
+
result: BatchPayload
|
|
1967
|
+
}
|
|
1968
|
+
upsert: {
|
|
1969
|
+
args: Prisma.ScriptScheduleUpsertArgs<ExtArgs>
|
|
1970
|
+
result: $Utils.PayloadToResult<Prisma.$ScriptSchedulePayload>
|
|
1971
|
+
}
|
|
1972
|
+
aggregate: {
|
|
1973
|
+
args: Prisma.ScriptScheduleAggregateArgs<ExtArgs>
|
|
1974
|
+
result: $Utils.Optional<AggregateScriptSchedule>
|
|
1975
|
+
}
|
|
1976
|
+
groupBy: {
|
|
1977
|
+
args: Prisma.ScriptScheduleGroupByArgs<ExtArgs>
|
|
1978
|
+
result: $Utils.Optional<ScriptScheduleGroupByOutputType>[]
|
|
1979
|
+
}
|
|
1980
|
+
findRaw: {
|
|
1981
|
+
args: Prisma.ScriptScheduleFindRawArgs<ExtArgs>
|
|
1982
|
+
result: JsonObject
|
|
1983
|
+
}
|
|
1984
|
+
aggregateRaw: {
|
|
1985
|
+
args: Prisma.ScriptScheduleAggregateRawArgs<ExtArgs>
|
|
1986
|
+
result: JsonObject
|
|
1987
|
+
}
|
|
1988
|
+
count: {
|
|
1989
|
+
args: Prisma.ScriptScheduleCountArgs<ExtArgs>
|
|
1990
|
+
result: $Utils.Optional<ScriptScheduleCountAggregateOutputType> | number
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1785
1994
|
}
|
|
1786
1995
|
} & {
|
|
1787
1996
|
other: {
|
|
@@ -1874,6 +2083,8 @@ export namespace Prisma {
|
|
|
1874
2083
|
associationObject?: AssociationObjectOmit
|
|
1875
2084
|
state?: StateOmit
|
|
1876
2085
|
websocketConnection?: WebsocketConnectionOmit
|
|
2086
|
+
adminProcess?: AdminProcessOmit
|
|
2087
|
+
scriptSchedule?: ScriptScheduleOmit
|
|
1877
2088
|
}
|
|
1878
2089
|
|
|
1879
2090
|
/* Types for Logging */
|
|
@@ -15768,70 +15979,2043 @@ export namespace Prisma {
|
|
|
15768
15979
|
|
|
15769
15980
|
|
|
15770
15981
|
/**
|
|
15771
|
-
*
|
|
15982
|
+
* Model AdminProcess
|
|
15772
15983
|
*/
|
|
15773
15984
|
|
|
15774
|
-
export
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15778
|
-
|
|
15779
|
-
email: 'email',
|
|
15780
|
-
username: 'username',
|
|
15781
|
-
hashword: 'hashword',
|
|
15782
|
-
appUserId: 'appUserId',
|
|
15783
|
-
organizationId: 'organizationId',
|
|
15784
|
-
appOrgId: 'appOrgId',
|
|
15785
|
-
name: 'name'
|
|
15786
|
-
};
|
|
15985
|
+
export type AggregateAdminProcess = {
|
|
15986
|
+
_count: AdminProcessCountAggregateOutputType | null
|
|
15987
|
+
_min: AdminProcessMinAggregateOutputType | null
|
|
15988
|
+
_max: AdminProcessMaxAggregateOutputType | null
|
|
15989
|
+
}
|
|
15787
15990
|
|
|
15788
|
-
export type
|
|
15991
|
+
export type AdminProcessMinAggregateOutputType = {
|
|
15992
|
+
id: string | null
|
|
15993
|
+
name: string | null
|
|
15994
|
+
type: string | null
|
|
15995
|
+
state: $Enums.AdminProcessState | null
|
|
15996
|
+
parentProcessId: string | null
|
|
15997
|
+
createdAt: Date | null
|
|
15998
|
+
updatedAt: Date | null
|
|
15999
|
+
}
|
|
15789
16000
|
|
|
16001
|
+
export type AdminProcessMaxAggregateOutputType = {
|
|
16002
|
+
id: string | null
|
|
16003
|
+
name: string | null
|
|
16004
|
+
type: string | null
|
|
16005
|
+
state: $Enums.AdminProcessState | null
|
|
16006
|
+
parentProcessId: string | null
|
|
16007
|
+
createdAt: Date | null
|
|
16008
|
+
updatedAt: Date | null
|
|
16009
|
+
}
|
|
15790
16010
|
|
|
15791
|
-
export
|
|
15792
|
-
id:
|
|
15793
|
-
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
16011
|
+
export type AdminProcessCountAggregateOutputType = {
|
|
16012
|
+
id: number
|
|
16013
|
+
name: number
|
|
16014
|
+
type: number
|
|
16015
|
+
state: number
|
|
16016
|
+
context: number
|
|
16017
|
+
results: number
|
|
16018
|
+
childProcesses: number
|
|
16019
|
+
parentProcessId: number
|
|
16020
|
+
createdAt: number
|
|
16021
|
+
updatedAt: number
|
|
16022
|
+
_all: number
|
|
16023
|
+
}
|
|
15798
16024
|
|
|
15799
|
-
export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
|
|
15800
16025
|
|
|
16026
|
+
export type AdminProcessMinAggregateInputType = {
|
|
16027
|
+
id?: true
|
|
16028
|
+
name?: true
|
|
16029
|
+
type?: true
|
|
16030
|
+
state?: true
|
|
16031
|
+
parentProcessId?: true
|
|
16032
|
+
createdAt?: true
|
|
16033
|
+
updatedAt?: true
|
|
16034
|
+
}
|
|
15801
16035
|
|
|
15802
|
-
export
|
|
15803
|
-
id
|
|
15804
|
-
|
|
15805
|
-
|
|
15806
|
-
|
|
15807
|
-
|
|
15808
|
-
createdAt
|
|
15809
|
-
updatedAt
|
|
15810
|
-
}
|
|
16036
|
+
export type AdminProcessMaxAggregateInputType = {
|
|
16037
|
+
id?: true
|
|
16038
|
+
name?: true
|
|
16039
|
+
type?: true
|
|
16040
|
+
state?: true
|
|
16041
|
+
parentProcessId?: true
|
|
16042
|
+
createdAt?: true
|
|
16043
|
+
updatedAt?: true
|
|
16044
|
+
}
|
|
15811
16045
|
|
|
15812
|
-
export type
|
|
16046
|
+
export type AdminProcessCountAggregateInputType = {
|
|
16047
|
+
id?: true
|
|
16048
|
+
name?: true
|
|
16049
|
+
type?: true
|
|
16050
|
+
state?: true
|
|
16051
|
+
context?: true
|
|
16052
|
+
results?: true
|
|
16053
|
+
childProcesses?: true
|
|
16054
|
+
parentProcessId?: true
|
|
16055
|
+
createdAt?: true
|
|
16056
|
+
updatedAt?: true
|
|
16057
|
+
_all?: true
|
|
16058
|
+
}
|
|
15813
16059
|
|
|
16060
|
+
export type AdminProcessAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16061
|
+
/**
|
|
16062
|
+
* Filter which AdminProcess to aggregate.
|
|
16063
|
+
*/
|
|
16064
|
+
where?: AdminProcessWhereInput
|
|
16065
|
+
/**
|
|
16066
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
16067
|
+
*
|
|
16068
|
+
* Determine the order of AdminProcesses to fetch.
|
|
16069
|
+
*/
|
|
16070
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
16071
|
+
/**
|
|
16072
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
16073
|
+
*
|
|
16074
|
+
* Sets the start position
|
|
16075
|
+
*/
|
|
16076
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
16077
|
+
/**
|
|
16078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16079
|
+
*
|
|
16080
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
16081
|
+
*/
|
|
16082
|
+
take?: number
|
|
16083
|
+
/**
|
|
16084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16085
|
+
*
|
|
16086
|
+
* Skip the first `n` AdminProcesses.
|
|
16087
|
+
*/
|
|
16088
|
+
skip?: number
|
|
16089
|
+
/**
|
|
16090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
16091
|
+
*
|
|
16092
|
+
* Count returned AdminProcesses
|
|
16093
|
+
**/
|
|
16094
|
+
_count?: true | AdminProcessCountAggregateInputType
|
|
16095
|
+
/**
|
|
16096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
16097
|
+
*
|
|
16098
|
+
* Select which fields to find the minimum value
|
|
16099
|
+
**/
|
|
16100
|
+
_min?: AdminProcessMinAggregateInputType
|
|
16101
|
+
/**
|
|
16102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
16103
|
+
*
|
|
16104
|
+
* Select which fields to find the maximum value
|
|
16105
|
+
**/
|
|
16106
|
+
_max?: AdminProcessMaxAggregateInputType
|
|
16107
|
+
}
|
|
15814
16108
|
|
|
15815
|
-
export
|
|
15816
|
-
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
|
|
15820
|
-
|
|
15821
|
-
|
|
15822
|
-
createdAt: 'createdAt',
|
|
15823
|
-
updatedAt: 'updatedAt',
|
|
15824
|
-
integrationIds: 'integrationIds',
|
|
15825
|
-
syncIds: 'syncIds'
|
|
15826
|
-
};
|
|
16109
|
+
export type GetAdminProcessAggregateType<T extends AdminProcessAggregateArgs> = {
|
|
16110
|
+
[P in keyof T & keyof AggregateAdminProcess]: P extends '_count' | 'count'
|
|
16111
|
+
? T[P] extends true
|
|
16112
|
+
? number
|
|
16113
|
+
: GetScalarType<T[P], AggregateAdminProcess[P]>
|
|
16114
|
+
: GetScalarType<T[P], AggregateAdminProcess[P]>
|
|
16115
|
+
}
|
|
15827
16116
|
|
|
15828
|
-
export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
|
|
15829
16117
|
|
|
15830
16118
|
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
16119
|
+
|
|
16120
|
+
export type AdminProcessGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16121
|
+
where?: AdminProcessWhereInput
|
|
16122
|
+
orderBy?: AdminProcessOrderByWithAggregationInput | AdminProcessOrderByWithAggregationInput[]
|
|
16123
|
+
by: AdminProcessScalarFieldEnum[] | AdminProcessScalarFieldEnum
|
|
16124
|
+
having?: AdminProcessScalarWhereWithAggregatesInput
|
|
16125
|
+
take?: number
|
|
16126
|
+
skip?: number
|
|
16127
|
+
_count?: AdminProcessCountAggregateInputType | true
|
|
16128
|
+
_min?: AdminProcessMinAggregateInputType
|
|
16129
|
+
_max?: AdminProcessMaxAggregateInputType
|
|
16130
|
+
}
|
|
16131
|
+
|
|
16132
|
+
export type AdminProcessGroupByOutputType = {
|
|
16133
|
+
id: string
|
|
16134
|
+
name: string
|
|
16135
|
+
type: string
|
|
16136
|
+
state: $Enums.AdminProcessState
|
|
16137
|
+
context: JsonValue
|
|
16138
|
+
results: JsonValue
|
|
16139
|
+
childProcesses: string[]
|
|
16140
|
+
parentProcessId: string | null
|
|
16141
|
+
createdAt: Date
|
|
16142
|
+
updatedAt: Date
|
|
16143
|
+
_count: AdminProcessCountAggregateOutputType | null
|
|
16144
|
+
_min: AdminProcessMinAggregateOutputType | null
|
|
16145
|
+
_max: AdminProcessMaxAggregateOutputType | null
|
|
16146
|
+
}
|
|
16147
|
+
|
|
16148
|
+
type GetAdminProcessGroupByPayload<T extends AdminProcessGroupByArgs> = Prisma.PrismaPromise<
|
|
16149
|
+
Array<
|
|
16150
|
+
PickEnumerable<AdminProcessGroupByOutputType, T['by']> &
|
|
16151
|
+
{
|
|
16152
|
+
[P in ((keyof T) & (keyof AdminProcessGroupByOutputType))]: P extends '_count'
|
|
16153
|
+
? T[P] extends boolean
|
|
16154
|
+
? number
|
|
16155
|
+
: GetScalarType<T[P], AdminProcessGroupByOutputType[P]>
|
|
16156
|
+
: GetScalarType<T[P], AdminProcessGroupByOutputType[P]>
|
|
16157
|
+
}
|
|
16158
|
+
>
|
|
16159
|
+
>
|
|
16160
|
+
|
|
16161
|
+
|
|
16162
|
+
export type AdminProcessSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
16163
|
+
id?: boolean
|
|
16164
|
+
name?: boolean
|
|
16165
|
+
type?: boolean
|
|
16166
|
+
state?: boolean
|
|
16167
|
+
context?: boolean
|
|
16168
|
+
results?: boolean
|
|
16169
|
+
childProcesses?: boolean
|
|
16170
|
+
parentProcessId?: boolean
|
|
16171
|
+
createdAt?: boolean
|
|
16172
|
+
updatedAt?: boolean
|
|
16173
|
+
}, ExtArgs["result"]["adminProcess"]>
|
|
16174
|
+
|
|
16175
|
+
|
|
16176
|
+
|
|
16177
|
+
export type AdminProcessSelectScalar = {
|
|
16178
|
+
id?: boolean
|
|
16179
|
+
name?: boolean
|
|
16180
|
+
type?: boolean
|
|
16181
|
+
state?: boolean
|
|
16182
|
+
context?: boolean
|
|
16183
|
+
results?: boolean
|
|
16184
|
+
childProcesses?: boolean
|
|
16185
|
+
parentProcessId?: boolean
|
|
16186
|
+
createdAt?: boolean
|
|
16187
|
+
updatedAt?: boolean
|
|
16188
|
+
}
|
|
16189
|
+
|
|
16190
|
+
export type AdminProcessOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "type" | "state" | "context" | "results" | "childProcesses" | "parentProcessId" | "createdAt" | "updatedAt", ExtArgs["result"]["adminProcess"]>
|
|
16191
|
+
|
|
16192
|
+
export type $AdminProcessPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16193
|
+
name: "AdminProcess"
|
|
16194
|
+
objects: {}
|
|
16195
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
16196
|
+
id: string
|
|
16197
|
+
name: string
|
|
16198
|
+
type: string
|
|
16199
|
+
state: $Enums.AdminProcessState
|
|
16200
|
+
context: Prisma.JsonValue
|
|
16201
|
+
results: Prisma.JsonValue
|
|
16202
|
+
childProcesses: string[]
|
|
16203
|
+
parentProcessId: string | null
|
|
16204
|
+
createdAt: Date
|
|
16205
|
+
updatedAt: Date
|
|
16206
|
+
}, ExtArgs["result"]["adminProcess"]>
|
|
16207
|
+
composites: {}
|
|
16208
|
+
}
|
|
16209
|
+
|
|
16210
|
+
type AdminProcessGetPayload<S extends boolean | null | undefined | AdminProcessDefaultArgs> = $Result.GetResult<Prisma.$AdminProcessPayload, S>
|
|
16211
|
+
|
|
16212
|
+
type AdminProcessCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
16213
|
+
Omit<AdminProcessFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
16214
|
+
select?: AdminProcessCountAggregateInputType | true
|
|
16215
|
+
}
|
|
16216
|
+
|
|
16217
|
+
export interface AdminProcessDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
16218
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminProcess'], meta: { name: 'AdminProcess' } }
|
|
16219
|
+
/**
|
|
16220
|
+
* Find zero or one AdminProcess that matches the filter.
|
|
16221
|
+
* @param {AdminProcessFindUniqueArgs} args - Arguments to find a AdminProcess
|
|
16222
|
+
* @example
|
|
16223
|
+
* // Get one AdminProcess
|
|
16224
|
+
* const adminProcess = await prisma.adminProcess.findUnique({
|
|
16225
|
+
* where: {
|
|
16226
|
+
* // ... provide filter here
|
|
16227
|
+
* }
|
|
16228
|
+
* })
|
|
16229
|
+
*/
|
|
16230
|
+
findUnique<T extends AdminProcessFindUniqueArgs>(args: SelectSubset<T, AdminProcessFindUniqueArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
16231
|
+
|
|
16232
|
+
/**
|
|
16233
|
+
* Find one AdminProcess that matches the filter or throw an error with `error.code='P2025'`
|
|
16234
|
+
* if no matches were found.
|
|
16235
|
+
* @param {AdminProcessFindUniqueOrThrowArgs} args - Arguments to find a AdminProcess
|
|
16236
|
+
* @example
|
|
16237
|
+
* // Get one AdminProcess
|
|
16238
|
+
* const adminProcess = await prisma.adminProcess.findUniqueOrThrow({
|
|
16239
|
+
* where: {
|
|
16240
|
+
* // ... provide filter here
|
|
16241
|
+
* }
|
|
16242
|
+
* })
|
|
16243
|
+
*/
|
|
16244
|
+
findUniqueOrThrow<T extends AdminProcessFindUniqueOrThrowArgs>(args: SelectSubset<T, AdminProcessFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
16245
|
+
|
|
16246
|
+
/**
|
|
16247
|
+
* Find the first AdminProcess that matches the filter.
|
|
16248
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16249
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16250
|
+
* @param {AdminProcessFindFirstArgs} args - Arguments to find a AdminProcess
|
|
16251
|
+
* @example
|
|
16252
|
+
* // Get one AdminProcess
|
|
16253
|
+
* const adminProcess = await prisma.adminProcess.findFirst({
|
|
16254
|
+
* where: {
|
|
16255
|
+
* // ... provide filter here
|
|
16256
|
+
* }
|
|
16257
|
+
* })
|
|
16258
|
+
*/
|
|
16259
|
+
findFirst<T extends AdminProcessFindFirstArgs>(args?: SelectSubset<T, AdminProcessFindFirstArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
16260
|
+
|
|
16261
|
+
/**
|
|
16262
|
+
* Find the first AdminProcess that matches the filter or
|
|
16263
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
16264
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16265
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16266
|
+
* @param {AdminProcessFindFirstOrThrowArgs} args - Arguments to find a AdminProcess
|
|
16267
|
+
* @example
|
|
16268
|
+
* // Get one AdminProcess
|
|
16269
|
+
* const adminProcess = await prisma.adminProcess.findFirstOrThrow({
|
|
16270
|
+
* where: {
|
|
16271
|
+
* // ... provide filter here
|
|
16272
|
+
* }
|
|
16273
|
+
* })
|
|
16274
|
+
*/
|
|
16275
|
+
findFirstOrThrow<T extends AdminProcessFindFirstOrThrowArgs>(args?: SelectSubset<T, AdminProcessFindFirstOrThrowArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
16276
|
+
|
|
16277
|
+
/**
|
|
16278
|
+
* Find zero or more AdminProcesses that matches the filter.
|
|
16279
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16280
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16281
|
+
* @param {AdminProcessFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
16282
|
+
* @example
|
|
16283
|
+
* // Get all AdminProcesses
|
|
16284
|
+
* const adminProcesses = await prisma.adminProcess.findMany()
|
|
16285
|
+
*
|
|
16286
|
+
* // Get first 10 AdminProcesses
|
|
16287
|
+
* const adminProcesses = await prisma.adminProcess.findMany({ take: 10 })
|
|
16288
|
+
*
|
|
16289
|
+
* // Only select the `id`
|
|
16290
|
+
* const adminProcessWithIdOnly = await prisma.adminProcess.findMany({ select: { id: true } })
|
|
16291
|
+
*
|
|
16292
|
+
*/
|
|
16293
|
+
findMany<T extends AdminProcessFindManyArgs>(args?: SelectSubset<T, AdminProcessFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
16294
|
+
|
|
16295
|
+
/**
|
|
16296
|
+
* Create a AdminProcess.
|
|
16297
|
+
* @param {AdminProcessCreateArgs} args - Arguments to create a AdminProcess.
|
|
16298
|
+
* @example
|
|
16299
|
+
* // Create one AdminProcess
|
|
16300
|
+
* const AdminProcess = await prisma.adminProcess.create({
|
|
16301
|
+
* data: {
|
|
16302
|
+
* // ... data to create a AdminProcess
|
|
16303
|
+
* }
|
|
16304
|
+
* })
|
|
16305
|
+
*
|
|
16306
|
+
*/
|
|
16307
|
+
create<T extends AdminProcessCreateArgs>(args: SelectSubset<T, AdminProcessCreateArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
16308
|
+
|
|
16309
|
+
/**
|
|
16310
|
+
* Create many AdminProcesses.
|
|
16311
|
+
* @param {AdminProcessCreateManyArgs} args - Arguments to create many AdminProcesses.
|
|
16312
|
+
* @example
|
|
16313
|
+
* // Create many AdminProcesses
|
|
16314
|
+
* const adminProcess = await prisma.adminProcess.createMany({
|
|
16315
|
+
* data: [
|
|
16316
|
+
* // ... provide data here
|
|
16317
|
+
* ]
|
|
16318
|
+
* })
|
|
16319
|
+
*
|
|
16320
|
+
*/
|
|
16321
|
+
createMany<T extends AdminProcessCreateManyArgs>(args?: SelectSubset<T, AdminProcessCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
16322
|
+
|
|
16323
|
+
/**
|
|
16324
|
+
* Delete a AdminProcess.
|
|
16325
|
+
* @param {AdminProcessDeleteArgs} args - Arguments to delete one AdminProcess.
|
|
16326
|
+
* @example
|
|
16327
|
+
* // Delete one AdminProcess
|
|
16328
|
+
* const AdminProcess = await prisma.adminProcess.delete({
|
|
16329
|
+
* where: {
|
|
16330
|
+
* // ... filter to delete one AdminProcess
|
|
16331
|
+
* }
|
|
16332
|
+
* })
|
|
16333
|
+
*
|
|
16334
|
+
*/
|
|
16335
|
+
delete<T extends AdminProcessDeleteArgs>(args: SelectSubset<T, AdminProcessDeleteArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
16336
|
+
|
|
16337
|
+
/**
|
|
16338
|
+
* Update one AdminProcess.
|
|
16339
|
+
* @param {AdminProcessUpdateArgs} args - Arguments to update one AdminProcess.
|
|
16340
|
+
* @example
|
|
16341
|
+
* // Update one AdminProcess
|
|
16342
|
+
* const adminProcess = await prisma.adminProcess.update({
|
|
16343
|
+
* where: {
|
|
16344
|
+
* // ... provide filter here
|
|
16345
|
+
* },
|
|
16346
|
+
* data: {
|
|
16347
|
+
* // ... provide data here
|
|
16348
|
+
* }
|
|
16349
|
+
* })
|
|
16350
|
+
*
|
|
16351
|
+
*/
|
|
16352
|
+
update<T extends AdminProcessUpdateArgs>(args: SelectSubset<T, AdminProcessUpdateArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
16353
|
+
|
|
16354
|
+
/**
|
|
16355
|
+
* Delete zero or more AdminProcesses.
|
|
16356
|
+
* @param {AdminProcessDeleteManyArgs} args - Arguments to filter AdminProcesses to delete.
|
|
16357
|
+
* @example
|
|
16358
|
+
* // Delete a few AdminProcesses
|
|
16359
|
+
* const { count } = await prisma.adminProcess.deleteMany({
|
|
16360
|
+
* where: {
|
|
16361
|
+
* // ... provide filter here
|
|
16362
|
+
* }
|
|
16363
|
+
* })
|
|
16364
|
+
*
|
|
16365
|
+
*/
|
|
16366
|
+
deleteMany<T extends AdminProcessDeleteManyArgs>(args?: SelectSubset<T, AdminProcessDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
16367
|
+
|
|
16368
|
+
/**
|
|
16369
|
+
* Update zero or more AdminProcesses.
|
|
16370
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16371
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16372
|
+
* @param {AdminProcessUpdateManyArgs} args - Arguments to update one or more rows.
|
|
16373
|
+
* @example
|
|
16374
|
+
* // Update many AdminProcesses
|
|
16375
|
+
* const adminProcess = await prisma.adminProcess.updateMany({
|
|
16376
|
+
* where: {
|
|
16377
|
+
* // ... provide filter here
|
|
16378
|
+
* },
|
|
16379
|
+
* data: {
|
|
16380
|
+
* // ... provide data here
|
|
16381
|
+
* }
|
|
16382
|
+
* })
|
|
16383
|
+
*
|
|
16384
|
+
*/
|
|
16385
|
+
updateMany<T extends AdminProcessUpdateManyArgs>(args: SelectSubset<T, AdminProcessUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
16386
|
+
|
|
16387
|
+
/**
|
|
16388
|
+
* Create or update one AdminProcess.
|
|
16389
|
+
* @param {AdminProcessUpsertArgs} args - Arguments to update or create a AdminProcess.
|
|
16390
|
+
* @example
|
|
16391
|
+
* // Update or create a AdminProcess
|
|
16392
|
+
* const adminProcess = await prisma.adminProcess.upsert({
|
|
16393
|
+
* create: {
|
|
16394
|
+
* // ... data to create a AdminProcess
|
|
16395
|
+
* },
|
|
16396
|
+
* update: {
|
|
16397
|
+
* // ... in case it already exists, update
|
|
16398
|
+
* },
|
|
16399
|
+
* where: {
|
|
16400
|
+
* // ... the filter for the AdminProcess we want to update
|
|
16401
|
+
* }
|
|
16402
|
+
* })
|
|
16403
|
+
*/
|
|
16404
|
+
upsert<T extends AdminProcessUpsertArgs>(args: SelectSubset<T, AdminProcessUpsertArgs<ExtArgs>>): Prisma__AdminProcessClient<$Result.GetResult<Prisma.$AdminProcessPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
16405
|
+
|
|
16406
|
+
/**
|
|
16407
|
+
* Find zero or more AdminProcesses that matches the filter.
|
|
16408
|
+
* @param {AdminProcessFindRawArgs} args - Select which filters you would like to apply.
|
|
16409
|
+
* @example
|
|
16410
|
+
* const adminProcess = await prisma.adminProcess.findRaw({
|
|
16411
|
+
* filter: { age: { $gt: 25 } }
|
|
16412
|
+
* })
|
|
16413
|
+
*/
|
|
16414
|
+
findRaw(args?: AdminProcessFindRawArgs): Prisma.PrismaPromise<JsonObject>
|
|
16415
|
+
|
|
16416
|
+
/**
|
|
16417
|
+
* Perform aggregation operations on a AdminProcess.
|
|
16418
|
+
* @param {AdminProcessAggregateRawArgs} args - Select which aggregations you would like to apply.
|
|
16419
|
+
* @example
|
|
16420
|
+
* const adminProcess = await prisma.adminProcess.aggregateRaw({
|
|
16421
|
+
* pipeline: [
|
|
16422
|
+
* { $match: { status: "registered" } },
|
|
16423
|
+
* { $group: { _id: "$country", total: { $sum: 1 } } }
|
|
16424
|
+
* ]
|
|
16425
|
+
* })
|
|
16426
|
+
*/
|
|
16427
|
+
aggregateRaw(args?: AdminProcessAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
|
|
16428
|
+
|
|
16429
|
+
|
|
16430
|
+
/**
|
|
16431
|
+
* Count the number of AdminProcesses.
|
|
16432
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16433
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16434
|
+
* @param {AdminProcessCountArgs} args - Arguments to filter AdminProcesses to count.
|
|
16435
|
+
* @example
|
|
16436
|
+
* // Count the number of AdminProcesses
|
|
16437
|
+
* const count = await prisma.adminProcess.count({
|
|
16438
|
+
* where: {
|
|
16439
|
+
* // ... the filter for the AdminProcesses we want to count
|
|
16440
|
+
* }
|
|
16441
|
+
* })
|
|
16442
|
+
**/
|
|
16443
|
+
count<T extends AdminProcessCountArgs>(
|
|
16444
|
+
args?: Subset<T, AdminProcessCountArgs>,
|
|
16445
|
+
): Prisma.PrismaPromise<
|
|
16446
|
+
T extends $Utils.Record<'select', any>
|
|
16447
|
+
? T['select'] extends true
|
|
16448
|
+
? number
|
|
16449
|
+
: GetScalarType<T['select'], AdminProcessCountAggregateOutputType>
|
|
16450
|
+
: number
|
|
16451
|
+
>
|
|
16452
|
+
|
|
16453
|
+
/**
|
|
16454
|
+
* Allows you to perform aggregations operations on a AdminProcess.
|
|
16455
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16456
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16457
|
+
* @param {AdminProcessAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
16458
|
+
* @example
|
|
16459
|
+
* // Ordered by age ascending
|
|
16460
|
+
* // Where email contains prisma.io
|
|
16461
|
+
* // Limited to the 10 users
|
|
16462
|
+
* const aggregations = await prisma.user.aggregate({
|
|
16463
|
+
* _avg: {
|
|
16464
|
+
* age: true,
|
|
16465
|
+
* },
|
|
16466
|
+
* where: {
|
|
16467
|
+
* email: {
|
|
16468
|
+
* contains: "prisma.io",
|
|
16469
|
+
* },
|
|
16470
|
+
* },
|
|
16471
|
+
* orderBy: {
|
|
16472
|
+
* age: "asc",
|
|
16473
|
+
* },
|
|
16474
|
+
* take: 10,
|
|
16475
|
+
* })
|
|
16476
|
+
**/
|
|
16477
|
+
aggregate<T extends AdminProcessAggregateArgs>(args: Subset<T, AdminProcessAggregateArgs>): Prisma.PrismaPromise<GetAdminProcessAggregateType<T>>
|
|
16478
|
+
|
|
16479
|
+
/**
|
|
16480
|
+
* Group by AdminProcess.
|
|
16481
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
16482
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
16483
|
+
* @param {AdminProcessGroupByArgs} args - Group by arguments.
|
|
16484
|
+
* @example
|
|
16485
|
+
* // Group by city, order by createdAt, get count
|
|
16486
|
+
* const result = await prisma.user.groupBy({
|
|
16487
|
+
* by: ['city', 'createdAt'],
|
|
16488
|
+
* orderBy: {
|
|
16489
|
+
* createdAt: true
|
|
16490
|
+
* },
|
|
16491
|
+
* _count: {
|
|
16492
|
+
* _all: true
|
|
16493
|
+
* },
|
|
16494
|
+
* })
|
|
16495
|
+
*
|
|
16496
|
+
**/
|
|
16497
|
+
groupBy<
|
|
16498
|
+
T extends AdminProcessGroupByArgs,
|
|
16499
|
+
HasSelectOrTake extends Or<
|
|
16500
|
+
Extends<'skip', Keys<T>>,
|
|
16501
|
+
Extends<'take', Keys<T>>
|
|
16502
|
+
>,
|
|
16503
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
16504
|
+
? { orderBy: AdminProcessGroupByArgs['orderBy'] }
|
|
16505
|
+
: { orderBy?: AdminProcessGroupByArgs['orderBy'] },
|
|
16506
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
16507
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
16508
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
16509
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
16510
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
16511
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
16512
|
+
InputErrors extends ByEmpty extends True
|
|
16513
|
+
? `Error: "by" must not be empty.`
|
|
16514
|
+
: HavingValid extends False
|
|
16515
|
+
? {
|
|
16516
|
+
[P in HavingFields]: P extends ByFields
|
|
16517
|
+
? never
|
|
16518
|
+
: P extends string
|
|
16519
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
16520
|
+
: [
|
|
16521
|
+
Error,
|
|
16522
|
+
'Field ',
|
|
16523
|
+
P,
|
|
16524
|
+
` in "having" needs to be provided in "by"`,
|
|
16525
|
+
]
|
|
16526
|
+
}[HavingFields]
|
|
16527
|
+
: 'take' extends Keys<T>
|
|
16528
|
+
? 'orderBy' extends Keys<T>
|
|
16529
|
+
? ByValid extends True
|
|
16530
|
+
? {}
|
|
16531
|
+
: {
|
|
16532
|
+
[P in OrderFields]: P extends ByFields
|
|
16533
|
+
? never
|
|
16534
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
16535
|
+
}[OrderFields]
|
|
16536
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
16537
|
+
: 'skip' extends Keys<T>
|
|
16538
|
+
? 'orderBy' extends Keys<T>
|
|
16539
|
+
? ByValid extends True
|
|
16540
|
+
? {}
|
|
16541
|
+
: {
|
|
16542
|
+
[P in OrderFields]: P extends ByFields
|
|
16543
|
+
? never
|
|
16544
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
16545
|
+
}[OrderFields]
|
|
16546
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
16547
|
+
: ByValid extends True
|
|
16548
|
+
? {}
|
|
16549
|
+
: {
|
|
16550
|
+
[P in OrderFields]: P extends ByFields
|
|
16551
|
+
? never
|
|
16552
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
16553
|
+
}[OrderFields]
|
|
16554
|
+
>(args: SubsetIntersection<T, AdminProcessGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminProcessGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
16555
|
+
/**
|
|
16556
|
+
* Fields of the AdminProcess model
|
|
16557
|
+
*/
|
|
16558
|
+
readonly fields: AdminProcessFieldRefs;
|
|
16559
|
+
}
|
|
16560
|
+
|
|
16561
|
+
/**
|
|
16562
|
+
* The delegate class that acts as a "Promise-like" for AdminProcess.
|
|
16563
|
+
* Why is this prefixed with `Prisma__`?
|
|
16564
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
16565
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
16566
|
+
*/
|
|
16567
|
+
export interface Prisma__AdminProcessClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
16568
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
16569
|
+
/**
|
|
16570
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
16571
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
16572
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
16573
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
16574
|
+
*/
|
|
16575
|
+
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>
|
|
16576
|
+
/**
|
|
16577
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
16578
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
16579
|
+
* @returns A Promise for the completion of the callback.
|
|
16580
|
+
*/
|
|
16581
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
16582
|
+
/**
|
|
16583
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
16584
|
+
* resolved value cannot be modified from the callback.
|
|
16585
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
16586
|
+
* @returns A Promise for the completion of the callback.
|
|
16587
|
+
*/
|
|
16588
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
16589
|
+
}
|
|
16590
|
+
|
|
16591
|
+
|
|
16592
|
+
|
|
16593
|
+
|
|
16594
|
+
/**
|
|
16595
|
+
* Fields of the AdminProcess model
|
|
16596
|
+
*/
|
|
16597
|
+
interface AdminProcessFieldRefs {
|
|
16598
|
+
readonly id: FieldRef<"AdminProcess", 'String'>
|
|
16599
|
+
readonly name: FieldRef<"AdminProcess", 'String'>
|
|
16600
|
+
readonly type: FieldRef<"AdminProcess", 'String'>
|
|
16601
|
+
readonly state: FieldRef<"AdminProcess", 'AdminProcessState'>
|
|
16602
|
+
readonly context: FieldRef<"AdminProcess", 'Json'>
|
|
16603
|
+
readonly results: FieldRef<"AdminProcess", 'Json'>
|
|
16604
|
+
readonly childProcesses: FieldRef<"AdminProcess", 'String[]'>
|
|
16605
|
+
readonly parentProcessId: FieldRef<"AdminProcess", 'String'>
|
|
16606
|
+
readonly createdAt: FieldRef<"AdminProcess", 'DateTime'>
|
|
16607
|
+
readonly updatedAt: FieldRef<"AdminProcess", 'DateTime'>
|
|
16608
|
+
}
|
|
16609
|
+
|
|
16610
|
+
|
|
16611
|
+
// Custom InputTypes
|
|
16612
|
+
/**
|
|
16613
|
+
* AdminProcess findUnique
|
|
16614
|
+
*/
|
|
16615
|
+
export type AdminProcessFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16616
|
+
/**
|
|
16617
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16618
|
+
*/
|
|
16619
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16620
|
+
/**
|
|
16621
|
+
* Omit specific fields from the AdminProcess
|
|
16622
|
+
*/
|
|
16623
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16624
|
+
/**
|
|
16625
|
+
* Filter, which AdminProcess to fetch.
|
|
16626
|
+
*/
|
|
16627
|
+
where: AdminProcessWhereUniqueInput
|
|
16628
|
+
}
|
|
16629
|
+
|
|
16630
|
+
/**
|
|
16631
|
+
* AdminProcess findUniqueOrThrow
|
|
16632
|
+
*/
|
|
16633
|
+
export type AdminProcessFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16634
|
+
/**
|
|
16635
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16636
|
+
*/
|
|
16637
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16638
|
+
/**
|
|
16639
|
+
* Omit specific fields from the AdminProcess
|
|
16640
|
+
*/
|
|
16641
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16642
|
+
/**
|
|
16643
|
+
* Filter, which AdminProcess to fetch.
|
|
16644
|
+
*/
|
|
16645
|
+
where: AdminProcessWhereUniqueInput
|
|
16646
|
+
}
|
|
16647
|
+
|
|
16648
|
+
/**
|
|
16649
|
+
* AdminProcess findFirst
|
|
16650
|
+
*/
|
|
16651
|
+
export type AdminProcessFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16652
|
+
/**
|
|
16653
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16654
|
+
*/
|
|
16655
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16656
|
+
/**
|
|
16657
|
+
* Omit specific fields from the AdminProcess
|
|
16658
|
+
*/
|
|
16659
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16660
|
+
/**
|
|
16661
|
+
* Filter, which AdminProcess to fetch.
|
|
16662
|
+
*/
|
|
16663
|
+
where?: AdminProcessWhereInput
|
|
16664
|
+
/**
|
|
16665
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
16666
|
+
*
|
|
16667
|
+
* Determine the order of AdminProcesses to fetch.
|
|
16668
|
+
*/
|
|
16669
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
16670
|
+
/**
|
|
16671
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
16672
|
+
*
|
|
16673
|
+
* Sets the position for searching for AdminProcesses.
|
|
16674
|
+
*/
|
|
16675
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
16676
|
+
/**
|
|
16677
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16678
|
+
*
|
|
16679
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
16680
|
+
*/
|
|
16681
|
+
take?: number
|
|
16682
|
+
/**
|
|
16683
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16684
|
+
*
|
|
16685
|
+
* Skip the first `n` AdminProcesses.
|
|
16686
|
+
*/
|
|
16687
|
+
skip?: number
|
|
16688
|
+
/**
|
|
16689
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
16690
|
+
*
|
|
16691
|
+
* Filter by unique combinations of AdminProcesses.
|
|
16692
|
+
*/
|
|
16693
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
16694
|
+
}
|
|
16695
|
+
|
|
16696
|
+
/**
|
|
16697
|
+
* AdminProcess findFirstOrThrow
|
|
16698
|
+
*/
|
|
16699
|
+
export type AdminProcessFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16700
|
+
/**
|
|
16701
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16702
|
+
*/
|
|
16703
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16704
|
+
/**
|
|
16705
|
+
* Omit specific fields from the AdminProcess
|
|
16706
|
+
*/
|
|
16707
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16708
|
+
/**
|
|
16709
|
+
* Filter, which AdminProcess to fetch.
|
|
16710
|
+
*/
|
|
16711
|
+
where?: AdminProcessWhereInput
|
|
16712
|
+
/**
|
|
16713
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
16714
|
+
*
|
|
16715
|
+
* Determine the order of AdminProcesses to fetch.
|
|
16716
|
+
*/
|
|
16717
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
16718
|
+
/**
|
|
16719
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
16720
|
+
*
|
|
16721
|
+
* Sets the position for searching for AdminProcesses.
|
|
16722
|
+
*/
|
|
16723
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
16724
|
+
/**
|
|
16725
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16726
|
+
*
|
|
16727
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
16728
|
+
*/
|
|
16729
|
+
take?: number
|
|
16730
|
+
/**
|
|
16731
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16732
|
+
*
|
|
16733
|
+
* Skip the first `n` AdminProcesses.
|
|
16734
|
+
*/
|
|
16735
|
+
skip?: number
|
|
16736
|
+
/**
|
|
16737
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
16738
|
+
*
|
|
16739
|
+
* Filter by unique combinations of AdminProcesses.
|
|
16740
|
+
*/
|
|
16741
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
16742
|
+
}
|
|
16743
|
+
|
|
16744
|
+
/**
|
|
16745
|
+
* AdminProcess findMany
|
|
16746
|
+
*/
|
|
16747
|
+
export type AdminProcessFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16748
|
+
/**
|
|
16749
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16750
|
+
*/
|
|
16751
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16752
|
+
/**
|
|
16753
|
+
* Omit specific fields from the AdminProcess
|
|
16754
|
+
*/
|
|
16755
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16756
|
+
/**
|
|
16757
|
+
* Filter, which AdminProcesses to fetch.
|
|
16758
|
+
*/
|
|
16759
|
+
where?: AdminProcessWhereInput
|
|
16760
|
+
/**
|
|
16761
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
16762
|
+
*
|
|
16763
|
+
* Determine the order of AdminProcesses to fetch.
|
|
16764
|
+
*/
|
|
16765
|
+
orderBy?: AdminProcessOrderByWithRelationInput | AdminProcessOrderByWithRelationInput[]
|
|
16766
|
+
/**
|
|
16767
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
16768
|
+
*
|
|
16769
|
+
* Sets the position for listing AdminProcesses.
|
|
16770
|
+
*/
|
|
16771
|
+
cursor?: AdminProcessWhereUniqueInput
|
|
16772
|
+
/**
|
|
16773
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16774
|
+
*
|
|
16775
|
+
* Take `±n` AdminProcesses from the position of the cursor.
|
|
16776
|
+
*/
|
|
16777
|
+
take?: number
|
|
16778
|
+
/**
|
|
16779
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
16780
|
+
*
|
|
16781
|
+
* Skip the first `n` AdminProcesses.
|
|
16782
|
+
*/
|
|
16783
|
+
skip?: number
|
|
16784
|
+
distinct?: AdminProcessScalarFieldEnum | AdminProcessScalarFieldEnum[]
|
|
16785
|
+
}
|
|
16786
|
+
|
|
16787
|
+
/**
|
|
16788
|
+
* AdminProcess create
|
|
16789
|
+
*/
|
|
16790
|
+
export type AdminProcessCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16791
|
+
/**
|
|
16792
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16793
|
+
*/
|
|
16794
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16795
|
+
/**
|
|
16796
|
+
* Omit specific fields from the AdminProcess
|
|
16797
|
+
*/
|
|
16798
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16799
|
+
/**
|
|
16800
|
+
* The data needed to create a AdminProcess.
|
|
16801
|
+
*/
|
|
16802
|
+
data: XOR<AdminProcessCreateInput, AdminProcessUncheckedCreateInput>
|
|
16803
|
+
}
|
|
16804
|
+
|
|
16805
|
+
/**
|
|
16806
|
+
* AdminProcess createMany
|
|
16807
|
+
*/
|
|
16808
|
+
export type AdminProcessCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16809
|
+
/**
|
|
16810
|
+
* The data used to create many AdminProcesses.
|
|
16811
|
+
*/
|
|
16812
|
+
data: AdminProcessCreateManyInput | AdminProcessCreateManyInput[]
|
|
16813
|
+
}
|
|
16814
|
+
|
|
16815
|
+
/**
|
|
16816
|
+
* AdminProcess update
|
|
16817
|
+
*/
|
|
16818
|
+
export type AdminProcessUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16819
|
+
/**
|
|
16820
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16821
|
+
*/
|
|
16822
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16823
|
+
/**
|
|
16824
|
+
* Omit specific fields from the AdminProcess
|
|
16825
|
+
*/
|
|
16826
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16827
|
+
/**
|
|
16828
|
+
* The data needed to update a AdminProcess.
|
|
16829
|
+
*/
|
|
16830
|
+
data: XOR<AdminProcessUpdateInput, AdminProcessUncheckedUpdateInput>
|
|
16831
|
+
/**
|
|
16832
|
+
* Choose, which AdminProcess to update.
|
|
16833
|
+
*/
|
|
16834
|
+
where: AdminProcessWhereUniqueInput
|
|
16835
|
+
}
|
|
16836
|
+
|
|
16837
|
+
/**
|
|
16838
|
+
* AdminProcess updateMany
|
|
16839
|
+
*/
|
|
16840
|
+
export type AdminProcessUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16841
|
+
/**
|
|
16842
|
+
* The data used to update AdminProcesses.
|
|
16843
|
+
*/
|
|
16844
|
+
data: XOR<AdminProcessUpdateManyMutationInput, AdminProcessUncheckedUpdateManyInput>
|
|
16845
|
+
/**
|
|
16846
|
+
* Filter which AdminProcesses to update
|
|
16847
|
+
*/
|
|
16848
|
+
where?: AdminProcessWhereInput
|
|
16849
|
+
/**
|
|
16850
|
+
* Limit how many AdminProcesses to update.
|
|
16851
|
+
*/
|
|
16852
|
+
limit?: number
|
|
16853
|
+
}
|
|
16854
|
+
|
|
16855
|
+
/**
|
|
16856
|
+
* AdminProcess upsert
|
|
16857
|
+
*/
|
|
16858
|
+
export type AdminProcessUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16859
|
+
/**
|
|
16860
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16861
|
+
*/
|
|
16862
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16863
|
+
/**
|
|
16864
|
+
* Omit specific fields from the AdminProcess
|
|
16865
|
+
*/
|
|
16866
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16867
|
+
/**
|
|
16868
|
+
* The filter to search for the AdminProcess to update in case it exists.
|
|
16869
|
+
*/
|
|
16870
|
+
where: AdminProcessWhereUniqueInput
|
|
16871
|
+
/**
|
|
16872
|
+
* In case the AdminProcess found by the `where` argument doesn't exist, create a new AdminProcess with this data.
|
|
16873
|
+
*/
|
|
16874
|
+
create: XOR<AdminProcessCreateInput, AdminProcessUncheckedCreateInput>
|
|
16875
|
+
/**
|
|
16876
|
+
* In case the AdminProcess was found with the provided `where` argument, update it with this data.
|
|
16877
|
+
*/
|
|
16878
|
+
update: XOR<AdminProcessUpdateInput, AdminProcessUncheckedUpdateInput>
|
|
16879
|
+
}
|
|
16880
|
+
|
|
16881
|
+
/**
|
|
16882
|
+
* AdminProcess delete
|
|
16883
|
+
*/
|
|
16884
|
+
export type AdminProcessDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16885
|
+
/**
|
|
16886
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16887
|
+
*/
|
|
16888
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16889
|
+
/**
|
|
16890
|
+
* Omit specific fields from the AdminProcess
|
|
16891
|
+
*/
|
|
16892
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16893
|
+
/**
|
|
16894
|
+
* Filter which AdminProcess to delete.
|
|
16895
|
+
*/
|
|
16896
|
+
where: AdminProcessWhereUniqueInput
|
|
16897
|
+
}
|
|
16898
|
+
|
|
16899
|
+
/**
|
|
16900
|
+
* AdminProcess deleteMany
|
|
16901
|
+
*/
|
|
16902
|
+
export type AdminProcessDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16903
|
+
/**
|
|
16904
|
+
* Filter which AdminProcesses to delete
|
|
16905
|
+
*/
|
|
16906
|
+
where?: AdminProcessWhereInput
|
|
16907
|
+
/**
|
|
16908
|
+
* Limit how many AdminProcesses to delete.
|
|
16909
|
+
*/
|
|
16910
|
+
limit?: number
|
|
16911
|
+
}
|
|
16912
|
+
|
|
16913
|
+
/**
|
|
16914
|
+
* AdminProcess findRaw
|
|
16915
|
+
*/
|
|
16916
|
+
export type AdminProcessFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16917
|
+
/**
|
|
16918
|
+
* The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
|
|
16919
|
+
*/
|
|
16920
|
+
filter?: InputJsonValue
|
|
16921
|
+
/**
|
|
16922
|
+
* Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
|
|
16923
|
+
*/
|
|
16924
|
+
options?: InputJsonValue
|
|
16925
|
+
}
|
|
16926
|
+
|
|
16927
|
+
/**
|
|
16928
|
+
* AdminProcess aggregateRaw
|
|
16929
|
+
*/
|
|
16930
|
+
export type AdminProcessAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16931
|
+
/**
|
|
16932
|
+
* An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
|
|
16933
|
+
*/
|
|
16934
|
+
pipeline?: InputJsonValue[]
|
|
16935
|
+
/**
|
|
16936
|
+
* Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
|
|
16937
|
+
*/
|
|
16938
|
+
options?: InputJsonValue
|
|
16939
|
+
}
|
|
16940
|
+
|
|
16941
|
+
/**
|
|
16942
|
+
* AdminProcess without action
|
|
16943
|
+
*/
|
|
16944
|
+
export type AdminProcessDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
16945
|
+
/**
|
|
16946
|
+
* Select specific fields to fetch from the AdminProcess
|
|
16947
|
+
*/
|
|
16948
|
+
select?: AdminProcessSelect<ExtArgs> | null
|
|
16949
|
+
/**
|
|
16950
|
+
* Omit specific fields from the AdminProcess
|
|
16951
|
+
*/
|
|
16952
|
+
omit?: AdminProcessOmit<ExtArgs> | null
|
|
16953
|
+
}
|
|
16954
|
+
|
|
16955
|
+
|
|
16956
|
+
/**
|
|
16957
|
+
* Model ScriptSchedule
|
|
16958
|
+
*/
|
|
16959
|
+
|
|
16960
|
+
export type AggregateScriptSchedule = {
|
|
16961
|
+
_count: ScriptScheduleCountAggregateOutputType | null
|
|
16962
|
+
_min: ScriptScheduleMinAggregateOutputType | null
|
|
16963
|
+
_max: ScriptScheduleMaxAggregateOutputType | null
|
|
16964
|
+
}
|
|
16965
|
+
|
|
16966
|
+
export type ScriptScheduleMinAggregateOutputType = {
|
|
16967
|
+
id: string | null
|
|
16968
|
+
scriptName: string | null
|
|
16969
|
+
enabled: boolean | null
|
|
16970
|
+
cronExpression: string | null
|
|
16971
|
+
timezone: string | null
|
|
16972
|
+
lastTriggeredAt: Date | null
|
|
16973
|
+
nextTriggerAt: Date | null
|
|
16974
|
+
externalScheduleId: string | null
|
|
16975
|
+
externalScheduleName: string | null
|
|
16976
|
+
createdAt: Date | null
|
|
16977
|
+
updatedAt: Date | null
|
|
16978
|
+
}
|
|
16979
|
+
|
|
16980
|
+
export type ScriptScheduleMaxAggregateOutputType = {
|
|
16981
|
+
id: string | null
|
|
16982
|
+
scriptName: string | null
|
|
16983
|
+
enabled: boolean | null
|
|
16984
|
+
cronExpression: string | null
|
|
16985
|
+
timezone: string | null
|
|
16986
|
+
lastTriggeredAt: Date | null
|
|
16987
|
+
nextTriggerAt: Date | null
|
|
16988
|
+
externalScheduleId: string | null
|
|
16989
|
+
externalScheduleName: string | null
|
|
16990
|
+
createdAt: Date | null
|
|
16991
|
+
updatedAt: Date | null
|
|
16992
|
+
}
|
|
16993
|
+
|
|
16994
|
+
export type ScriptScheduleCountAggregateOutputType = {
|
|
16995
|
+
id: number
|
|
16996
|
+
scriptName: number
|
|
16997
|
+
enabled: number
|
|
16998
|
+
cronExpression: number
|
|
16999
|
+
timezone: number
|
|
17000
|
+
lastTriggeredAt: number
|
|
17001
|
+
nextTriggerAt: number
|
|
17002
|
+
externalScheduleId: number
|
|
17003
|
+
externalScheduleName: number
|
|
17004
|
+
createdAt: number
|
|
17005
|
+
updatedAt: number
|
|
17006
|
+
_all: number
|
|
17007
|
+
}
|
|
17008
|
+
|
|
17009
|
+
|
|
17010
|
+
export type ScriptScheduleMinAggregateInputType = {
|
|
17011
|
+
id?: true
|
|
17012
|
+
scriptName?: true
|
|
17013
|
+
enabled?: true
|
|
17014
|
+
cronExpression?: true
|
|
17015
|
+
timezone?: true
|
|
17016
|
+
lastTriggeredAt?: true
|
|
17017
|
+
nextTriggerAt?: true
|
|
17018
|
+
externalScheduleId?: true
|
|
17019
|
+
externalScheduleName?: true
|
|
17020
|
+
createdAt?: true
|
|
17021
|
+
updatedAt?: true
|
|
17022
|
+
}
|
|
17023
|
+
|
|
17024
|
+
export type ScriptScheduleMaxAggregateInputType = {
|
|
17025
|
+
id?: true
|
|
17026
|
+
scriptName?: true
|
|
17027
|
+
enabled?: true
|
|
17028
|
+
cronExpression?: true
|
|
17029
|
+
timezone?: true
|
|
17030
|
+
lastTriggeredAt?: true
|
|
17031
|
+
nextTriggerAt?: true
|
|
17032
|
+
externalScheduleId?: true
|
|
17033
|
+
externalScheduleName?: true
|
|
17034
|
+
createdAt?: true
|
|
17035
|
+
updatedAt?: true
|
|
17036
|
+
}
|
|
17037
|
+
|
|
17038
|
+
export type ScriptScheduleCountAggregateInputType = {
|
|
17039
|
+
id?: true
|
|
17040
|
+
scriptName?: true
|
|
17041
|
+
enabled?: true
|
|
17042
|
+
cronExpression?: true
|
|
17043
|
+
timezone?: true
|
|
17044
|
+
lastTriggeredAt?: true
|
|
17045
|
+
nextTriggerAt?: true
|
|
17046
|
+
externalScheduleId?: true
|
|
17047
|
+
externalScheduleName?: true
|
|
17048
|
+
createdAt?: true
|
|
17049
|
+
updatedAt?: true
|
|
17050
|
+
_all?: true
|
|
17051
|
+
}
|
|
17052
|
+
|
|
17053
|
+
export type ScriptScheduleAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17054
|
+
/**
|
|
17055
|
+
* Filter which ScriptSchedule to aggregate.
|
|
17056
|
+
*/
|
|
17057
|
+
where?: ScriptScheduleWhereInput
|
|
17058
|
+
/**
|
|
17059
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
17060
|
+
*
|
|
17061
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
17062
|
+
*/
|
|
17063
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
17064
|
+
/**
|
|
17065
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
17066
|
+
*
|
|
17067
|
+
* Sets the start position
|
|
17068
|
+
*/
|
|
17069
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
17070
|
+
/**
|
|
17071
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17072
|
+
*
|
|
17073
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
17074
|
+
*/
|
|
17075
|
+
take?: number
|
|
17076
|
+
/**
|
|
17077
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17078
|
+
*
|
|
17079
|
+
* Skip the first `n` ScriptSchedules.
|
|
17080
|
+
*/
|
|
17081
|
+
skip?: number
|
|
17082
|
+
/**
|
|
17083
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17084
|
+
*
|
|
17085
|
+
* Count returned ScriptSchedules
|
|
17086
|
+
**/
|
|
17087
|
+
_count?: true | ScriptScheduleCountAggregateInputType
|
|
17088
|
+
/**
|
|
17089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17090
|
+
*
|
|
17091
|
+
* Select which fields to find the minimum value
|
|
17092
|
+
**/
|
|
17093
|
+
_min?: ScriptScheduleMinAggregateInputType
|
|
17094
|
+
/**
|
|
17095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
17096
|
+
*
|
|
17097
|
+
* Select which fields to find the maximum value
|
|
17098
|
+
**/
|
|
17099
|
+
_max?: ScriptScheduleMaxAggregateInputType
|
|
17100
|
+
}
|
|
17101
|
+
|
|
17102
|
+
export type GetScriptScheduleAggregateType<T extends ScriptScheduleAggregateArgs> = {
|
|
17103
|
+
[P in keyof T & keyof AggregateScriptSchedule]: P extends '_count' | 'count'
|
|
17104
|
+
? T[P] extends true
|
|
17105
|
+
? number
|
|
17106
|
+
: GetScalarType<T[P], AggregateScriptSchedule[P]>
|
|
17107
|
+
: GetScalarType<T[P], AggregateScriptSchedule[P]>
|
|
17108
|
+
}
|
|
17109
|
+
|
|
17110
|
+
|
|
17111
|
+
|
|
17112
|
+
|
|
17113
|
+
export type ScriptScheduleGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17114
|
+
where?: ScriptScheduleWhereInput
|
|
17115
|
+
orderBy?: ScriptScheduleOrderByWithAggregationInput | ScriptScheduleOrderByWithAggregationInput[]
|
|
17116
|
+
by: ScriptScheduleScalarFieldEnum[] | ScriptScheduleScalarFieldEnum
|
|
17117
|
+
having?: ScriptScheduleScalarWhereWithAggregatesInput
|
|
17118
|
+
take?: number
|
|
17119
|
+
skip?: number
|
|
17120
|
+
_count?: ScriptScheduleCountAggregateInputType | true
|
|
17121
|
+
_min?: ScriptScheduleMinAggregateInputType
|
|
17122
|
+
_max?: ScriptScheduleMaxAggregateInputType
|
|
17123
|
+
}
|
|
17124
|
+
|
|
17125
|
+
export type ScriptScheduleGroupByOutputType = {
|
|
17126
|
+
id: string
|
|
17127
|
+
scriptName: string
|
|
17128
|
+
enabled: boolean
|
|
17129
|
+
cronExpression: string | null
|
|
17130
|
+
timezone: string
|
|
17131
|
+
lastTriggeredAt: Date | null
|
|
17132
|
+
nextTriggerAt: Date | null
|
|
17133
|
+
externalScheduleId: string | null
|
|
17134
|
+
externalScheduleName: string | null
|
|
17135
|
+
createdAt: Date
|
|
17136
|
+
updatedAt: Date
|
|
17137
|
+
_count: ScriptScheduleCountAggregateOutputType | null
|
|
17138
|
+
_min: ScriptScheduleMinAggregateOutputType | null
|
|
17139
|
+
_max: ScriptScheduleMaxAggregateOutputType | null
|
|
17140
|
+
}
|
|
17141
|
+
|
|
17142
|
+
type GetScriptScheduleGroupByPayload<T extends ScriptScheduleGroupByArgs> = Prisma.PrismaPromise<
|
|
17143
|
+
Array<
|
|
17144
|
+
PickEnumerable<ScriptScheduleGroupByOutputType, T['by']> &
|
|
17145
|
+
{
|
|
17146
|
+
[P in ((keyof T) & (keyof ScriptScheduleGroupByOutputType))]: P extends '_count'
|
|
17147
|
+
? T[P] extends boolean
|
|
17148
|
+
? number
|
|
17149
|
+
: GetScalarType<T[P], ScriptScheduleGroupByOutputType[P]>
|
|
17150
|
+
: GetScalarType<T[P], ScriptScheduleGroupByOutputType[P]>
|
|
17151
|
+
}
|
|
17152
|
+
>
|
|
17153
|
+
>
|
|
17154
|
+
|
|
17155
|
+
|
|
17156
|
+
export type ScriptScheduleSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17157
|
+
id?: boolean
|
|
17158
|
+
scriptName?: boolean
|
|
17159
|
+
enabled?: boolean
|
|
17160
|
+
cronExpression?: boolean
|
|
17161
|
+
timezone?: boolean
|
|
17162
|
+
lastTriggeredAt?: boolean
|
|
17163
|
+
nextTriggerAt?: boolean
|
|
17164
|
+
externalScheduleId?: boolean
|
|
17165
|
+
externalScheduleName?: boolean
|
|
17166
|
+
createdAt?: boolean
|
|
17167
|
+
updatedAt?: boolean
|
|
17168
|
+
}, ExtArgs["result"]["scriptSchedule"]>
|
|
17169
|
+
|
|
17170
|
+
|
|
17171
|
+
|
|
17172
|
+
export type ScriptScheduleSelectScalar = {
|
|
17173
|
+
id?: boolean
|
|
17174
|
+
scriptName?: boolean
|
|
17175
|
+
enabled?: boolean
|
|
17176
|
+
cronExpression?: boolean
|
|
17177
|
+
timezone?: boolean
|
|
17178
|
+
lastTriggeredAt?: boolean
|
|
17179
|
+
nextTriggerAt?: boolean
|
|
17180
|
+
externalScheduleId?: boolean
|
|
17181
|
+
externalScheduleName?: boolean
|
|
17182
|
+
createdAt?: boolean
|
|
17183
|
+
updatedAt?: boolean
|
|
17184
|
+
}
|
|
17185
|
+
|
|
17186
|
+
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"]>
|
|
17187
|
+
|
|
17188
|
+
export type $ScriptSchedulePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17189
|
+
name: "ScriptSchedule"
|
|
17190
|
+
objects: {}
|
|
17191
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
17192
|
+
id: string
|
|
17193
|
+
scriptName: string
|
|
17194
|
+
enabled: boolean
|
|
17195
|
+
cronExpression: string | null
|
|
17196
|
+
timezone: string
|
|
17197
|
+
lastTriggeredAt: Date | null
|
|
17198
|
+
nextTriggerAt: Date | null
|
|
17199
|
+
externalScheduleId: string | null
|
|
17200
|
+
externalScheduleName: string | null
|
|
17201
|
+
createdAt: Date
|
|
17202
|
+
updatedAt: Date
|
|
17203
|
+
}, ExtArgs["result"]["scriptSchedule"]>
|
|
17204
|
+
composites: {}
|
|
17205
|
+
}
|
|
17206
|
+
|
|
17207
|
+
type ScriptScheduleGetPayload<S extends boolean | null | undefined | ScriptScheduleDefaultArgs> = $Result.GetResult<Prisma.$ScriptSchedulePayload, S>
|
|
17208
|
+
|
|
17209
|
+
type ScriptScheduleCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
17210
|
+
Omit<ScriptScheduleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
17211
|
+
select?: ScriptScheduleCountAggregateInputType | true
|
|
17212
|
+
}
|
|
17213
|
+
|
|
17214
|
+
export interface ScriptScheduleDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
17215
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScriptSchedule'], meta: { name: 'ScriptSchedule' } }
|
|
17216
|
+
/**
|
|
17217
|
+
* Find zero or one ScriptSchedule that matches the filter.
|
|
17218
|
+
* @param {ScriptScheduleFindUniqueArgs} args - Arguments to find a ScriptSchedule
|
|
17219
|
+
* @example
|
|
17220
|
+
* // Get one ScriptSchedule
|
|
17221
|
+
* const scriptSchedule = await prisma.scriptSchedule.findUnique({
|
|
17222
|
+
* where: {
|
|
17223
|
+
* // ... provide filter here
|
|
17224
|
+
* }
|
|
17225
|
+
* })
|
|
17226
|
+
*/
|
|
17227
|
+
findUnique<T extends ScriptScheduleFindUniqueArgs>(args: SelectSubset<T, ScriptScheduleFindUniqueArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
17228
|
+
|
|
17229
|
+
/**
|
|
17230
|
+
* Find one ScriptSchedule that matches the filter or throw an error with `error.code='P2025'`
|
|
17231
|
+
* if no matches were found.
|
|
17232
|
+
* @param {ScriptScheduleFindUniqueOrThrowArgs} args - Arguments to find a ScriptSchedule
|
|
17233
|
+
* @example
|
|
17234
|
+
* // Get one ScriptSchedule
|
|
17235
|
+
* const scriptSchedule = await prisma.scriptSchedule.findUniqueOrThrow({
|
|
17236
|
+
* where: {
|
|
17237
|
+
* // ... provide filter here
|
|
17238
|
+
* }
|
|
17239
|
+
* })
|
|
17240
|
+
*/
|
|
17241
|
+
findUniqueOrThrow<T extends ScriptScheduleFindUniqueOrThrowArgs>(args: SelectSubset<T, ScriptScheduleFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
17242
|
+
|
|
17243
|
+
/**
|
|
17244
|
+
* Find the first ScriptSchedule that matches the filter.
|
|
17245
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17246
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17247
|
+
* @param {ScriptScheduleFindFirstArgs} args - Arguments to find a ScriptSchedule
|
|
17248
|
+
* @example
|
|
17249
|
+
* // Get one ScriptSchedule
|
|
17250
|
+
* const scriptSchedule = await prisma.scriptSchedule.findFirst({
|
|
17251
|
+
* where: {
|
|
17252
|
+
* // ... provide filter here
|
|
17253
|
+
* }
|
|
17254
|
+
* })
|
|
17255
|
+
*/
|
|
17256
|
+
findFirst<T extends ScriptScheduleFindFirstArgs>(args?: SelectSubset<T, ScriptScheduleFindFirstArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
17257
|
+
|
|
17258
|
+
/**
|
|
17259
|
+
* Find the first ScriptSchedule that matches the filter or
|
|
17260
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
17261
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17262
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17263
|
+
* @param {ScriptScheduleFindFirstOrThrowArgs} args - Arguments to find a ScriptSchedule
|
|
17264
|
+
* @example
|
|
17265
|
+
* // Get one ScriptSchedule
|
|
17266
|
+
* const scriptSchedule = await prisma.scriptSchedule.findFirstOrThrow({
|
|
17267
|
+
* where: {
|
|
17268
|
+
* // ... provide filter here
|
|
17269
|
+
* }
|
|
17270
|
+
* })
|
|
17271
|
+
*/
|
|
17272
|
+
findFirstOrThrow<T extends ScriptScheduleFindFirstOrThrowArgs>(args?: SelectSubset<T, ScriptScheduleFindFirstOrThrowArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
17273
|
+
|
|
17274
|
+
/**
|
|
17275
|
+
* Find zero or more ScriptSchedules that matches the filter.
|
|
17276
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17277
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17278
|
+
* @param {ScriptScheduleFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
17279
|
+
* @example
|
|
17280
|
+
* // Get all ScriptSchedules
|
|
17281
|
+
* const scriptSchedules = await prisma.scriptSchedule.findMany()
|
|
17282
|
+
*
|
|
17283
|
+
* // Get first 10 ScriptSchedules
|
|
17284
|
+
* const scriptSchedules = await prisma.scriptSchedule.findMany({ take: 10 })
|
|
17285
|
+
*
|
|
17286
|
+
* // Only select the `id`
|
|
17287
|
+
* const scriptScheduleWithIdOnly = await prisma.scriptSchedule.findMany({ select: { id: true } })
|
|
17288
|
+
*
|
|
17289
|
+
*/
|
|
17290
|
+
findMany<T extends ScriptScheduleFindManyArgs>(args?: SelectSubset<T, ScriptScheduleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
17291
|
+
|
|
17292
|
+
/**
|
|
17293
|
+
* Create a ScriptSchedule.
|
|
17294
|
+
* @param {ScriptScheduleCreateArgs} args - Arguments to create a ScriptSchedule.
|
|
17295
|
+
* @example
|
|
17296
|
+
* // Create one ScriptSchedule
|
|
17297
|
+
* const ScriptSchedule = await prisma.scriptSchedule.create({
|
|
17298
|
+
* data: {
|
|
17299
|
+
* // ... data to create a ScriptSchedule
|
|
17300
|
+
* }
|
|
17301
|
+
* })
|
|
17302
|
+
*
|
|
17303
|
+
*/
|
|
17304
|
+
create<T extends ScriptScheduleCreateArgs>(args: SelectSubset<T, ScriptScheduleCreateArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
17305
|
+
|
|
17306
|
+
/**
|
|
17307
|
+
* Create many ScriptSchedules.
|
|
17308
|
+
* @param {ScriptScheduleCreateManyArgs} args - Arguments to create many ScriptSchedules.
|
|
17309
|
+
* @example
|
|
17310
|
+
* // Create many ScriptSchedules
|
|
17311
|
+
* const scriptSchedule = await prisma.scriptSchedule.createMany({
|
|
17312
|
+
* data: [
|
|
17313
|
+
* // ... provide data here
|
|
17314
|
+
* ]
|
|
17315
|
+
* })
|
|
17316
|
+
*
|
|
17317
|
+
*/
|
|
17318
|
+
createMany<T extends ScriptScheduleCreateManyArgs>(args?: SelectSubset<T, ScriptScheduleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
17319
|
+
|
|
17320
|
+
/**
|
|
17321
|
+
* Delete a ScriptSchedule.
|
|
17322
|
+
* @param {ScriptScheduleDeleteArgs} args - Arguments to delete one ScriptSchedule.
|
|
17323
|
+
* @example
|
|
17324
|
+
* // Delete one ScriptSchedule
|
|
17325
|
+
* const ScriptSchedule = await prisma.scriptSchedule.delete({
|
|
17326
|
+
* where: {
|
|
17327
|
+
* // ... filter to delete one ScriptSchedule
|
|
17328
|
+
* }
|
|
17329
|
+
* })
|
|
17330
|
+
*
|
|
17331
|
+
*/
|
|
17332
|
+
delete<T extends ScriptScheduleDeleteArgs>(args: SelectSubset<T, ScriptScheduleDeleteArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
17333
|
+
|
|
17334
|
+
/**
|
|
17335
|
+
* Update one ScriptSchedule.
|
|
17336
|
+
* @param {ScriptScheduleUpdateArgs} args - Arguments to update one ScriptSchedule.
|
|
17337
|
+
* @example
|
|
17338
|
+
* // Update one ScriptSchedule
|
|
17339
|
+
* const scriptSchedule = await prisma.scriptSchedule.update({
|
|
17340
|
+
* where: {
|
|
17341
|
+
* // ... provide filter here
|
|
17342
|
+
* },
|
|
17343
|
+
* data: {
|
|
17344
|
+
* // ... provide data here
|
|
17345
|
+
* }
|
|
17346
|
+
* })
|
|
17347
|
+
*
|
|
17348
|
+
*/
|
|
17349
|
+
update<T extends ScriptScheduleUpdateArgs>(args: SelectSubset<T, ScriptScheduleUpdateArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
17350
|
+
|
|
17351
|
+
/**
|
|
17352
|
+
* Delete zero or more ScriptSchedules.
|
|
17353
|
+
* @param {ScriptScheduleDeleteManyArgs} args - Arguments to filter ScriptSchedules to delete.
|
|
17354
|
+
* @example
|
|
17355
|
+
* // Delete a few ScriptSchedules
|
|
17356
|
+
* const { count } = await prisma.scriptSchedule.deleteMany({
|
|
17357
|
+
* where: {
|
|
17358
|
+
* // ... provide filter here
|
|
17359
|
+
* }
|
|
17360
|
+
* })
|
|
17361
|
+
*
|
|
17362
|
+
*/
|
|
17363
|
+
deleteMany<T extends ScriptScheduleDeleteManyArgs>(args?: SelectSubset<T, ScriptScheduleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
17364
|
+
|
|
17365
|
+
/**
|
|
17366
|
+
* Update zero or more ScriptSchedules.
|
|
17367
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17368
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17369
|
+
* @param {ScriptScheduleUpdateManyArgs} args - Arguments to update one or more rows.
|
|
17370
|
+
* @example
|
|
17371
|
+
* // Update many ScriptSchedules
|
|
17372
|
+
* const scriptSchedule = await prisma.scriptSchedule.updateMany({
|
|
17373
|
+
* where: {
|
|
17374
|
+
* // ... provide filter here
|
|
17375
|
+
* },
|
|
17376
|
+
* data: {
|
|
17377
|
+
* // ... provide data here
|
|
17378
|
+
* }
|
|
17379
|
+
* })
|
|
17380
|
+
*
|
|
17381
|
+
*/
|
|
17382
|
+
updateMany<T extends ScriptScheduleUpdateManyArgs>(args: SelectSubset<T, ScriptScheduleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
17383
|
+
|
|
17384
|
+
/**
|
|
17385
|
+
* Create or update one ScriptSchedule.
|
|
17386
|
+
* @param {ScriptScheduleUpsertArgs} args - Arguments to update or create a ScriptSchedule.
|
|
17387
|
+
* @example
|
|
17388
|
+
* // Update or create a ScriptSchedule
|
|
17389
|
+
* const scriptSchedule = await prisma.scriptSchedule.upsert({
|
|
17390
|
+
* create: {
|
|
17391
|
+
* // ... data to create a ScriptSchedule
|
|
17392
|
+
* },
|
|
17393
|
+
* update: {
|
|
17394
|
+
* // ... in case it already exists, update
|
|
17395
|
+
* },
|
|
17396
|
+
* where: {
|
|
17397
|
+
* // ... the filter for the ScriptSchedule we want to update
|
|
17398
|
+
* }
|
|
17399
|
+
* })
|
|
17400
|
+
*/
|
|
17401
|
+
upsert<T extends ScriptScheduleUpsertArgs>(args: SelectSubset<T, ScriptScheduleUpsertArgs<ExtArgs>>): Prisma__ScriptScheduleClient<$Result.GetResult<Prisma.$ScriptSchedulePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
17402
|
+
|
|
17403
|
+
/**
|
|
17404
|
+
* Find zero or more ScriptSchedules that matches the filter.
|
|
17405
|
+
* @param {ScriptScheduleFindRawArgs} args - Select which filters you would like to apply.
|
|
17406
|
+
* @example
|
|
17407
|
+
* const scriptSchedule = await prisma.scriptSchedule.findRaw({
|
|
17408
|
+
* filter: { age: { $gt: 25 } }
|
|
17409
|
+
* })
|
|
17410
|
+
*/
|
|
17411
|
+
findRaw(args?: ScriptScheduleFindRawArgs): Prisma.PrismaPromise<JsonObject>
|
|
17412
|
+
|
|
17413
|
+
/**
|
|
17414
|
+
* Perform aggregation operations on a ScriptSchedule.
|
|
17415
|
+
* @param {ScriptScheduleAggregateRawArgs} args - Select which aggregations you would like to apply.
|
|
17416
|
+
* @example
|
|
17417
|
+
* const scriptSchedule = await prisma.scriptSchedule.aggregateRaw({
|
|
17418
|
+
* pipeline: [
|
|
17419
|
+
* { $match: { status: "registered" } },
|
|
17420
|
+
* { $group: { _id: "$country", total: { $sum: 1 } } }
|
|
17421
|
+
* ]
|
|
17422
|
+
* })
|
|
17423
|
+
*/
|
|
17424
|
+
aggregateRaw(args?: ScriptScheduleAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
|
|
17425
|
+
|
|
17426
|
+
|
|
17427
|
+
/**
|
|
17428
|
+
* Count the number of ScriptSchedules.
|
|
17429
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17430
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17431
|
+
* @param {ScriptScheduleCountArgs} args - Arguments to filter ScriptSchedules to count.
|
|
17432
|
+
* @example
|
|
17433
|
+
* // Count the number of ScriptSchedules
|
|
17434
|
+
* const count = await prisma.scriptSchedule.count({
|
|
17435
|
+
* where: {
|
|
17436
|
+
* // ... the filter for the ScriptSchedules we want to count
|
|
17437
|
+
* }
|
|
17438
|
+
* })
|
|
17439
|
+
**/
|
|
17440
|
+
count<T extends ScriptScheduleCountArgs>(
|
|
17441
|
+
args?: Subset<T, ScriptScheduleCountArgs>,
|
|
17442
|
+
): Prisma.PrismaPromise<
|
|
17443
|
+
T extends $Utils.Record<'select', any>
|
|
17444
|
+
? T['select'] extends true
|
|
17445
|
+
? number
|
|
17446
|
+
: GetScalarType<T['select'], ScriptScheduleCountAggregateOutputType>
|
|
17447
|
+
: number
|
|
17448
|
+
>
|
|
17449
|
+
|
|
17450
|
+
/**
|
|
17451
|
+
* Allows you to perform aggregations operations on a ScriptSchedule.
|
|
17452
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17453
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17454
|
+
* @param {ScriptScheduleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
17455
|
+
* @example
|
|
17456
|
+
* // Ordered by age ascending
|
|
17457
|
+
* // Where email contains prisma.io
|
|
17458
|
+
* // Limited to the 10 users
|
|
17459
|
+
* const aggregations = await prisma.user.aggregate({
|
|
17460
|
+
* _avg: {
|
|
17461
|
+
* age: true,
|
|
17462
|
+
* },
|
|
17463
|
+
* where: {
|
|
17464
|
+
* email: {
|
|
17465
|
+
* contains: "prisma.io",
|
|
17466
|
+
* },
|
|
17467
|
+
* },
|
|
17468
|
+
* orderBy: {
|
|
17469
|
+
* age: "asc",
|
|
17470
|
+
* },
|
|
17471
|
+
* take: 10,
|
|
17472
|
+
* })
|
|
17473
|
+
**/
|
|
17474
|
+
aggregate<T extends ScriptScheduleAggregateArgs>(args: Subset<T, ScriptScheduleAggregateArgs>): Prisma.PrismaPromise<GetScriptScheduleAggregateType<T>>
|
|
17475
|
+
|
|
17476
|
+
/**
|
|
17477
|
+
* Group by ScriptSchedule.
|
|
17478
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
17479
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
17480
|
+
* @param {ScriptScheduleGroupByArgs} args - Group by arguments.
|
|
17481
|
+
* @example
|
|
17482
|
+
* // Group by city, order by createdAt, get count
|
|
17483
|
+
* const result = await prisma.user.groupBy({
|
|
17484
|
+
* by: ['city', 'createdAt'],
|
|
17485
|
+
* orderBy: {
|
|
17486
|
+
* createdAt: true
|
|
17487
|
+
* },
|
|
17488
|
+
* _count: {
|
|
17489
|
+
* _all: true
|
|
17490
|
+
* },
|
|
17491
|
+
* })
|
|
17492
|
+
*
|
|
17493
|
+
**/
|
|
17494
|
+
groupBy<
|
|
17495
|
+
T extends ScriptScheduleGroupByArgs,
|
|
17496
|
+
HasSelectOrTake extends Or<
|
|
17497
|
+
Extends<'skip', Keys<T>>,
|
|
17498
|
+
Extends<'take', Keys<T>>
|
|
17499
|
+
>,
|
|
17500
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
17501
|
+
? { orderBy: ScriptScheduleGroupByArgs['orderBy'] }
|
|
17502
|
+
: { orderBy?: ScriptScheduleGroupByArgs['orderBy'] },
|
|
17503
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
17504
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
17505
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
17506
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
17507
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
17508
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
17509
|
+
InputErrors extends ByEmpty extends True
|
|
17510
|
+
? `Error: "by" must not be empty.`
|
|
17511
|
+
: HavingValid extends False
|
|
17512
|
+
? {
|
|
17513
|
+
[P in HavingFields]: P extends ByFields
|
|
17514
|
+
? never
|
|
17515
|
+
: P extends string
|
|
17516
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
17517
|
+
: [
|
|
17518
|
+
Error,
|
|
17519
|
+
'Field ',
|
|
17520
|
+
P,
|
|
17521
|
+
` in "having" needs to be provided in "by"`,
|
|
17522
|
+
]
|
|
17523
|
+
}[HavingFields]
|
|
17524
|
+
: 'take' extends Keys<T>
|
|
17525
|
+
? 'orderBy' extends Keys<T>
|
|
17526
|
+
? ByValid extends True
|
|
17527
|
+
? {}
|
|
17528
|
+
: {
|
|
17529
|
+
[P in OrderFields]: P extends ByFields
|
|
17530
|
+
? never
|
|
17531
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
17532
|
+
}[OrderFields]
|
|
17533
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
17534
|
+
: 'skip' extends Keys<T>
|
|
17535
|
+
? 'orderBy' extends Keys<T>
|
|
17536
|
+
? ByValid extends True
|
|
17537
|
+
? {}
|
|
17538
|
+
: {
|
|
17539
|
+
[P in OrderFields]: P extends ByFields
|
|
17540
|
+
? never
|
|
17541
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
17542
|
+
}[OrderFields]
|
|
17543
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
17544
|
+
: ByValid extends True
|
|
17545
|
+
? {}
|
|
17546
|
+
: {
|
|
17547
|
+
[P in OrderFields]: P extends ByFields
|
|
17548
|
+
? never
|
|
17549
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
17550
|
+
}[OrderFields]
|
|
17551
|
+
>(args: SubsetIntersection<T, ScriptScheduleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScriptScheduleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
17552
|
+
/**
|
|
17553
|
+
* Fields of the ScriptSchedule model
|
|
17554
|
+
*/
|
|
17555
|
+
readonly fields: ScriptScheduleFieldRefs;
|
|
17556
|
+
}
|
|
17557
|
+
|
|
17558
|
+
/**
|
|
17559
|
+
* The delegate class that acts as a "Promise-like" for ScriptSchedule.
|
|
17560
|
+
* Why is this prefixed with `Prisma__`?
|
|
17561
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
17562
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
17563
|
+
*/
|
|
17564
|
+
export interface Prisma__ScriptScheduleClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
17565
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
17566
|
+
/**
|
|
17567
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
17568
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
17569
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
17570
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
17571
|
+
*/
|
|
17572
|
+
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>
|
|
17573
|
+
/**
|
|
17574
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
17575
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
17576
|
+
* @returns A Promise for the completion of the callback.
|
|
17577
|
+
*/
|
|
17578
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
17579
|
+
/**
|
|
17580
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
17581
|
+
* resolved value cannot be modified from the callback.
|
|
17582
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
17583
|
+
* @returns A Promise for the completion of the callback.
|
|
17584
|
+
*/
|
|
17585
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
17586
|
+
}
|
|
17587
|
+
|
|
17588
|
+
|
|
17589
|
+
|
|
17590
|
+
|
|
17591
|
+
/**
|
|
17592
|
+
* Fields of the ScriptSchedule model
|
|
17593
|
+
*/
|
|
17594
|
+
interface ScriptScheduleFieldRefs {
|
|
17595
|
+
readonly id: FieldRef<"ScriptSchedule", 'String'>
|
|
17596
|
+
readonly scriptName: FieldRef<"ScriptSchedule", 'String'>
|
|
17597
|
+
readonly enabled: FieldRef<"ScriptSchedule", 'Boolean'>
|
|
17598
|
+
readonly cronExpression: FieldRef<"ScriptSchedule", 'String'>
|
|
17599
|
+
readonly timezone: FieldRef<"ScriptSchedule", 'String'>
|
|
17600
|
+
readonly lastTriggeredAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
17601
|
+
readonly nextTriggerAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
17602
|
+
readonly externalScheduleId: FieldRef<"ScriptSchedule", 'String'>
|
|
17603
|
+
readonly externalScheduleName: FieldRef<"ScriptSchedule", 'String'>
|
|
17604
|
+
readonly createdAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
17605
|
+
readonly updatedAt: FieldRef<"ScriptSchedule", 'DateTime'>
|
|
17606
|
+
}
|
|
17607
|
+
|
|
17608
|
+
|
|
17609
|
+
// Custom InputTypes
|
|
17610
|
+
/**
|
|
17611
|
+
* ScriptSchedule findUnique
|
|
17612
|
+
*/
|
|
17613
|
+
export type ScriptScheduleFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17614
|
+
/**
|
|
17615
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17616
|
+
*/
|
|
17617
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17618
|
+
/**
|
|
17619
|
+
* Omit specific fields from the ScriptSchedule
|
|
17620
|
+
*/
|
|
17621
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17622
|
+
/**
|
|
17623
|
+
* Filter, which ScriptSchedule to fetch.
|
|
17624
|
+
*/
|
|
17625
|
+
where: ScriptScheduleWhereUniqueInput
|
|
17626
|
+
}
|
|
17627
|
+
|
|
17628
|
+
/**
|
|
17629
|
+
* ScriptSchedule findUniqueOrThrow
|
|
17630
|
+
*/
|
|
17631
|
+
export type ScriptScheduleFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17632
|
+
/**
|
|
17633
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17634
|
+
*/
|
|
17635
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17636
|
+
/**
|
|
17637
|
+
* Omit specific fields from the ScriptSchedule
|
|
17638
|
+
*/
|
|
17639
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17640
|
+
/**
|
|
17641
|
+
* Filter, which ScriptSchedule to fetch.
|
|
17642
|
+
*/
|
|
17643
|
+
where: ScriptScheduleWhereUniqueInput
|
|
17644
|
+
}
|
|
17645
|
+
|
|
17646
|
+
/**
|
|
17647
|
+
* ScriptSchedule findFirst
|
|
17648
|
+
*/
|
|
17649
|
+
export type ScriptScheduleFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17650
|
+
/**
|
|
17651
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17652
|
+
*/
|
|
17653
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17654
|
+
/**
|
|
17655
|
+
* Omit specific fields from the ScriptSchedule
|
|
17656
|
+
*/
|
|
17657
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17658
|
+
/**
|
|
17659
|
+
* Filter, which ScriptSchedule to fetch.
|
|
17660
|
+
*/
|
|
17661
|
+
where?: ScriptScheduleWhereInput
|
|
17662
|
+
/**
|
|
17663
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
17664
|
+
*
|
|
17665
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
17666
|
+
*/
|
|
17667
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
17668
|
+
/**
|
|
17669
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
17670
|
+
*
|
|
17671
|
+
* Sets the position for searching for ScriptSchedules.
|
|
17672
|
+
*/
|
|
17673
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
17674
|
+
/**
|
|
17675
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17676
|
+
*
|
|
17677
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
17678
|
+
*/
|
|
17679
|
+
take?: number
|
|
17680
|
+
/**
|
|
17681
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17682
|
+
*
|
|
17683
|
+
* Skip the first `n` ScriptSchedules.
|
|
17684
|
+
*/
|
|
17685
|
+
skip?: number
|
|
17686
|
+
/**
|
|
17687
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
17688
|
+
*
|
|
17689
|
+
* Filter by unique combinations of ScriptSchedules.
|
|
17690
|
+
*/
|
|
17691
|
+
distinct?: ScriptScheduleScalarFieldEnum | ScriptScheduleScalarFieldEnum[]
|
|
17692
|
+
}
|
|
17693
|
+
|
|
17694
|
+
/**
|
|
17695
|
+
* ScriptSchedule findFirstOrThrow
|
|
17696
|
+
*/
|
|
17697
|
+
export type ScriptScheduleFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17698
|
+
/**
|
|
17699
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17700
|
+
*/
|
|
17701
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17702
|
+
/**
|
|
17703
|
+
* Omit specific fields from the ScriptSchedule
|
|
17704
|
+
*/
|
|
17705
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17706
|
+
/**
|
|
17707
|
+
* Filter, which ScriptSchedule to fetch.
|
|
17708
|
+
*/
|
|
17709
|
+
where?: ScriptScheduleWhereInput
|
|
17710
|
+
/**
|
|
17711
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
17712
|
+
*
|
|
17713
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
17714
|
+
*/
|
|
17715
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
17716
|
+
/**
|
|
17717
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
17718
|
+
*
|
|
17719
|
+
* Sets the position for searching for ScriptSchedules.
|
|
17720
|
+
*/
|
|
17721
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
17722
|
+
/**
|
|
17723
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17724
|
+
*
|
|
17725
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
17726
|
+
*/
|
|
17727
|
+
take?: number
|
|
17728
|
+
/**
|
|
17729
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17730
|
+
*
|
|
17731
|
+
* Skip the first `n` ScriptSchedules.
|
|
17732
|
+
*/
|
|
17733
|
+
skip?: number
|
|
17734
|
+
/**
|
|
17735
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
17736
|
+
*
|
|
17737
|
+
* Filter by unique combinations of ScriptSchedules.
|
|
17738
|
+
*/
|
|
17739
|
+
distinct?: ScriptScheduleScalarFieldEnum | ScriptScheduleScalarFieldEnum[]
|
|
17740
|
+
}
|
|
17741
|
+
|
|
17742
|
+
/**
|
|
17743
|
+
* ScriptSchedule findMany
|
|
17744
|
+
*/
|
|
17745
|
+
export type ScriptScheduleFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17746
|
+
/**
|
|
17747
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17748
|
+
*/
|
|
17749
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17750
|
+
/**
|
|
17751
|
+
* Omit specific fields from the ScriptSchedule
|
|
17752
|
+
*/
|
|
17753
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17754
|
+
/**
|
|
17755
|
+
* Filter, which ScriptSchedules to fetch.
|
|
17756
|
+
*/
|
|
17757
|
+
where?: ScriptScheduleWhereInput
|
|
17758
|
+
/**
|
|
17759
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
17760
|
+
*
|
|
17761
|
+
* Determine the order of ScriptSchedules to fetch.
|
|
17762
|
+
*/
|
|
17763
|
+
orderBy?: ScriptScheduleOrderByWithRelationInput | ScriptScheduleOrderByWithRelationInput[]
|
|
17764
|
+
/**
|
|
17765
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
17766
|
+
*
|
|
17767
|
+
* Sets the position for listing ScriptSchedules.
|
|
17768
|
+
*/
|
|
17769
|
+
cursor?: ScriptScheduleWhereUniqueInput
|
|
17770
|
+
/**
|
|
17771
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17772
|
+
*
|
|
17773
|
+
* Take `±n` ScriptSchedules from the position of the cursor.
|
|
17774
|
+
*/
|
|
17775
|
+
take?: number
|
|
17776
|
+
/**
|
|
17777
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
17778
|
+
*
|
|
17779
|
+
* Skip the first `n` ScriptSchedules.
|
|
17780
|
+
*/
|
|
17781
|
+
skip?: number
|
|
17782
|
+
distinct?: ScriptScheduleScalarFieldEnum | ScriptScheduleScalarFieldEnum[]
|
|
17783
|
+
}
|
|
17784
|
+
|
|
17785
|
+
/**
|
|
17786
|
+
* ScriptSchedule create
|
|
17787
|
+
*/
|
|
17788
|
+
export type ScriptScheduleCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17789
|
+
/**
|
|
17790
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17791
|
+
*/
|
|
17792
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17793
|
+
/**
|
|
17794
|
+
* Omit specific fields from the ScriptSchedule
|
|
17795
|
+
*/
|
|
17796
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17797
|
+
/**
|
|
17798
|
+
* The data needed to create a ScriptSchedule.
|
|
17799
|
+
*/
|
|
17800
|
+
data: XOR<ScriptScheduleCreateInput, ScriptScheduleUncheckedCreateInput>
|
|
17801
|
+
}
|
|
17802
|
+
|
|
17803
|
+
/**
|
|
17804
|
+
* ScriptSchedule createMany
|
|
17805
|
+
*/
|
|
17806
|
+
export type ScriptScheduleCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17807
|
+
/**
|
|
17808
|
+
* The data used to create many ScriptSchedules.
|
|
17809
|
+
*/
|
|
17810
|
+
data: ScriptScheduleCreateManyInput | ScriptScheduleCreateManyInput[]
|
|
17811
|
+
}
|
|
17812
|
+
|
|
17813
|
+
/**
|
|
17814
|
+
* ScriptSchedule update
|
|
17815
|
+
*/
|
|
17816
|
+
export type ScriptScheduleUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17817
|
+
/**
|
|
17818
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17819
|
+
*/
|
|
17820
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17821
|
+
/**
|
|
17822
|
+
* Omit specific fields from the ScriptSchedule
|
|
17823
|
+
*/
|
|
17824
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17825
|
+
/**
|
|
17826
|
+
* The data needed to update a ScriptSchedule.
|
|
17827
|
+
*/
|
|
17828
|
+
data: XOR<ScriptScheduleUpdateInput, ScriptScheduleUncheckedUpdateInput>
|
|
17829
|
+
/**
|
|
17830
|
+
* Choose, which ScriptSchedule to update.
|
|
17831
|
+
*/
|
|
17832
|
+
where: ScriptScheduleWhereUniqueInput
|
|
17833
|
+
}
|
|
17834
|
+
|
|
17835
|
+
/**
|
|
17836
|
+
* ScriptSchedule updateMany
|
|
17837
|
+
*/
|
|
17838
|
+
export type ScriptScheduleUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17839
|
+
/**
|
|
17840
|
+
* The data used to update ScriptSchedules.
|
|
17841
|
+
*/
|
|
17842
|
+
data: XOR<ScriptScheduleUpdateManyMutationInput, ScriptScheduleUncheckedUpdateManyInput>
|
|
17843
|
+
/**
|
|
17844
|
+
* Filter which ScriptSchedules to update
|
|
17845
|
+
*/
|
|
17846
|
+
where?: ScriptScheduleWhereInput
|
|
17847
|
+
/**
|
|
17848
|
+
* Limit how many ScriptSchedules to update.
|
|
17849
|
+
*/
|
|
17850
|
+
limit?: number
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
/**
|
|
17854
|
+
* ScriptSchedule upsert
|
|
17855
|
+
*/
|
|
17856
|
+
export type ScriptScheduleUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17857
|
+
/**
|
|
17858
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17859
|
+
*/
|
|
17860
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17861
|
+
/**
|
|
17862
|
+
* Omit specific fields from the ScriptSchedule
|
|
17863
|
+
*/
|
|
17864
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17865
|
+
/**
|
|
17866
|
+
* The filter to search for the ScriptSchedule to update in case it exists.
|
|
17867
|
+
*/
|
|
17868
|
+
where: ScriptScheduleWhereUniqueInput
|
|
17869
|
+
/**
|
|
17870
|
+
* In case the ScriptSchedule found by the `where` argument doesn't exist, create a new ScriptSchedule with this data.
|
|
17871
|
+
*/
|
|
17872
|
+
create: XOR<ScriptScheduleCreateInput, ScriptScheduleUncheckedCreateInput>
|
|
17873
|
+
/**
|
|
17874
|
+
* In case the ScriptSchedule was found with the provided `where` argument, update it with this data.
|
|
17875
|
+
*/
|
|
17876
|
+
update: XOR<ScriptScheduleUpdateInput, ScriptScheduleUncheckedUpdateInput>
|
|
17877
|
+
}
|
|
17878
|
+
|
|
17879
|
+
/**
|
|
17880
|
+
* ScriptSchedule delete
|
|
17881
|
+
*/
|
|
17882
|
+
export type ScriptScheduleDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17883
|
+
/**
|
|
17884
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17885
|
+
*/
|
|
17886
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17887
|
+
/**
|
|
17888
|
+
* Omit specific fields from the ScriptSchedule
|
|
17889
|
+
*/
|
|
17890
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17891
|
+
/**
|
|
17892
|
+
* Filter which ScriptSchedule to delete.
|
|
17893
|
+
*/
|
|
17894
|
+
where: ScriptScheduleWhereUniqueInput
|
|
17895
|
+
}
|
|
17896
|
+
|
|
17897
|
+
/**
|
|
17898
|
+
* ScriptSchedule deleteMany
|
|
17899
|
+
*/
|
|
17900
|
+
export type ScriptScheduleDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17901
|
+
/**
|
|
17902
|
+
* Filter which ScriptSchedules to delete
|
|
17903
|
+
*/
|
|
17904
|
+
where?: ScriptScheduleWhereInput
|
|
17905
|
+
/**
|
|
17906
|
+
* Limit how many ScriptSchedules to delete.
|
|
17907
|
+
*/
|
|
17908
|
+
limit?: number
|
|
17909
|
+
}
|
|
17910
|
+
|
|
17911
|
+
/**
|
|
17912
|
+
* ScriptSchedule findRaw
|
|
17913
|
+
*/
|
|
17914
|
+
export type ScriptScheduleFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17915
|
+
/**
|
|
17916
|
+
* The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
|
|
17917
|
+
*/
|
|
17918
|
+
filter?: InputJsonValue
|
|
17919
|
+
/**
|
|
17920
|
+
* Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
|
|
17921
|
+
*/
|
|
17922
|
+
options?: InputJsonValue
|
|
17923
|
+
}
|
|
17924
|
+
|
|
17925
|
+
/**
|
|
17926
|
+
* ScriptSchedule aggregateRaw
|
|
17927
|
+
*/
|
|
17928
|
+
export type ScriptScheduleAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17929
|
+
/**
|
|
17930
|
+
* An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
|
|
17931
|
+
*/
|
|
17932
|
+
pipeline?: InputJsonValue[]
|
|
17933
|
+
/**
|
|
17934
|
+
* Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
|
|
17935
|
+
*/
|
|
17936
|
+
options?: InputJsonValue
|
|
17937
|
+
}
|
|
17938
|
+
|
|
17939
|
+
/**
|
|
17940
|
+
* ScriptSchedule without action
|
|
17941
|
+
*/
|
|
17942
|
+
export type ScriptScheduleDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17943
|
+
/**
|
|
17944
|
+
* Select specific fields to fetch from the ScriptSchedule
|
|
17945
|
+
*/
|
|
17946
|
+
select?: ScriptScheduleSelect<ExtArgs> | null
|
|
17947
|
+
/**
|
|
17948
|
+
* Omit specific fields from the ScriptSchedule
|
|
17949
|
+
*/
|
|
17950
|
+
omit?: ScriptScheduleOmit<ExtArgs> | null
|
|
17951
|
+
}
|
|
17952
|
+
|
|
17953
|
+
|
|
17954
|
+
/**
|
|
17955
|
+
* Enums
|
|
17956
|
+
*/
|
|
17957
|
+
|
|
17958
|
+
export const UserScalarFieldEnum: {
|
|
17959
|
+
id: 'id',
|
|
17960
|
+
type: 'type',
|
|
17961
|
+
createdAt: 'createdAt',
|
|
17962
|
+
updatedAt: 'updatedAt',
|
|
17963
|
+
email: 'email',
|
|
17964
|
+
username: 'username',
|
|
17965
|
+
hashword: 'hashword',
|
|
17966
|
+
appUserId: 'appUserId',
|
|
17967
|
+
organizationId: 'organizationId',
|
|
17968
|
+
appOrgId: 'appOrgId',
|
|
17969
|
+
name: 'name'
|
|
17970
|
+
};
|
|
17971
|
+
|
|
17972
|
+
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
17973
|
+
|
|
17974
|
+
|
|
17975
|
+
export const TokenScalarFieldEnum: {
|
|
17976
|
+
id: 'id',
|
|
17977
|
+
token: 'token',
|
|
17978
|
+
created: 'created',
|
|
17979
|
+
expires: 'expires',
|
|
17980
|
+
userId: 'userId'
|
|
17981
|
+
};
|
|
17982
|
+
|
|
17983
|
+
export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
|
|
17984
|
+
|
|
17985
|
+
|
|
17986
|
+
export const CredentialScalarFieldEnum: {
|
|
17987
|
+
id: 'id',
|
|
17988
|
+
userId: 'userId',
|
|
17989
|
+
authIsValid: 'authIsValid',
|
|
17990
|
+
externalId: 'externalId',
|
|
17991
|
+
data: 'data',
|
|
17992
|
+
createdAt: 'createdAt',
|
|
17993
|
+
updatedAt: 'updatedAt'
|
|
17994
|
+
};
|
|
17995
|
+
|
|
17996
|
+
export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
|
|
17997
|
+
|
|
17998
|
+
|
|
17999
|
+
export const EntityScalarFieldEnum: {
|
|
18000
|
+
id: 'id',
|
|
18001
|
+
credentialId: 'credentialId',
|
|
18002
|
+
userId: 'userId',
|
|
18003
|
+
name: 'name',
|
|
18004
|
+
moduleName: 'moduleName',
|
|
18005
|
+
externalId: 'externalId',
|
|
18006
|
+
createdAt: 'createdAt',
|
|
18007
|
+
updatedAt: 'updatedAt',
|
|
18008
|
+
integrationIds: 'integrationIds',
|
|
18009
|
+
syncIds: 'syncIds'
|
|
18010
|
+
};
|
|
18011
|
+
|
|
18012
|
+
export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
|
|
18013
|
+
|
|
18014
|
+
|
|
18015
|
+
export const IntegrationScalarFieldEnum: {
|
|
18016
|
+
id: 'id',
|
|
18017
|
+
userId: 'userId',
|
|
18018
|
+
status: 'status',
|
|
15835
18019
|
config: 'config',
|
|
15836
18020
|
version: 'version',
|
|
15837
18021
|
entityIds: 'entityIds',
|
|
@@ -15937,6 +18121,39 @@ export namespace Prisma {
|
|
|
15937
18121
|
export type WebsocketConnectionScalarFieldEnum = (typeof WebsocketConnectionScalarFieldEnum)[keyof typeof WebsocketConnectionScalarFieldEnum]
|
|
15938
18122
|
|
|
15939
18123
|
|
|
18124
|
+
export const AdminProcessScalarFieldEnum: {
|
|
18125
|
+
id: 'id',
|
|
18126
|
+
name: 'name',
|
|
18127
|
+
type: 'type',
|
|
18128
|
+
state: 'state',
|
|
18129
|
+
context: 'context',
|
|
18130
|
+
results: 'results',
|
|
18131
|
+
childProcesses: 'childProcesses',
|
|
18132
|
+
parentProcessId: 'parentProcessId',
|
|
18133
|
+
createdAt: 'createdAt',
|
|
18134
|
+
updatedAt: 'updatedAt'
|
|
18135
|
+
};
|
|
18136
|
+
|
|
18137
|
+
export type AdminProcessScalarFieldEnum = (typeof AdminProcessScalarFieldEnum)[keyof typeof AdminProcessScalarFieldEnum]
|
|
18138
|
+
|
|
18139
|
+
|
|
18140
|
+
export const ScriptScheduleScalarFieldEnum: {
|
|
18141
|
+
id: 'id',
|
|
18142
|
+
scriptName: 'scriptName',
|
|
18143
|
+
enabled: 'enabled',
|
|
18144
|
+
cronExpression: 'cronExpression',
|
|
18145
|
+
timezone: 'timezone',
|
|
18146
|
+
lastTriggeredAt: 'lastTriggeredAt',
|
|
18147
|
+
nextTriggerAt: 'nextTriggerAt',
|
|
18148
|
+
externalScheduleId: 'externalScheduleId',
|
|
18149
|
+
externalScheduleName: 'externalScheduleName',
|
|
18150
|
+
createdAt: 'createdAt',
|
|
18151
|
+
updatedAt: 'updatedAt'
|
|
18152
|
+
};
|
|
18153
|
+
|
|
18154
|
+
export type ScriptScheduleScalarFieldEnum = (typeof ScriptScheduleScalarFieldEnum)[keyof typeof ScriptScheduleScalarFieldEnum]
|
|
18155
|
+
|
|
18156
|
+
|
|
15940
18157
|
export const SortOrder: {
|
|
15941
18158
|
asc: 'asc',
|
|
15942
18159
|
desc: 'desc'
|
|
@@ -16042,6 +18259,20 @@ export namespace Prisma {
|
|
|
16042
18259
|
|
|
16043
18260
|
|
|
16044
18261
|
|
|
18262
|
+
/**
|
|
18263
|
+
* Reference to a field of type 'AdminProcessState'
|
|
18264
|
+
*/
|
|
18265
|
+
export type EnumAdminProcessStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AdminProcessState'>
|
|
18266
|
+
|
|
18267
|
+
|
|
18268
|
+
|
|
18269
|
+
/**
|
|
18270
|
+
* Reference to a field of type 'AdminProcessState[]'
|
|
18271
|
+
*/
|
|
18272
|
+
export type ListEnumAdminProcessStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AdminProcessState[]'>
|
|
18273
|
+
|
|
18274
|
+
|
|
18275
|
+
|
|
16045
18276
|
/**
|
|
16046
18277
|
* Reference to a field of type 'Int'
|
|
16047
18278
|
*/
|
|
@@ -16954,6 +19185,165 @@ export namespace Prisma {
|
|
|
16954
19185
|
connectionId?: StringNullableWithAggregatesFilter<"WebsocketConnection"> | string | null
|
|
16955
19186
|
}
|
|
16956
19187
|
|
|
19188
|
+
export type AdminProcessWhereInput = {
|
|
19189
|
+
AND?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
19190
|
+
OR?: AdminProcessWhereInput[]
|
|
19191
|
+
NOT?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
19192
|
+
id?: StringFilter<"AdminProcess"> | string
|
|
19193
|
+
name?: StringFilter<"AdminProcess"> | string
|
|
19194
|
+
type?: StringFilter<"AdminProcess"> | string
|
|
19195
|
+
state?: EnumAdminProcessStateFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
19196
|
+
context?: JsonFilter<"AdminProcess">
|
|
19197
|
+
results?: JsonFilter<"AdminProcess">
|
|
19198
|
+
childProcesses?: StringNullableListFilter<"AdminProcess">
|
|
19199
|
+
parentProcessId?: StringNullableFilter<"AdminProcess"> | string | null
|
|
19200
|
+
createdAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
19201
|
+
updatedAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
19202
|
+
}
|
|
19203
|
+
|
|
19204
|
+
export type AdminProcessOrderByWithRelationInput = {
|
|
19205
|
+
id?: SortOrder
|
|
19206
|
+
name?: SortOrder
|
|
19207
|
+
type?: SortOrder
|
|
19208
|
+
state?: SortOrder
|
|
19209
|
+
context?: SortOrder
|
|
19210
|
+
results?: SortOrder
|
|
19211
|
+
childProcesses?: SortOrder
|
|
19212
|
+
parentProcessId?: SortOrder
|
|
19213
|
+
createdAt?: SortOrder
|
|
19214
|
+
updatedAt?: SortOrder
|
|
19215
|
+
}
|
|
19216
|
+
|
|
19217
|
+
export type AdminProcessWhereUniqueInput = Prisma.AtLeast<{
|
|
19218
|
+
id?: string
|
|
19219
|
+
AND?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
19220
|
+
OR?: AdminProcessWhereInput[]
|
|
19221
|
+
NOT?: AdminProcessWhereInput | AdminProcessWhereInput[]
|
|
19222
|
+
name?: StringFilter<"AdminProcess"> | string
|
|
19223
|
+
type?: StringFilter<"AdminProcess"> | string
|
|
19224
|
+
state?: EnumAdminProcessStateFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
19225
|
+
context?: JsonFilter<"AdminProcess">
|
|
19226
|
+
results?: JsonFilter<"AdminProcess">
|
|
19227
|
+
childProcesses?: StringNullableListFilter<"AdminProcess">
|
|
19228
|
+
parentProcessId?: StringNullableFilter<"AdminProcess"> | string | null
|
|
19229
|
+
createdAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
19230
|
+
updatedAt?: DateTimeFilter<"AdminProcess"> | Date | string
|
|
19231
|
+
}, "id">
|
|
19232
|
+
|
|
19233
|
+
export type AdminProcessOrderByWithAggregationInput = {
|
|
19234
|
+
id?: SortOrder
|
|
19235
|
+
name?: SortOrder
|
|
19236
|
+
type?: SortOrder
|
|
19237
|
+
state?: SortOrder
|
|
19238
|
+
context?: SortOrder
|
|
19239
|
+
results?: SortOrder
|
|
19240
|
+
childProcesses?: SortOrder
|
|
19241
|
+
parentProcessId?: SortOrder
|
|
19242
|
+
createdAt?: SortOrder
|
|
19243
|
+
updatedAt?: SortOrder
|
|
19244
|
+
_count?: AdminProcessCountOrderByAggregateInput
|
|
19245
|
+
_max?: AdminProcessMaxOrderByAggregateInput
|
|
19246
|
+
_min?: AdminProcessMinOrderByAggregateInput
|
|
19247
|
+
}
|
|
19248
|
+
|
|
19249
|
+
export type AdminProcessScalarWhereWithAggregatesInput = {
|
|
19250
|
+
AND?: AdminProcessScalarWhereWithAggregatesInput | AdminProcessScalarWhereWithAggregatesInput[]
|
|
19251
|
+
OR?: AdminProcessScalarWhereWithAggregatesInput[]
|
|
19252
|
+
NOT?: AdminProcessScalarWhereWithAggregatesInput | AdminProcessScalarWhereWithAggregatesInput[]
|
|
19253
|
+
id?: StringWithAggregatesFilter<"AdminProcess"> | string
|
|
19254
|
+
name?: StringWithAggregatesFilter<"AdminProcess"> | string
|
|
19255
|
+
type?: StringWithAggregatesFilter<"AdminProcess"> | string
|
|
19256
|
+
state?: EnumAdminProcessStateWithAggregatesFilter<"AdminProcess"> | $Enums.AdminProcessState
|
|
19257
|
+
context?: JsonWithAggregatesFilter<"AdminProcess">
|
|
19258
|
+
results?: JsonWithAggregatesFilter<"AdminProcess">
|
|
19259
|
+
childProcesses?: StringNullableListFilter<"AdminProcess">
|
|
19260
|
+
parentProcessId?: StringNullableWithAggregatesFilter<"AdminProcess"> | string | null
|
|
19261
|
+
createdAt?: DateTimeWithAggregatesFilter<"AdminProcess"> | Date | string
|
|
19262
|
+
updatedAt?: DateTimeWithAggregatesFilter<"AdminProcess"> | Date | string
|
|
19263
|
+
}
|
|
19264
|
+
|
|
19265
|
+
export type ScriptScheduleWhereInput = {
|
|
19266
|
+
AND?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
19267
|
+
OR?: ScriptScheduleWhereInput[]
|
|
19268
|
+
NOT?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
19269
|
+
id?: StringFilter<"ScriptSchedule"> | string
|
|
19270
|
+
scriptName?: StringFilter<"ScriptSchedule"> | string
|
|
19271
|
+
enabled?: BoolFilter<"ScriptSchedule"> | boolean
|
|
19272
|
+
cronExpression?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
19273
|
+
timezone?: StringFilter<"ScriptSchedule"> | string
|
|
19274
|
+
lastTriggeredAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
19275
|
+
nextTriggerAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
19276
|
+
externalScheduleId?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
19277
|
+
externalScheduleName?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
19278
|
+
createdAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
19279
|
+
updatedAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
19280
|
+
}
|
|
19281
|
+
|
|
19282
|
+
export type ScriptScheduleOrderByWithRelationInput = {
|
|
19283
|
+
id?: SortOrder
|
|
19284
|
+
scriptName?: SortOrder
|
|
19285
|
+
enabled?: SortOrder
|
|
19286
|
+
cronExpression?: SortOrder
|
|
19287
|
+
timezone?: SortOrder
|
|
19288
|
+
lastTriggeredAt?: SortOrder
|
|
19289
|
+
nextTriggerAt?: SortOrder
|
|
19290
|
+
externalScheduleId?: SortOrder
|
|
19291
|
+
externalScheduleName?: SortOrder
|
|
19292
|
+
createdAt?: SortOrder
|
|
19293
|
+
updatedAt?: SortOrder
|
|
19294
|
+
}
|
|
19295
|
+
|
|
19296
|
+
export type ScriptScheduleWhereUniqueInput = Prisma.AtLeast<{
|
|
19297
|
+
id?: string
|
|
19298
|
+
scriptName?: string
|
|
19299
|
+
AND?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
19300
|
+
OR?: ScriptScheduleWhereInput[]
|
|
19301
|
+
NOT?: ScriptScheduleWhereInput | ScriptScheduleWhereInput[]
|
|
19302
|
+
enabled?: BoolFilter<"ScriptSchedule"> | boolean
|
|
19303
|
+
cronExpression?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
19304
|
+
timezone?: StringFilter<"ScriptSchedule"> | string
|
|
19305
|
+
lastTriggeredAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
19306
|
+
nextTriggerAt?: DateTimeNullableFilter<"ScriptSchedule"> | Date | string | null
|
|
19307
|
+
externalScheduleId?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
19308
|
+
externalScheduleName?: StringNullableFilter<"ScriptSchedule"> | string | null
|
|
19309
|
+
createdAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
19310
|
+
updatedAt?: DateTimeFilter<"ScriptSchedule"> | Date | string
|
|
19311
|
+
}, "id" | "scriptName">
|
|
19312
|
+
|
|
19313
|
+
export type ScriptScheduleOrderByWithAggregationInput = {
|
|
19314
|
+
id?: SortOrder
|
|
19315
|
+
scriptName?: SortOrder
|
|
19316
|
+
enabled?: SortOrder
|
|
19317
|
+
cronExpression?: SortOrder
|
|
19318
|
+
timezone?: SortOrder
|
|
19319
|
+
lastTriggeredAt?: SortOrder
|
|
19320
|
+
nextTriggerAt?: SortOrder
|
|
19321
|
+
externalScheduleId?: SortOrder
|
|
19322
|
+
externalScheduleName?: SortOrder
|
|
19323
|
+
createdAt?: SortOrder
|
|
19324
|
+
updatedAt?: SortOrder
|
|
19325
|
+
_count?: ScriptScheduleCountOrderByAggregateInput
|
|
19326
|
+
_max?: ScriptScheduleMaxOrderByAggregateInput
|
|
19327
|
+
_min?: ScriptScheduleMinOrderByAggregateInput
|
|
19328
|
+
}
|
|
19329
|
+
|
|
19330
|
+
export type ScriptScheduleScalarWhereWithAggregatesInput = {
|
|
19331
|
+
AND?: ScriptScheduleScalarWhereWithAggregatesInput | ScriptScheduleScalarWhereWithAggregatesInput[]
|
|
19332
|
+
OR?: ScriptScheduleScalarWhereWithAggregatesInput[]
|
|
19333
|
+
NOT?: ScriptScheduleScalarWhereWithAggregatesInput | ScriptScheduleScalarWhereWithAggregatesInput[]
|
|
19334
|
+
id?: StringWithAggregatesFilter<"ScriptSchedule"> | string
|
|
19335
|
+
scriptName?: StringWithAggregatesFilter<"ScriptSchedule"> | string
|
|
19336
|
+
enabled?: BoolWithAggregatesFilter<"ScriptSchedule"> | boolean
|
|
19337
|
+
cronExpression?: StringNullableWithAggregatesFilter<"ScriptSchedule"> | string | null
|
|
19338
|
+
timezone?: StringWithAggregatesFilter<"ScriptSchedule"> | string
|
|
19339
|
+
lastTriggeredAt?: DateTimeNullableWithAggregatesFilter<"ScriptSchedule"> | Date | string | null
|
|
19340
|
+
nextTriggerAt?: DateTimeNullableWithAggregatesFilter<"ScriptSchedule"> | Date | string | null
|
|
19341
|
+
externalScheduleId?: StringNullableWithAggregatesFilter<"ScriptSchedule"> | string | null
|
|
19342
|
+
externalScheduleName?: StringNullableWithAggregatesFilter<"ScriptSchedule"> | string | null
|
|
19343
|
+
createdAt?: DateTimeWithAggregatesFilter<"ScriptSchedule"> | Date | string
|
|
19344
|
+
updatedAt?: DateTimeWithAggregatesFilter<"ScriptSchedule"> | Date | string
|
|
19345
|
+
}
|
|
19346
|
+
|
|
16957
19347
|
export type UserCreateInput = {
|
|
16958
19348
|
id?: string
|
|
16959
19349
|
type: $Enums.UserType
|
|
@@ -17840,6 +20230,187 @@ export namespace Prisma {
|
|
|
17840
20230
|
connectionId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
17841
20231
|
}
|
|
17842
20232
|
|
|
20233
|
+
export type AdminProcessCreateInput = {
|
|
20234
|
+
id?: string
|
|
20235
|
+
name: string
|
|
20236
|
+
type: string
|
|
20237
|
+
state?: $Enums.AdminProcessState
|
|
20238
|
+
context?: InputJsonValue
|
|
20239
|
+
results?: InputJsonValue
|
|
20240
|
+
childProcesses?: AdminProcessCreatechildProcessesInput | string[]
|
|
20241
|
+
parentProcessId?: string | null
|
|
20242
|
+
createdAt?: Date | string
|
|
20243
|
+
updatedAt?: Date | string
|
|
20244
|
+
}
|
|
20245
|
+
|
|
20246
|
+
export type AdminProcessUncheckedCreateInput = {
|
|
20247
|
+
id?: string
|
|
20248
|
+
name: string
|
|
20249
|
+
type: string
|
|
20250
|
+
state?: $Enums.AdminProcessState
|
|
20251
|
+
context?: InputJsonValue
|
|
20252
|
+
results?: InputJsonValue
|
|
20253
|
+
childProcesses?: AdminProcessCreatechildProcessesInput | string[]
|
|
20254
|
+
parentProcessId?: string | null
|
|
20255
|
+
createdAt?: Date | string
|
|
20256
|
+
updatedAt?: Date | string
|
|
20257
|
+
}
|
|
20258
|
+
|
|
20259
|
+
export type AdminProcessUpdateInput = {
|
|
20260
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
20261
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
20262
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
20263
|
+
context?: InputJsonValue | InputJsonValue
|
|
20264
|
+
results?: InputJsonValue | InputJsonValue
|
|
20265
|
+
childProcesses?: AdminProcessUpdatechildProcessesInput | string[]
|
|
20266
|
+
parentProcessId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20267
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20268
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20269
|
+
}
|
|
20270
|
+
|
|
20271
|
+
export type AdminProcessUncheckedUpdateInput = {
|
|
20272
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
20273
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
20274
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
20275
|
+
context?: InputJsonValue | InputJsonValue
|
|
20276
|
+
results?: InputJsonValue | InputJsonValue
|
|
20277
|
+
childProcesses?: AdminProcessUpdatechildProcessesInput | string[]
|
|
20278
|
+
parentProcessId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20279
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20280
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20281
|
+
}
|
|
20282
|
+
|
|
20283
|
+
export type AdminProcessCreateManyInput = {
|
|
20284
|
+
id?: string
|
|
20285
|
+
name: string
|
|
20286
|
+
type: string
|
|
20287
|
+
state?: $Enums.AdminProcessState
|
|
20288
|
+
context?: InputJsonValue
|
|
20289
|
+
results?: InputJsonValue
|
|
20290
|
+
childProcesses?: AdminProcessCreatechildProcessesInput | string[]
|
|
20291
|
+
parentProcessId?: string | null
|
|
20292
|
+
createdAt?: Date | string
|
|
20293
|
+
updatedAt?: Date | string
|
|
20294
|
+
}
|
|
20295
|
+
|
|
20296
|
+
export type AdminProcessUpdateManyMutationInput = {
|
|
20297
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
20298
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
20299
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
20300
|
+
context?: InputJsonValue | InputJsonValue
|
|
20301
|
+
results?: InputJsonValue | InputJsonValue
|
|
20302
|
+
childProcesses?: AdminProcessUpdatechildProcessesInput | string[]
|
|
20303
|
+
parentProcessId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20304
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20305
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20306
|
+
}
|
|
20307
|
+
|
|
20308
|
+
export type AdminProcessUncheckedUpdateManyInput = {
|
|
20309
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
20310
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
20311
|
+
state?: EnumAdminProcessStateFieldUpdateOperationsInput | $Enums.AdminProcessState
|
|
20312
|
+
context?: InputJsonValue | InputJsonValue
|
|
20313
|
+
results?: InputJsonValue | InputJsonValue
|
|
20314
|
+
childProcesses?: AdminProcessUpdatechildProcessesInput | string[]
|
|
20315
|
+
parentProcessId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20316
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20317
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20318
|
+
}
|
|
20319
|
+
|
|
20320
|
+
export type ScriptScheduleCreateInput = {
|
|
20321
|
+
id?: string
|
|
20322
|
+
scriptName: string
|
|
20323
|
+
enabled?: boolean
|
|
20324
|
+
cronExpression?: string | null
|
|
20325
|
+
timezone?: string
|
|
20326
|
+
lastTriggeredAt?: Date | string | null
|
|
20327
|
+
nextTriggerAt?: Date | string | null
|
|
20328
|
+
externalScheduleId?: string | null
|
|
20329
|
+
externalScheduleName?: string | null
|
|
20330
|
+
createdAt?: Date | string
|
|
20331
|
+
updatedAt?: Date | string
|
|
20332
|
+
}
|
|
20333
|
+
|
|
20334
|
+
export type ScriptScheduleUncheckedCreateInput = {
|
|
20335
|
+
id?: string
|
|
20336
|
+
scriptName: string
|
|
20337
|
+
enabled?: boolean
|
|
20338
|
+
cronExpression?: string | null
|
|
20339
|
+
timezone?: string
|
|
20340
|
+
lastTriggeredAt?: Date | string | null
|
|
20341
|
+
nextTriggerAt?: Date | string | null
|
|
20342
|
+
externalScheduleId?: string | null
|
|
20343
|
+
externalScheduleName?: string | null
|
|
20344
|
+
createdAt?: Date | string
|
|
20345
|
+
updatedAt?: Date | string
|
|
20346
|
+
}
|
|
20347
|
+
|
|
20348
|
+
export type ScriptScheduleUpdateInput = {
|
|
20349
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
20350
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
20351
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20352
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
20353
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20354
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20355
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20356
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20357
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20358
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20359
|
+
}
|
|
20360
|
+
|
|
20361
|
+
export type ScriptScheduleUncheckedUpdateInput = {
|
|
20362
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
20363
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
20364
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20365
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
20366
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20367
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20368
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20369
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20370
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20371
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20372
|
+
}
|
|
20373
|
+
|
|
20374
|
+
export type ScriptScheduleCreateManyInput = {
|
|
20375
|
+
id?: string
|
|
20376
|
+
scriptName: string
|
|
20377
|
+
enabled?: boolean
|
|
20378
|
+
cronExpression?: string | null
|
|
20379
|
+
timezone?: string
|
|
20380
|
+
lastTriggeredAt?: Date | string | null
|
|
20381
|
+
nextTriggerAt?: Date | string | null
|
|
20382
|
+
externalScheduleId?: string | null
|
|
20383
|
+
externalScheduleName?: string | null
|
|
20384
|
+
createdAt?: Date | string
|
|
20385
|
+
updatedAt?: Date | string
|
|
20386
|
+
}
|
|
20387
|
+
|
|
20388
|
+
export type ScriptScheduleUpdateManyMutationInput = {
|
|
20389
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
20390
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
20391
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20392
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
20393
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20394
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20395
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20396
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20397
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20398
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20399
|
+
}
|
|
20400
|
+
|
|
20401
|
+
export type ScriptScheduleUncheckedUpdateManyInput = {
|
|
20402
|
+
scriptName?: StringFieldUpdateOperationsInput | string
|
|
20403
|
+
enabled?: BoolFieldUpdateOperationsInput | boolean
|
|
20404
|
+
cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20405
|
+
timezone?: StringFieldUpdateOperationsInput | string
|
|
20406
|
+
lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20407
|
+
nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20408
|
+
externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20409
|
+
externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
20410
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20411
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20412
|
+
}
|
|
20413
|
+
|
|
17843
20414
|
export type StringFilter<$PrismaModel = never> = {
|
|
17844
20415
|
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
17845
20416
|
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
@@ -18593,6 +21164,111 @@ export namespace Prisma {
|
|
|
18593
21164
|
connectionId?: SortOrder
|
|
18594
21165
|
}
|
|
18595
21166
|
|
|
21167
|
+
export type EnumAdminProcessStateFilter<$PrismaModel = never> = {
|
|
21168
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
21169
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
21170
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
21171
|
+
not?: NestedEnumAdminProcessStateFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
21172
|
+
}
|
|
21173
|
+
|
|
21174
|
+
export type AdminProcessCountOrderByAggregateInput = {
|
|
21175
|
+
id?: SortOrder
|
|
21176
|
+
name?: SortOrder
|
|
21177
|
+
type?: SortOrder
|
|
21178
|
+
state?: SortOrder
|
|
21179
|
+
context?: SortOrder
|
|
21180
|
+
results?: SortOrder
|
|
21181
|
+
childProcesses?: SortOrder
|
|
21182
|
+
parentProcessId?: SortOrder
|
|
21183
|
+
createdAt?: SortOrder
|
|
21184
|
+
updatedAt?: SortOrder
|
|
21185
|
+
}
|
|
21186
|
+
|
|
21187
|
+
export type AdminProcessMaxOrderByAggregateInput = {
|
|
21188
|
+
id?: SortOrder
|
|
21189
|
+
name?: SortOrder
|
|
21190
|
+
type?: SortOrder
|
|
21191
|
+
state?: SortOrder
|
|
21192
|
+
parentProcessId?: SortOrder
|
|
21193
|
+
createdAt?: SortOrder
|
|
21194
|
+
updatedAt?: SortOrder
|
|
21195
|
+
}
|
|
21196
|
+
|
|
21197
|
+
export type AdminProcessMinOrderByAggregateInput = {
|
|
21198
|
+
id?: SortOrder
|
|
21199
|
+
name?: SortOrder
|
|
21200
|
+
type?: SortOrder
|
|
21201
|
+
state?: SortOrder
|
|
21202
|
+
parentProcessId?: SortOrder
|
|
21203
|
+
createdAt?: SortOrder
|
|
21204
|
+
updatedAt?: SortOrder
|
|
21205
|
+
}
|
|
21206
|
+
|
|
21207
|
+
export type EnumAdminProcessStateWithAggregatesFilter<$PrismaModel = never> = {
|
|
21208
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
21209
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
21210
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
21211
|
+
not?: NestedEnumAdminProcessStateWithAggregatesFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
21212
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
21213
|
+
_min?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
21214
|
+
_max?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
21215
|
+
}
|
|
21216
|
+
|
|
21217
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
21218
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
21219
|
+
not?: NestedBoolFilter<$PrismaModel> | boolean
|
|
21220
|
+
}
|
|
21221
|
+
|
|
21222
|
+
export type ScriptScheduleCountOrderByAggregateInput = {
|
|
21223
|
+
id?: SortOrder
|
|
21224
|
+
scriptName?: SortOrder
|
|
21225
|
+
enabled?: SortOrder
|
|
21226
|
+
cronExpression?: SortOrder
|
|
21227
|
+
timezone?: SortOrder
|
|
21228
|
+
lastTriggeredAt?: SortOrder
|
|
21229
|
+
nextTriggerAt?: SortOrder
|
|
21230
|
+
externalScheduleId?: SortOrder
|
|
21231
|
+
externalScheduleName?: SortOrder
|
|
21232
|
+
createdAt?: SortOrder
|
|
21233
|
+
updatedAt?: SortOrder
|
|
21234
|
+
}
|
|
21235
|
+
|
|
21236
|
+
export type ScriptScheduleMaxOrderByAggregateInput = {
|
|
21237
|
+
id?: SortOrder
|
|
21238
|
+
scriptName?: SortOrder
|
|
21239
|
+
enabled?: SortOrder
|
|
21240
|
+
cronExpression?: SortOrder
|
|
21241
|
+
timezone?: SortOrder
|
|
21242
|
+
lastTriggeredAt?: SortOrder
|
|
21243
|
+
nextTriggerAt?: SortOrder
|
|
21244
|
+
externalScheduleId?: SortOrder
|
|
21245
|
+
externalScheduleName?: SortOrder
|
|
21246
|
+
createdAt?: SortOrder
|
|
21247
|
+
updatedAt?: SortOrder
|
|
21248
|
+
}
|
|
21249
|
+
|
|
21250
|
+
export type ScriptScheduleMinOrderByAggregateInput = {
|
|
21251
|
+
id?: SortOrder
|
|
21252
|
+
scriptName?: SortOrder
|
|
21253
|
+
enabled?: SortOrder
|
|
21254
|
+
cronExpression?: SortOrder
|
|
21255
|
+
timezone?: SortOrder
|
|
21256
|
+
lastTriggeredAt?: SortOrder
|
|
21257
|
+
nextTriggerAt?: SortOrder
|
|
21258
|
+
externalScheduleId?: SortOrder
|
|
21259
|
+
externalScheduleName?: SortOrder
|
|
21260
|
+
createdAt?: SortOrder
|
|
21261
|
+
updatedAt?: SortOrder
|
|
21262
|
+
}
|
|
21263
|
+
|
|
21264
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
21265
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
21266
|
+
not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
21267
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
21268
|
+
_min?: NestedBoolFilter<$PrismaModel>
|
|
21269
|
+
_max?: NestedBoolFilter<$PrismaModel>
|
|
21270
|
+
}
|
|
21271
|
+
|
|
18596
21272
|
export type UserCreateNestedOneWithoutMembersInput = {
|
|
18597
21273
|
create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
|
|
18598
21274
|
connectOrCreate?: UserCreateOrConnectWithoutMembersInput
|
|
@@ -19679,6 +22355,23 @@ export namespace Prisma {
|
|
|
19679
22355
|
update?: XOR<XOR<EntityUpdateToOneWithWhereWithoutAssociationObjectsInput, EntityUpdateWithoutAssociationObjectsInput>, EntityUncheckedUpdateWithoutAssociationObjectsInput>
|
|
19680
22356
|
}
|
|
19681
22357
|
|
|
22358
|
+
export type AdminProcessCreatechildProcessesInput = {
|
|
22359
|
+
set: string[]
|
|
22360
|
+
}
|
|
22361
|
+
|
|
22362
|
+
export type EnumAdminProcessStateFieldUpdateOperationsInput = {
|
|
22363
|
+
set?: $Enums.AdminProcessState
|
|
22364
|
+
}
|
|
22365
|
+
|
|
22366
|
+
export type AdminProcessUpdatechildProcessesInput = {
|
|
22367
|
+
set?: string[]
|
|
22368
|
+
push?: string | string[]
|
|
22369
|
+
}
|
|
22370
|
+
|
|
22371
|
+
export type BoolFieldUpdateOperationsInput = {
|
|
22372
|
+
set?: boolean
|
|
22373
|
+
}
|
|
22374
|
+
|
|
19682
22375
|
export type NestedStringFilter<$PrismaModel = never> = {
|
|
19683
22376
|
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
19684
22377
|
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
@@ -19907,6 +22600,36 @@ export namespace Prisma {
|
|
|
19907
22600
|
_max?: NestedEnumAssociationTypeFilter<$PrismaModel>
|
|
19908
22601
|
}
|
|
19909
22602
|
|
|
22603
|
+
export type NestedEnumAdminProcessStateFilter<$PrismaModel = never> = {
|
|
22604
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
22605
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
22606
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
22607
|
+
not?: NestedEnumAdminProcessStateFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
22608
|
+
}
|
|
22609
|
+
|
|
22610
|
+
export type NestedEnumAdminProcessStateWithAggregatesFilter<$PrismaModel = never> = {
|
|
22611
|
+
equals?: $Enums.AdminProcessState | EnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
22612
|
+
in?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
22613
|
+
notIn?: $Enums.AdminProcessState[] | ListEnumAdminProcessStateFieldRefInput<$PrismaModel>
|
|
22614
|
+
not?: NestedEnumAdminProcessStateWithAggregatesFilter<$PrismaModel> | $Enums.AdminProcessState
|
|
22615
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
22616
|
+
_min?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
22617
|
+
_max?: NestedEnumAdminProcessStateFilter<$PrismaModel>
|
|
22618
|
+
}
|
|
22619
|
+
|
|
22620
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
22621
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
22622
|
+
not?: NestedBoolFilter<$PrismaModel> | boolean
|
|
22623
|
+
}
|
|
22624
|
+
|
|
22625
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
22626
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel>
|
|
22627
|
+
not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
22628
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
22629
|
+
_min?: NestedBoolFilter<$PrismaModel>
|
|
22630
|
+
_max?: NestedBoolFilter<$PrismaModel>
|
|
22631
|
+
}
|
|
22632
|
+
|
|
19910
22633
|
export type UserCreateWithoutMembersInput = {
|
|
19911
22634
|
id?: string
|
|
19912
22635
|
type: $Enums.UserType
|