@allbluecn/database 0.14.5 → 0.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/browser.ts +40 -0
- package/generated/client.ts +40 -0
- package/generated/internal/class.ts +84 -4
- package/generated/internal/prismaNamespace.ts +756 -2
- package/generated/internal/prismaNamespaceBrowser.ts +155 -1
- package/generated/models/HarnessConnectorAccount.ts +1291 -0
- package/generated/models/HarnessFeedback.ts +1240 -0
- package/generated/models/HarnessMcpServer.ts +1445 -0
- package/generated/models/HarnessOutbox.ts +1560 -0
- package/generated/models/HarnessSchedule.ts +1749 -0
- package/generated/models/HarnessScheduleOccurrence.ts +1716 -0
- package/generated/models/HarnessSessionSearchDocument.ts +1626 -0
- package/generated/models/HarnessSessionSearchToken.ts +1326 -0
- package/generated/models.ts +8 -0
- package/migrations/20261125020753_harness_p1_foundation/migration.sql +217 -0
- package/migrations/20261125020853_sync_overlay_harness_p1/migration.sql +515 -0
- package/package.json +2 -2
- package/schema.prisma +173 -0
|
@@ -0,0 +1,1291 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `HarnessConnectorAccount` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model HarnessConnectorAccount
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type HarnessConnectorAccountModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessConnectorAccountPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateHarnessConnectorAccount = {
|
|
22
|
+
_count: HarnessConnectorAccountCountAggregateOutputType | null
|
|
23
|
+
_min: HarnessConnectorAccountMinAggregateOutputType | null
|
|
24
|
+
_max: HarnessConnectorAccountMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type HarnessConnectorAccountMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
userId: string | null
|
|
30
|
+
kind: string | null
|
|
31
|
+
provider: string | null
|
|
32
|
+
label: string | null
|
|
33
|
+
secretCipher: string | null
|
|
34
|
+
expiresAt: Date | null
|
|
35
|
+
createdAt: Date | null
|
|
36
|
+
updatedAt: Date | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type HarnessConnectorAccountMaxAggregateOutputType = {
|
|
40
|
+
id: string | null
|
|
41
|
+
userId: string | null
|
|
42
|
+
kind: string | null
|
|
43
|
+
provider: string | null
|
|
44
|
+
label: string | null
|
|
45
|
+
secretCipher: string | null
|
|
46
|
+
expiresAt: Date | null
|
|
47
|
+
createdAt: Date | null
|
|
48
|
+
updatedAt: Date | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type HarnessConnectorAccountCountAggregateOutputType = {
|
|
52
|
+
id: number
|
|
53
|
+
userId: number
|
|
54
|
+
kind: number
|
|
55
|
+
provider: number
|
|
56
|
+
label: number
|
|
57
|
+
secretCipher: number
|
|
58
|
+
metadata: number
|
|
59
|
+
expiresAt: number
|
|
60
|
+
createdAt: number
|
|
61
|
+
updatedAt: number
|
|
62
|
+
_all: number
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
export type HarnessConnectorAccountMinAggregateInputType = {
|
|
67
|
+
id?: true
|
|
68
|
+
userId?: true
|
|
69
|
+
kind?: true
|
|
70
|
+
provider?: true
|
|
71
|
+
label?: true
|
|
72
|
+
secretCipher?: true
|
|
73
|
+
expiresAt?: true
|
|
74
|
+
createdAt?: true
|
|
75
|
+
updatedAt?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type HarnessConnectorAccountMaxAggregateInputType = {
|
|
79
|
+
id?: true
|
|
80
|
+
userId?: true
|
|
81
|
+
kind?: true
|
|
82
|
+
provider?: true
|
|
83
|
+
label?: true
|
|
84
|
+
secretCipher?: true
|
|
85
|
+
expiresAt?: true
|
|
86
|
+
createdAt?: true
|
|
87
|
+
updatedAt?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type HarnessConnectorAccountCountAggregateInputType = {
|
|
91
|
+
id?: true
|
|
92
|
+
userId?: true
|
|
93
|
+
kind?: true
|
|
94
|
+
provider?: true
|
|
95
|
+
label?: true
|
|
96
|
+
secretCipher?: true
|
|
97
|
+
metadata?: true
|
|
98
|
+
expiresAt?: true
|
|
99
|
+
createdAt?: true
|
|
100
|
+
updatedAt?: true
|
|
101
|
+
_all?: true
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type HarnessConnectorAccountAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
105
|
+
/**
|
|
106
|
+
* Filter which HarnessConnectorAccount to aggregate.
|
|
107
|
+
*/
|
|
108
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
111
|
+
*
|
|
112
|
+
* Determine the order of HarnessConnectorAccounts to fetch.
|
|
113
|
+
*/
|
|
114
|
+
orderBy?: Prisma.HarnessConnectorAccountOrderByWithRelationInput | Prisma.HarnessConnectorAccountOrderByWithRelationInput[]
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
117
|
+
*
|
|
118
|
+
* Sets the start position
|
|
119
|
+
*/
|
|
120
|
+
cursor?: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
123
|
+
*
|
|
124
|
+
* Take `±n` HarnessConnectorAccounts from the position of the cursor.
|
|
125
|
+
*/
|
|
126
|
+
take?: number
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
+
*
|
|
130
|
+
* Skip the first `n` HarnessConnectorAccounts.
|
|
131
|
+
*/
|
|
132
|
+
skip?: number
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Count returned HarnessConnectorAccounts
|
|
137
|
+
**/
|
|
138
|
+
_count?: true | HarnessConnectorAccountCountAggregateInputType
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the minimum value
|
|
143
|
+
**/
|
|
144
|
+
_min?: HarnessConnectorAccountMinAggregateInputType
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to find the maximum value
|
|
149
|
+
**/
|
|
150
|
+
_max?: HarnessConnectorAccountMaxAggregateInputType
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export type GetHarnessConnectorAccountAggregateType<T extends HarnessConnectorAccountAggregateArgs> = {
|
|
154
|
+
[P in keyof T & keyof AggregateHarnessConnectorAccount]: P extends '_count' | 'count'
|
|
155
|
+
? T[P] extends true
|
|
156
|
+
? number
|
|
157
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessConnectorAccount[P]>
|
|
158
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessConnectorAccount[P]>
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
export type HarnessConnectorAccountGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
165
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
166
|
+
orderBy?: Prisma.HarnessConnectorAccountOrderByWithAggregationInput | Prisma.HarnessConnectorAccountOrderByWithAggregationInput[]
|
|
167
|
+
by: Prisma.HarnessConnectorAccountScalarFieldEnum[] | Prisma.HarnessConnectorAccountScalarFieldEnum
|
|
168
|
+
having?: Prisma.HarnessConnectorAccountScalarWhereWithAggregatesInput
|
|
169
|
+
take?: number
|
|
170
|
+
skip?: number
|
|
171
|
+
_count?: HarnessConnectorAccountCountAggregateInputType | true
|
|
172
|
+
_min?: HarnessConnectorAccountMinAggregateInputType
|
|
173
|
+
_max?: HarnessConnectorAccountMaxAggregateInputType
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export type HarnessConnectorAccountGroupByOutputType = {
|
|
177
|
+
id: string
|
|
178
|
+
userId: string
|
|
179
|
+
kind: string
|
|
180
|
+
provider: string
|
|
181
|
+
label: string
|
|
182
|
+
secretCipher: string
|
|
183
|
+
metadata: runtime.JsonValue | null
|
|
184
|
+
expiresAt: Date | null
|
|
185
|
+
createdAt: Date
|
|
186
|
+
updatedAt: Date
|
|
187
|
+
_count: HarnessConnectorAccountCountAggregateOutputType | null
|
|
188
|
+
_min: HarnessConnectorAccountMinAggregateOutputType | null
|
|
189
|
+
_max: HarnessConnectorAccountMaxAggregateOutputType | null
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export type GetHarnessConnectorAccountGroupByPayload<T extends HarnessConnectorAccountGroupByArgs> = Prisma.PrismaPromise<
|
|
193
|
+
Array<
|
|
194
|
+
Prisma.PickEnumerable<HarnessConnectorAccountGroupByOutputType, T['by']> &
|
|
195
|
+
{
|
|
196
|
+
[P in ((keyof T) & (keyof HarnessConnectorAccountGroupByOutputType))]: P extends '_count'
|
|
197
|
+
? T[P] extends boolean
|
|
198
|
+
? number
|
|
199
|
+
: Prisma.GetScalarType<T[P], HarnessConnectorAccountGroupByOutputType[P]>
|
|
200
|
+
: Prisma.GetScalarType<T[P], HarnessConnectorAccountGroupByOutputType[P]>
|
|
201
|
+
}
|
|
202
|
+
>
|
|
203
|
+
>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
export type HarnessConnectorAccountWhereInput = {
|
|
208
|
+
AND?: Prisma.HarnessConnectorAccountWhereInput | Prisma.HarnessConnectorAccountWhereInput[]
|
|
209
|
+
OR?: Prisma.HarnessConnectorAccountWhereInput[]
|
|
210
|
+
NOT?: Prisma.HarnessConnectorAccountWhereInput | Prisma.HarnessConnectorAccountWhereInput[]
|
|
211
|
+
id?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
212
|
+
userId?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
213
|
+
kind?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
214
|
+
provider?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
215
|
+
label?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
216
|
+
secretCipher?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
217
|
+
metadata?: Prisma.JsonNullableFilter<"HarnessConnectorAccount">
|
|
218
|
+
expiresAt?: Prisma.DateTimeNullableFilter<"HarnessConnectorAccount"> | Date | string | null
|
|
219
|
+
createdAt?: Prisma.DateTimeFilter<"HarnessConnectorAccount"> | Date | string
|
|
220
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessConnectorAccount"> | Date | string
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export type HarnessConnectorAccountOrderByWithRelationInput = {
|
|
224
|
+
id?: Prisma.SortOrder
|
|
225
|
+
userId?: Prisma.SortOrder
|
|
226
|
+
kind?: Prisma.SortOrder
|
|
227
|
+
provider?: Prisma.SortOrder
|
|
228
|
+
label?: Prisma.SortOrder
|
|
229
|
+
secretCipher?: Prisma.SortOrder
|
|
230
|
+
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
231
|
+
expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
232
|
+
createdAt?: Prisma.SortOrder
|
|
233
|
+
updatedAt?: Prisma.SortOrder
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type HarnessConnectorAccountWhereUniqueInput = Prisma.AtLeast<{
|
|
237
|
+
id?: string
|
|
238
|
+
userId_kind_provider_label?: Prisma.HarnessConnectorAccountUserIdKindProviderLabelCompoundUniqueInput
|
|
239
|
+
AND?: Prisma.HarnessConnectorAccountWhereInput | Prisma.HarnessConnectorAccountWhereInput[]
|
|
240
|
+
OR?: Prisma.HarnessConnectorAccountWhereInput[]
|
|
241
|
+
NOT?: Prisma.HarnessConnectorAccountWhereInput | Prisma.HarnessConnectorAccountWhereInput[]
|
|
242
|
+
userId?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
243
|
+
kind?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
244
|
+
provider?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
245
|
+
label?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
246
|
+
secretCipher?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
|
|
247
|
+
metadata?: Prisma.JsonNullableFilter<"HarnessConnectorAccount">
|
|
248
|
+
expiresAt?: Prisma.DateTimeNullableFilter<"HarnessConnectorAccount"> | Date | string | null
|
|
249
|
+
createdAt?: Prisma.DateTimeFilter<"HarnessConnectorAccount"> | Date | string
|
|
250
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessConnectorAccount"> | Date | string
|
|
251
|
+
}, "id" | "userId_kind_provider_label">
|
|
252
|
+
|
|
253
|
+
export type HarnessConnectorAccountOrderByWithAggregationInput = {
|
|
254
|
+
id?: Prisma.SortOrder
|
|
255
|
+
userId?: Prisma.SortOrder
|
|
256
|
+
kind?: Prisma.SortOrder
|
|
257
|
+
provider?: Prisma.SortOrder
|
|
258
|
+
label?: Prisma.SortOrder
|
|
259
|
+
secretCipher?: Prisma.SortOrder
|
|
260
|
+
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
261
|
+
expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
262
|
+
createdAt?: Prisma.SortOrder
|
|
263
|
+
updatedAt?: Prisma.SortOrder
|
|
264
|
+
_count?: Prisma.HarnessConnectorAccountCountOrderByAggregateInput
|
|
265
|
+
_max?: Prisma.HarnessConnectorAccountMaxOrderByAggregateInput
|
|
266
|
+
_min?: Prisma.HarnessConnectorAccountMinOrderByAggregateInput
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export type HarnessConnectorAccountScalarWhereWithAggregatesInput = {
|
|
270
|
+
AND?: Prisma.HarnessConnectorAccountScalarWhereWithAggregatesInput | Prisma.HarnessConnectorAccountScalarWhereWithAggregatesInput[]
|
|
271
|
+
OR?: Prisma.HarnessConnectorAccountScalarWhereWithAggregatesInput[]
|
|
272
|
+
NOT?: Prisma.HarnessConnectorAccountScalarWhereWithAggregatesInput | Prisma.HarnessConnectorAccountScalarWhereWithAggregatesInput[]
|
|
273
|
+
id?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
|
|
274
|
+
userId?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
|
|
275
|
+
kind?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
|
|
276
|
+
provider?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
|
|
277
|
+
label?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
|
|
278
|
+
secretCipher?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
|
|
279
|
+
metadata?: Prisma.JsonNullableWithAggregatesFilter<"HarnessConnectorAccount">
|
|
280
|
+
expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessConnectorAccount"> | Date | string | null
|
|
281
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessConnectorAccount"> | Date | string
|
|
282
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessConnectorAccount"> | Date | string
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type HarnessConnectorAccountCreateInput = {
|
|
286
|
+
id?: string
|
|
287
|
+
userId: string
|
|
288
|
+
kind: string
|
|
289
|
+
provider: string
|
|
290
|
+
label: string
|
|
291
|
+
secretCipher: string
|
|
292
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
293
|
+
expiresAt?: Date | string | null
|
|
294
|
+
createdAt?: Date | string
|
|
295
|
+
updatedAt?: Date | string
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type HarnessConnectorAccountUncheckedCreateInput = {
|
|
299
|
+
id?: string
|
|
300
|
+
userId: string
|
|
301
|
+
kind: string
|
|
302
|
+
provider: string
|
|
303
|
+
label: string
|
|
304
|
+
secretCipher: string
|
|
305
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
306
|
+
expiresAt?: Date | string | null
|
|
307
|
+
createdAt?: Date | string
|
|
308
|
+
updatedAt?: Date | string
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type HarnessConnectorAccountUpdateInput = {
|
|
312
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
313
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
316
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
317
|
+
secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
|
|
318
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
319
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
320
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
321
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type HarnessConnectorAccountUncheckedUpdateInput = {
|
|
325
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
326
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
327
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
328
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
329
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
330
|
+
secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
|
|
331
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
332
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
333
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
334
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type HarnessConnectorAccountCreateManyInput = {
|
|
338
|
+
id?: string
|
|
339
|
+
userId: string
|
|
340
|
+
kind: string
|
|
341
|
+
provider: string
|
|
342
|
+
label: string
|
|
343
|
+
secretCipher: string
|
|
344
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
345
|
+
expiresAt?: Date | string | null
|
|
346
|
+
createdAt?: Date | string
|
|
347
|
+
updatedAt?: Date | string
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type HarnessConnectorAccountUpdateManyMutationInput = {
|
|
351
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
352
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
353
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
354
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
355
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
356
|
+
secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
|
|
357
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
358
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
359
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
360
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type HarnessConnectorAccountUncheckedUpdateManyInput = {
|
|
364
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
365
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
366
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
367
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string
|
|
368
|
+
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
369
|
+
secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
|
|
370
|
+
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
371
|
+
expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
372
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
373
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export type HarnessConnectorAccountUserIdKindProviderLabelCompoundUniqueInput = {
|
|
377
|
+
userId: string
|
|
378
|
+
kind: string
|
|
379
|
+
provider: string
|
|
380
|
+
label: string
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type HarnessConnectorAccountCountOrderByAggregateInput = {
|
|
384
|
+
id?: Prisma.SortOrder
|
|
385
|
+
userId?: Prisma.SortOrder
|
|
386
|
+
kind?: Prisma.SortOrder
|
|
387
|
+
provider?: Prisma.SortOrder
|
|
388
|
+
label?: Prisma.SortOrder
|
|
389
|
+
secretCipher?: Prisma.SortOrder
|
|
390
|
+
metadata?: Prisma.SortOrder
|
|
391
|
+
expiresAt?: Prisma.SortOrder
|
|
392
|
+
createdAt?: Prisma.SortOrder
|
|
393
|
+
updatedAt?: Prisma.SortOrder
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type HarnessConnectorAccountMaxOrderByAggregateInput = {
|
|
397
|
+
id?: Prisma.SortOrder
|
|
398
|
+
userId?: Prisma.SortOrder
|
|
399
|
+
kind?: Prisma.SortOrder
|
|
400
|
+
provider?: Prisma.SortOrder
|
|
401
|
+
label?: Prisma.SortOrder
|
|
402
|
+
secretCipher?: Prisma.SortOrder
|
|
403
|
+
expiresAt?: Prisma.SortOrder
|
|
404
|
+
createdAt?: Prisma.SortOrder
|
|
405
|
+
updatedAt?: Prisma.SortOrder
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type HarnessConnectorAccountMinOrderByAggregateInput = {
|
|
409
|
+
id?: Prisma.SortOrder
|
|
410
|
+
userId?: Prisma.SortOrder
|
|
411
|
+
kind?: Prisma.SortOrder
|
|
412
|
+
provider?: Prisma.SortOrder
|
|
413
|
+
label?: Prisma.SortOrder
|
|
414
|
+
secretCipher?: Prisma.SortOrder
|
|
415
|
+
expiresAt?: Prisma.SortOrder
|
|
416
|
+
createdAt?: Prisma.SortOrder
|
|
417
|
+
updatedAt?: Prisma.SortOrder
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
export type HarnessConnectorAccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
423
|
+
id?: boolean
|
|
424
|
+
userId?: boolean
|
|
425
|
+
kind?: boolean
|
|
426
|
+
provider?: boolean
|
|
427
|
+
label?: boolean
|
|
428
|
+
secretCipher?: boolean
|
|
429
|
+
metadata?: boolean
|
|
430
|
+
expiresAt?: boolean
|
|
431
|
+
createdAt?: boolean
|
|
432
|
+
updatedAt?: boolean
|
|
433
|
+
}, ExtArgs["result"]["harnessConnectorAccount"]>
|
|
434
|
+
|
|
435
|
+
export type HarnessConnectorAccountSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
436
|
+
id?: boolean
|
|
437
|
+
userId?: boolean
|
|
438
|
+
kind?: boolean
|
|
439
|
+
provider?: boolean
|
|
440
|
+
label?: boolean
|
|
441
|
+
secretCipher?: boolean
|
|
442
|
+
metadata?: boolean
|
|
443
|
+
expiresAt?: boolean
|
|
444
|
+
createdAt?: boolean
|
|
445
|
+
updatedAt?: boolean
|
|
446
|
+
}, ExtArgs["result"]["harnessConnectorAccount"]>
|
|
447
|
+
|
|
448
|
+
export type HarnessConnectorAccountSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
449
|
+
id?: boolean
|
|
450
|
+
userId?: boolean
|
|
451
|
+
kind?: boolean
|
|
452
|
+
provider?: boolean
|
|
453
|
+
label?: boolean
|
|
454
|
+
secretCipher?: boolean
|
|
455
|
+
metadata?: boolean
|
|
456
|
+
expiresAt?: boolean
|
|
457
|
+
createdAt?: boolean
|
|
458
|
+
updatedAt?: boolean
|
|
459
|
+
}, ExtArgs["result"]["harnessConnectorAccount"]>
|
|
460
|
+
|
|
461
|
+
export type HarnessConnectorAccountSelectScalar = {
|
|
462
|
+
id?: boolean
|
|
463
|
+
userId?: boolean
|
|
464
|
+
kind?: boolean
|
|
465
|
+
provider?: boolean
|
|
466
|
+
label?: boolean
|
|
467
|
+
secretCipher?: boolean
|
|
468
|
+
metadata?: boolean
|
|
469
|
+
expiresAt?: boolean
|
|
470
|
+
createdAt?: boolean
|
|
471
|
+
updatedAt?: boolean
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export type HarnessConnectorAccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "kind" | "provider" | "label" | "secretCipher" | "metadata" | "expiresAt" | "createdAt" | "updatedAt", ExtArgs["result"]["harnessConnectorAccount"]>
|
|
475
|
+
|
|
476
|
+
export type $HarnessConnectorAccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
477
|
+
name: "HarnessConnectorAccount"
|
|
478
|
+
objects: {}
|
|
479
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
480
|
+
id: string
|
|
481
|
+
userId: string
|
|
482
|
+
kind: string
|
|
483
|
+
provider: string
|
|
484
|
+
label: string
|
|
485
|
+
secretCipher: string
|
|
486
|
+
metadata: runtime.JsonValue | null
|
|
487
|
+
expiresAt: Date | null
|
|
488
|
+
createdAt: Date
|
|
489
|
+
updatedAt: Date
|
|
490
|
+
}, ExtArgs["result"]["harnessConnectorAccount"]>
|
|
491
|
+
composites: {}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type HarnessConnectorAccountGetPayload<S extends boolean | null | undefined | HarnessConnectorAccountDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload, S>
|
|
495
|
+
|
|
496
|
+
export type HarnessConnectorAccountCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
497
|
+
Omit<HarnessConnectorAccountFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
498
|
+
select?: HarnessConnectorAccountCountAggregateInputType | true
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export interface HarnessConnectorAccountDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
502
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessConnectorAccount'], meta: { name: 'HarnessConnectorAccount' } }
|
|
503
|
+
/**
|
|
504
|
+
* Find zero or one HarnessConnectorAccount that matches the filter.
|
|
505
|
+
* @param {HarnessConnectorAccountFindUniqueArgs} args - Arguments to find a HarnessConnectorAccount
|
|
506
|
+
* @example
|
|
507
|
+
* // Get one HarnessConnectorAccount
|
|
508
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.findUnique({
|
|
509
|
+
* where: {
|
|
510
|
+
* // ... provide filter here
|
|
511
|
+
* }
|
|
512
|
+
* })
|
|
513
|
+
*/
|
|
514
|
+
findUnique<T extends HarnessConnectorAccountFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Find one HarnessConnectorAccount that matches the filter or throw an error with `error.code='P2025'`
|
|
518
|
+
* if no matches were found.
|
|
519
|
+
* @param {HarnessConnectorAccountFindUniqueOrThrowArgs} args - Arguments to find a HarnessConnectorAccount
|
|
520
|
+
* @example
|
|
521
|
+
* // Get one HarnessConnectorAccount
|
|
522
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.findUniqueOrThrow({
|
|
523
|
+
* where: {
|
|
524
|
+
* // ... provide filter here
|
|
525
|
+
* }
|
|
526
|
+
* })
|
|
527
|
+
*/
|
|
528
|
+
findUniqueOrThrow<T extends HarnessConnectorAccountFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Find the first HarnessConnectorAccount that matches the filter.
|
|
532
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
533
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
534
|
+
* @param {HarnessConnectorAccountFindFirstArgs} args - Arguments to find a HarnessConnectorAccount
|
|
535
|
+
* @example
|
|
536
|
+
* // Get one HarnessConnectorAccount
|
|
537
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.findFirst({
|
|
538
|
+
* where: {
|
|
539
|
+
* // ... provide filter here
|
|
540
|
+
* }
|
|
541
|
+
* })
|
|
542
|
+
*/
|
|
543
|
+
findFirst<T extends HarnessConnectorAccountFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessConnectorAccountFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Find the first HarnessConnectorAccount that matches the filter or
|
|
547
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
548
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
549
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
550
|
+
* @param {HarnessConnectorAccountFindFirstOrThrowArgs} args - Arguments to find a HarnessConnectorAccount
|
|
551
|
+
* @example
|
|
552
|
+
* // Get one HarnessConnectorAccount
|
|
553
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.findFirstOrThrow({
|
|
554
|
+
* where: {
|
|
555
|
+
* // ... provide filter here
|
|
556
|
+
* }
|
|
557
|
+
* })
|
|
558
|
+
*/
|
|
559
|
+
findFirstOrThrow<T extends HarnessConnectorAccountFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessConnectorAccountFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Find zero or more HarnessConnectorAccounts that matches the filter.
|
|
563
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
564
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
565
|
+
* @param {HarnessConnectorAccountFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
566
|
+
* @example
|
|
567
|
+
* // Get all HarnessConnectorAccounts
|
|
568
|
+
* const harnessConnectorAccounts = await prisma.harnessConnectorAccount.findMany()
|
|
569
|
+
*
|
|
570
|
+
* // Get first 10 HarnessConnectorAccounts
|
|
571
|
+
* const harnessConnectorAccounts = await prisma.harnessConnectorAccount.findMany({ take: 10 })
|
|
572
|
+
*
|
|
573
|
+
* // Only select the `id`
|
|
574
|
+
* const harnessConnectorAccountWithIdOnly = await prisma.harnessConnectorAccount.findMany({ select: { id: true } })
|
|
575
|
+
*
|
|
576
|
+
*/
|
|
577
|
+
findMany<T extends HarnessConnectorAccountFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessConnectorAccountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Create a HarnessConnectorAccount.
|
|
581
|
+
* @param {HarnessConnectorAccountCreateArgs} args - Arguments to create a HarnessConnectorAccount.
|
|
582
|
+
* @example
|
|
583
|
+
* // Create one HarnessConnectorAccount
|
|
584
|
+
* const HarnessConnectorAccount = await prisma.harnessConnectorAccount.create({
|
|
585
|
+
* data: {
|
|
586
|
+
* // ... data to create a HarnessConnectorAccount
|
|
587
|
+
* }
|
|
588
|
+
* })
|
|
589
|
+
*
|
|
590
|
+
*/
|
|
591
|
+
create<T extends HarnessConnectorAccountCreateArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Create many HarnessConnectorAccounts.
|
|
595
|
+
* @param {HarnessConnectorAccountCreateManyArgs} args - Arguments to create many HarnessConnectorAccounts.
|
|
596
|
+
* @example
|
|
597
|
+
* // Create many HarnessConnectorAccounts
|
|
598
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.createMany({
|
|
599
|
+
* data: [
|
|
600
|
+
* // ... provide data here
|
|
601
|
+
* ]
|
|
602
|
+
* })
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
createMany<T extends HarnessConnectorAccountCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessConnectorAccountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Create many HarnessConnectorAccounts and returns the data saved in the database.
|
|
609
|
+
* @param {HarnessConnectorAccountCreateManyAndReturnArgs} args - Arguments to create many HarnessConnectorAccounts.
|
|
610
|
+
* @example
|
|
611
|
+
* // Create many HarnessConnectorAccounts
|
|
612
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.createManyAndReturn({
|
|
613
|
+
* data: [
|
|
614
|
+
* // ... provide data here
|
|
615
|
+
* ]
|
|
616
|
+
* })
|
|
617
|
+
*
|
|
618
|
+
* // Create many HarnessConnectorAccounts and only return the `id`
|
|
619
|
+
* const harnessConnectorAccountWithIdOnly = await prisma.harnessConnectorAccount.createManyAndReturn({
|
|
620
|
+
* select: { id: true },
|
|
621
|
+
* data: [
|
|
622
|
+
* // ... provide data here
|
|
623
|
+
* ]
|
|
624
|
+
* })
|
|
625
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
626
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
627
|
+
*
|
|
628
|
+
*/
|
|
629
|
+
createManyAndReturn<T extends HarnessConnectorAccountCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessConnectorAccountCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Delete a HarnessConnectorAccount.
|
|
633
|
+
* @param {HarnessConnectorAccountDeleteArgs} args - Arguments to delete one HarnessConnectorAccount.
|
|
634
|
+
* @example
|
|
635
|
+
* // Delete one HarnessConnectorAccount
|
|
636
|
+
* const HarnessConnectorAccount = await prisma.harnessConnectorAccount.delete({
|
|
637
|
+
* where: {
|
|
638
|
+
* // ... filter to delete one HarnessConnectorAccount
|
|
639
|
+
* }
|
|
640
|
+
* })
|
|
641
|
+
*
|
|
642
|
+
*/
|
|
643
|
+
delete<T extends HarnessConnectorAccountDeleteArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Update one HarnessConnectorAccount.
|
|
647
|
+
* @param {HarnessConnectorAccountUpdateArgs} args - Arguments to update one HarnessConnectorAccount.
|
|
648
|
+
* @example
|
|
649
|
+
* // Update one HarnessConnectorAccount
|
|
650
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.update({
|
|
651
|
+
* where: {
|
|
652
|
+
* // ... provide filter here
|
|
653
|
+
* },
|
|
654
|
+
* data: {
|
|
655
|
+
* // ... provide data here
|
|
656
|
+
* }
|
|
657
|
+
* })
|
|
658
|
+
*
|
|
659
|
+
*/
|
|
660
|
+
update<T extends HarnessConnectorAccountUpdateArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Delete zero or more HarnessConnectorAccounts.
|
|
664
|
+
* @param {HarnessConnectorAccountDeleteManyArgs} args - Arguments to filter HarnessConnectorAccounts to delete.
|
|
665
|
+
* @example
|
|
666
|
+
* // Delete a few HarnessConnectorAccounts
|
|
667
|
+
* const { count } = await prisma.harnessConnectorAccount.deleteMany({
|
|
668
|
+
* where: {
|
|
669
|
+
* // ... provide filter here
|
|
670
|
+
* }
|
|
671
|
+
* })
|
|
672
|
+
*
|
|
673
|
+
*/
|
|
674
|
+
deleteMany<T extends HarnessConnectorAccountDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessConnectorAccountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Update zero or more HarnessConnectorAccounts.
|
|
678
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
679
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
680
|
+
* @param {HarnessConnectorAccountUpdateManyArgs} args - Arguments to update one or more rows.
|
|
681
|
+
* @example
|
|
682
|
+
* // Update many HarnessConnectorAccounts
|
|
683
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.updateMany({
|
|
684
|
+
* where: {
|
|
685
|
+
* // ... provide filter here
|
|
686
|
+
* },
|
|
687
|
+
* data: {
|
|
688
|
+
* // ... provide data here
|
|
689
|
+
* }
|
|
690
|
+
* })
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
updateMany<T extends HarnessConnectorAccountUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Update zero or more HarnessConnectorAccounts and returns the data updated in the database.
|
|
697
|
+
* @param {HarnessConnectorAccountUpdateManyAndReturnArgs} args - Arguments to update many HarnessConnectorAccounts.
|
|
698
|
+
* @example
|
|
699
|
+
* // Update many HarnessConnectorAccounts
|
|
700
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.updateManyAndReturn({
|
|
701
|
+
* where: {
|
|
702
|
+
* // ... provide filter here
|
|
703
|
+
* },
|
|
704
|
+
* data: [
|
|
705
|
+
* // ... provide data here
|
|
706
|
+
* ]
|
|
707
|
+
* })
|
|
708
|
+
*
|
|
709
|
+
* // Update zero or more HarnessConnectorAccounts and only return the `id`
|
|
710
|
+
* const harnessConnectorAccountWithIdOnly = await prisma.harnessConnectorAccount.updateManyAndReturn({
|
|
711
|
+
* select: { id: true },
|
|
712
|
+
* where: {
|
|
713
|
+
* // ... provide filter here
|
|
714
|
+
* },
|
|
715
|
+
* data: [
|
|
716
|
+
* // ... provide data here
|
|
717
|
+
* ]
|
|
718
|
+
* })
|
|
719
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
720
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
721
|
+
*
|
|
722
|
+
*/
|
|
723
|
+
updateManyAndReturn<T extends HarnessConnectorAccountUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Create or update one HarnessConnectorAccount.
|
|
727
|
+
* @param {HarnessConnectorAccountUpsertArgs} args - Arguments to update or create a HarnessConnectorAccount.
|
|
728
|
+
* @example
|
|
729
|
+
* // Update or create a HarnessConnectorAccount
|
|
730
|
+
* const harnessConnectorAccount = await prisma.harnessConnectorAccount.upsert({
|
|
731
|
+
* create: {
|
|
732
|
+
* // ... data to create a HarnessConnectorAccount
|
|
733
|
+
* },
|
|
734
|
+
* update: {
|
|
735
|
+
* // ... in case it already exists, update
|
|
736
|
+
* },
|
|
737
|
+
* where: {
|
|
738
|
+
* // ... the filter for the HarnessConnectorAccount we want to update
|
|
739
|
+
* }
|
|
740
|
+
* })
|
|
741
|
+
*/
|
|
742
|
+
upsert<T extends HarnessConnectorAccountUpsertArgs>(args: Prisma.SelectSubset<T, HarnessConnectorAccountUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessConnectorAccountClient<runtime.Types.Result.GetResult<Prisma.$HarnessConnectorAccountPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Count the number of HarnessConnectorAccounts.
|
|
747
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
748
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
749
|
+
* @param {HarnessConnectorAccountCountArgs} args - Arguments to filter HarnessConnectorAccounts to count.
|
|
750
|
+
* @example
|
|
751
|
+
* // Count the number of HarnessConnectorAccounts
|
|
752
|
+
* const count = await prisma.harnessConnectorAccount.count({
|
|
753
|
+
* where: {
|
|
754
|
+
* // ... the filter for the HarnessConnectorAccounts we want to count
|
|
755
|
+
* }
|
|
756
|
+
* })
|
|
757
|
+
**/
|
|
758
|
+
count<T extends HarnessConnectorAccountCountArgs>(
|
|
759
|
+
args?: Prisma.Subset<T, HarnessConnectorAccountCountArgs>,
|
|
760
|
+
): Prisma.PrismaPromise<
|
|
761
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
762
|
+
? T['select'] extends true
|
|
763
|
+
? number
|
|
764
|
+
: Prisma.GetScalarType<T['select'], HarnessConnectorAccountCountAggregateOutputType>
|
|
765
|
+
: number
|
|
766
|
+
>
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Allows you to perform aggregations operations on a HarnessConnectorAccount.
|
|
770
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
771
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
772
|
+
* @param {HarnessConnectorAccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
773
|
+
* @example
|
|
774
|
+
* // Ordered by age ascending
|
|
775
|
+
* // Where email contains prisma.io
|
|
776
|
+
* // Limited to the 10 users
|
|
777
|
+
* const aggregations = await prisma.user.aggregate({
|
|
778
|
+
* _avg: {
|
|
779
|
+
* age: true,
|
|
780
|
+
* },
|
|
781
|
+
* where: {
|
|
782
|
+
* email: {
|
|
783
|
+
* contains: "prisma.io",
|
|
784
|
+
* },
|
|
785
|
+
* },
|
|
786
|
+
* orderBy: {
|
|
787
|
+
* age: "asc",
|
|
788
|
+
* },
|
|
789
|
+
* take: 10,
|
|
790
|
+
* })
|
|
791
|
+
**/
|
|
792
|
+
aggregate<T extends HarnessConnectorAccountAggregateArgs>(args: Prisma.Subset<T, HarnessConnectorAccountAggregateArgs>): Prisma.PrismaPromise<GetHarnessConnectorAccountAggregateType<T>>
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Group by HarnessConnectorAccount.
|
|
796
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
797
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
798
|
+
* @param {HarnessConnectorAccountGroupByArgs} args - Group by arguments.
|
|
799
|
+
* @example
|
|
800
|
+
* // Group by city, order by createdAt, get count
|
|
801
|
+
* const result = await prisma.user.groupBy({
|
|
802
|
+
* by: ['city', 'createdAt'],
|
|
803
|
+
* orderBy: {
|
|
804
|
+
* createdAt: true
|
|
805
|
+
* },
|
|
806
|
+
* _count: {
|
|
807
|
+
* _all: true
|
|
808
|
+
* },
|
|
809
|
+
* })
|
|
810
|
+
*
|
|
811
|
+
**/
|
|
812
|
+
groupBy<
|
|
813
|
+
T extends HarnessConnectorAccountGroupByArgs,
|
|
814
|
+
HasSelectOrTake extends Prisma.Or<
|
|
815
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
816
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
817
|
+
>,
|
|
818
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
819
|
+
? { orderBy: HarnessConnectorAccountGroupByArgs['orderBy'] }
|
|
820
|
+
: { orderBy?: HarnessConnectorAccountGroupByArgs['orderBy'] },
|
|
821
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
822
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
823
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
824
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
825
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
826
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
827
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
828
|
+
? `Error: "by" must not be empty.`
|
|
829
|
+
: HavingValid extends Prisma.False
|
|
830
|
+
? {
|
|
831
|
+
[P in HavingFields]: P extends ByFields
|
|
832
|
+
? never
|
|
833
|
+
: P extends string
|
|
834
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
835
|
+
: [
|
|
836
|
+
Error,
|
|
837
|
+
'Field ',
|
|
838
|
+
P,
|
|
839
|
+
` in "having" needs to be provided in "by"`,
|
|
840
|
+
]
|
|
841
|
+
}[HavingFields]
|
|
842
|
+
: 'take' extends Prisma.Keys<T>
|
|
843
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
844
|
+
? ByValid extends Prisma.True
|
|
845
|
+
? {}
|
|
846
|
+
: {
|
|
847
|
+
[P in OrderFields]: P extends ByFields
|
|
848
|
+
? never
|
|
849
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
850
|
+
}[OrderFields]
|
|
851
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
852
|
+
: 'skip' extends Prisma.Keys<T>
|
|
853
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
854
|
+
? ByValid extends Prisma.True
|
|
855
|
+
? {}
|
|
856
|
+
: {
|
|
857
|
+
[P in OrderFields]: P extends ByFields
|
|
858
|
+
? never
|
|
859
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
860
|
+
}[OrderFields]
|
|
861
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
862
|
+
: ByValid extends Prisma.True
|
|
863
|
+
? {}
|
|
864
|
+
: {
|
|
865
|
+
[P in OrderFields]: P extends ByFields
|
|
866
|
+
? never
|
|
867
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
868
|
+
}[OrderFields]
|
|
869
|
+
>(args: Prisma.SubsetIntersection<T, HarnessConnectorAccountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessConnectorAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
870
|
+
/**
|
|
871
|
+
* Fields of the HarnessConnectorAccount model
|
|
872
|
+
*/
|
|
873
|
+
readonly fields: HarnessConnectorAccountFieldRefs;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* The delegate class that acts as a "Promise-like" for HarnessConnectorAccount.
|
|
878
|
+
* Why is this prefixed with `Prisma__`?
|
|
879
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
880
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
881
|
+
*/
|
|
882
|
+
export interface Prisma__HarnessConnectorAccountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
883
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
884
|
+
/**
|
|
885
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
886
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
887
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
888
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
889
|
+
*/
|
|
890
|
+
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>
|
|
891
|
+
/**
|
|
892
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
893
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
894
|
+
* @returns A Promise for the completion of the callback.
|
|
895
|
+
*/
|
|
896
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
897
|
+
/**
|
|
898
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
899
|
+
* resolved value cannot be modified from the callback.
|
|
900
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
901
|
+
* @returns A Promise for the completion of the callback.
|
|
902
|
+
*/
|
|
903
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Fields of the HarnessConnectorAccount model
|
|
911
|
+
*/
|
|
912
|
+
export interface HarnessConnectorAccountFieldRefs {
|
|
913
|
+
readonly id: Prisma.FieldRef<"HarnessConnectorAccount", 'String'>
|
|
914
|
+
readonly userId: Prisma.FieldRef<"HarnessConnectorAccount", 'String'>
|
|
915
|
+
readonly kind: Prisma.FieldRef<"HarnessConnectorAccount", 'String'>
|
|
916
|
+
readonly provider: Prisma.FieldRef<"HarnessConnectorAccount", 'String'>
|
|
917
|
+
readonly label: Prisma.FieldRef<"HarnessConnectorAccount", 'String'>
|
|
918
|
+
readonly secretCipher: Prisma.FieldRef<"HarnessConnectorAccount", 'String'>
|
|
919
|
+
readonly metadata: Prisma.FieldRef<"HarnessConnectorAccount", 'Json'>
|
|
920
|
+
readonly expiresAt: Prisma.FieldRef<"HarnessConnectorAccount", 'DateTime'>
|
|
921
|
+
readonly createdAt: Prisma.FieldRef<"HarnessConnectorAccount", 'DateTime'>
|
|
922
|
+
readonly updatedAt: Prisma.FieldRef<"HarnessConnectorAccount", 'DateTime'>
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
// Custom InputTypes
|
|
927
|
+
/**
|
|
928
|
+
* HarnessConnectorAccount findUnique
|
|
929
|
+
*/
|
|
930
|
+
export type HarnessConnectorAccountFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
933
|
+
*/
|
|
934
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
935
|
+
/**
|
|
936
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
937
|
+
*/
|
|
938
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
939
|
+
/**
|
|
940
|
+
* Filter, which HarnessConnectorAccount to fetch.
|
|
941
|
+
*/
|
|
942
|
+
where: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* HarnessConnectorAccount findUniqueOrThrow
|
|
947
|
+
*/
|
|
948
|
+
export type HarnessConnectorAccountFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
949
|
+
/**
|
|
950
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
951
|
+
*/
|
|
952
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
953
|
+
/**
|
|
954
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
955
|
+
*/
|
|
956
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
957
|
+
/**
|
|
958
|
+
* Filter, which HarnessConnectorAccount to fetch.
|
|
959
|
+
*/
|
|
960
|
+
where: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* HarnessConnectorAccount findFirst
|
|
965
|
+
*/
|
|
966
|
+
export type HarnessConnectorAccountFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
967
|
+
/**
|
|
968
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
969
|
+
*/
|
|
970
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
971
|
+
/**
|
|
972
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
973
|
+
*/
|
|
974
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
975
|
+
/**
|
|
976
|
+
* Filter, which HarnessConnectorAccount to fetch.
|
|
977
|
+
*/
|
|
978
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
979
|
+
/**
|
|
980
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
981
|
+
*
|
|
982
|
+
* Determine the order of HarnessConnectorAccounts to fetch.
|
|
983
|
+
*/
|
|
984
|
+
orderBy?: Prisma.HarnessConnectorAccountOrderByWithRelationInput | Prisma.HarnessConnectorAccountOrderByWithRelationInput[]
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
987
|
+
*
|
|
988
|
+
* Sets the position for searching for HarnessConnectorAccounts.
|
|
989
|
+
*/
|
|
990
|
+
cursor?: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
993
|
+
*
|
|
994
|
+
* Take `±n` HarnessConnectorAccounts from the position of the cursor.
|
|
995
|
+
*/
|
|
996
|
+
take?: number
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Skip the first `n` HarnessConnectorAccounts.
|
|
1001
|
+
*/
|
|
1002
|
+
skip?: number
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Filter by unique combinations of HarnessConnectorAccounts.
|
|
1007
|
+
*/
|
|
1008
|
+
distinct?: Prisma.HarnessConnectorAccountScalarFieldEnum | Prisma.HarnessConnectorAccountScalarFieldEnum[]
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* HarnessConnectorAccount findFirstOrThrow
|
|
1013
|
+
*/
|
|
1014
|
+
export type HarnessConnectorAccountFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1015
|
+
/**
|
|
1016
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1017
|
+
*/
|
|
1018
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1019
|
+
/**
|
|
1020
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1021
|
+
*/
|
|
1022
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1023
|
+
/**
|
|
1024
|
+
* Filter, which HarnessConnectorAccount to fetch.
|
|
1025
|
+
*/
|
|
1026
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
1027
|
+
/**
|
|
1028
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1029
|
+
*
|
|
1030
|
+
* Determine the order of HarnessConnectorAccounts to fetch.
|
|
1031
|
+
*/
|
|
1032
|
+
orderBy?: Prisma.HarnessConnectorAccountOrderByWithRelationInput | Prisma.HarnessConnectorAccountOrderByWithRelationInput[]
|
|
1033
|
+
/**
|
|
1034
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1035
|
+
*
|
|
1036
|
+
* Sets the position for searching for HarnessConnectorAccounts.
|
|
1037
|
+
*/
|
|
1038
|
+
cursor?: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
1039
|
+
/**
|
|
1040
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1041
|
+
*
|
|
1042
|
+
* Take `±n` HarnessConnectorAccounts from the position of the cursor.
|
|
1043
|
+
*/
|
|
1044
|
+
take?: number
|
|
1045
|
+
/**
|
|
1046
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1047
|
+
*
|
|
1048
|
+
* Skip the first `n` HarnessConnectorAccounts.
|
|
1049
|
+
*/
|
|
1050
|
+
skip?: number
|
|
1051
|
+
/**
|
|
1052
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1053
|
+
*
|
|
1054
|
+
* Filter by unique combinations of HarnessConnectorAccounts.
|
|
1055
|
+
*/
|
|
1056
|
+
distinct?: Prisma.HarnessConnectorAccountScalarFieldEnum | Prisma.HarnessConnectorAccountScalarFieldEnum[]
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* HarnessConnectorAccount findMany
|
|
1061
|
+
*/
|
|
1062
|
+
export type HarnessConnectorAccountFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1065
|
+
*/
|
|
1066
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1067
|
+
/**
|
|
1068
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1069
|
+
*/
|
|
1070
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1071
|
+
/**
|
|
1072
|
+
* Filter, which HarnessConnectorAccounts to fetch.
|
|
1073
|
+
*/
|
|
1074
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
1075
|
+
/**
|
|
1076
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1077
|
+
*
|
|
1078
|
+
* Determine the order of HarnessConnectorAccounts to fetch.
|
|
1079
|
+
*/
|
|
1080
|
+
orderBy?: Prisma.HarnessConnectorAccountOrderByWithRelationInput | Prisma.HarnessConnectorAccountOrderByWithRelationInput[]
|
|
1081
|
+
/**
|
|
1082
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1083
|
+
*
|
|
1084
|
+
* Sets the position for listing HarnessConnectorAccounts.
|
|
1085
|
+
*/
|
|
1086
|
+
cursor?: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
1087
|
+
/**
|
|
1088
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1089
|
+
*
|
|
1090
|
+
* Take `±n` HarnessConnectorAccounts from the position of the cursor.
|
|
1091
|
+
*/
|
|
1092
|
+
take?: number
|
|
1093
|
+
/**
|
|
1094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1095
|
+
*
|
|
1096
|
+
* Skip the first `n` HarnessConnectorAccounts.
|
|
1097
|
+
*/
|
|
1098
|
+
skip?: number
|
|
1099
|
+
/**
|
|
1100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1101
|
+
*
|
|
1102
|
+
* Filter by unique combinations of HarnessConnectorAccounts.
|
|
1103
|
+
*/
|
|
1104
|
+
distinct?: Prisma.HarnessConnectorAccountScalarFieldEnum | Prisma.HarnessConnectorAccountScalarFieldEnum[]
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* HarnessConnectorAccount create
|
|
1109
|
+
*/
|
|
1110
|
+
export type HarnessConnectorAccountCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1111
|
+
/**
|
|
1112
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1113
|
+
*/
|
|
1114
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1115
|
+
/**
|
|
1116
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1117
|
+
*/
|
|
1118
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1119
|
+
/**
|
|
1120
|
+
* The data needed to create a HarnessConnectorAccount.
|
|
1121
|
+
*/
|
|
1122
|
+
data: Prisma.XOR<Prisma.HarnessConnectorAccountCreateInput, Prisma.HarnessConnectorAccountUncheckedCreateInput>
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* HarnessConnectorAccount createMany
|
|
1127
|
+
*/
|
|
1128
|
+
export type HarnessConnectorAccountCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1129
|
+
/**
|
|
1130
|
+
* The data used to create many HarnessConnectorAccounts.
|
|
1131
|
+
*/
|
|
1132
|
+
data: Prisma.HarnessConnectorAccountCreateManyInput | Prisma.HarnessConnectorAccountCreateManyInput[]
|
|
1133
|
+
skipDuplicates?: boolean
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* HarnessConnectorAccount createManyAndReturn
|
|
1138
|
+
*/
|
|
1139
|
+
export type HarnessConnectorAccountCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1140
|
+
/**
|
|
1141
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1142
|
+
*/
|
|
1143
|
+
select?: Prisma.HarnessConnectorAccountSelectCreateManyAndReturn<ExtArgs> | null
|
|
1144
|
+
/**
|
|
1145
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1146
|
+
*/
|
|
1147
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1148
|
+
/**
|
|
1149
|
+
* The data used to create many HarnessConnectorAccounts.
|
|
1150
|
+
*/
|
|
1151
|
+
data: Prisma.HarnessConnectorAccountCreateManyInput | Prisma.HarnessConnectorAccountCreateManyInput[]
|
|
1152
|
+
skipDuplicates?: boolean
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* HarnessConnectorAccount update
|
|
1157
|
+
*/
|
|
1158
|
+
export type HarnessConnectorAccountUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
/**
|
|
1160
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1161
|
+
*/
|
|
1162
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1163
|
+
/**
|
|
1164
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1165
|
+
*/
|
|
1166
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1167
|
+
/**
|
|
1168
|
+
* The data needed to update a HarnessConnectorAccount.
|
|
1169
|
+
*/
|
|
1170
|
+
data: Prisma.XOR<Prisma.HarnessConnectorAccountUpdateInput, Prisma.HarnessConnectorAccountUncheckedUpdateInput>
|
|
1171
|
+
/**
|
|
1172
|
+
* Choose, which HarnessConnectorAccount to update.
|
|
1173
|
+
*/
|
|
1174
|
+
where: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* HarnessConnectorAccount updateMany
|
|
1179
|
+
*/
|
|
1180
|
+
export type HarnessConnectorAccountUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
+
/**
|
|
1182
|
+
* The data used to update HarnessConnectorAccounts.
|
|
1183
|
+
*/
|
|
1184
|
+
data: Prisma.XOR<Prisma.HarnessConnectorAccountUpdateManyMutationInput, Prisma.HarnessConnectorAccountUncheckedUpdateManyInput>
|
|
1185
|
+
/**
|
|
1186
|
+
* Filter which HarnessConnectorAccounts to update
|
|
1187
|
+
*/
|
|
1188
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
1189
|
+
/**
|
|
1190
|
+
* Limit how many HarnessConnectorAccounts to update.
|
|
1191
|
+
*/
|
|
1192
|
+
limit?: number
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* HarnessConnectorAccount updateManyAndReturn
|
|
1197
|
+
*/
|
|
1198
|
+
export type HarnessConnectorAccountUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1201
|
+
*/
|
|
1202
|
+
select?: Prisma.HarnessConnectorAccountSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1203
|
+
/**
|
|
1204
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1205
|
+
*/
|
|
1206
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1207
|
+
/**
|
|
1208
|
+
* The data used to update HarnessConnectorAccounts.
|
|
1209
|
+
*/
|
|
1210
|
+
data: Prisma.XOR<Prisma.HarnessConnectorAccountUpdateManyMutationInput, Prisma.HarnessConnectorAccountUncheckedUpdateManyInput>
|
|
1211
|
+
/**
|
|
1212
|
+
* Filter which HarnessConnectorAccounts to update
|
|
1213
|
+
*/
|
|
1214
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
1215
|
+
/**
|
|
1216
|
+
* Limit how many HarnessConnectorAccounts to update.
|
|
1217
|
+
*/
|
|
1218
|
+
limit?: number
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* HarnessConnectorAccount upsert
|
|
1223
|
+
*/
|
|
1224
|
+
export type HarnessConnectorAccountUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1227
|
+
*/
|
|
1228
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1229
|
+
/**
|
|
1230
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1231
|
+
*/
|
|
1232
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1233
|
+
/**
|
|
1234
|
+
* The filter to search for the HarnessConnectorAccount to update in case it exists.
|
|
1235
|
+
*/
|
|
1236
|
+
where: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
1237
|
+
/**
|
|
1238
|
+
* In case the HarnessConnectorAccount found by the `where` argument doesn't exist, create a new HarnessConnectorAccount with this data.
|
|
1239
|
+
*/
|
|
1240
|
+
create: Prisma.XOR<Prisma.HarnessConnectorAccountCreateInput, Prisma.HarnessConnectorAccountUncheckedCreateInput>
|
|
1241
|
+
/**
|
|
1242
|
+
* In case the HarnessConnectorAccount was found with the provided `where` argument, update it with this data.
|
|
1243
|
+
*/
|
|
1244
|
+
update: Prisma.XOR<Prisma.HarnessConnectorAccountUpdateInput, Prisma.HarnessConnectorAccountUncheckedUpdateInput>
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* HarnessConnectorAccount delete
|
|
1249
|
+
*/
|
|
1250
|
+
export type HarnessConnectorAccountDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1253
|
+
*/
|
|
1254
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1255
|
+
/**
|
|
1256
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1257
|
+
*/
|
|
1258
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1259
|
+
/**
|
|
1260
|
+
* Filter which HarnessConnectorAccount to delete.
|
|
1261
|
+
*/
|
|
1262
|
+
where: Prisma.HarnessConnectorAccountWhereUniqueInput
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* HarnessConnectorAccount deleteMany
|
|
1267
|
+
*/
|
|
1268
|
+
export type HarnessConnectorAccountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1269
|
+
/**
|
|
1270
|
+
* Filter which HarnessConnectorAccounts to delete
|
|
1271
|
+
*/
|
|
1272
|
+
where?: Prisma.HarnessConnectorAccountWhereInput
|
|
1273
|
+
/**
|
|
1274
|
+
* Limit how many HarnessConnectorAccounts to delete.
|
|
1275
|
+
*/
|
|
1276
|
+
limit?: number
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* HarnessConnectorAccount without action
|
|
1281
|
+
*/
|
|
1282
|
+
export type HarnessConnectorAccountDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1283
|
+
/**
|
|
1284
|
+
* Select specific fields to fetch from the HarnessConnectorAccount
|
|
1285
|
+
*/
|
|
1286
|
+
select?: Prisma.HarnessConnectorAccountSelect<ExtArgs> | null
|
|
1287
|
+
/**
|
|
1288
|
+
* Omit specific fields from the HarnessConnectorAccount
|
|
1289
|
+
*/
|
|
1290
|
+
omit?: Prisma.HarnessConnectorAccountOmit<ExtArgs> | null
|
|
1291
|
+
}
|