@kosha-ai/server 0.0.6 → 1.0.0

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