@valentine-efagene/qshelter-common 2.0.51 → 2.0.53

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 (118) hide show
  1. package/dist/src/middleware/tenant.js +3 -3
  2. package/package.json +1 -1
  3. package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
  4. package/dist/generated/client/models/ContractPhaseStep.js +0 -1
  5. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
  6. package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
  7. package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
  8. package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
  9. package/dist/generated/client/models/Mortgage.d.ts +0 -2777
  10. package/dist/generated/client/models/Mortgage.js +0 -1
  11. package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
  12. package/dist/generated/client/models/MortgageDocument.js +0 -1
  13. package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  14. package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  15. package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  16. package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  17. package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  18. package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  19. package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
  20. package/dist/generated/client/models/MortgageStep.js +0 -1
  21. package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
  22. package/dist/generated/client/models/MortgageTransition.js +0 -1
  23. package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  24. package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
  25. package/dist/generated/client/models/MortgageType.d.ts +0 -1052
  26. package/dist/generated/client/models/MortgageType.js +0 -1
  27. package/dist/generated/client/models/Payment.d.ts +0 -2026
  28. package/dist/generated/client/models/Payment.js +0 -1
  29. package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
  30. package/dist/generated/client/models/PaymentInstallment.js +0 -1
  31. package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
  32. package/dist/generated/client/models/PaymentSchedule.js +0 -1
  33. package/dist/index.d.ts +0 -6
  34. package/dist/index.js +0 -6
  35. package/dist/src/generated/client/client.d.ts +0 -201
  36. package/dist/src/generated/client/client.js +0 -32
  37. package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
  38. package/dist/src/generated/client/commonInputTypes.js +0 -10
  39. package/dist/src/generated/client/enums.d.ts +0 -1
  40. package/dist/src/generated/client/enums.js +0 -10
  41. package/dist/src/generated/client/internal/class.d.ts +0 -511
  42. package/dist/src/generated/client/internal/class.js +0 -40
  43. package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
  44. package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
  45. package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
  46. package/dist/src/generated/client/models/Amenity.js +0 -1
  47. package/dist/src/generated/client/models/Contract.d.ts +0 -2099
  48. package/dist/src/generated/client/models/Contract.js +0 -1
  49. package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
  50. package/dist/src/generated/client/models/ContractDocument.js +0 -1
  51. package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
  52. package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
  53. package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
  54. package/dist/src/generated/client/models/EmailPreference.js +0 -1
  55. package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
  56. package/dist/src/generated/client/models/Mortgage.js +0 -1
  57. package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
  58. package/dist/src/generated/client/models/MortgageDocument.js +0 -1
  59. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  60. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  61. package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  62. package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  63. package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  64. package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  65. package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
  66. package/dist/src/generated/client/models/MortgageStep.js +0 -1
  67. package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
  68. package/dist/src/generated/client/models/MortgageTransition.js +0 -1
  69. package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  70. package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
  71. package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
  72. package/dist/src/generated/client/models/MortgageType.js +0 -1
  73. package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
  74. package/dist/src/generated/client/models/OAuthState.js +0 -1
  75. package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
  76. package/dist/src/generated/client/models/PasswordReset.js +0 -1
  77. package/dist/src/generated/client/models/Payment.d.ts +0 -2026
  78. package/dist/src/generated/client/models/Payment.js +0 -1
  79. package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
  80. package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
  81. package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
  82. package/dist/src/generated/client/models/PaymentPlan.js +0 -1
  83. package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
  84. package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
  85. package/dist/src/generated/client/models/Permission.d.ts +0 -1115
  86. package/dist/src/generated/client/models/Permission.js +0 -1
  87. package/dist/src/generated/client/models/Property.d.ts +0 -3254
  88. package/dist/src/generated/client/models/Property.js +0 -1
  89. package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
  90. package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
  91. package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
  92. package/dist/src/generated/client/models/PropertyDocument.js +0 -1
  93. package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
  94. package/dist/src/generated/client/models/PropertyMedia.js +0 -1
  95. package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
  96. package/dist/src/generated/client/models/RefreshToken.js +0 -1
  97. package/dist/src/generated/client/models/Role.d.ts +0 -1153
  98. package/dist/src/generated/client/models/Role.js +0 -1
  99. package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
  100. package/dist/src/generated/client/models/RolePermission.js +0 -1
  101. package/dist/src/generated/client/models/Settings.d.ts +0 -916
  102. package/dist/src/generated/client/models/Settings.js +0 -1
  103. package/dist/src/generated/client/models/Social.d.ts +0 -1090
  104. package/dist/src/generated/client/models/Social.js +0 -1
  105. package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
  106. package/dist/src/generated/client/models/Tenant.js +0 -1
  107. package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
  108. package/dist/src/generated/client/models/Transaction.js +0 -1
  109. package/dist/src/generated/client/models/User.d.ts +0 -4239
  110. package/dist/src/generated/client/models/User.js +0 -1
  111. package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
  112. package/dist/src/generated/client/models/UserRole.js +0 -1
  113. package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
  114. package/dist/src/generated/client/models/UserSuspension.js +0 -1
  115. package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
  116. package/dist/src/generated/client/models/Wallet.js +0 -1
  117. package/dist/src/generated/client/models.d.ts +0 -37
  118. package/dist/src/generated/client/models.js +0 -1
