@allbluecn/database 0.8.0 → 0.9.0

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