@kosha-ai/server 0.0.6 → 1.0.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/dist/auth/api-key.guard.d.ts +7 -2
- package/dist/auth/api-key.guard.d.ts.map +1 -1
- package/dist/auth/api-key.guard.js +28 -8
- package/dist/auth/auth.factory.d.ts +15 -1
- package/dist/auth/auth.factory.d.ts.map +1 -1
- package/dist/auth/auth.factory.js +48 -2
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +24 -6
- package/dist/config/kosha-config.d.ts +21 -0
- package/dist/config/kosha-config.d.ts.map +1 -1
- package/dist/config/kosha-config.js +31 -2
- package/dist/configurations/configurations.controller.d.ts +11 -136
- package/dist/configurations/configurations.controller.d.ts.map +1 -1
- package/dist/configurations/configurations.controller.js +58 -25
- package/dist/configurations/configurations.module.d.ts.map +1 -1
- package/dist/configurations/configurations.module.js +4 -1
- package/dist/configurations/configurations.repository.d.ts +43 -0
- package/dist/configurations/configurations.repository.d.ts.map +1 -0
- package/dist/configurations/configurations.repository.js +76 -0
- package/dist/configurations/configurations.service.d.ts +38 -194
- package/dist/configurations/configurations.service.d.ts.map +1 -1
- package/dist/configurations/configurations.service.js +118 -110
- package/dist/configurations/dto/create-configuration.dto.d.ts +8 -0
- package/dist/configurations/dto/create-configuration.dto.d.ts.map +1 -0
- package/dist/configurations/dto/create-configuration.dto.js +54 -0
- package/dist/configurations/dto/update-configuration.dto.d.ts +7 -0
- package/dist/configurations/dto/update-configuration.dto.d.ts.map +1 -0
- package/dist/configurations/dto/update-configuration.dto.js +39 -0
- package/dist/connect/connect.controller.d.ts +6 -8
- package/dist/connect/connect.controller.d.ts.map +1 -1
- package/dist/connect/connect.controller.js +45 -15
- package/dist/connect/connect.module.d.ts.map +1 -1
- package/dist/connect/connect.module.js +4 -2
- package/dist/connect/connect.repository.d.ts +78 -0
- package/dist/connect/connect.repository.d.ts.map +1 -0
- package/dist/connect/connect.repository.js +146 -0
- package/dist/connect/connect.service.d.ts +28 -19
- package/dist/connect/connect.service.d.ts.map +1 -1
- package/dist/connect/connect.service.js +149 -163
- package/dist/connect/dto/create-connect-session.dto.d.ts +8 -0
- package/dist/connect/dto/create-connect-session.dto.d.ts.map +1 -0
- package/dist/connect/dto/create-connect-session.dto.js +55 -0
- package/dist/connect/dto/create-test-session.dto.d.ts +10 -0
- package/dist/connect/dto/create-test-session.dto.d.ts.map +1 -0
- package/dist/connect/dto/create-test-session.dto.js +34 -0
- package/dist/connections/connections.controller.d.ts +8 -61
- package/dist/connections/connections.controller.d.ts.map +1 -1
- package/dist/connections/connections.controller.js +31 -9
- package/dist/connections/connections.module.d.ts.map +1 -1
- package/dist/connections/connections.module.js +4 -1
- package/dist/connections/connections.repository.d.ts +24 -0
- package/dist/connections/connections.repository.d.ts.map +1 -0
- package/dist/connections/connections.repository.js +66 -0
- package/dist/connections/connections.service.d.ts +24 -69
- package/dist/connections/connections.service.d.ts.map +1 -1
- package/dist/connections/connections.service.js +59 -56
- package/dist/connections/dto/list-connections.dto.d.ts +5 -0
- package/dist/connections/dto/list-connections.dto.d.ts.map +1 -0
- package/dist/connections/dto/list-connections.dto.js +25 -0
- package/dist/connections/environment-connections.controller.d.ts +26 -0
- package/dist/connections/environment-connections.controller.d.ts.map +1 -0
- package/dist/connections/environment-connections.controller.js +81 -0
- package/dist/connections/environment-connections.module.d.ts +11 -0
- package/dist/connections/environment-connections.module.d.ts.map +1 -0
- package/dist/connections/environment-connections.module.js +21 -0
- package/dist/credentials/credentials.module.d.ts +3 -0
- package/dist/credentials/credentials.module.d.ts.map +1 -0
- package/dist/credentials/credentials.module.js +15 -0
- package/dist/credentials/credentials.repository.d.ts +8 -0
- package/dist/credentials/credentials.repository.d.ts.map +1 -0
- package/dist/credentials/credentials.repository.js +21 -0
- package/dist/credentials/credentials.service.d.ts +45 -0
- package/dist/credentials/credentials.service.d.ts.map +1 -0
- package/dist/credentials/credentials.service.js +135 -0
- package/dist/crypto/credential-envelope.d.ts +56 -0
- package/dist/crypto/credential-envelope.d.ts.map +1 -0
- package/dist/crypto/credential-envelope.js +70 -0
- package/dist/crypto/crypto.service.d.ts +8 -0
- package/dist/crypto/crypto.service.d.ts.map +1 -1
- package/dist/crypto/crypto.service.js +12 -0
- package/dist/egress/ca.service.d.ts +36 -0
- package/dist/egress/ca.service.d.ts.map +1 -0
- package/dist/egress/ca.service.js +117 -0
- package/dist/egress/dto/mint-grant.dto.d.ts +7 -0
- package/dist/egress/dto/mint-grant.dto.d.ts.map +1 -0
- package/dist/egress/dto/mint-grant.dto.js +44 -0
- package/dist/egress/egress.controller.d.ts +18 -0
- package/dist/egress/egress.controller.d.ts.map +1 -0
- package/dist/egress/egress.controller.js +80 -0
- package/dist/egress/egress.listener.d.ts +39 -0
- package/dist/egress/egress.listener.d.ts.map +1 -0
- package/dist/egress/egress.listener.js +328 -0
- package/dist/egress/egress.module.d.ts +7 -0
- package/dist/egress/egress.module.d.ts.map +1 -0
- package/dist/egress/egress.module.js +31 -0
- package/dist/egress/egress.repository.d.ts +58 -0
- package/dist/egress/egress.repository.d.ts.map +1 -0
- package/dist/egress/egress.repository.js +116 -0
- package/dist/egress/grants.service.d.ts +77 -0
- package/dist/egress/grants.service.d.ts.map +1 -0
- package/dist/egress/grants.service.js +159 -0
- package/dist/egress/host-rules.service.d.ts +35 -0
- package/dist/egress/host-rules.service.d.ts.map +1 -0
- package/dist/egress/host-rules.service.js +48 -0
- package/dist/environments/dto/create-environment.dto.d.ts +6 -0
- package/dist/environments/dto/create-environment.dto.d.ts.map +1 -0
- package/dist/environments/dto/create-environment.dto.js +34 -0
- package/dist/environments/dto/update-environment.dto.d.ts +5 -0
- package/dist/environments/dto/update-environment.dto.d.ts.map +1 -0
- package/dist/environments/dto/update-environment.dto.js +24 -0
- package/dist/environments/environments.controller.d.ts +53 -0
- package/dist/environments/environments.controller.d.ts.map +1 -0
- package/dist/environments/environments.controller.js +101 -0
- package/dist/environments/environments.module.d.ts +3 -0
- package/dist/environments/environments.module.d.ts.map +1 -0
- package/dist/environments/environments.module.js +15 -0
- package/dist/environments/environments.repository.d.ts +37 -0
- package/dist/environments/environments.repository.d.ts.map +1 -0
- package/dist/environments/environments.repository.js +82 -0
- package/dist/environments/environments.service.d.ts +43 -0
- package/dist/environments/environments.service.d.ts.map +1 -0
- package/dist/environments/environments.service.js +124 -0
- package/dist/generated/prisma/browser.d.ts +17 -35
- package/dist/generated/prisma/browser.d.ts.map +1 -1
- package/dist/generated/prisma/client.d.ts +17 -35
- package/dist/generated/prisma/client.d.ts.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.ts +104 -145
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -1
- package/dist/generated/prisma/enums.d.ts +1 -21
- package/dist/generated/prisma/enums.d.ts.map +1 -1
- package/dist/generated/prisma/enums.js +1 -18
- package/dist/generated/prisma/internal/class.d.ts +24 -46
- package/dist/generated/prisma/internal/class.d.ts.map +1 -1
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +258 -472
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +45 -83
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +45 -85
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +45 -83
- package/dist/generated/prisma/models/Account.d.ts +344 -26
- package/dist/generated/prisma/models/Account.d.ts.map +1 -1
- package/dist/generated/prisma/models/Configuration.d.ts +218 -851
- package/dist/generated/prisma/models/Configuration.d.ts.map +1 -1
- package/dist/generated/prisma/models/EgressGrant.d.ts +1535 -0
- package/dist/generated/prisma/models/EgressGrant.d.ts.map +1 -0
- package/dist/generated/prisma/models/Environment.d.ts +1644 -0
- package/dist/generated/prisma/models/Environment.d.ts.map +1 -0
- package/dist/generated/prisma/models/Invitation.d.ts +42 -1
- package/dist/generated/prisma/models/Invitation.d.ts.map +1 -1
- package/dist/generated/prisma/models/Organization.d.ts +183 -322
- package/dist/generated/prisma/models/Organization.d.ts.map +1 -1
- package/dist/generated/prisma/models/Session.d.ts +36 -1
- package/dist/generated/prisma/models/Session.d.ts.map +1 -1
- package/dist/generated/prisma/models/Team.d.ts +1498 -0
- package/dist/generated/prisma/models/Team.d.ts.map +1 -0
- package/dist/generated/prisma/models/TeamMember.d.ts +1281 -0
- package/dist/generated/prisma/models/TeamMember.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.d.ts +338 -2
- package/dist/generated/prisma/models/User.d.ts.map +1 -1
- package/dist/generated/prisma/models.d.ts +4 -6
- package/dist/generated/prisma/models.d.ts.map +1 -1
- package/dist/index.d.ts +20 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -3
- package/dist/integrations/integrations.controller.d.ts +2 -1
- package/dist/integrations/integrations.controller.d.ts.map +1 -1
- package/dist/integrations/integrations.module.d.ts.map +1 -1
- package/dist/integrations/integrations.module.js +0 -2
- package/dist/kosha.module.d.ts.map +1 -1
- package/dist/kosha.module.js +13 -3
- package/dist/proxy/proxy.controller.d.ts +8 -3
- package/dist/proxy/proxy.controller.d.ts.map +1 -1
- package/dist/proxy/proxy.controller.js +26 -10
- package/dist/proxy/proxy.module.d.ts.map +1 -1
- package/dist/proxy/proxy.module.js +5 -3
- package/dist/proxy/proxy.repository.d.ts +24 -0
- package/dist/proxy/proxy.repository.d.ts.map +1 -0
- package/dist/proxy/proxy.repository.js +47 -0
- package/dist/proxy/proxy.service.d.ts +17 -21
- package/dist/proxy/proxy.service.d.ts.map +1 -1
- package/dist/proxy/proxy.service.js +61 -110
- package/package.json +9 -4
- package/prisma/migrations/20260929101936_init/migration.sql +345 -0
- package/prisma/migrations/20260930102529_connection_config/migration.sql +2 -0
- package/prisma/schema.prisma +103 -178
- package/dist/generated/prisma/models/ConnectSession.d.ts +0 -1606
- package/dist/generated/prisma/models/ConnectSession.d.ts.map +0 -1
- package/dist/generated/prisma/models/Connection.d.ts +0 -1949
- package/dist/generated/prisma/models/Connection.d.ts.map +0 -1
- package/dist/generated/prisma/models/ConnectionCredential.d.ts +0 -1293
- package/dist/generated/prisma/models/ConnectionCredential.d.ts.map +0 -1
- package/dist/generated/prisma/models/EndUser.d.ts +0 -1539
- package/dist/generated/prisma/models/EndUser.d.ts.map +0 -1
- package/dist/generated/prisma/models/OAuthState.d.ts +0 -1404
- package/dist/generated/prisma/models/OAuthState.d.ts.map +0 -1
- package/dist/generated/prisma/models/OAuthState.js +0 -1
- package/dist/generated/prisma/models/Provider.d.ts +0 -1462
- package/dist/generated/prisma/models/Provider.d.ts.map +0 -1
- package/dist/generated/prisma/models/Provider.js +0 -1
- package/dist/integrations/provider-sync.service.d.ts +0 -24
- package/dist/integrations/provider-sync.service.d.ts.map +0 -1
- package/dist/integrations/provider-sync.service.js +0 -74
- package/prisma/migrations/20260908000000_init/migration.sql +0 -209
- package/prisma/migrations/20260908161813_add_connect_domain/migration.sql +0 -173
- package/prisma/migrations/20260916000000_add_configuration_slug/migration.sql +0 -15
- /package/dist/generated/prisma/models/{ConnectSession.js → EgressGrant.js} +0 -0
- /package/dist/generated/prisma/models/{Connection.js → Environment.js} +0 -0
- /package/dist/generated/prisma/models/{ConnectionCredential.js → Team.js} +0 -0
- /package/dist/generated/prisma/models/{EndUser.js → TeamMember.js} +0 -0
|
@@ -0,0 +1,1535 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model EgressGrant
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type EgressGrantModel = runtime.Types.Result.DefaultSelection<Prisma.$EgressGrantPayload>;
|
|
8
|
+
export type AggregateEgressGrant = {
|
|
9
|
+
_count: EgressGrantCountAggregateOutputType | null;
|
|
10
|
+
_min: EgressGrantMinAggregateOutputType | null;
|
|
11
|
+
_max: EgressGrantMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type EgressGrantMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
organizationId: string | null;
|
|
16
|
+
userId: string | null;
|
|
17
|
+
tokenHash: string | null;
|
|
18
|
+
caPem: string | null;
|
|
19
|
+
caKey: string | null;
|
|
20
|
+
label: string | null;
|
|
21
|
+
expiresAt: Date | null;
|
|
22
|
+
revokedAt: Date | null;
|
|
23
|
+
createdAt: Date | null;
|
|
24
|
+
};
|
|
25
|
+
export type EgressGrantMaxAggregateOutputType = {
|
|
26
|
+
id: string | null;
|
|
27
|
+
organizationId: string | null;
|
|
28
|
+
userId: string | null;
|
|
29
|
+
tokenHash: string | null;
|
|
30
|
+
caPem: string | null;
|
|
31
|
+
caKey: string | null;
|
|
32
|
+
label: string | null;
|
|
33
|
+
expiresAt: Date | null;
|
|
34
|
+
revokedAt: Date | null;
|
|
35
|
+
createdAt: Date | null;
|
|
36
|
+
};
|
|
37
|
+
export type EgressGrantCountAggregateOutputType = {
|
|
38
|
+
id: number;
|
|
39
|
+
organizationId: number;
|
|
40
|
+
userId: number;
|
|
41
|
+
tokenHash: number;
|
|
42
|
+
providerKeys: number;
|
|
43
|
+
caPem: number;
|
|
44
|
+
caKey: number;
|
|
45
|
+
label: number;
|
|
46
|
+
expiresAt: number;
|
|
47
|
+
revokedAt: number;
|
|
48
|
+
createdAt: number;
|
|
49
|
+
_all: number;
|
|
50
|
+
};
|
|
51
|
+
export type EgressGrantMinAggregateInputType = {
|
|
52
|
+
id?: true;
|
|
53
|
+
organizationId?: true;
|
|
54
|
+
userId?: true;
|
|
55
|
+
tokenHash?: true;
|
|
56
|
+
caPem?: true;
|
|
57
|
+
caKey?: true;
|
|
58
|
+
label?: true;
|
|
59
|
+
expiresAt?: true;
|
|
60
|
+
revokedAt?: true;
|
|
61
|
+
createdAt?: true;
|
|
62
|
+
};
|
|
63
|
+
export type EgressGrantMaxAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
organizationId?: true;
|
|
66
|
+
userId?: true;
|
|
67
|
+
tokenHash?: true;
|
|
68
|
+
caPem?: true;
|
|
69
|
+
caKey?: true;
|
|
70
|
+
label?: true;
|
|
71
|
+
expiresAt?: true;
|
|
72
|
+
revokedAt?: true;
|
|
73
|
+
createdAt?: true;
|
|
74
|
+
};
|
|
75
|
+
export type EgressGrantCountAggregateInputType = {
|
|
76
|
+
id?: true;
|
|
77
|
+
organizationId?: true;
|
|
78
|
+
userId?: true;
|
|
79
|
+
tokenHash?: true;
|
|
80
|
+
providerKeys?: true;
|
|
81
|
+
caPem?: true;
|
|
82
|
+
caKey?: true;
|
|
83
|
+
label?: true;
|
|
84
|
+
expiresAt?: true;
|
|
85
|
+
revokedAt?: true;
|
|
86
|
+
createdAt?: true;
|
|
87
|
+
_all?: true;
|
|
88
|
+
};
|
|
89
|
+
export type EgressGrantAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
90
|
+
/**
|
|
91
|
+
* Filter which EgressGrant to aggregate.
|
|
92
|
+
*/
|
|
93
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
96
|
+
*
|
|
97
|
+
* Determine the order of EgressGrants to fetch.
|
|
98
|
+
*/
|
|
99
|
+
orderBy?: Prisma.EgressGrantOrderByWithRelationInput | Prisma.EgressGrantOrderByWithRelationInput[];
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
102
|
+
*
|
|
103
|
+
* Sets the start position
|
|
104
|
+
*/
|
|
105
|
+
cursor?: Prisma.EgressGrantWhereUniqueInput;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Take `±n` EgressGrants from the position of the cursor.
|
|
110
|
+
*/
|
|
111
|
+
take?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
114
|
+
*
|
|
115
|
+
* Skip the first `n` EgressGrants.
|
|
116
|
+
*/
|
|
117
|
+
skip?: number;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Count returned EgressGrants
|
|
122
|
+
**/
|
|
123
|
+
_count?: true | EgressGrantCountAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the minimum value
|
|
128
|
+
**/
|
|
129
|
+
_min?: EgressGrantMinAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to find the maximum value
|
|
134
|
+
**/
|
|
135
|
+
_max?: EgressGrantMaxAggregateInputType;
|
|
136
|
+
};
|
|
137
|
+
export type GetEgressGrantAggregateType<T extends EgressGrantAggregateArgs> = {
|
|
138
|
+
[P in keyof T & keyof AggregateEgressGrant]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEgressGrant[P]> : Prisma.GetScalarType<T[P], AggregateEgressGrant[P]>;
|
|
139
|
+
};
|
|
140
|
+
export type EgressGrantGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
141
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
142
|
+
orderBy?: Prisma.EgressGrantOrderByWithAggregationInput | Prisma.EgressGrantOrderByWithAggregationInput[];
|
|
143
|
+
by: Prisma.EgressGrantScalarFieldEnum[] | Prisma.EgressGrantScalarFieldEnum;
|
|
144
|
+
having?: Prisma.EgressGrantScalarWhereWithAggregatesInput;
|
|
145
|
+
take?: number;
|
|
146
|
+
skip?: number;
|
|
147
|
+
_count?: EgressGrantCountAggregateInputType | true;
|
|
148
|
+
_min?: EgressGrantMinAggregateInputType;
|
|
149
|
+
_max?: EgressGrantMaxAggregateInputType;
|
|
150
|
+
};
|
|
151
|
+
export type EgressGrantGroupByOutputType = {
|
|
152
|
+
id: string;
|
|
153
|
+
organizationId: string;
|
|
154
|
+
userId: string;
|
|
155
|
+
tokenHash: string;
|
|
156
|
+
providerKeys: string[];
|
|
157
|
+
caPem: string;
|
|
158
|
+
caKey: string;
|
|
159
|
+
label: string | null;
|
|
160
|
+
expiresAt: Date;
|
|
161
|
+
revokedAt: Date | null;
|
|
162
|
+
createdAt: Date;
|
|
163
|
+
_count: EgressGrantCountAggregateOutputType | null;
|
|
164
|
+
_min: EgressGrantMinAggregateOutputType | null;
|
|
165
|
+
_max: EgressGrantMaxAggregateOutputType | null;
|
|
166
|
+
};
|
|
167
|
+
export type GetEgressGrantGroupByPayload<T extends EgressGrantGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EgressGrantGroupByOutputType, T['by']> & {
|
|
168
|
+
[P in ((keyof T) & (keyof EgressGrantGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EgressGrantGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EgressGrantGroupByOutputType[P]>;
|
|
169
|
+
}>>;
|
|
170
|
+
export type EgressGrantWhereInput = {
|
|
171
|
+
AND?: Prisma.EgressGrantWhereInput | Prisma.EgressGrantWhereInput[];
|
|
172
|
+
OR?: Prisma.EgressGrantWhereInput[];
|
|
173
|
+
NOT?: Prisma.EgressGrantWhereInput | Prisma.EgressGrantWhereInput[];
|
|
174
|
+
id?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
175
|
+
organizationId?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
176
|
+
userId?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
177
|
+
tokenHash?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
178
|
+
providerKeys?: Prisma.StringNullableListFilter<"EgressGrant">;
|
|
179
|
+
caPem?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
180
|
+
caKey?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
181
|
+
label?: Prisma.StringNullableFilter<"EgressGrant"> | string | null;
|
|
182
|
+
expiresAt?: Prisma.DateTimeFilter<"EgressGrant"> | Date | string;
|
|
183
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"EgressGrant"> | Date | string | null;
|
|
184
|
+
createdAt?: Prisma.DateTimeFilter<"EgressGrant"> | Date | string;
|
|
185
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
186
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
187
|
+
};
|
|
188
|
+
export type EgressGrantOrderByWithRelationInput = {
|
|
189
|
+
id?: Prisma.SortOrder;
|
|
190
|
+
organizationId?: Prisma.SortOrder;
|
|
191
|
+
userId?: Prisma.SortOrder;
|
|
192
|
+
tokenHash?: Prisma.SortOrder;
|
|
193
|
+
providerKeys?: Prisma.SortOrder;
|
|
194
|
+
caPem?: Prisma.SortOrder;
|
|
195
|
+
caKey?: Prisma.SortOrder;
|
|
196
|
+
label?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
197
|
+
expiresAt?: Prisma.SortOrder;
|
|
198
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
199
|
+
createdAt?: Prisma.SortOrder;
|
|
200
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
201
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
202
|
+
};
|
|
203
|
+
export type EgressGrantWhereUniqueInput = Prisma.AtLeast<{
|
|
204
|
+
id?: string;
|
|
205
|
+
AND?: Prisma.EgressGrantWhereInput | Prisma.EgressGrantWhereInput[];
|
|
206
|
+
OR?: Prisma.EgressGrantWhereInput[];
|
|
207
|
+
NOT?: Prisma.EgressGrantWhereInput | Prisma.EgressGrantWhereInput[];
|
|
208
|
+
organizationId?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
209
|
+
userId?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
210
|
+
tokenHash?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
211
|
+
providerKeys?: Prisma.StringNullableListFilter<"EgressGrant">;
|
|
212
|
+
caPem?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
213
|
+
caKey?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
214
|
+
label?: Prisma.StringNullableFilter<"EgressGrant"> | string | null;
|
|
215
|
+
expiresAt?: Prisma.DateTimeFilter<"EgressGrant"> | Date | string;
|
|
216
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"EgressGrant"> | Date | string | null;
|
|
217
|
+
createdAt?: Prisma.DateTimeFilter<"EgressGrant"> | Date | string;
|
|
218
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
219
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
220
|
+
}, "id">;
|
|
221
|
+
export type EgressGrantOrderByWithAggregationInput = {
|
|
222
|
+
id?: Prisma.SortOrder;
|
|
223
|
+
organizationId?: Prisma.SortOrder;
|
|
224
|
+
userId?: Prisma.SortOrder;
|
|
225
|
+
tokenHash?: Prisma.SortOrder;
|
|
226
|
+
providerKeys?: Prisma.SortOrder;
|
|
227
|
+
caPem?: Prisma.SortOrder;
|
|
228
|
+
caKey?: Prisma.SortOrder;
|
|
229
|
+
label?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
expiresAt?: Prisma.SortOrder;
|
|
231
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
createdAt?: Prisma.SortOrder;
|
|
233
|
+
_count?: Prisma.EgressGrantCountOrderByAggregateInput;
|
|
234
|
+
_max?: Prisma.EgressGrantMaxOrderByAggregateInput;
|
|
235
|
+
_min?: Prisma.EgressGrantMinOrderByAggregateInput;
|
|
236
|
+
};
|
|
237
|
+
export type EgressGrantScalarWhereWithAggregatesInput = {
|
|
238
|
+
AND?: Prisma.EgressGrantScalarWhereWithAggregatesInput | Prisma.EgressGrantScalarWhereWithAggregatesInput[];
|
|
239
|
+
OR?: Prisma.EgressGrantScalarWhereWithAggregatesInput[];
|
|
240
|
+
NOT?: Prisma.EgressGrantScalarWhereWithAggregatesInput | Prisma.EgressGrantScalarWhereWithAggregatesInput[];
|
|
241
|
+
id?: Prisma.StringWithAggregatesFilter<"EgressGrant"> | string;
|
|
242
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"EgressGrant"> | string;
|
|
243
|
+
userId?: Prisma.StringWithAggregatesFilter<"EgressGrant"> | string;
|
|
244
|
+
tokenHash?: Prisma.StringWithAggregatesFilter<"EgressGrant"> | string;
|
|
245
|
+
providerKeys?: Prisma.StringNullableListFilter<"EgressGrant">;
|
|
246
|
+
caPem?: Prisma.StringWithAggregatesFilter<"EgressGrant"> | string;
|
|
247
|
+
caKey?: Prisma.StringWithAggregatesFilter<"EgressGrant"> | string;
|
|
248
|
+
label?: Prisma.StringNullableWithAggregatesFilter<"EgressGrant"> | string | null;
|
|
249
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"EgressGrant"> | Date | string;
|
|
250
|
+
revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EgressGrant"> | Date | string | null;
|
|
251
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EgressGrant"> | Date | string;
|
|
252
|
+
};
|
|
253
|
+
export type EgressGrantCreateInput = {
|
|
254
|
+
id?: string;
|
|
255
|
+
tokenHash: string;
|
|
256
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
257
|
+
caPem: string;
|
|
258
|
+
caKey: string;
|
|
259
|
+
label?: string | null;
|
|
260
|
+
expiresAt: Date | string;
|
|
261
|
+
revokedAt?: Date | string | null;
|
|
262
|
+
createdAt?: Date | string;
|
|
263
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutEgressGrantsInput;
|
|
264
|
+
user: Prisma.UserCreateNestedOneWithoutEgressGrantsInput;
|
|
265
|
+
};
|
|
266
|
+
export type EgressGrantUncheckedCreateInput = {
|
|
267
|
+
id?: string;
|
|
268
|
+
organizationId: string;
|
|
269
|
+
userId: string;
|
|
270
|
+
tokenHash: string;
|
|
271
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
272
|
+
caPem: string;
|
|
273
|
+
caKey: string;
|
|
274
|
+
label?: string | null;
|
|
275
|
+
expiresAt: Date | string;
|
|
276
|
+
revokedAt?: Date | string | null;
|
|
277
|
+
createdAt?: Date | string;
|
|
278
|
+
};
|
|
279
|
+
export type EgressGrantUpdateInput = {
|
|
280
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
281
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
282
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
283
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
286
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
287
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
288
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
289
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEgressGrantsNestedInput;
|
|
290
|
+
user?: Prisma.UserUpdateOneRequiredWithoutEgressGrantsNestedInput;
|
|
291
|
+
};
|
|
292
|
+
export type EgressGrantUncheckedUpdateInput = {
|
|
293
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
295
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
297
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
298
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
299
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
301
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
302
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
303
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
304
|
+
};
|
|
305
|
+
export type EgressGrantCreateManyInput = {
|
|
306
|
+
id?: string;
|
|
307
|
+
organizationId: string;
|
|
308
|
+
userId: string;
|
|
309
|
+
tokenHash: string;
|
|
310
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
311
|
+
caPem: string;
|
|
312
|
+
caKey: string;
|
|
313
|
+
label?: string | null;
|
|
314
|
+
expiresAt: Date | string;
|
|
315
|
+
revokedAt?: Date | string | null;
|
|
316
|
+
createdAt?: Date | string;
|
|
317
|
+
};
|
|
318
|
+
export type EgressGrantUpdateManyMutationInput = {
|
|
319
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
320
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
321
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
322
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
323
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
324
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
325
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
326
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
327
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
328
|
+
};
|
|
329
|
+
export type EgressGrantUncheckedUpdateManyInput = {
|
|
330
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
331
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
332
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
333
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
334
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
335
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
336
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
337
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
338
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
339
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
340
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
341
|
+
};
|
|
342
|
+
export type EgressGrantListRelationFilter = {
|
|
343
|
+
every?: Prisma.EgressGrantWhereInput;
|
|
344
|
+
some?: Prisma.EgressGrantWhereInput;
|
|
345
|
+
none?: Prisma.EgressGrantWhereInput;
|
|
346
|
+
};
|
|
347
|
+
export type EgressGrantOrderByRelationAggregateInput = {
|
|
348
|
+
_count?: Prisma.SortOrder;
|
|
349
|
+
};
|
|
350
|
+
export type StringNullableListFilter<$PrismaModel = never> = {
|
|
351
|
+
equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
352
|
+
has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
353
|
+
hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
354
|
+
hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
355
|
+
isEmpty?: boolean;
|
|
356
|
+
};
|
|
357
|
+
export type EgressGrantCountOrderByAggregateInput = {
|
|
358
|
+
id?: Prisma.SortOrder;
|
|
359
|
+
organizationId?: Prisma.SortOrder;
|
|
360
|
+
userId?: Prisma.SortOrder;
|
|
361
|
+
tokenHash?: Prisma.SortOrder;
|
|
362
|
+
providerKeys?: Prisma.SortOrder;
|
|
363
|
+
caPem?: Prisma.SortOrder;
|
|
364
|
+
caKey?: Prisma.SortOrder;
|
|
365
|
+
label?: Prisma.SortOrder;
|
|
366
|
+
expiresAt?: Prisma.SortOrder;
|
|
367
|
+
revokedAt?: Prisma.SortOrder;
|
|
368
|
+
createdAt?: Prisma.SortOrder;
|
|
369
|
+
};
|
|
370
|
+
export type EgressGrantMaxOrderByAggregateInput = {
|
|
371
|
+
id?: Prisma.SortOrder;
|
|
372
|
+
organizationId?: Prisma.SortOrder;
|
|
373
|
+
userId?: Prisma.SortOrder;
|
|
374
|
+
tokenHash?: Prisma.SortOrder;
|
|
375
|
+
caPem?: Prisma.SortOrder;
|
|
376
|
+
caKey?: Prisma.SortOrder;
|
|
377
|
+
label?: Prisma.SortOrder;
|
|
378
|
+
expiresAt?: Prisma.SortOrder;
|
|
379
|
+
revokedAt?: Prisma.SortOrder;
|
|
380
|
+
createdAt?: Prisma.SortOrder;
|
|
381
|
+
};
|
|
382
|
+
export type EgressGrantMinOrderByAggregateInput = {
|
|
383
|
+
id?: Prisma.SortOrder;
|
|
384
|
+
organizationId?: Prisma.SortOrder;
|
|
385
|
+
userId?: Prisma.SortOrder;
|
|
386
|
+
tokenHash?: Prisma.SortOrder;
|
|
387
|
+
caPem?: Prisma.SortOrder;
|
|
388
|
+
caKey?: Prisma.SortOrder;
|
|
389
|
+
label?: Prisma.SortOrder;
|
|
390
|
+
expiresAt?: Prisma.SortOrder;
|
|
391
|
+
revokedAt?: Prisma.SortOrder;
|
|
392
|
+
createdAt?: Prisma.SortOrder;
|
|
393
|
+
};
|
|
394
|
+
export type EgressGrantCreateNestedManyWithoutUserInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutUserInput, Prisma.EgressGrantUncheckedCreateWithoutUserInput> | Prisma.EgressGrantCreateWithoutUserInput[] | Prisma.EgressGrantUncheckedCreateWithoutUserInput[];
|
|
396
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutUserInput | Prisma.EgressGrantCreateOrConnectWithoutUserInput[];
|
|
397
|
+
createMany?: Prisma.EgressGrantCreateManyUserInputEnvelope;
|
|
398
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
399
|
+
};
|
|
400
|
+
export type EgressGrantUncheckedCreateNestedManyWithoutUserInput = {
|
|
401
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutUserInput, Prisma.EgressGrantUncheckedCreateWithoutUserInput> | Prisma.EgressGrantCreateWithoutUserInput[] | Prisma.EgressGrantUncheckedCreateWithoutUserInput[];
|
|
402
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutUserInput | Prisma.EgressGrantCreateOrConnectWithoutUserInput[];
|
|
403
|
+
createMany?: Prisma.EgressGrantCreateManyUserInputEnvelope;
|
|
404
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
405
|
+
};
|
|
406
|
+
export type EgressGrantUpdateManyWithoutUserNestedInput = {
|
|
407
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutUserInput, Prisma.EgressGrantUncheckedCreateWithoutUserInput> | Prisma.EgressGrantCreateWithoutUserInput[] | Prisma.EgressGrantUncheckedCreateWithoutUserInput[];
|
|
408
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutUserInput | Prisma.EgressGrantCreateOrConnectWithoutUserInput[];
|
|
409
|
+
upsert?: Prisma.EgressGrantUpsertWithWhereUniqueWithoutUserInput | Prisma.EgressGrantUpsertWithWhereUniqueWithoutUserInput[];
|
|
410
|
+
createMany?: Prisma.EgressGrantCreateManyUserInputEnvelope;
|
|
411
|
+
set?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
412
|
+
disconnect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
413
|
+
delete?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
414
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
415
|
+
update?: Prisma.EgressGrantUpdateWithWhereUniqueWithoutUserInput | Prisma.EgressGrantUpdateWithWhereUniqueWithoutUserInput[];
|
|
416
|
+
updateMany?: Prisma.EgressGrantUpdateManyWithWhereWithoutUserInput | Prisma.EgressGrantUpdateManyWithWhereWithoutUserInput[];
|
|
417
|
+
deleteMany?: Prisma.EgressGrantScalarWhereInput | Prisma.EgressGrantScalarWhereInput[];
|
|
418
|
+
};
|
|
419
|
+
export type EgressGrantUncheckedUpdateManyWithoutUserNestedInput = {
|
|
420
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutUserInput, Prisma.EgressGrantUncheckedCreateWithoutUserInput> | Prisma.EgressGrantCreateWithoutUserInput[] | Prisma.EgressGrantUncheckedCreateWithoutUserInput[];
|
|
421
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutUserInput | Prisma.EgressGrantCreateOrConnectWithoutUserInput[];
|
|
422
|
+
upsert?: Prisma.EgressGrantUpsertWithWhereUniqueWithoutUserInput | Prisma.EgressGrantUpsertWithWhereUniqueWithoutUserInput[];
|
|
423
|
+
createMany?: Prisma.EgressGrantCreateManyUserInputEnvelope;
|
|
424
|
+
set?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
425
|
+
disconnect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
426
|
+
delete?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
427
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
428
|
+
update?: Prisma.EgressGrantUpdateWithWhereUniqueWithoutUserInput | Prisma.EgressGrantUpdateWithWhereUniqueWithoutUserInput[];
|
|
429
|
+
updateMany?: Prisma.EgressGrantUpdateManyWithWhereWithoutUserInput | Prisma.EgressGrantUpdateManyWithWhereWithoutUserInput[];
|
|
430
|
+
deleteMany?: Prisma.EgressGrantScalarWhereInput | Prisma.EgressGrantScalarWhereInput[];
|
|
431
|
+
};
|
|
432
|
+
export type EgressGrantCreateNestedManyWithoutOrganizationInput = {
|
|
433
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutOrganizationInput, Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput> | Prisma.EgressGrantCreateWithoutOrganizationInput[] | Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput[];
|
|
434
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput | Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput[];
|
|
435
|
+
createMany?: Prisma.EgressGrantCreateManyOrganizationInputEnvelope;
|
|
436
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
437
|
+
};
|
|
438
|
+
export type EgressGrantUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
439
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutOrganizationInput, Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput> | Prisma.EgressGrantCreateWithoutOrganizationInput[] | Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput[];
|
|
440
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput | Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput[];
|
|
441
|
+
createMany?: Prisma.EgressGrantCreateManyOrganizationInputEnvelope;
|
|
442
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
443
|
+
};
|
|
444
|
+
export type EgressGrantUpdateManyWithoutOrganizationNestedInput = {
|
|
445
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutOrganizationInput, Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput> | Prisma.EgressGrantCreateWithoutOrganizationInput[] | Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput[];
|
|
446
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput | Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput[];
|
|
447
|
+
upsert?: Prisma.EgressGrantUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.EgressGrantUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
448
|
+
createMany?: Prisma.EgressGrantCreateManyOrganizationInputEnvelope;
|
|
449
|
+
set?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
450
|
+
disconnect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
451
|
+
delete?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
452
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
453
|
+
update?: Prisma.EgressGrantUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.EgressGrantUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
454
|
+
updateMany?: Prisma.EgressGrantUpdateManyWithWhereWithoutOrganizationInput | Prisma.EgressGrantUpdateManyWithWhereWithoutOrganizationInput[];
|
|
455
|
+
deleteMany?: Prisma.EgressGrantScalarWhereInput | Prisma.EgressGrantScalarWhereInput[];
|
|
456
|
+
};
|
|
457
|
+
export type EgressGrantUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
458
|
+
create?: Prisma.XOR<Prisma.EgressGrantCreateWithoutOrganizationInput, Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput> | Prisma.EgressGrantCreateWithoutOrganizationInput[] | Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput[];
|
|
459
|
+
connectOrCreate?: Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput | Prisma.EgressGrantCreateOrConnectWithoutOrganizationInput[];
|
|
460
|
+
upsert?: Prisma.EgressGrantUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.EgressGrantUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
461
|
+
createMany?: Prisma.EgressGrantCreateManyOrganizationInputEnvelope;
|
|
462
|
+
set?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
463
|
+
disconnect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
464
|
+
delete?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
465
|
+
connect?: Prisma.EgressGrantWhereUniqueInput | Prisma.EgressGrantWhereUniqueInput[];
|
|
466
|
+
update?: Prisma.EgressGrantUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.EgressGrantUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
467
|
+
updateMany?: Prisma.EgressGrantUpdateManyWithWhereWithoutOrganizationInput | Prisma.EgressGrantUpdateManyWithWhereWithoutOrganizationInput[];
|
|
468
|
+
deleteMany?: Prisma.EgressGrantScalarWhereInput | Prisma.EgressGrantScalarWhereInput[];
|
|
469
|
+
};
|
|
470
|
+
export type EgressGrantCreateproviderKeysInput = {
|
|
471
|
+
set: string[];
|
|
472
|
+
};
|
|
473
|
+
export type EgressGrantUpdateproviderKeysInput = {
|
|
474
|
+
set?: string[];
|
|
475
|
+
push?: string | string[];
|
|
476
|
+
};
|
|
477
|
+
export type EgressGrantCreateWithoutUserInput = {
|
|
478
|
+
id?: string;
|
|
479
|
+
tokenHash: string;
|
|
480
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
481
|
+
caPem: string;
|
|
482
|
+
caKey: string;
|
|
483
|
+
label?: string | null;
|
|
484
|
+
expiresAt: Date | string;
|
|
485
|
+
revokedAt?: Date | string | null;
|
|
486
|
+
createdAt?: Date | string;
|
|
487
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutEgressGrantsInput;
|
|
488
|
+
};
|
|
489
|
+
export type EgressGrantUncheckedCreateWithoutUserInput = {
|
|
490
|
+
id?: string;
|
|
491
|
+
organizationId: string;
|
|
492
|
+
tokenHash: string;
|
|
493
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
494
|
+
caPem: string;
|
|
495
|
+
caKey: string;
|
|
496
|
+
label?: string | null;
|
|
497
|
+
expiresAt: Date | string;
|
|
498
|
+
revokedAt?: Date | string | null;
|
|
499
|
+
createdAt?: Date | string;
|
|
500
|
+
};
|
|
501
|
+
export type EgressGrantCreateOrConnectWithoutUserInput = {
|
|
502
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
503
|
+
create: Prisma.XOR<Prisma.EgressGrantCreateWithoutUserInput, Prisma.EgressGrantUncheckedCreateWithoutUserInput>;
|
|
504
|
+
};
|
|
505
|
+
export type EgressGrantCreateManyUserInputEnvelope = {
|
|
506
|
+
data: Prisma.EgressGrantCreateManyUserInput | Prisma.EgressGrantCreateManyUserInput[];
|
|
507
|
+
skipDuplicates?: boolean;
|
|
508
|
+
};
|
|
509
|
+
export type EgressGrantUpsertWithWhereUniqueWithoutUserInput = {
|
|
510
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
511
|
+
update: Prisma.XOR<Prisma.EgressGrantUpdateWithoutUserInput, Prisma.EgressGrantUncheckedUpdateWithoutUserInput>;
|
|
512
|
+
create: Prisma.XOR<Prisma.EgressGrantCreateWithoutUserInput, Prisma.EgressGrantUncheckedCreateWithoutUserInput>;
|
|
513
|
+
};
|
|
514
|
+
export type EgressGrantUpdateWithWhereUniqueWithoutUserInput = {
|
|
515
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
516
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateWithoutUserInput, Prisma.EgressGrantUncheckedUpdateWithoutUserInput>;
|
|
517
|
+
};
|
|
518
|
+
export type EgressGrantUpdateManyWithWhereWithoutUserInput = {
|
|
519
|
+
where: Prisma.EgressGrantScalarWhereInput;
|
|
520
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateManyMutationInput, Prisma.EgressGrantUncheckedUpdateManyWithoutUserInput>;
|
|
521
|
+
};
|
|
522
|
+
export type EgressGrantScalarWhereInput = {
|
|
523
|
+
AND?: Prisma.EgressGrantScalarWhereInput | Prisma.EgressGrantScalarWhereInput[];
|
|
524
|
+
OR?: Prisma.EgressGrantScalarWhereInput[];
|
|
525
|
+
NOT?: Prisma.EgressGrantScalarWhereInput | Prisma.EgressGrantScalarWhereInput[];
|
|
526
|
+
id?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
527
|
+
organizationId?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
528
|
+
userId?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
529
|
+
tokenHash?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
530
|
+
providerKeys?: Prisma.StringNullableListFilter<"EgressGrant">;
|
|
531
|
+
caPem?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
532
|
+
caKey?: Prisma.StringFilter<"EgressGrant"> | string;
|
|
533
|
+
label?: Prisma.StringNullableFilter<"EgressGrant"> | string | null;
|
|
534
|
+
expiresAt?: Prisma.DateTimeFilter<"EgressGrant"> | Date | string;
|
|
535
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"EgressGrant"> | Date | string | null;
|
|
536
|
+
createdAt?: Prisma.DateTimeFilter<"EgressGrant"> | Date | string;
|
|
537
|
+
};
|
|
538
|
+
export type EgressGrantCreateWithoutOrganizationInput = {
|
|
539
|
+
id?: string;
|
|
540
|
+
tokenHash: string;
|
|
541
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
542
|
+
caPem: string;
|
|
543
|
+
caKey: string;
|
|
544
|
+
label?: string | null;
|
|
545
|
+
expiresAt: Date | string;
|
|
546
|
+
revokedAt?: Date | string | null;
|
|
547
|
+
createdAt?: Date | string;
|
|
548
|
+
user: Prisma.UserCreateNestedOneWithoutEgressGrantsInput;
|
|
549
|
+
};
|
|
550
|
+
export type EgressGrantUncheckedCreateWithoutOrganizationInput = {
|
|
551
|
+
id?: string;
|
|
552
|
+
userId: string;
|
|
553
|
+
tokenHash: string;
|
|
554
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
555
|
+
caPem: string;
|
|
556
|
+
caKey: string;
|
|
557
|
+
label?: string | null;
|
|
558
|
+
expiresAt: Date | string;
|
|
559
|
+
revokedAt?: Date | string | null;
|
|
560
|
+
createdAt?: Date | string;
|
|
561
|
+
};
|
|
562
|
+
export type EgressGrantCreateOrConnectWithoutOrganizationInput = {
|
|
563
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
564
|
+
create: Prisma.XOR<Prisma.EgressGrantCreateWithoutOrganizationInput, Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput>;
|
|
565
|
+
};
|
|
566
|
+
export type EgressGrantCreateManyOrganizationInputEnvelope = {
|
|
567
|
+
data: Prisma.EgressGrantCreateManyOrganizationInput | Prisma.EgressGrantCreateManyOrganizationInput[];
|
|
568
|
+
skipDuplicates?: boolean;
|
|
569
|
+
};
|
|
570
|
+
export type EgressGrantUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
571
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
572
|
+
update: Prisma.XOR<Prisma.EgressGrantUpdateWithoutOrganizationInput, Prisma.EgressGrantUncheckedUpdateWithoutOrganizationInput>;
|
|
573
|
+
create: Prisma.XOR<Prisma.EgressGrantCreateWithoutOrganizationInput, Prisma.EgressGrantUncheckedCreateWithoutOrganizationInput>;
|
|
574
|
+
};
|
|
575
|
+
export type EgressGrantUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
576
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
577
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateWithoutOrganizationInput, Prisma.EgressGrantUncheckedUpdateWithoutOrganizationInput>;
|
|
578
|
+
};
|
|
579
|
+
export type EgressGrantUpdateManyWithWhereWithoutOrganizationInput = {
|
|
580
|
+
where: Prisma.EgressGrantScalarWhereInput;
|
|
581
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateManyMutationInput, Prisma.EgressGrantUncheckedUpdateManyWithoutOrganizationInput>;
|
|
582
|
+
};
|
|
583
|
+
export type EgressGrantCreateManyUserInput = {
|
|
584
|
+
id?: string;
|
|
585
|
+
organizationId: string;
|
|
586
|
+
tokenHash: string;
|
|
587
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
588
|
+
caPem: string;
|
|
589
|
+
caKey: string;
|
|
590
|
+
label?: string | null;
|
|
591
|
+
expiresAt: Date | string;
|
|
592
|
+
revokedAt?: Date | string | null;
|
|
593
|
+
createdAt?: Date | string;
|
|
594
|
+
};
|
|
595
|
+
export type EgressGrantUpdateWithoutUserInput = {
|
|
596
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
598
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
599
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
600
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
601
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
602
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
603
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
604
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
605
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutEgressGrantsNestedInput;
|
|
606
|
+
};
|
|
607
|
+
export type EgressGrantUncheckedUpdateWithoutUserInput = {
|
|
608
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
609
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
610
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
611
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
612
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
613
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
614
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
615
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
616
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
617
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
618
|
+
};
|
|
619
|
+
export type EgressGrantUncheckedUpdateManyWithoutUserInput = {
|
|
620
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
621
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
622
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
623
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
624
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
625
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
627
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
628
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
629
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
630
|
+
};
|
|
631
|
+
export type EgressGrantCreateManyOrganizationInput = {
|
|
632
|
+
id?: string;
|
|
633
|
+
userId: string;
|
|
634
|
+
tokenHash: string;
|
|
635
|
+
providerKeys?: Prisma.EgressGrantCreateproviderKeysInput | string[];
|
|
636
|
+
caPem: string;
|
|
637
|
+
caKey: string;
|
|
638
|
+
label?: string | null;
|
|
639
|
+
expiresAt: Date | string;
|
|
640
|
+
revokedAt?: Date | string | null;
|
|
641
|
+
createdAt?: Date | string;
|
|
642
|
+
};
|
|
643
|
+
export type EgressGrantUpdateWithoutOrganizationInput = {
|
|
644
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
645
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
646
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
647
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
648
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
649
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
650
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
651
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
652
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
653
|
+
user?: Prisma.UserUpdateOneRequiredWithoutEgressGrantsNestedInput;
|
|
654
|
+
};
|
|
655
|
+
export type EgressGrantUncheckedUpdateWithoutOrganizationInput = {
|
|
656
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
657
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
658
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
659
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
660
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
661
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
662
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
663
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
664
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
665
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
666
|
+
};
|
|
667
|
+
export type EgressGrantUncheckedUpdateManyWithoutOrganizationInput = {
|
|
668
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
669
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
670
|
+
tokenHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
671
|
+
providerKeys?: Prisma.EgressGrantUpdateproviderKeysInput | string[];
|
|
672
|
+
caPem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
673
|
+
caKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
674
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
675
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
676
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
677
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
678
|
+
};
|
|
679
|
+
export type EgressGrantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
680
|
+
id?: boolean;
|
|
681
|
+
organizationId?: boolean;
|
|
682
|
+
userId?: boolean;
|
|
683
|
+
tokenHash?: boolean;
|
|
684
|
+
providerKeys?: boolean;
|
|
685
|
+
caPem?: boolean;
|
|
686
|
+
caKey?: boolean;
|
|
687
|
+
label?: boolean;
|
|
688
|
+
expiresAt?: boolean;
|
|
689
|
+
revokedAt?: boolean;
|
|
690
|
+
createdAt?: boolean;
|
|
691
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
692
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
693
|
+
}, ExtArgs["result"]["egressGrant"]>;
|
|
694
|
+
export type EgressGrantSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
695
|
+
id?: boolean;
|
|
696
|
+
organizationId?: boolean;
|
|
697
|
+
userId?: boolean;
|
|
698
|
+
tokenHash?: boolean;
|
|
699
|
+
providerKeys?: boolean;
|
|
700
|
+
caPem?: boolean;
|
|
701
|
+
caKey?: boolean;
|
|
702
|
+
label?: boolean;
|
|
703
|
+
expiresAt?: boolean;
|
|
704
|
+
revokedAt?: boolean;
|
|
705
|
+
createdAt?: boolean;
|
|
706
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
707
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
708
|
+
}, ExtArgs["result"]["egressGrant"]>;
|
|
709
|
+
export type EgressGrantSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
710
|
+
id?: boolean;
|
|
711
|
+
organizationId?: boolean;
|
|
712
|
+
userId?: boolean;
|
|
713
|
+
tokenHash?: boolean;
|
|
714
|
+
providerKeys?: boolean;
|
|
715
|
+
caPem?: boolean;
|
|
716
|
+
caKey?: boolean;
|
|
717
|
+
label?: boolean;
|
|
718
|
+
expiresAt?: boolean;
|
|
719
|
+
revokedAt?: boolean;
|
|
720
|
+
createdAt?: boolean;
|
|
721
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
722
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
723
|
+
}, ExtArgs["result"]["egressGrant"]>;
|
|
724
|
+
export type EgressGrantSelectScalar = {
|
|
725
|
+
id?: boolean;
|
|
726
|
+
organizationId?: boolean;
|
|
727
|
+
userId?: boolean;
|
|
728
|
+
tokenHash?: boolean;
|
|
729
|
+
providerKeys?: boolean;
|
|
730
|
+
caPem?: boolean;
|
|
731
|
+
caKey?: boolean;
|
|
732
|
+
label?: boolean;
|
|
733
|
+
expiresAt?: boolean;
|
|
734
|
+
revokedAt?: boolean;
|
|
735
|
+
createdAt?: boolean;
|
|
736
|
+
};
|
|
737
|
+
export type EgressGrantOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "organizationId" | "userId" | "tokenHash" | "providerKeys" | "caPem" | "caKey" | "label" | "expiresAt" | "revokedAt" | "createdAt", ExtArgs["result"]["egressGrant"]>;
|
|
738
|
+
export type EgressGrantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
739
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
740
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
741
|
+
};
|
|
742
|
+
export type EgressGrantIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
743
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
744
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
745
|
+
};
|
|
746
|
+
export type EgressGrantIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
747
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
748
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
749
|
+
};
|
|
750
|
+
export type $EgressGrantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
751
|
+
name: "EgressGrant";
|
|
752
|
+
objects: {
|
|
753
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
754
|
+
user: Prisma.$UserPayload<ExtArgs>;
|
|
755
|
+
};
|
|
756
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
757
|
+
id: string;
|
|
758
|
+
organizationId: string;
|
|
759
|
+
userId: string;
|
|
760
|
+
tokenHash: string;
|
|
761
|
+
providerKeys: string[];
|
|
762
|
+
caPem: string;
|
|
763
|
+
caKey: string;
|
|
764
|
+
label: string | null;
|
|
765
|
+
expiresAt: Date;
|
|
766
|
+
revokedAt: Date | null;
|
|
767
|
+
createdAt: Date;
|
|
768
|
+
}, ExtArgs["result"]["egressGrant"]>;
|
|
769
|
+
composites: {};
|
|
770
|
+
};
|
|
771
|
+
export type EgressGrantGetPayload<S extends boolean | null | undefined | EgressGrantDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload, S>;
|
|
772
|
+
export type EgressGrantCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EgressGrantFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
773
|
+
select?: EgressGrantCountAggregateInputType | true;
|
|
774
|
+
};
|
|
775
|
+
export interface EgressGrantDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
776
|
+
[K: symbol]: {
|
|
777
|
+
types: Prisma.TypeMap<ExtArgs>['model']['EgressGrant'];
|
|
778
|
+
meta: {
|
|
779
|
+
name: 'EgressGrant';
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
/**
|
|
783
|
+
* Find zero or one EgressGrant that matches the filter.
|
|
784
|
+
* @param {EgressGrantFindUniqueArgs} args - Arguments to find a EgressGrant
|
|
785
|
+
* @example
|
|
786
|
+
* // Get one EgressGrant
|
|
787
|
+
* const egressGrant = await prisma.egressGrant.findUnique({
|
|
788
|
+
* where: {
|
|
789
|
+
* // ... provide filter here
|
|
790
|
+
* }
|
|
791
|
+
* })
|
|
792
|
+
*/
|
|
793
|
+
findUnique<T extends EgressGrantFindUniqueArgs>(args: Prisma.SelectSubset<T, EgressGrantFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
794
|
+
/**
|
|
795
|
+
* Find one EgressGrant that matches the filter or throw an error with `error.code='P2025'`
|
|
796
|
+
* if no matches were found.
|
|
797
|
+
* @param {EgressGrantFindUniqueOrThrowArgs} args - Arguments to find a EgressGrant
|
|
798
|
+
* @example
|
|
799
|
+
* // Get one EgressGrant
|
|
800
|
+
* const egressGrant = await prisma.egressGrant.findUniqueOrThrow({
|
|
801
|
+
* where: {
|
|
802
|
+
* // ... provide filter here
|
|
803
|
+
* }
|
|
804
|
+
* })
|
|
805
|
+
*/
|
|
806
|
+
findUniqueOrThrow<T extends EgressGrantFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EgressGrantFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
807
|
+
/**
|
|
808
|
+
* Find the first EgressGrant that matches the filter.
|
|
809
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
810
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
811
|
+
* @param {EgressGrantFindFirstArgs} args - Arguments to find a EgressGrant
|
|
812
|
+
* @example
|
|
813
|
+
* // Get one EgressGrant
|
|
814
|
+
* const egressGrant = await prisma.egressGrant.findFirst({
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... provide filter here
|
|
817
|
+
* }
|
|
818
|
+
* })
|
|
819
|
+
*/
|
|
820
|
+
findFirst<T extends EgressGrantFindFirstArgs>(args?: Prisma.SelectSubset<T, EgressGrantFindFirstArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
821
|
+
/**
|
|
822
|
+
* Find the first EgressGrant that matches the filter or
|
|
823
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
824
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
825
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
826
|
+
* @param {EgressGrantFindFirstOrThrowArgs} args - Arguments to find a EgressGrant
|
|
827
|
+
* @example
|
|
828
|
+
* // Get one EgressGrant
|
|
829
|
+
* const egressGrant = await prisma.egressGrant.findFirstOrThrow({
|
|
830
|
+
* where: {
|
|
831
|
+
* // ... provide filter here
|
|
832
|
+
* }
|
|
833
|
+
* })
|
|
834
|
+
*/
|
|
835
|
+
findFirstOrThrow<T extends EgressGrantFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EgressGrantFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
836
|
+
/**
|
|
837
|
+
* Find zero or more EgressGrants that matches the filter.
|
|
838
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
839
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
840
|
+
* @param {EgressGrantFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
841
|
+
* @example
|
|
842
|
+
* // Get all EgressGrants
|
|
843
|
+
* const egressGrants = await prisma.egressGrant.findMany()
|
|
844
|
+
*
|
|
845
|
+
* // Get first 10 EgressGrants
|
|
846
|
+
* const egressGrants = await prisma.egressGrant.findMany({ take: 10 })
|
|
847
|
+
*
|
|
848
|
+
* // Only select the `id`
|
|
849
|
+
* const egressGrantWithIdOnly = await prisma.egressGrant.findMany({ select: { id: true } })
|
|
850
|
+
*
|
|
851
|
+
*/
|
|
852
|
+
findMany<T extends EgressGrantFindManyArgs>(args?: Prisma.SelectSubset<T, EgressGrantFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
853
|
+
/**
|
|
854
|
+
* Create a EgressGrant.
|
|
855
|
+
* @param {EgressGrantCreateArgs} args - Arguments to create a EgressGrant.
|
|
856
|
+
* @example
|
|
857
|
+
* // Create one EgressGrant
|
|
858
|
+
* const EgressGrant = await prisma.egressGrant.create({
|
|
859
|
+
* data: {
|
|
860
|
+
* // ... data to create a EgressGrant
|
|
861
|
+
* }
|
|
862
|
+
* })
|
|
863
|
+
*
|
|
864
|
+
*/
|
|
865
|
+
create<T extends EgressGrantCreateArgs>(args: Prisma.SelectSubset<T, EgressGrantCreateArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
866
|
+
/**
|
|
867
|
+
* Create many EgressGrants.
|
|
868
|
+
* @param {EgressGrantCreateManyArgs} args - Arguments to create many EgressGrants.
|
|
869
|
+
* @example
|
|
870
|
+
* // Create many EgressGrants
|
|
871
|
+
* const egressGrant = await prisma.egressGrant.createMany({
|
|
872
|
+
* data: [
|
|
873
|
+
* // ... provide data here
|
|
874
|
+
* ]
|
|
875
|
+
* })
|
|
876
|
+
*
|
|
877
|
+
*/
|
|
878
|
+
createMany<T extends EgressGrantCreateManyArgs>(args?: Prisma.SelectSubset<T, EgressGrantCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
879
|
+
/**
|
|
880
|
+
* Create many EgressGrants and returns the data saved in the database.
|
|
881
|
+
* @param {EgressGrantCreateManyAndReturnArgs} args - Arguments to create many EgressGrants.
|
|
882
|
+
* @example
|
|
883
|
+
* // Create many EgressGrants
|
|
884
|
+
* const egressGrant = await prisma.egressGrant.createManyAndReturn({
|
|
885
|
+
* data: [
|
|
886
|
+
* // ... provide data here
|
|
887
|
+
* ]
|
|
888
|
+
* })
|
|
889
|
+
*
|
|
890
|
+
* // Create many EgressGrants and only return the `id`
|
|
891
|
+
* const egressGrantWithIdOnly = await prisma.egressGrant.createManyAndReturn({
|
|
892
|
+
* select: { id: true },
|
|
893
|
+
* data: [
|
|
894
|
+
* // ... provide data here
|
|
895
|
+
* ]
|
|
896
|
+
* })
|
|
897
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
898
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
899
|
+
*
|
|
900
|
+
*/
|
|
901
|
+
createManyAndReturn<T extends EgressGrantCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EgressGrantCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
902
|
+
/**
|
|
903
|
+
* Delete a EgressGrant.
|
|
904
|
+
* @param {EgressGrantDeleteArgs} args - Arguments to delete one EgressGrant.
|
|
905
|
+
* @example
|
|
906
|
+
* // Delete one EgressGrant
|
|
907
|
+
* const EgressGrant = await prisma.egressGrant.delete({
|
|
908
|
+
* where: {
|
|
909
|
+
* // ... filter to delete one EgressGrant
|
|
910
|
+
* }
|
|
911
|
+
* })
|
|
912
|
+
*
|
|
913
|
+
*/
|
|
914
|
+
delete<T extends EgressGrantDeleteArgs>(args: Prisma.SelectSubset<T, EgressGrantDeleteArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
915
|
+
/**
|
|
916
|
+
* Update one EgressGrant.
|
|
917
|
+
* @param {EgressGrantUpdateArgs} args - Arguments to update one EgressGrant.
|
|
918
|
+
* @example
|
|
919
|
+
* // Update one EgressGrant
|
|
920
|
+
* const egressGrant = await prisma.egressGrant.update({
|
|
921
|
+
* where: {
|
|
922
|
+
* // ... provide filter here
|
|
923
|
+
* },
|
|
924
|
+
* data: {
|
|
925
|
+
* // ... provide data here
|
|
926
|
+
* }
|
|
927
|
+
* })
|
|
928
|
+
*
|
|
929
|
+
*/
|
|
930
|
+
update<T extends EgressGrantUpdateArgs>(args: Prisma.SelectSubset<T, EgressGrantUpdateArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
931
|
+
/**
|
|
932
|
+
* Delete zero or more EgressGrants.
|
|
933
|
+
* @param {EgressGrantDeleteManyArgs} args - Arguments to filter EgressGrants to delete.
|
|
934
|
+
* @example
|
|
935
|
+
* // Delete a few EgressGrants
|
|
936
|
+
* const { count } = await prisma.egressGrant.deleteMany({
|
|
937
|
+
* where: {
|
|
938
|
+
* // ... provide filter here
|
|
939
|
+
* }
|
|
940
|
+
* })
|
|
941
|
+
*
|
|
942
|
+
*/
|
|
943
|
+
deleteMany<T extends EgressGrantDeleteManyArgs>(args?: Prisma.SelectSubset<T, EgressGrantDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
944
|
+
/**
|
|
945
|
+
* Update zero or more EgressGrants.
|
|
946
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
947
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
948
|
+
* @param {EgressGrantUpdateManyArgs} args - Arguments to update one or more rows.
|
|
949
|
+
* @example
|
|
950
|
+
* // Update many EgressGrants
|
|
951
|
+
* const egressGrant = await prisma.egressGrant.updateMany({
|
|
952
|
+
* where: {
|
|
953
|
+
* // ... provide filter here
|
|
954
|
+
* },
|
|
955
|
+
* data: {
|
|
956
|
+
* // ... provide data here
|
|
957
|
+
* }
|
|
958
|
+
* })
|
|
959
|
+
*
|
|
960
|
+
*/
|
|
961
|
+
updateMany<T extends EgressGrantUpdateManyArgs>(args: Prisma.SelectSubset<T, EgressGrantUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
962
|
+
/**
|
|
963
|
+
* Update zero or more EgressGrants and returns the data updated in the database.
|
|
964
|
+
* @param {EgressGrantUpdateManyAndReturnArgs} args - Arguments to update many EgressGrants.
|
|
965
|
+
* @example
|
|
966
|
+
* // Update many EgressGrants
|
|
967
|
+
* const egressGrant = await prisma.egressGrant.updateManyAndReturn({
|
|
968
|
+
* where: {
|
|
969
|
+
* // ... provide filter here
|
|
970
|
+
* },
|
|
971
|
+
* data: [
|
|
972
|
+
* // ... provide data here
|
|
973
|
+
* ]
|
|
974
|
+
* })
|
|
975
|
+
*
|
|
976
|
+
* // Update zero or more EgressGrants and only return the `id`
|
|
977
|
+
* const egressGrantWithIdOnly = await prisma.egressGrant.updateManyAndReturn({
|
|
978
|
+
* select: { id: true },
|
|
979
|
+
* where: {
|
|
980
|
+
* // ... provide filter here
|
|
981
|
+
* },
|
|
982
|
+
* data: [
|
|
983
|
+
* // ... provide data here
|
|
984
|
+
* ]
|
|
985
|
+
* })
|
|
986
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
987
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
988
|
+
*
|
|
989
|
+
*/
|
|
990
|
+
updateManyAndReturn<T extends EgressGrantUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EgressGrantUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
991
|
+
/**
|
|
992
|
+
* Create or update one EgressGrant.
|
|
993
|
+
* @param {EgressGrantUpsertArgs} args - Arguments to update or create a EgressGrant.
|
|
994
|
+
* @example
|
|
995
|
+
* // Update or create a EgressGrant
|
|
996
|
+
* const egressGrant = await prisma.egressGrant.upsert({
|
|
997
|
+
* create: {
|
|
998
|
+
* // ... data to create a EgressGrant
|
|
999
|
+
* },
|
|
1000
|
+
* update: {
|
|
1001
|
+
* // ... in case it already exists, update
|
|
1002
|
+
* },
|
|
1003
|
+
* where: {
|
|
1004
|
+
* // ... the filter for the EgressGrant we want to update
|
|
1005
|
+
* }
|
|
1006
|
+
* })
|
|
1007
|
+
*/
|
|
1008
|
+
upsert<T extends EgressGrantUpsertArgs>(args: Prisma.SelectSubset<T, EgressGrantUpsertArgs<ExtArgs>>): Prisma.Prisma__EgressGrantClient<runtime.Types.Result.GetResult<Prisma.$EgressGrantPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Count the number of EgressGrants.
|
|
1011
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1012
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1013
|
+
* @param {EgressGrantCountArgs} args - Arguments to filter EgressGrants to count.
|
|
1014
|
+
* @example
|
|
1015
|
+
* // Count the number of EgressGrants
|
|
1016
|
+
* const count = await prisma.egressGrant.count({
|
|
1017
|
+
* where: {
|
|
1018
|
+
* // ... the filter for the EgressGrants we want to count
|
|
1019
|
+
* }
|
|
1020
|
+
* })
|
|
1021
|
+
**/
|
|
1022
|
+
count<T extends EgressGrantCountArgs>(args?: Prisma.Subset<T, EgressGrantCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EgressGrantCountAggregateOutputType> : number>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Allows you to perform aggregations operations on a EgressGrant.
|
|
1025
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1026
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1027
|
+
* @param {EgressGrantAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1028
|
+
* @example
|
|
1029
|
+
* // Ordered by age ascending
|
|
1030
|
+
* // Where email contains prisma.io
|
|
1031
|
+
* // Limited to the 10 users
|
|
1032
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1033
|
+
* _avg: {
|
|
1034
|
+
* age: true,
|
|
1035
|
+
* },
|
|
1036
|
+
* where: {
|
|
1037
|
+
* email: {
|
|
1038
|
+
* contains: "prisma.io",
|
|
1039
|
+
* },
|
|
1040
|
+
* },
|
|
1041
|
+
* orderBy: {
|
|
1042
|
+
* age: "asc",
|
|
1043
|
+
* },
|
|
1044
|
+
* take: 10,
|
|
1045
|
+
* })
|
|
1046
|
+
**/
|
|
1047
|
+
aggregate<T extends EgressGrantAggregateArgs>(args: Prisma.Subset<T, EgressGrantAggregateArgs>): Prisma.PrismaPromise<GetEgressGrantAggregateType<T>>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Group by EgressGrant.
|
|
1050
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1051
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1052
|
+
* @param {EgressGrantGroupByArgs} args - Group by arguments.
|
|
1053
|
+
* @example
|
|
1054
|
+
* // Group by city, order by createdAt, get count
|
|
1055
|
+
* const result = await prisma.user.groupBy({
|
|
1056
|
+
* by: ['city', 'createdAt'],
|
|
1057
|
+
* orderBy: {
|
|
1058
|
+
* createdAt: true
|
|
1059
|
+
* },
|
|
1060
|
+
* _count: {
|
|
1061
|
+
* _all: true
|
|
1062
|
+
* },
|
|
1063
|
+
* })
|
|
1064
|
+
*
|
|
1065
|
+
**/
|
|
1066
|
+
groupBy<T extends EgressGrantGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1067
|
+
orderBy: EgressGrantGroupByArgs['orderBy'];
|
|
1068
|
+
} : {
|
|
1069
|
+
orderBy?: EgressGrantGroupByArgs['orderBy'];
|
|
1070
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1071
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1072
|
+
Error,
|
|
1073
|
+
'Field ',
|
|
1074
|
+
P,
|
|
1075
|
+
` in "having" needs to be provided in "by"`
|
|
1076
|
+
];
|
|
1077
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1078
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1079
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1080
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1081
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1082
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1083
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, EgressGrantGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEgressGrantGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Fields of the EgressGrant model
|
|
1086
|
+
*/
|
|
1087
|
+
readonly fields: EgressGrantFieldRefs;
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* The delegate class that acts as a "Promise-like" for EgressGrant.
|
|
1091
|
+
* Why is this prefixed with `Prisma__`?
|
|
1092
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1093
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1094
|
+
*/
|
|
1095
|
+
export interface Prisma__EgressGrantClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1096
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1097
|
+
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1098
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1101
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1102
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1103
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1104
|
+
*/
|
|
1105
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1108
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1109
|
+
* @returns A Promise for the completion of the callback.
|
|
1110
|
+
*/
|
|
1111
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1114
|
+
* resolved value cannot be modified from the callback.
|
|
1115
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1116
|
+
* @returns A Promise for the completion of the callback.
|
|
1117
|
+
*/
|
|
1118
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* Fields of the EgressGrant model
|
|
1122
|
+
*/
|
|
1123
|
+
export interface EgressGrantFieldRefs {
|
|
1124
|
+
readonly id: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1125
|
+
readonly organizationId: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1126
|
+
readonly userId: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1127
|
+
readonly tokenHash: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1128
|
+
readonly providerKeys: Prisma.FieldRef<"EgressGrant", 'String[]'>;
|
|
1129
|
+
readonly caPem: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1130
|
+
readonly caKey: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1131
|
+
readonly label: Prisma.FieldRef<"EgressGrant", 'String'>;
|
|
1132
|
+
readonly expiresAt: Prisma.FieldRef<"EgressGrant", 'DateTime'>;
|
|
1133
|
+
readonly revokedAt: Prisma.FieldRef<"EgressGrant", 'DateTime'>;
|
|
1134
|
+
readonly createdAt: Prisma.FieldRef<"EgressGrant", 'DateTime'>;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* EgressGrant findUnique
|
|
1138
|
+
*/
|
|
1139
|
+
export type EgressGrantFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1140
|
+
/**
|
|
1141
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1142
|
+
*/
|
|
1143
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1144
|
+
/**
|
|
1145
|
+
* Omit specific fields from the EgressGrant
|
|
1146
|
+
*/
|
|
1147
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* Choose, which related nodes to fetch as well
|
|
1150
|
+
*/
|
|
1151
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1152
|
+
/**
|
|
1153
|
+
* Filter, which EgressGrant to fetch.
|
|
1154
|
+
*/
|
|
1155
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
1156
|
+
};
|
|
1157
|
+
/**
|
|
1158
|
+
* EgressGrant findUniqueOrThrow
|
|
1159
|
+
*/
|
|
1160
|
+
export type EgressGrantFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1161
|
+
/**
|
|
1162
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1163
|
+
*/
|
|
1164
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1165
|
+
/**
|
|
1166
|
+
* Omit specific fields from the EgressGrant
|
|
1167
|
+
*/
|
|
1168
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* Choose, which related nodes to fetch as well
|
|
1171
|
+
*/
|
|
1172
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1173
|
+
/**
|
|
1174
|
+
* Filter, which EgressGrant to fetch.
|
|
1175
|
+
*/
|
|
1176
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* EgressGrant findFirst
|
|
1180
|
+
*/
|
|
1181
|
+
export type EgressGrantFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1182
|
+
/**
|
|
1183
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1184
|
+
*/
|
|
1185
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* Omit specific fields from the EgressGrant
|
|
1188
|
+
*/
|
|
1189
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1190
|
+
/**
|
|
1191
|
+
* Choose, which related nodes to fetch as well
|
|
1192
|
+
*/
|
|
1193
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1194
|
+
/**
|
|
1195
|
+
* Filter, which EgressGrant to fetch.
|
|
1196
|
+
*/
|
|
1197
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1198
|
+
/**
|
|
1199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1200
|
+
*
|
|
1201
|
+
* Determine the order of EgressGrants to fetch.
|
|
1202
|
+
*/
|
|
1203
|
+
orderBy?: Prisma.EgressGrantOrderByWithRelationInput | Prisma.EgressGrantOrderByWithRelationInput[];
|
|
1204
|
+
/**
|
|
1205
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1206
|
+
*
|
|
1207
|
+
* Sets the position for searching for EgressGrants.
|
|
1208
|
+
*/
|
|
1209
|
+
cursor?: Prisma.EgressGrantWhereUniqueInput;
|
|
1210
|
+
/**
|
|
1211
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1212
|
+
*
|
|
1213
|
+
* Take `±n` EgressGrants from the position of the cursor.
|
|
1214
|
+
*/
|
|
1215
|
+
take?: number;
|
|
1216
|
+
/**
|
|
1217
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1218
|
+
*
|
|
1219
|
+
* Skip the first `n` EgressGrants.
|
|
1220
|
+
*/
|
|
1221
|
+
skip?: number;
|
|
1222
|
+
/**
|
|
1223
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1224
|
+
*
|
|
1225
|
+
* Filter by unique combinations of EgressGrants.
|
|
1226
|
+
*/
|
|
1227
|
+
distinct?: Prisma.EgressGrantScalarFieldEnum | Prisma.EgressGrantScalarFieldEnum[];
|
|
1228
|
+
};
|
|
1229
|
+
/**
|
|
1230
|
+
* EgressGrant findFirstOrThrow
|
|
1231
|
+
*/
|
|
1232
|
+
export type EgressGrantFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1233
|
+
/**
|
|
1234
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1235
|
+
*/
|
|
1236
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1237
|
+
/**
|
|
1238
|
+
* Omit specific fields from the EgressGrant
|
|
1239
|
+
*/
|
|
1240
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1241
|
+
/**
|
|
1242
|
+
* Choose, which related nodes to fetch as well
|
|
1243
|
+
*/
|
|
1244
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1245
|
+
/**
|
|
1246
|
+
* Filter, which EgressGrant to fetch.
|
|
1247
|
+
*/
|
|
1248
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1249
|
+
/**
|
|
1250
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1251
|
+
*
|
|
1252
|
+
* Determine the order of EgressGrants to fetch.
|
|
1253
|
+
*/
|
|
1254
|
+
orderBy?: Prisma.EgressGrantOrderByWithRelationInput | Prisma.EgressGrantOrderByWithRelationInput[];
|
|
1255
|
+
/**
|
|
1256
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1257
|
+
*
|
|
1258
|
+
* Sets the position for searching for EgressGrants.
|
|
1259
|
+
*/
|
|
1260
|
+
cursor?: Prisma.EgressGrantWhereUniqueInput;
|
|
1261
|
+
/**
|
|
1262
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1263
|
+
*
|
|
1264
|
+
* Take `±n` EgressGrants from the position of the cursor.
|
|
1265
|
+
*/
|
|
1266
|
+
take?: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1269
|
+
*
|
|
1270
|
+
* Skip the first `n` EgressGrants.
|
|
1271
|
+
*/
|
|
1272
|
+
skip?: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1275
|
+
*
|
|
1276
|
+
* Filter by unique combinations of EgressGrants.
|
|
1277
|
+
*/
|
|
1278
|
+
distinct?: Prisma.EgressGrantScalarFieldEnum | Prisma.EgressGrantScalarFieldEnum[];
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* EgressGrant findMany
|
|
1282
|
+
*/
|
|
1283
|
+
export type EgressGrantFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1284
|
+
/**
|
|
1285
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1286
|
+
*/
|
|
1287
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1288
|
+
/**
|
|
1289
|
+
* Omit specific fields from the EgressGrant
|
|
1290
|
+
*/
|
|
1291
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1292
|
+
/**
|
|
1293
|
+
* Choose, which related nodes to fetch as well
|
|
1294
|
+
*/
|
|
1295
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1296
|
+
/**
|
|
1297
|
+
* Filter, which EgressGrants to fetch.
|
|
1298
|
+
*/
|
|
1299
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1300
|
+
/**
|
|
1301
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1302
|
+
*
|
|
1303
|
+
* Determine the order of EgressGrants to fetch.
|
|
1304
|
+
*/
|
|
1305
|
+
orderBy?: Prisma.EgressGrantOrderByWithRelationInput | Prisma.EgressGrantOrderByWithRelationInput[];
|
|
1306
|
+
/**
|
|
1307
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1308
|
+
*
|
|
1309
|
+
* Sets the position for listing EgressGrants.
|
|
1310
|
+
*/
|
|
1311
|
+
cursor?: Prisma.EgressGrantWhereUniqueInput;
|
|
1312
|
+
/**
|
|
1313
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1314
|
+
*
|
|
1315
|
+
* Take `±n` EgressGrants from the position of the cursor.
|
|
1316
|
+
*/
|
|
1317
|
+
take?: number;
|
|
1318
|
+
/**
|
|
1319
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1320
|
+
*
|
|
1321
|
+
* Skip the first `n` EgressGrants.
|
|
1322
|
+
*/
|
|
1323
|
+
skip?: number;
|
|
1324
|
+
/**
|
|
1325
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1326
|
+
*
|
|
1327
|
+
* Filter by unique combinations of EgressGrants.
|
|
1328
|
+
*/
|
|
1329
|
+
distinct?: Prisma.EgressGrantScalarFieldEnum | Prisma.EgressGrantScalarFieldEnum[];
|
|
1330
|
+
};
|
|
1331
|
+
/**
|
|
1332
|
+
* EgressGrant create
|
|
1333
|
+
*/
|
|
1334
|
+
export type EgressGrantCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1335
|
+
/**
|
|
1336
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1337
|
+
*/
|
|
1338
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* Omit specific fields from the EgressGrant
|
|
1341
|
+
*/
|
|
1342
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1343
|
+
/**
|
|
1344
|
+
* Choose, which related nodes to fetch as well
|
|
1345
|
+
*/
|
|
1346
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1347
|
+
/**
|
|
1348
|
+
* The data needed to create a EgressGrant.
|
|
1349
|
+
*/
|
|
1350
|
+
data: Prisma.XOR<Prisma.EgressGrantCreateInput, Prisma.EgressGrantUncheckedCreateInput>;
|
|
1351
|
+
};
|
|
1352
|
+
/**
|
|
1353
|
+
* EgressGrant createMany
|
|
1354
|
+
*/
|
|
1355
|
+
export type EgressGrantCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1356
|
+
/**
|
|
1357
|
+
* The data used to create many EgressGrants.
|
|
1358
|
+
*/
|
|
1359
|
+
data: Prisma.EgressGrantCreateManyInput | Prisma.EgressGrantCreateManyInput[];
|
|
1360
|
+
skipDuplicates?: boolean;
|
|
1361
|
+
};
|
|
1362
|
+
/**
|
|
1363
|
+
* EgressGrant createManyAndReturn
|
|
1364
|
+
*/
|
|
1365
|
+
export type EgressGrantCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1366
|
+
/**
|
|
1367
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1368
|
+
*/
|
|
1369
|
+
select?: Prisma.EgressGrantSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1370
|
+
/**
|
|
1371
|
+
* Omit specific fields from the EgressGrant
|
|
1372
|
+
*/
|
|
1373
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1374
|
+
/**
|
|
1375
|
+
* The data used to create many EgressGrants.
|
|
1376
|
+
*/
|
|
1377
|
+
data: Prisma.EgressGrantCreateManyInput | Prisma.EgressGrantCreateManyInput[];
|
|
1378
|
+
skipDuplicates?: boolean;
|
|
1379
|
+
/**
|
|
1380
|
+
* Choose, which related nodes to fetch as well
|
|
1381
|
+
*/
|
|
1382
|
+
include?: Prisma.EgressGrantIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1383
|
+
};
|
|
1384
|
+
/**
|
|
1385
|
+
* EgressGrant update
|
|
1386
|
+
*/
|
|
1387
|
+
export type EgressGrantUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1388
|
+
/**
|
|
1389
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1390
|
+
*/
|
|
1391
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* Omit specific fields from the EgressGrant
|
|
1394
|
+
*/
|
|
1395
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Choose, which related nodes to fetch as well
|
|
1398
|
+
*/
|
|
1399
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* The data needed to update a EgressGrant.
|
|
1402
|
+
*/
|
|
1403
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateInput, Prisma.EgressGrantUncheckedUpdateInput>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Choose, which EgressGrant to update.
|
|
1406
|
+
*/
|
|
1407
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
1408
|
+
};
|
|
1409
|
+
/**
|
|
1410
|
+
* EgressGrant updateMany
|
|
1411
|
+
*/
|
|
1412
|
+
export type EgressGrantUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
+
/**
|
|
1414
|
+
* The data used to update EgressGrants.
|
|
1415
|
+
*/
|
|
1416
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateManyMutationInput, Prisma.EgressGrantUncheckedUpdateManyInput>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Filter which EgressGrants to update
|
|
1419
|
+
*/
|
|
1420
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1421
|
+
/**
|
|
1422
|
+
* Limit how many EgressGrants to update.
|
|
1423
|
+
*/
|
|
1424
|
+
limit?: number;
|
|
1425
|
+
};
|
|
1426
|
+
/**
|
|
1427
|
+
* EgressGrant updateManyAndReturn
|
|
1428
|
+
*/
|
|
1429
|
+
export type EgressGrantUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1430
|
+
/**
|
|
1431
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1432
|
+
*/
|
|
1433
|
+
select?: Prisma.EgressGrantSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1434
|
+
/**
|
|
1435
|
+
* Omit specific fields from the EgressGrant
|
|
1436
|
+
*/
|
|
1437
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* The data used to update EgressGrants.
|
|
1440
|
+
*/
|
|
1441
|
+
data: Prisma.XOR<Prisma.EgressGrantUpdateManyMutationInput, Prisma.EgressGrantUncheckedUpdateManyInput>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Filter which EgressGrants to update
|
|
1444
|
+
*/
|
|
1445
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1446
|
+
/**
|
|
1447
|
+
* Limit how many EgressGrants to update.
|
|
1448
|
+
*/
|
|
1449
|
+
limit?: number;
|
|
1450
|
+
/**
|
|
1451
|
+
* Choose, which related nodes to fetch as well
|
|
1452
|
+
*/
|
|
1453
|
+
include?: Prisma.EgressGrantIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1454
|
+
};
|
|
1455
|
+
/**
|
|
1456
|
+
* EgressGrant upsert
|
|
1457
|
+
*/
|
|
1458
|
+
export type EgressGrantUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1459
|
+
/**
|
|
1460
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1461
|
+
*/
|
|
1462
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1463
|
+
/**
|
|
1464
|
+
* Omit specific fields from the EgressGrant
|
|
1465
|
+
*/
|
|
1466
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Choose, which related nodes to fetch as well
|
|
1469
|
+
*/
|
|
1470
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* The filter to search for the EgressGrant to update in case it exists.
|
|
1473
|
+
*/
|
|
1474
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
1475
|
+
/**
|
|
1476
|
+
* In case the EgressGrant found by the `where` argument doesn't exist, create a new EgressGrant with this data.
|
|
1477
|
+
*/
|
|
1478
|
+
create: Prisma.XOR<Prisma.EgressGrantCreateInput, Prisma.EgressGrantUncheckedCreateInput>;
|
|
1479
|
+
/**
|
|
1480
|
+
* In case the EgressGrant was found with the provided `where` argument, update it with this data.
|
|
1481
|
+
*/
|
|
1482
|
+
update: Prisma.XOR<Prisma.EgressGrantUpdateInput, Prisma.EgressGrantUncheckedUpdateInput>;
|
|
1483
|
+
};
|
|
1484
|
+
/**
|
|
1485
|
+
* EgressGrant delete
|
|
1486
|
+
*/
|
|
1487
|
+
export type EgressGrantDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1488
|
+
/**
|
|
1489
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1490
|
+
*/
|
|
1491
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Omit specific fields from the EgressGrant
|
|
1494
|
+
*/
|
|
1495
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Choose, which related nodes to fetch as well
|
|
1498
|
+
*/
|
|
1499
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* Filter which EgressGrant to delete.
|
|
1502
|
+
*/
|
|
1503
|
+
where: Prisma.EgressGrantWhereUniqueInput;
|
|
1504
|
+
};
|
|
1505
|
+
/**
|
|
1506
|
+
* EgressGrant deleteMany
|
|
1507
|
+
*/
|
|
1508
|
+
export type EgressGrantDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1509
|
+
/**
|
|
1510
|
+
* Filter which EgressGrants to delete
|
|
1511
|
+
*/
|
|
1512
|
+
where?: Prisma.EgressGrantWhereInput;
|
|
1513
|
+
/**
|
|
1514
|
+
* Limit how many EgressGrants to delete.
|
|
1515
|
+
*/
|
|
1516
|
+
limit?: number;
|
|
1517
|
+
};
|
|
1518
|
+
/**
|
|
1519
|
+
* EgressGrant without action
|
|
1520
|
+
*/
|
|
1521
|
+
export type EgressGrantDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1522
|
+
/**
|
|
1523
|
+
* Select specific fields to fetch from the EgressGrant
|
|
1524
|
+
*/
|
|
1525
|
+
select?: Prisma.EgressGrantSelect<ExtArgs> | null;
|
|
1526
|
+
/**
|
|
1527
|
+
* Omit specific fields from the EgressGrant
|
|
1528
|
+
*/
|
|
1529
|
+
omit?: Prisma.EgressGrantOmit<ExtArgs> | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Choose, which related nodes to fetch as well
|
|
1532
|
+
*/
|
|
1533
|
+
include?: Prisma.EgressGrantInclude<ExtArgs> | null;
|
|
1534
|
+
};
|
|
1535
|
+
//# sourceMappingURL=EgressGrant.d.ts.map
|