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