@@ -1,864 +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
- *
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
- expiresAt: Date | null;
17
- createdAt: Date | null;
18
- };
19
- export type OAuthStateMaxAggregateOutputType = {
20
- id: string | null;
21
- state: string | null;
22
- expiresAt: Date | null;
23
- createdAt: Date | null;
24
- };
25
- export type OAuthStateCountAggregateOutputType = {
26
- id: number;
27
- state: number;
28
- expiresAt: number;
29
- createdAt: number;
30
- _all: number;
31
- };
32
- export type OAuthStateMinAggregateInputType = {
33
- id?: true;
34
- state?: true;
35
- expiresAt?: true;
36
- createdAt?: true;
37
- };
38
- export type OAuthStateMaxAggregateInputType = {
39
- id?: true;
40
- state?: true;
41
- expiresAt?: true;
42
- createdAt?: true;
43
- };
44
- export type OAuthStateCountAggregateInputType = {
45
- id?: true;
46
- state?: true;
47
- expiresAt?: true;
48
- createdAt?: true;
49
- _all?: true;
50
- };
51
- export type OAuthStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
52
- /**
53
- * Filter which OAuthState to aggregate.
54
- */
55
- where?: Prisma.OAuthStateWhereInput;
56
- /**
57
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
58
- *
59
- * Determine the order of OAuthStates to fetch.
60
- */
61
- orderBy?: Prisma.OAuthStateOrderByWithRelationInput | Prisma.OAuthStateOrderByWithRelationInput[];
62
- /**
63
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64
- *
65
- * Sets the start position
66
- */
67
- cursor?: Prisma.OAuthStateWhereUniqueInput;
68
- /**
69
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
- *
71
- * Take `±n` OAuthStates from the position of the cursor.
72
- */
73
- take?: number;
74
- /**
75
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76
- *
77
- * Skip the first `n` OAuthStates.
78
- */
79
- skip?: number;
80
- /**
81
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
- *
83
- * Count returned OAuthStates
84
- **/
85
- _count?: true | OAuthStateCountAggregateInputType;
86
- /**
87
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
- *
89
- * Select which fields to find the minimum value
90
- **/
91
- _min?: OAuthStateMinAggregateInputType;
92
- /**
93
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
- *
95
- * Select which fields to find the maximum value
96
- **/
97
- _max?: OAuthStateMaxAggregateInputType;
98
- };
99
- export type GetOAuthStateAggregateType<T extends OAuthStateAggregateArgs> = {
100
- [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]>;
101
- };
102
- export type OAuthStateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
103
- where?: Prisma.OAuthStateWhereInput;
104
- orderBy?: Prisma.OAuthStateOrderByWithAggregationInput | Prisma.OAuthStateOrderByWithAggregationInput[];
105
- by: Prisma.OAuthStateScalarFieldEnum[] | Prisma.OAuthStateScalarFieldEnum;
106
- having?: Prisma.OAuthStateScalarWhereWithAggregatesInput;
107
- take?: number;
108
- skip?: number;
109
- _count?: OAuthStateCountAggregateInputType | true;
110
- _min?: OAuthStateMinAggregateInputType;
111
- _max?: OAuthStateMaxAggregateInputType;
112
- };
113
- export type OAuthStateGroupByOutputType = {
114
- id: string;
115
- state: string;
116
- expiresAt: Date;
117
- createdAt: Date;
118
- _count: OAuthStateCountAggregateOutputType | null;
119
- _min: OAuthStateMinAggregateOutputType | null;
120
- _max: OAuthStateMaxAggregateOutputType | null;
121
- };
122
- type GetOAuthStateGroupByPayload<T extends OAuthStateGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OAuthStateGroupByOutputType, T['by']> & {
123
- [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]>;
124
- }>>;
125
- export type OAuthStateWhereInput = {
126
- AND?: Prisma.OAuthStateWhereInput | Prisma.OAuthStateWhereInput[];
127
- OR?: Prisma.OAuthStateWhereInput[];
128
- NOT?: Prisma.OAuthStateWhereInput | Prisma.OAuthStateWhereInput[];
129
- id?: Prisma.StringFilter<"OAuthState"> | string;
130
- state?: Prisma.StringFilter<"OAuthState"> | string;
131
- expiresAt?: Prisma.DateTimeFilter<"OAuthState"> | Date | string;
132
- createdAt?: Prisma.DateTimeFilter<"OAuthState"> | Date | string;
133
- };
134
- export type OAuthStateOrderByWithRelationInput = {
135
- id?: Prisma.SortOrder;
136
- state?: Prisma.SortOrder;
137
- expiresAt?: Prisma.SortOrder;
138
- createdAt?: Prisma.SortOrder;
139
- _relevance?: Prisma.OAuthStateOrderByRelevanceInput;
140
- };
141
- export type OAuthStateWhereUniqueInput = Prisma.AtLeast<{
142
- id?: string;
143
- state?: string;
144
- AND?: Prisma.OAuthStateWhereInput | Prisma.OAuthStateWhereInput[];
145
- OR?: Prisma.OAuthStateWhereInput[];
146
- NOT?: Prisma.OAuthStateWhereInput | Prisma.OAuthStateWhereInput[];
147
- expiresAt?: Prisma.DateTimeFilter<"OAuthState"> | Date | string;
148
- createdAt?: Prisma.DateTimeFilter<"OAuthState"> | Date | string;
149
- }, "id" | "state">;
150
- export type OAuthStateOrderByWithAggregationInput = {
151
- id?: Prisma.SortOrder;
152
- state?: Prisma.SortOrder;
153
- expiresAt?: Prisma.SortOrder;
154
- createdAt?: Prisma.SortOrder;
155
- _count?: Prisma.OAuthStateCountOrderByAggregateInput;
156
- _max?: Prisma.OAuthStateMaxOrderByAggregateInput;
157
- _min?: Prisma.OAuthStateMinOrderByAggregateInput;
158
- };
159
- export type OAuthStateScalarWhereWithAggregatesInput = {
160
- AND?: Prisma.OAuthStateScalarWhereWithAggregatesInput | Prisma.OAuthStateScalarWhereWithAggregatesInput[];
161
- OR?: Prisma.OAuthStateScalarWhereWithAggregatesInput[];
162
- NOT?: Prisma.OAuthStateScalarWhereWithAggregatesInput | Prisma.OAuthStateScalarWhereWithAggregatesInput[];
163
- id?: Prisma.StringWithAggregatesFilter<"OAuthState"> | string;
164
- state?: Prisma.StringWithAggregatesFilter<"OAuthState"> | string;
165
- expiresAt?: Prisma.DateTimeWithAggregatesFilter<"OAuthState"> | Date | string;
166
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"OAuthState"> | Date | string;
167
- };
168
- export type OAuthStateCreateInput = {
169
- id?: string;
170
- state: string;
171
- expiresAt: Date | string;
172
- createdAt?: Date | string;
173
- };
174
- export type OAuthStateUncheckedCreateInput = {
175
- id?: string;
176
- state: string;
177
- expiresAt: Date | string;
178
- createdAt?: Date | string;
179
- };
180
- export type OAuthStateUpdateInput = {
181
- id?: Prisma.StringFieldUpdateOperationsInput | string;
182
- state?: Prisma.StringFieldUpdateOperationsInput | string;
183
- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
184
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
185
- };
186
- export type OAuthStateUncheckedUpdateInput = {
187
- id?: Prisma.StringFieldUpdateOperationsInput | string;
188
- state?: Prisma.StringFieldUpdateOperationsInput | string;
189
- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
190
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
191
- };
192
- export type OAuthStateCreateManyInput = {
193
- id?: string;
194
- state: string;
195
- expiresAt: Date | string;
196
- createdAt?: Date | string;
197
- };
198
- export type OAuthStateUpdateManyMutationInput = {
199
- id?: Prisma.StringFieldUpdateOperationsInput | string;
200
- state?: Prisma.StringFieldUpdateOperationsInput | string;
201
- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
202
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
203
- };
204
- export type OAuthStateUncheckedUpdateManyInput = {
205
- id?: Prisma.StringFieldUpdateOperationsInput | string;
206
- state?: Prisma.StringFieldUpdateOperationsInput | string;
207
- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
208
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
209
- };
210
- export type OAuthStateOrderByRelevanceInput = {
211
- fields: Prisma.OAuthStateOrderByRelevanceFieldEnum | Prisma.OAuthStateOrderByRelevanceFieldEnum[];
212
- sort: Prisma.SortOrder;
213
- search: string;
214
- };
215
- export type OAuthStateCountOrderByAggregateInput = {
216
- id?: Prisma.SortOrder;
217
- state?: Prisma.SortOrder;
218
- expiresAt?: Prisma.SortOrder;
219
- createdAt?: Prisma.SortOrder;
220
- };
221
- export type OAuthStateMaxOrderByAggregateInput = {
222
- id?: Prisma.SortOrder;
223
- state?: Prisma.SortOrder;
224
- expiresAt?: Prisma.SortOrder;
225
- createdAt?: Prisma.SortOrder;
226
- };
227
- export type OAuthStateMinOrderByAggregateInput = {
228
- id?: Prisma.SortOrder;
229
- state?: Prisma.SortOrder;
230
- expiresAt?: Prisma.SortOrder;
231
- createdAt?: Prisma.SortOrder;
232
- };
233
- export type OAuthStateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
234
- id?: boolean;
235
- state?: boolean;
236
- expiresAt?: boolean;
237
- createdAt?: boolean;
238
- }, ExtArgs["result"]["oAuthState"]>;
239
- export type OAuthStateSelectScalar = {
240
- id?: boolean;
241
- state?: boolean;
242
- expiresAt?: boolean;
243
- createdAt?: boolean;
244
- };
245
- export type OAuthStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "state" | "expiresAt" | "createdAt", ExtArgs["result"]["oAuthState"]>;
246
- export type $OAuthStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
247
- name: "OAuthState";
248
- objects: {};
249
- scalars: runtime.Types.Extensions.GetPayloadResult<{
250
- id: string;
251
- state: string;
252
- expiresAt: Date;
253
- createdAt: Date;
254
- }, ExtArgs["result"]["oAuthState"]>;
255
- composites: {};
256
- };
257
- export type OAuthStateGetPayload<S extends boolean | null | undefined | OAuthStateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OAuthStatePayload, S>;
258
- export type OAuthStateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OAuthStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
259
- select?: OAuthStateCountAggregateInputType | true;
260
- };
261
- export interface OAuthStateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
262
- [K: symbol]: {
263
- types: Prisma.TypeMap<ExtArgs>['model']['OAuthState'];
264
- meta: {
265
- name: 'OAuthState';
266
- };
267
- };
268
- /**
269
- * Find zero or one OAuthState that matches the filter.
270
- * @param {OAuthStateFindUniqueArgs} args - Arguments to find a OAuthState
271
- * @example
272
- * // Get one OAuthState
273
- * const oAuthState = await prisma.oAuthState.findUnique({
274
- * where: {
275
- * // ... provide filter here
276
- * }
277
- * })
278
- */
279
- 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>;
280
- /**
281
- * Find one OAuthState that matches the filter or throw an error with `error.code='P2025'`
282
- * if no matches were found.
283
- * @param {OAuthStateFindUniqueOrThrowArgs} args - Arguments to find a OAuthState
284
- * @example
285
- * // Get one OAuthState
286
- * const oAuthState = await prisma.oAuthState.findUniqueOrThrow({
287
- * where: {
288
- * // ... provide filter here
289
- * }
290
- * })
291
- */
292
- 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>;
293
- /**
294
- * Find the first OAuthState that matches the filter.
295
- * Note, that providing `undefined` is treated as the value not being there.
296
- * Read more here: https://pris.ly/d/null-undefined
297
- * @param {OAuthStateFindFirstArgs} args - Arguments to find a OAuthState
298
- * @example
299
- * // Get one OAuthState
300
- * const oAuthState = await prisma.oAuthState.findFirst({
301
- * where: {
302
- * // ... provide filter here
303
- * }
304
- * })
305
- */
306
- 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>;
307
- /**
308
- * Find the first OAuthState that matches the filter or
309
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
310
- * Note, that providing `undefined` is treated as the value not being there.
311
- * Read more here: https://pris.ly/d/null-undefined
312
- * @param {OAuthStateFindFirstOrThrowArgs} args - Arguments to find a OAuthState
313
- * @example
314
- * // Get one OAuthState
315
- * const oAuthState = await prisma.oAuthState.findFirstOrThrow({
316
- * where: {
317
- * // ... provide filter here
318
- * }
319
- * })
320
- */
321
- 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>;
322
- /**
323
- * Find zero or more OAuthStates that matches the filter.
324
- * Note, that providing `undefined` is treated as the value not being there.
325
- * Read more here: https://pris.ly/d/null-undefined
326
- * @param {OAuthStateFindManyArgs} args - Arguments to filter and select certain fields only.
327
- * @example
328
- * // Get all OAuthStates
329
- * const oAuthStates = await prisma.oAuthState.findMany()
330
- *
331
- * // Get first 10 OAuthStates
332
- * const oAuthStates = await prisma.oAuthState.findMany({ take: 10 })
333
- *
334
- * // Only select the `id`
335
- * const oAuthStateWithIdOnly = await prisma.oAuthState.findMany({ select: { id: true } })
336
- *
337
- */
338
- findMany<T extends OAuthStateFindManyArgs>(args?: Prisma.SelectSubset<T, OAuthStateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
339
- /**
340
- * Create a OAuthState.
341
- * @param {OAuthStateCreateArgs} args - Arguments to create a OAuthState.
342
- * @example
343
- * // Create one OAuthState
344
- * const OAuthState = await prisma.oAuthState.create({
345
- * data: {
346
- * // ... data to create a OAuthState
347
- * }
348
- * })
349
- *
350
- */
351
- 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>;
352
- /**
353
- * Create many OAuthStates.
354
- * @param {OAuthStateCreateManyArgs} args - Arguments to create many OAuthStates.
355
- * @example
356
- * // Create many OAuthStates
357
- * const oAuthState = await prisma.oAuthState.createMany({
358
- * data: [
359
- * // ... provide data here
360
- * ]
361
- * })
362
- *
363
- */
364
- createMany<T extends OAuthStateCreateManyArgs>(args?: Prisma.SelectSubset<T, OAuthStateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
365
- /**
366
- * Delete a OAuthState.
367
- * @param {OAuthStateDeleteArgs} args - Arguments to delete one OAuthState.
368
- * @example
369
- * // Delete one OAuthState
370
- * const OAuthState = await prisma.oAuthState.delete({
371
- * where: {
372
- * // ... filter to delete one OAuthState
373
- * }
374
- * })
375
- *
376
- */
377
- 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>;
378
- /**
379
- * Update one OAuthState.
380
- * @param {OAuthStateUpdateArgs} args - Arguments to update one OAuthState.
381
- * @example
382
- * // Update one OAuthState
383
- * const oAuthState = await prisma.oAuthState.update({
384
- * where: {
385
- * // ... provide filter here
386
- * },
387
- * data: {
388
- * // ... provide data here
389
- * }
390
- * })
391
- *
392
- */
393
- 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>;
394
- /**
395
- * Delete zero or more OAuthStates.
396
- * @param {OAuthStateDeleteManyArgs} args - Arguments to filter OAuthStates to delete.
397
- * @example
398
- * // Delete a few OAuthStates
399
- * const { count } = await prisma.oAuthState.deleteMany({
400
- * where: {
401
- * // ... provide filter here
402
- * }
403
- * })
404
- *
405
- */
406
- deleteMany<T extends OAuthStateDeleteManyArgs>(args?: Prisma.SelectSubset<T, OAuthStateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
407
- /**
408
- * Update zero or more OAuthStates.
409
- * Note, that providing `undefined` is treated as the value not being there.
410
- * Read more here: https://pris.ly/d/null-undefined
411
- * @param {OAuthStateUpdateManyArgs} args - Arguments to update one or more rows.
412
- * @example
413
- * // Update many OAuthStates
414
- * const oAuthState = await prisma.oAuthState.updateMany({
415
- * where: {
416
- * // ... provide filter here
417
- * },
418
- * data: {
419
- * // ... provide data here
420
- * }
421
- * })
422
- *
423
- */
424
- updateMany<T extends OAuthStateUpdateManyArgs>(args: Prisma.SelectSubset<T, OAuthStateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
425
- /**
426
- * Create or update one OAuthState.
427
- * @param {OAuthStateUpsertArgs} args - Arguments to update or create a OAuthState.
428
- * @example
429
- * // Update or create a OAuthState
430
- * const oAuthState = await prisma.oAuthState.upsert({
431
- * create: {
432
- * // ... data to create a OAuthState
433
- * },
434
- * update: {
435
- * // ... in case it already exists, update
436
- * },
437
- * where: {
438
- * // ... the filter for the OAuthState we want to update
439
- * }
440
- * })
441
- */
442
- 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>;
443
- /**
444
- * Count the number of OAuthStates.
445
- * Note, that providing `undefined` is treated as the value not being there.
446
- * Read more here: https://pris.ly/d/null-undefined
447
- * @param {OAuthStateCountArgs} args - Arguments to filter OAuthStates to count.
448
- * @example
449
- * // Count the number of OAuthStates
450
- * const count = await prisma.oAuthState.count({
451
- * where: {
452
- * // ... the filter for the OAuthStates we want to count
453
- * }
454
- * })
455
- **/
456
- 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>;
457
- /**
458
- * Allows you to perform aggregations operations on a OAuthState.
459
- * Note, that providing `undefined` is treated as the value not being there.
460
- * Read more here: https://pris.ly/d/null-undefined
461
- * @param {OAuthStateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
462
- * @example
463
- * // Ordered by age ascending
464
- * // Where email contains prisma.io
465
- * // Limited to the 10 users
466
- * const aggregations = await prisma.user.aggregate({
467
- * _avg: {
468
- * age: true,
469
- * },
470
- * where: {
471
- * email: {
472
- * contains: "prisma.io",
473
- * },
474
- * },
475
- * orderBy: {
476
- * age: "asc",
477
- * },
478
- * take: 10,
479
- * })
480
- **/
481
- aggregate<T extends OAuthStateAggregateArgs>(args: Prisma.Subset<T, OAuthStateAggregateArgs>): Prisma.PrismaPromise<GetOAuthStateAggregateType<T>>;
482
- /**
483
- * Group by OAuthState.
484
- * Note, that providing `undefined` is treated as the value not being there.
485
- * Read more here: https://pris.ly/d/null-undefined
486
- * @param {OAuthStateGroupByArgs} args - Group by arguments.
487
- * @example
488
- * // Group by city, order by createdAt, get count
489
- * const result = await prisma.user.groupBy({
490
- * by: ['city', 'createdAt'],
491
- * orderBy: {
492
- * createdAt: true
493
- * },
494
- * _count: {
495
- * _all: true
496
- * },
497
- * })
498
- *
499
- **/
500
- 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 ? {
501
- orderBy: OAuthStateGroupByArgs['orderBy'];
502
- } : {
503
- orderBy?: OAuthStateGroupByArgs['orderBy'];
504
- }, 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 ? {
505
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
506
- Error,
507
- 'Field ',
508
- P,
509
- ` in "having" needs to be provided in "by"`
510
- ];
511
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
512
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
513
- }[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 ? {} : {
514
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
515
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
516
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
517
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, OAuthStateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOAuthStateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
518
- /**
519
- * Fields of the OAuthState model
520
- */
521
- readonly fields: OAuthStateFieldRefs;
522
- }
523
- /**
524
- * The delegate class that acts as a "Promise-like" for OAuthState.
525
- * Why is this prefixed with `Prisma__`?
526
- * Because we want to prevent naming conflicts as mentioned in
527
- * https://github.com/prisma/prisma-client-js/issues/707
528
- */
529
- export interface Prisma__OAuthStateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
530
- readonly [Symbol.toStringTag]: "PrismaPromise";
531
- /**
532
- * Attaches callbacks for the resolution and/or rejection of the Promise.
533
- * @param onfulfilled The callback to execute when the Promise is resolved.
534
- * @param onrejected The callback to execute when the Promise is rejected.
535
- * @returns A Promise for the completion of which ever callback is executed.
536
- */
537
- 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>;
538
- /**
539
- * Attaches a callback for only the rejection of the Promise.
540
- * @param onrejected The callback to execute when the Promise is rejected.
541
- * @returns A Promise for the completion of the callback.
542
- */
543
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
544
- /**
545
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
546
- * resolved value cannot be modified from the callback.
547
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
548
- * @returns A Promise for the completion of the callback.
549
- */
550
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
551
- }
552
- /**
553
- * Fields of the OAuthState model
554
- */
555
- export interface OAuthStateFieldRefs {
556
- readonly id: Prisma.FieldRef<"OAuthState", 'String'>;
557
- readonly state: Prisma.FieldRef<"OAuthState", 'String'>;
558
- readonly expiresAt: Prisma.FieldRef<"OAuthState", 'DateTime'>;
559
- readonly createdAt: Prisma.FieldRef<"OAuthState", 'DateTime'>;
560
- }
561
- /**
562
- * OAuthState findUnique
563
- */
564
- export type OAuthStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
565
- /**
566
- * Select specific fields to fetch from the OAuthState
567
- */
568
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
569
- /**
570
- * Omit specific fields from the OAuthState
571
- */
572
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
573
- /**
574
- * Filter, which OAuthState to fetch.
575
- */
576
- where: Prisma.OAuthStateWhereUniqueInput;
577
- };
578
- /**
579
- * OAuthState findUniqueOrThrow
580
- */
581
- export type OAuthStateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
582
- /**
583
- * Select specific fields to fetch from the OAuthState
584
- */
585
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
586
- /**
587
- * Omit specific fields from the OAuthState
588
- */
589
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
590
- /**
591
- * Filter, which OAuthState to fetch.
592
- */
593
- where: Prisma.OAuthStateWhereUniqueInput;
594
- };
595
- /**
596
- * OAuthState findFirst
597
- */
598
- export type OAuthStateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
599
- /**
600
- * Select specific fields to fetch from the OAuthState
601
- */
602
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
603
- /**
604
- * Omit specific fields from the OAuthState
605
- */
606
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
607
- /**
608
- * Filter, which OAuthState to fetch.
609
- */
610
- where?: Prisma.OAuthStateWhereInput;
611
- /**
612
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
613
- *
614
- * Determine the order of OAuthStates to fetch.
615
- */
616
- orderBy?: Prisma.OAuthStateOrderByWithRelationInput | Prisma.OAuthStateOrderByWithRelationInput[];
617
- /**
618
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
619
- *
620
- * Sets the position for searching for OAuthStates.
621
- */
622
- cursor?: Prisma.OAuthStateWhereUniqueInput;
623
- /**
624
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
625
- *
626
- * Take `±n` OAuthStates from the position of the cursor.
627
- */
628
- take?: number;
629
- /**
630
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
631
- *
632
- * Skip the first `n` OAuthStates.
633
- */
634
- skip?: number;
635
- /**
636
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
637
- *
638
- * Filter by unique combinations of OAuthStates.
639
- */
640
- distinct?: Prisma.OAuthStateScalarFieldEnum | Prisma.OAuthStateScalarFieldEnum[];
641
- };
642
- /**
643
- * OAuthState findFirstOrThrow
644
- */
645
- export type OAuthStateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646
- /**
647
- * Select specific fields to fetch from the OAuthState
648
- */
649
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
650
- /**
651
- * Omit specific fields from the OAuthState
652
- */
653
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
654
- /**
655
- * Filter, which OAuthState to fetch.
656
- */
657
- where?: Prisma.OAuthStateWhereInput;
658
- /**
659
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
660
- *
661
- * Determine the order of OAuthStates to fetch.
662
- */
663
- orderBy?: Prisma.OAuthStateOrderByWithRelationInput | Prisma.OAuthStateOrderByWithRelationInput[];
664
- /**
665
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
666
- *
667
- * Sets the position for searching for OAuthStates.
668
- */
669
- cursor?: Prisma.OAuthStateWhereUniqueInput;
670
- /**
671
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
672
- *
673
- * Take `±n` OAuthStates from the position of the cursor.
674
- */
675
- take?: number;
676
- /**
677
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
678
- *
679
- * Skip the first `n` OAuthStates.
680
- */
681
- skip?: number;
682
- /**
683
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
684
- *
685
- * Filter by unique combinations of OAuthStates.
686
- */
687
- distinct?: Prisma.OAuthStateScalarFieldEnum | Prisma.OAuthStateScalarFieldEnum[];
688
- };
689
- /**
690
- * OAuthState findMany
691
- */
692
- export type OAuthStateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
693
- /**
694
- * Select specific fields to fetch from the OAuthState
695
- */
696
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
697
- /**
698
- * Omit specific fields from the OAuthState
699
- */
700
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
701
- /**
702
- * Filter, which OAuthStates to fetch.
703
- */
704
- where?: Prisma.OAuthStateWhereInput;
705
- /**
706
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
707
- *
708
- * Determine the order of OAuthStates to fetch.
709
- */
710
- orderBy?: Prisma.OAuthStateOrderByWithRelationInput | Prisma.OAuthStateOrderByWithRelationInput[];
711
- /**
712
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
713
- *
714
- * Sets the position for listing OAuthStates.
715
- */
716
- cursor?: Prisma.OAuthStateWhereUniqueInput;
717
- /**
718
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
719
- *
720
- * Take `±n` OAuthStates from the position of the cursor.
721
- */
722
- take?: number;
723
- /**
724
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
725
- *
726
- * Skip the first `n` OAuthStates.
727
- */
728
- skip?: number;
729
- distinct?: Prisma.OAuthStateScalarFieldEnum | Prisma.OAuthStateScalarFieldEnum[];
730
- };
731
- /**
732
- * OAuthState create
733
- */
734
- export type OAuthStateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
735
- /**
736
- * Select specific fields to fetch from the OAuthState
737
- */
738
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
739
- /**
740
- * Omit specific fields from the OAuthState
741
- */
742
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
743
- /**
744
- * The data needed to create a OAuthState.
745
- */
746
- data: Prisma.XOR<Prisma.OAuthStateCreateInput, Prisma.OAuthStateUncheckedCreateInput>;
747
- };
748
- /**
749
- * OAuthState createMany
750
- */
751
- export type OAuthStateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
752
- /**
753
- * The data used to create many OAuthStates.
754
- */
755
- data: Prisma.OAuthStateCreateManyInput | Prisma.OAuthStateCreateManyInput[];
756
- skipDuplicates?: boolean;
757
- };
758
- /**
759
- * OAuthState update
760
- */
761
- export type OAuthStateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
- /**
763
- * Select specific fields to fetch from the OAuthState
764
- */
765
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
766
- /**
767
- * Omit specific fields from the OAuthState
768
- */
769
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
770
- /**
771
- * The data needed to update a OAuthState.
772
- */
773
- data: Prisma.XOR<Prisma.OAuthStateUpdateInput, Prisma.OAuthStateUncheckedUpdateInput>;
774
- /**
775
- * Choose, which OAuthState to update.
776
- */
777
- where: Prisma.OAuthStateWhereUniqueInput;
778
- };
779
- /**
780
- * OAuthState updateMany
781
- */
782
- export type OAuthStateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
783
- /**
784
- * The data used to update OAuthStates.
785
- */
786
- data: Prisma.XOR<Prisma.OAuthStateUpdateManyMutationInput, Prisma.OAuthStateUncheckedUpdateManyInput>;
787
- /**
788
- * Filter which OAuthStates to update
789
- */
790
- where?: Prisma.OAuthStateWhereInput;
791
- /**
792
- * Limit how many OAuthStates to update.
793
- */
794
- limit?: number;
795
- };
796
- /**
797
- * OAuthState upsert
798
- */
799
- export type OAuthStateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
800
- /**
801
- * Select specific fields to fetch from the OAuthState
802
- */
803
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
804
- /**
805
- * Omit specific fields from the OAuthState
806
- */
807
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
808
- /**
809
- * The filter to search for the OAuthState to update in case it exists.
810
- */
811
- where: Prisma.OAuthStateWhereUniqueInput;
812
- /**
813
- * In case the OAuthState found by the `where` argument doesn't exist, create a new OAuthState with this data.
814
- */
815
- create: Prisma.XOR<Prisma.OAuthStateCreateInput, Prisma.OAuthStateUncheckedCreateInput>;
816
- /**
817
- * In case the OAuthState was found with the provided `where` argument, update it with this data.
818
- */
819
- update: Prisma.XOR<Prisma.OAuthStateUpdateInput, Prisma.OAuthStateUncheckedUpdateInput>;
820
- };
821
- /**
822
- * OAuthState delete
823
- */
824
- export type OAuthStateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
825
- /**
826
- * Select specific fields to fetch from the OAuthState
827
- */
828
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
829
- /**
830
- * Omit specific fields from the OAuthState
831
- */
832
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
833
- /**
834
- * Filter which OAuthState to delete.
835
- */
836
- where: Prisma.OAuthStateWhereUniqueInput;
837
- };
838
- /**
839
- * OAuthState deleteMany
840
- */
841
- export type OAuthStateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
842
- /**
843
- * Filter which OAuthStates to delete
844
- */
845
- where?: Prisma.OAuthStateWhereInput;
846
- /**
847
- * Limit how many OAuthStates to delete.
848
- */
849
- limit?: number;
850
- };
851
- /**
852
- * OAuthState without action
853
- */
854
- export type OAuthStateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
855
- /**
856
- * Select specific fields to fetch from the OAuthState
857
- */
858
- select?: Prisma.OAuthStateSelect<ExtArgs> | null;
859
- /**
860
- * Omit specific fields from the OAuthState
861
- */
862
- omit?: Prisma.OAuthStateOmit<ExtArgs> | null;
863
- };
864
- export {};