@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,1549 @@
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
+ }
482
+
483
+ export type BusinessAgentBindingUpsertWithWhereUniqueWithoutUserInput = {
484
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
485
+ update: Prisma.XOR<Prisma.BusinessAgentBindingUpdateWithoutUserInput, Prisma.BusinessAgentBindingUncheckedUpdateWithoutUserInput>
486
+ create: Prisma.XOR<Prisma.BusinessAgentBindingCreateWithoutUserInput, Prisma.BusinessAgentBindingUncheckedCreateWithoutUserInput>
487
+ }
488
+
489
+ export type BusinessAgentBindingUpdateWithWhereUniqueWithoutUserInput = {
490
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
491
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateWithoutUserInput, Prisma.BusinessAgentBindingUncheckedUpdateWithoutUserInput>
492
+ }
493
+
494
+ export type BusinessAgentBindingUpdateManyWithWhereWithoutUserInput = {
495
+ where: Prisma.BusinessAgentBindingScalarWhereInput
496
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateManyMutationInput, Prisma.BusinessAgentBindingUncheckedUpdateManyWithoutUserInput>
497
+ }
498
+
499
+ export type BusinessAgentBindingScalarWhereInput = {
500
+ AND?: Prisma.BusinessAgentBindingScalarWhereInput | Prisma.BusinessAgentBindingScalarWhereInput[]
501
+ OR?: Prisma.BusinessAgentBindingScalarWhereInput[]
502
+ NOT?: Prisma.BusinessAgentBindingScalarWhereInput | Prisma.BusinessAgentBindingScalarWhereInput[]
503
+ id?: Prisma.StringFilter<"BusinessAgentBinding"> | string
504
+ userId?: Prisma.StringFilter<"BusinessAgentBinding"> | string
505
+ bizKey?: Prisma.StringFilter<"BusinessAgentBinding"> | string
506
+ agentId?: Prisma.StringFilter<"BusinessAgentBinding"> | string
507
+ workspaceId?: Prisma.StringNullableFilter<"BusinessAgentBinding"> | string | null
508
+ createdAt?: Prisma.DateTimeFilter<"BusinessAgentBinding"> | Date | string
509
+ updatedAt?: Prisma.DateTimeFilter<"BusinessAgentBinding"> | Date | string
510
+ }
511
+
512
+ export type BusinessAgentBindingCreateWithoutAgentInput = {
513
+ id?: string
514
+ bizKey: string
515
+ workspaceId?: string | null
516
+ createdAt?: Date | string
517
+ updatedAt?: Date | string
518
+ user: Prisma.UserCreateNestedOneWithoutAgentBindingsInput
519
+ }
520
+
521
+ export type BusinessAgentBindingUncheckedCreateWithoutAgentInput = {
522
+ id?: string
523
+ userId: string
524
+ bizKey: string
525
+ workspaceId?: string | null
526
+ createdAt?: Date | string
527
+ updatedAt?: Date | string
528
+ }
529
+
530
+ export type BusinessAgentBindingCreateOrConnectWithoutAgentInput = {
531
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
532
+ create: Prisma.XOR<Prisma.BusinessAgentBindingCreateWithoutAgentInput, Prisma.BusinessAgentBindingUncheckedCreateWithoutAgentInput>
533
+ }
534
+
535
+ export type BusinessAgentBindingCreateManyAgentInputEnvelope = {
536
+ data: Prisma.BusinessAgentBindingCreateManyAgentInput | Prisma.BusinessAgentBindingCreateManyAgentInput[]
537
+ }
538
+
539
+ export type BusinessAgentBindingUpsertWithWhereUniqueWithoutAgentInput = {
540
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
541
+ update: Prisma.XOR<Prisma.BusinessAgentBindingUpdateWithoutAgentInput, Prisma.BusinessAgentBindingUncheckedUpdateWithoutAgentInput>
542
+ create: Prisma.XOR<Prisma.BusinessAgentBindingCreateWithoutAgentInput, Prisma.BusinessAgentBindingUncheckedCreateWithoutAgentInput>
543
+ }
544
+
545
+ export type BusinessAgentBindingUpdateWithWhereUniqueWithoutAgentInput = {
546
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
547
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateWithoutAgentInput, Prisma.BusinessAgentBindingUncheckedUpdateWithoutAgentInput>
548
+ }
549
+
550
+ export type BusinessAgentBindingUpdateManyWithWhereWithoutAgentInput = {
551
+ where: Prisma.BusinessAgentBindingScalarWhereInput
552
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateManyMutationInput, Prisma.BusinessAgentBindingUncheckedUpdateManyWithoutAgentInput>
553
+ }
554
+
555
+ export type BusinessAgentBindingCreateManyUserInput = {
556
+ id?: string
557
+ bizKey: string
558
+ agentId: string
559
+ workspaceId?: string | null
560
+ createdAt?: Date | string
561
+ updatedAt?: Date | string
562
+ }
563
+
564
+ export type BusinessAgentBindingUpdateWithoutUserInput = {
565
+ id?: Prisma.StringFieldUpdateOperationsInput | string
566
+ bizKey?: Prisma.StringFieldUpdateOperationsInput | string
567
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
568
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
569
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
570
+ agent?: Prisma.UserAgentUpdateOneRequiredWithoutAgentBindingsNestedInput
571
+ }
572
+
573
+ export type BusinessAgentBindingUncheckedUpdateWithoutUserInput = {
574
+ id?: Prisma.StringFieldUpdateOperationsInput | string
575
+ bizKey?: Prisma.StringFieldUpdateOperationsInput | string
576
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string
577
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
578
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
579
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
580
+ }
581
+
582
+ export type BusinessAgentBindingUncheckedUpdateManyWithoutUserInput = {
583
+ id?: Prisma.StringFieldUpdateOperationsInput | string
584
+ bizKey?: Prisma.StringFieldUpdateOperationsInput | string
585
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string
586
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
587
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
588
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
589
+ }
590
+
591
+ export type BusinessAgentBindingCreateManyAgentInput = {
592
+ id?: string
593
+ userId: string
594
+ bizKey: string
595
+ workspaceId?: string | null
596
+ createdAt?: Date | string
597
+ updatedAt?: Date | string
598
+ }
599
+
600
+ export type BusinessAgentBindingUpdateWithoutAgentInput = {
601
+ id?: Prisma.StringFieldUpdateOperationsInput | string
602
+ bizKey?: Prisma.StringFieldUpdateOperationsInput | string
603
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
604
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
605
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
606
+ user?: Prisma.UserUpdateOneRequiredWithoutAgentBindingsNestedInput
607
+ }
608
+
609
+ export type BusinessAgentBindingUncheckedUpdateWithoutAgentInput = {
610
+ id?: Prisma.StringFieldUpdateOperationsInput | string
611
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
612
+ bizKey?: Prisma.StringFieldUpdateOperationsInput | string
613
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
615
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
616
+ }
617
+
618
+ export type BusinessAgentBindingUncheckedUpdateManyWithoutAgentInput = {
619
+ id?: Prisma.StringFieldUpdateOperationsInput | string
620
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
621
+ bizKey?: Prisma.StringFieldUpdateOperationsInput | string
622
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
623
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
624
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
625
+ }
626
+
627
+
628
+
629
+ export type BusinessAgentBindingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
630
+ id?: boolean
631
+ userId?: boolean
632
+ bizKey?: boolean
633
+ agentId?: boolean
634
+ workspaceId?: boolean
635
+ createdAt?: boolean
636
+ updatedAt?: boolean
637
+ agent?: boolean | Prisma.UserAgentDefaultArgs<ExtArgs>
638
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
639
+ }, ExtArgs["result"]["businessAgentBinding"]>
640
+
641
+ export type BusinessAgentBindingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
642
+ id?: boolean
643
+ userId?: boolean
644
+ bizKey?: boolean
645
+ agentId?: boolean
646
+ workspaceId?: boolean
647
+ createdAt?: boolean
648
+ updatedAt?: boolean
649
+ agent?: boolean | Prisma.UserAgentDefaultArgs<ExtArgs>
650
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
651
+ }, ExtArgs["result"]["businessAgentBinding"]>
652
+
653
+ export type BusinessAgentBindingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
654
+ id?: boolean
655
+ userId?: boolean
656
+ bizKey?: boolean
657
+ agentId?: boolean
658
+ workspaceId?: boolean
659
+ createdAt?: boolean
660
+ updatedAt?: boolean
661
+ agent?: boolean | Prisma.UserAgentDefaultArgs<ExtArgs>
662
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
663
+ }, ExtArgs["result"]["businessAgentBinding"]>
664
+
665
+ export type BusinessAgentBindingSelectScalar = {
666
+ id?: boolean
667
+ userId?: boolean
668
+ bizKey?: boolean
669
+ agentId?: boolean
670
+ workspaceId?: boolean
671
+ createdAt?: boolean
672
+ updatedAt?: boolean
673
+ }
674
+
675
+ 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"]>
676
+ export type BusinessAgentBindingInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
677
+ agent?: boolean | Prisma.UserAgentDefaultArgs<ExtArgs>
678
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
679
+ }
680
+ export type BusinessAgentBindingIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
681
+ agent?: boolean | Prisma.UserAgentDefaultArgs<ExtArgs>
682
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
683
+ }
684
+ export type BusinessAgentBindingIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
685
+ agent?: boolean | Prisma.UserAgentDefaultArgs<ExtArgs>
686
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
687
+ }
688
+
689
+ export type $BusinessAgentBindingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
690
+ name: "BusinessAgentBinding"
691
+ objects: {
692
+ agent: Prisma.$UserAgentPayload<ExtArgs>
693
+ user: Prisma.$UserPayload<ExtArgs>
694
+ }
695
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
696
+ id: string
697
+ userId: string
698
+ bizKey: string
699
+ agentId: string
700
+ workspaceId: string | null
701
+ createdAt: Date
702
+ updatedAt: Date
703
+ }, ExtArgs["result"]["businessAgentBinding"]>
704
+ composites: {}
705
+ }
706
+
707
+ export type BusinessAgentBindingGetPayload<S extends boolean | null | undefined | BusinessAgentBindingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BusinessAgentBindingPayload, S>
708
+
709
+ export type BusinessAgentBindingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
710
+ Omit<BusinessAgentBindingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
711
+ select?: BusinessAgentBindingCountAggregateInputType | true
712
+ }
713
+
714
+ export interface BusinessAgentBindingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
715
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BusinessAgentBinding'], meta: { name: 'BusinessAgentBinding' } }
716
+ /**
717
+ * Find zero or one BusinessAgentBinding that matches the filter.
718
+ * @param {BusinessAgentBindingFindUniqueArgs} args - Arguments to find a BusinessAgentBinding
719
+ * @example
720
+ * // Get one BusinessAgentBinding
721
+ * const businessAgentBinding = await prisma.businessAgentBinding.findUnique({
722
+ * where: {
723
+ * // ... provide filter here
724
+ * }
725
+ * })
726
+ */
727
+ 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>
728
+
729
+ /**
730
+ * Find one BusinessAgentBinding that matches the filter or throw an error with `error.code='P2025'`
731
+ * if no matches were found.
732
+ * @param {BusinessAgentBindingFindUniqueOrThrowArgs} args - Arguments to find a BusinessAgentBinding
733
+ * @example
734
+ * // Get one BusinessAgentBinding
735
+ * const businessAgentBinding = await prisma.businessAgentBinding.findUniqueOrThrow({
736
+ * where: {
737
+ * // ... provide filter here
738
+ * }
739
+ * })
740
+ */
741
+ 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>
742
+
743
+ /**
744
+ * Find the first BusinessAgentBinding that matches the filter.
745
+ * Note, that providing `undefined` is treated as the value not being there.
746
+ * Read more here: https://pris.ly/d/null-undefined
747
+ * @param {BusinessAgentBindingFindFirstArgs} args - Arguments to find a BusinessAgentBinding
748
+ * @example
749
+ * // Get one BusinessAgentBinding
750
+ * const businessAgentBinding = await prisma.businessAgentBinding.findFirst({
751
+ * where: {
752
+ * // ... provide filter here
753
+ * }
754
+ * })
755
+ */
756
+ 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>
757
+
758
+ /**
759
+ * Find the first BusinessAgentBinding that matches the filter or
760
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
761
+ * Note, that providing `undefined` is treated as the value not being there.
762
+ * Read more here: https://pris.ly/d/null-undefined
763
+ * @param {BusinessAgentBindingFindFirstOrThrowArgs} args - Arguments to find a BusinessAgentBinding
764
+ * @example
765
+ * // Get one BusinessAgentBinding
766
+ * const businessAgentBinding = await prisma.businessAgentBinding.findFirstOrThrow({
767
+ * where: {
768
+ * // ... provide filter here
769
+ * }
770
+ * })
771
+ */
772
+ 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>
773
+
774
+ /**
775
+ * Find zero or more BusinessAgentBindings that matches the filter.
776
+ * Note, that providing `undefined` is treated as the value not being there.
777
+ * Read more here: https://pris.ly/d/null-undefined
778
+ * @param {BusinessAgentBindingFindManyArgs} args - Arguments to filter and select certain fields only.
779
+ * @example
780
+ * // Get all BusinessAgentBindings
781
+ * const businessAgentBindings = await prisma.businessAgentBinding.findMany()
782
+ *
783
+ * // Get first 10 BusinessAgentBindings
784
+ * const businessAgentBindings = await prisma.businessAgentBinding.findMany({ take: 10 })
785
+ *
786
+ * // Only select the `id`
787
+ * const businessAgentBindingWithIdOnly = await prisma.businessAgentBinding.findMany({ select: { id: true } })
788
+ *
789
+ */
790
+ findMany<T extends BusinessAgentBindingFindManyArgs>(args?: Prisma.SelectSubset<T, BusinessAgentBindingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessAgentBindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
791
+
792
+ /**
793
+ * Create a BusinessAgentBinding.
794
+ * @param {BusinessAgentBindingCreateArgs} args - Arguments to create a BusinessAgentBinding.
795
+ * @example
796
+ * // Create one BusinessAgentBinding
797
+ * const BusinessAgentBinding = await prisma.businessAgentBinding.create({
798
+ * data: {
799
+ * // ... data to create a BusinessAgentBinding
800
+ * }
801
+ * })
802
+ *
803
+ */
804
+ 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>
805
+
806
+ /**
807
+ * Create many BusinessAgentBindings.
808
+ * @param {BusinessAgentBindingCreateManyArgs} args - Arguments to create many BusinessAgentBindings.
809
+ * @example
810
+ * // Create many BusinessAgentBindings
811
+ * const businessAgentBinding = await prisma.businessAgentBinding.createMany({
812
+ * data: [
813
+ * // ... provide data here
814
+ * ]
815
+ * })
816
+ *
817
+ */
818
+ createMany<T extends BusinessAgentBindingCreateManyArgs>(args?: Prisma.SelectSubset<T, BusinessAgentBindingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
819
+
820
+ /**
821
+ * Create many BusinessAgentBindings and returns the data saved in the database.
822
+ * @param {BusinessAgentBindingCreateManyAndReturnArgs} args - Arguments to create many BusinessAgentBindings.
823
+ * @example
824
+ * // Create many BusinessAgentBindings
825
+ * const businessAgentBinding = await prisma.businessAgentBinding.createManyAndReturn({
826
+ * data: [
827
+ * // ... provide data here
828
+ * ]
829
+ * })
830
+ *
831
+ * // Create many BusinessAgentBindings and only return the `id`
832
+ * const businessAgentBindingWithIdOnly = await prisma.businessAgentBinding.createManyAndReturn({
833
+ * select: { id: true },
834
+ * data: [
835
+ * // ... provide data here
836
+ * ]
837
+ * })
838
+ * Note, that providing `undefined` is treated as the value not being there.
839
+ * Read more here: https://pris.ly/d/null-undefined
840
+ *
841
+ */
842
+ createManyAndReturn<T extends BusinessAgentBindingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BusinessAgentBindingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessAgentBindingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
843
+
844
+ /**
845
+ * Delete a BusinessAgentBinding.
846
+ * @param {BusinessAgentBindingDeleteArgs} args - Arguments to delete one BusinessAgentBinding.
847
+ * @example
848
+ * // Delete one BusinessAgentBinding
849
+ * const BusinessAgentBinding = await prisma.businessAgentBinding.delete({
850
+ * where: {
851
+ * // ... filter to delete one BusinessAgentBinding
852
+ * }
853
+ * })
854
+ *
855
+ */
856
+ 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>
857
+
858
+ /**
859
+ * Update one BusinessAgentBinding.
860
+ * @param {BusinessAgentBindingUpdateArgs} args - Arguments to update one BusinessAgentBinding.
861
+ * @example
862
+ * // Update one BusinessAgentBinding
863
+ * const businessAgentBinding = await prisma.businessAgentBinding.update({
864
+ * where: {
865
+ * // ... provide filter here
866
+ * },
867
+ * data: {
868
+ * // ... provide data here
869
+ * }
870
+ * })
871
+ *
872
+ */
873
+ 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>
874
+
875
+ /**
876
+ * Delete zero or more BusinessAgentBindings.
877
+ * @param {BusinessAgentBindingDeleteManyArgs} args - Arguments to filter BusinessAgentBindings to delete.
878
+ * @example
879
+ * // Delete a few BusinessAgentBindings
880
+ * const { count } = await prisma.businessAgentBinding.deleteMany({
881
+ * where: {
882
+ * // ... provide filter here
883
+ * }
884
+ * })
885
+ *
886
+ */
887
+ deleteMany<T extends BusinessAgentBindingDeleteManyArgs>(args?: Prisma.SelectSubset<T, BusinessAgentBindingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
888
+
889
+ /**
890
+ * Update zero or more BusinessAgentBindings.
891
+ * Note, that providing `undefined` is treated as the value not being there.
892
+ * Read more here: https://pris.ly/d/null-undefined
893
+ * @param {BusinessAgentBindingUpdateManyArgs} args - Arguments to update one or more rows.
894
+ * @example
895
+ * // Update many BusinessAgentBindings
896
+ * const businessAgentBinding = await prisma.businessAgentBinding.updateMany({
897
+ * where: {
898
+ * // ... provide filter here
899
+ * },
900
+ * data: {
901
+ * // ... provide data here
902
+ * }
903
+ * })
904
+ *
905
+ */
906
+ updateMany<T extends BusinessAgentBindingUpdateManyArgs>(args: Prisma.SelectSubset<T, BusinessAgentBindingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
907
+
908
+ /**
909
+ * Update zero or more BusinessAgentBindings and returns the data updated in the database.
910
+ * @param {BusinessAgentBindingUpdateManyAndReturnArgs} args - Arguments to update many BusinessAgentBindings.
911
+ * @example
912
+ * // Update many BusinessAgentBindings
913
+ * const businessAgentBinding = await prisma.businessAgentBinding.updateManyAndReturn({
914
+ * where: {
915
+ * // ... provide filter here
916
+ * },
917
+ * data: [
918
+ * // ... provide data here
919
+ * ]
920
+ * })
921
+ *
922
+ * // Update zero or more BusinessAgentBindings and only return the `id`
923
+ * const businessAgentBindingWithIdOnly = await prisma.businessAgentBinding.updateManyAndReturn({
924
+ * select: { id: true },
925
+ * where: {
926
+ * // ... provide filter here
927
+ * },
928
+ * data: [
929
+ * // ... provide data here
930
+ * ]
931
+ * })
932
+ * Note, that providing `undefined` is treated as the value not being there.
933
+ * Read more here: https://pris.ly/d/null-undefined
934
+ *
935
+ */
936
+ updateManyAndReturn<T extends BusinessAgentBindingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BusinessAgentBindingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessAgentBindingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
937
+
938
+ /**
939
+ * Create or update one BusinessAgentBinding.
940
+ * @param {BusinessAgentBindingUpsertArgs} args - Arguments to update or create a BusinessAgentBinding.
941
+ * @example
942
+ * // Update or create a BusinessAgentBinding
943
+ * const businessAgentBinding = await prisma.businessAgentBinding.upsert({
944
+ * create: {
945
+ * // ... data to create a BusinessAgentBinding
946
+ * },
947
+ * update: {
948
+ * // ... in case it already exists, update
949
+ * },
950
+ * where: {
951
+ * // ... the filter for the BusinessAgentBinding we want to update
952
+ * }
953
+ * })
954
+ */
955
+ 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>
956
+
957
+
958
+ /**
959
+ * Count the number of BusinessAgentBindings.
960
+ * Note, that providing `undefined` is treated as the value not being there.
961
+ * Read more here: https://pris.ly/d/null-undefined
962
+ * @param {BusinessAgentBindingCountArgs} args - Arguments to filter BusinessAgentBindings to count.
963
+ * @example
964
+ * // Count the number of BusinessAgentBindings
965
+ * const count = await prisma.businessAgentBinding.count({
966
+ * where: {
967
+ * // ... the filter for the BusinessAgentBindings we want to count
968
+ * }
969
+ * })
970
+ **/
971
+ count<T extends BusinessAgentBindingCountArgs>(
972
+ args?: Prisma.Subset<T, BusinessAgentBindingCountArgs>,
973
+ ): Prisma.PrismaPromise<
974
+ T extends runtime.Types.Utils.Record<'select', any>
975
+ ? T['select'] extends true
976
+ ? number
977
+ : Prisma.GetScalarType<T['select'], BusinessAgentBindingCountAggregateOutputType>
978
+ : number
979
+ >
980
+
981
+ /**
982
+ * Allows you to perform aggregations operations on a BusinessAgentBinding.
983
+ * Note, that providing `undefined` is treated as the value not being there.
984
+ * Read more here: https://pris.ly/d/null-undefined
985
+ * @param {BusinessAgentBindingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
986
+ * @example
987
+ * // Ordered by age ascending
988
+ * // Where email contains prisma.io
989
+ * // Limited to the 10 users
990
+ * const aggregations = await prisma.user.aggregate({
991
+ * _avg: {
992
+ * age: true,
993
+ * },
994
+ * where: {
995
+ * email: {
996
+ * contains: "prisma.io",
997
+ * },
998
+ * },
999
+ * orderBy: {
1000
+ * age: "asc",
1001
+ * },
1002
+ * take: 10,
1003
+ * })
1004
+ **/
1005
+ aggregate<T extends BusinessAgentBindingAggregateArgs>(args: Prisma.Subset<T, BusinessAgentBindingAggregateArgs>): Prisma.PrismaPromise<GetBusinessAgentBindingAggregateType<T>>
1006
+
1007
+ /**
1008
+ * Group by BusinessAgentBinding.
1009
+ * Note, that providing `undefined` is treated as the value not being there.
1010
+ * Read more here: https://pris.ly/d/null-undefined
1011
+ * @param {BusinessAgentBindingGroupByArgs} args - Group by arguments.
1012
+ * @example
1013
+ * // Group by city, order by createdAt, get count
1014
+ * const result = await prisma.user.groupBy({
1015
+ * by: ['city', 'createdAt'],
1016
+ * orderBy: {
1017
+ * createdAt: true
1018
+ * },
1019
+ * _count: {
1020
+ * _all: true
1021
+ * },
1022
+ * })
1023
+ *
1024
+ **/
1025
+ groupBy<
1026
+ T extends BusinessAgentBindingGroupByArgs,
1027
+ HasSelectOrTake extends Prisma.Or<
1028
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1029
+ Prisma.Extends<'take', Prisma.Keys<T>>
1030
+ >,
1031
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1032
+ ? { orderBy: BusinessAgentBindingGroupByArgs['orderBy'] }
1033
+ : { orderBy?: BusinessAgentBindingGroupByArgs['orderBy'] },
1034
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1035
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1036
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1037
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1038
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1039
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1040
+ InputErrors extends ByEmpty extends Prisma.True
1041
+ ? `Error: "by" must not be empty.`
1042
+ : HavingValid extends Prisma.False
1043
+ ? {
1044
+ [P in HavingFields]: P extends ByFields
1045
+ ? never
1046
+ : P extends string
1047
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1048
+ : [
1049
+ Error,
1050
+ 'Field ',
1051
+ P,
1052
+ ` in "having" needs to be provided in "by"`,
1053
+ ]
1054
+ }[HavingFields]
1055
+ : 'take' extends Prisma.Keys<T>
1056
+ ? 'orderBy' extends Prisma.Keys<T>
1057
+ ? ByValid extends Prisma.True
1058
+ ? {}
1059
+ : {
1060
+ [P in OrderFields]: P extends ByFields
1061
+ ? never
1062
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1063
+ }[OrderFields]
1064
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1065
+ : 'skip' extends Prisma.Keys<T>
1066
+ ? 'orderBy' extends Prisma.Keys<T>
1067
+ ? ByValid extends Prisma.True
1068
+ ? {}
1069
+ : {
1070
+ [P in OrderFields]: P extends ByFields
1071
+ ? never
1072
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1073
+ }[OrderFields]
1074
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1075
+ : ByValid extends Prisma.True
1076
+ ? {}
1077
+ : {
1078
+ [P in OrderFields]: P extends ByFields
1079
+ ? never
1080
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1081
+ }[OrderFields]
1082
+ >(args: Prisma.SubsetIntersection<T, BusinessAgentBindingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBusinessAgentBindingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1083
+ /**
1084
+ * Fields of the BusinessAgentBinding model
1085
+ */
1086
+ readonly fields: BusinessAgentBindingFieldRefs;
1087
+ }
1088
+
1089
+ /**
1090
+ * The delegate class that acts as a "Promise-like" for BusinessAgentBinding.
1091
+ * Why is this prefixed with `Prisma__`?
1092
+ * Because we want to prevent naming conflicts as mentioned in
1093
+ * https://github.com/prisma/prisma-client-js/issues/707
1094
+ */
1095
+ export interface Prisma__BusinessAgentBindingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1096
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1097
+ 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>
1098
+ 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>
1099
+ /**
1100
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1101
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1102
+ * @param onrejected The callback to execute when the Promise is rejected.
1103
+ * @returns A Promise for the completion of which ever callback is executed.
1104
+ */
1105
+ 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>
1106
+ /**
1107
+ * Attaches a callback for only the rejection of the Promise.
1108
+ * @param onrejected The callback to execute when the Promise is rejected.
1109
+ * @returns A Promise for the completion of the callback.
1110
+ */
1111
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1112
+ /**
1113
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1114
+ * resolved value cannot be modified from the callback.
1115
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1116
+ * @returns A Promise for the completion of the callback.
1117
+ */
1118
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1119
+ }
1120
+
1121
+
1122
+
1123
+
1124
+ /**
1125
+ * Fields of the BusinessAgentBinding model
1126
+ */
1127
+ export interface BusinessAgentBindingFieldRefs {
1128
+ readonly id: Prisma.FieldRef<"BusinessAgentBinding", 'String'>
1129
+ readonly userId: Prisma.FieldRef<"BusinessAgentBinding", 'String'>
1130
+ readonly bizKey: Prisma.FieldRef<"BusinessAgentBinding", 'String'>
1131
+ readonly agentId: Prisma.FieldRef<"BusinessAgentBinding", 'String'>
1132
+ readonly workspaceId: Prisma.FieldRef<"BusinessAgentBinding", 'String'>
1133
+ readonly createdAt: Prisma.FieldRef<"BusinessAgentBinding", 'DateTime'>
1134
+ readonly updatedAt: Prisma.FieldRef<"BusinessAgentBinding", 'DateTime'>
1135
+ }
1136
+
1137
+
1138
+ // Custom InputTypes
1139
+ /**
1140
+ * BusinessAgentBinding findUnique
1141
+ */
1142
+ export type BusinessAgentBindingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1143
+ /**
1144
+ * Select specific fields to fetch from the BusinessAgentBinding
1145
+ */
1146
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1147
+ /**
1148
+ * Omit specific fields from the BusinessAgentBinding
1149
+ */
1150
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1151
+ /**
1152
+ * Choose, which related nodes to fetch as well
1153
+ */
1154
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1155
+ /**
1156
+ * Filter, which BusinessAgentBinding to fetch.
1157
+ */
1158
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
1159
+ }
1160
+
1161
+ /**
1162
+ * BusinessAgentBinding findUniqueOrThrow
1163
+ */
1164
+ export type BusinessAgentBindingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1165
+ /**
1166
+ * Select specific fields to fetch from the BusinessAgentBinding
1167
+ */
1168
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1169
+ /**
1170
+ * Omit specific fields from the BusinessAgentBinding
1171
+ */
1172
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1173
+ /**
1174
+ * Choose, which related nodes to fetch as well
1175
+ */
1176
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1177
+ /**
1178
+ * Filter, which BusinessAgentBinding to fetch.
1179
+ */
1180
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
1181
+ }
1182
+
1183
+ /**
1184
+ * BusinessAgentBinding findFirst
1185
+ */
1186
+ export type BusinessAgentBindingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1187
+ /**
1188
+ * Select specific fields to fetch from the BusinessAgentBinding
1189
+ */
1190
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1191
+ /**
1192
+ * Omit specific fields from the BusinessAgentBinding
1193
+ */
1194
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1195
+ /**
1196
+ * Choose, which related nodes to fetch as well
1197
+ */
1198
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1199
+ /**
1200
+ * Filter, which BusinessAgentBinding to fetch.
1201
+ */
1202
+ where?: Prisma.BusinessAgentBindingWhereInput
1203
+ /**
1204
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1205
+ *
1206
+ * Determine the order of BusinessAgentBindings to fetch.
1207
+ */
1208
+ orderBy?: Prisma.BusinessAgentBindingOrderByWithRelationInput | Prisma.BusinessAgentBindingOrderByWithRelationInput[]
1209
+ /**
1210
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1211
+ *
1212
+ * Sets the position for searching for BusinessAgentBindings.
1213
+ */
1214
+ cursor?: Prisma.BusinessAgentBindingWhereUniqueInput
1215
+ /**
1216
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1217
+ *
1218
+ * Take `±n` BusinessAgentBindings from the position of the cursor.
1219
+ */
1220
+ take?: number
1221
+ /**
1222
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1223
+ *
1224
+ * Skip the first `n` BusinessAgentBindings.
1225
+ */
1226
+ skip?: number
1227
+ /**
1228
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1229
+ *
1230
+ * Filter by unique combinations of BusinessAgentBindings.
1231
+ */
1232
+ distinct?: Prisma.BusinessAgentBindingScalarFieldEnum | Prisma.BusinessAgentBindingScalarFieldEnum[]
1233
+ }
1234
+
1235
+ /**
1236
+ * BusinessAgentBinding findFirstOrThrow
1237
+ */
1238
+ export type BusinessAgentBindingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
+ /**
1240
+ * Select specific fields to fetch from the BusinessAgentBinding
1241
+ */
1242
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1243
+ /**
1244
+ * Omit specific fields from the BusinessAgentBinding
1245
+ */
1246
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1247
+ /**
1248
+ * Choose, which related nodes to fetch as well
1249
+ */
1250
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1251
+ /**
1252
+ * Filter, which BusinessAgentBinding to fetch.
1253
+ */
1254
+ where?: Prisma.BusinessAgentBindingWhereInput
1255
+ /**
1256
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1257
+ *
1258
+ * Determine the order of BusinessAgentBindings to fetch.
1259
+ */
1260
+ orderBy?: Prisma.BusinessAgentBindingOrderByWithRelationInput | Prisma.BusinessAgentBindingOrderByWithRelationInput[]
1261
+ /**
1262
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1263
+ *
1264
+ * Sets the position for searching for BusinessAgentBindings.
1265
+ */
1266
+ cursor?: Prisma.BusinessAgentBindingWhereUniqueInput
1267
+ /**
1268
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1269
+ *
1270
+ * Take `±n` BusinessAgentBindings from the position of the cursor.
1271
+ */
1272
+ take?: number
1273
+ /**
1274
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1275
+ *
1276
+ * Skip the first `n` BusinessAgentBindings.
1277
+ */
1278
+ skip?: number
1279
+ /**
1280
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1281
+ *
1282
+ * Filter by unique combinations of BusinessAgentBindings.
1283
+ */
1284
+ distinct?: Prisma.BusinessAgentBindingScalarFieldEnum | Prisma.BusinessAgentBindingScalarFieldEnum[]
1285
+ }
1286
+
1287
+ /**
1288
+ * BusinessAgentBinding findMany
1289
+ */
1290
+ export type BusinessAgentBindingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1291
+ /**
1292
+ * Select specific fields to fetch from the BusinessAgentBinding
1293
+ */
1294
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1295
+ /**
1296
+ * Omit specific fields from the BusinessAgentBinding
1297
+ */
1298
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1299
+ /**
1300
+ * Choose, which related nodes to fetch as well
1301
+ */
1302
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1303
+ /**
1304
+ * Filter, which BusinessAgentBindings to fetch.
1305
+ */
1306
+ where?: Prisma.BusinessAgentBindingWhereInput
1307
+ /**
1308
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1309
+ *
1310
+ * Determine the order of BusinessAgentBindings to fetch.
1311
+ */
1312
+ orderBy?: Prisma.BusinessAgentBindingOrderByWithRelationInput | Prisma.BusinessAgentBindingOrderByWithRelationInput[]
1313
+ /**
1314
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1315
+ *
1316
+ * Sets the position for listing BusinessAgentBindings.
1317
+ */
1318
+ cursor?: Prisma.BusinessAgentBindingWhereUniqueInput
1319
+ /**
1320
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1321
+ *
1322
+ * Take `±n` BusinessAgentBindings from the position of the cursor.
1323
+ */
1324
+ take?: number
1325
+ /**
1326
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1327
+ *
1328
+ * Skip the first `n` BusinessAgentBindings.
1329
+ */
1330
+ skip?: number
1331
+ /**
1332
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1333
+ *
1334
+ * Filter by unique combinations of BusinessAgentBindings.
1335
+ */
1336
+ distinct?: Prisma.BusinessAgentBindingScalarFieldEnum | Prisma.BusinessAgentBindingScalarFieldEnum[]
1337
+ }
1338
+
1339
+ /**
1340
+ * BusinessAgentBinding create
1341
+ */
1342
+ export type BusinessAgentBindingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1343
+ /**
1344
+ * Select specific fields to fetch from the BusinessAgentBinding
1345
+ */
1346
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1347
+ /**
1348
+ * Omit specific fields from the BusinessAgentBinding
1349
+ */
1350
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1351
+ /**
1352
+ * Choose, which related nodes to fetch as well
1353
+ */
1354
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1355
+ /**
1356
+ * The data needed to create a BusinessAgentBinding.
1357
+ */
1358
+ data: Prisma.XOR<Prisma.BusinessAgentBindingCreateInput, Prisma.BusinessAgentBindingUncheckedCreateInput>
1359
+ }
1360
+
1361
+ /**
1362
+ * BusinessAgentBinding createMany
1363
+ */
1364
+ export type BusinessAgentBindingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1365
+ /**
1366
+ * The data used to create many BusinessAgentBindings.
1367
+ */
1368
+ data: Prisma.BusinessAgentBindingCreateManyInput | Prisma.BusinessAgentBindingCreateManyInput[]
1369
+ }
1370
+
1371
+ /**
1372
+ * BusinessAgentBinding createManyAndReturn
1373
+ */
1374
+ export type BusinessAgentBindingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1375
+ /**
1376
+ * Select specific fields to fetch from the BusinessAgentBinding
1377
+ */
1378
+ select?: Prisma.BusinessAgentBindingSelectCreateManyAndReturn<ExtArgs> | null
1379
+ /**
1380
+ * Omit specific fields from the BusinessAgentBinding
1381
+ */
1382
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1383
+ /**
1384
+ * The data used to create many BusinessAgentBindings.
1385
+ */
1386
+ data: Prisma.BusinessAgentBindingCreateManyInput | Prisma.BusinessAgentBindingCreateManyInput[]
1387
+ /**
1388
+ * Choose, which related nodes to fetch as well
1389
+ */
1390
+ include?: Prisma.BusinessAgentBindingIncludeCreateManyAndReturn<ExtArgs> | null
1391
+ }
1392
+
1393
+ /**
1394
+ * BusinessAgentBinding update
1395
+ */
1396
+ export type BusinessAgentBindingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1397
+ /**
1398
+ * Select specific fields to fetch from the BusinessAgentBinding
1399
+ */
1400
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1401
+ /**
1402
+ * Omit specific fields from the BusinessAgentBinding
1403
+ */
1404
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1405
+ /**
1406
+ * Choose, which related nodes to fetch as well
1407
+ */
1408
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1409
+ /**
1410
+ * The data needed to update a BusinessAgentBinding.
1411
+ */
1412
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateInput, Prisma.BusinessAgentBindingUncheckedUpdateInput>
1413
+ /**
1414
+ * Choose, which BusinessAgentBinding to update.
1415
+ */
1416
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
1417
+ }
1418
+
1419
+ /**
1420
+ * BusinessAgentBinding updateMany
1421
+ */
1422
+ export type BusinessAgentBindingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1423
+ /**
1424
+ * The data used to update BusinessAgentBindings.
1425
+ */
1426
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateManyMutationInput, Prisma.BusinessAgentBindingUncheckedUpdateManyInput>
1427
+ /**
1428
+ * Filter which BusinessAgentBindings to update
1429
+ */
1430
+ where?: Prisma.BusinessAgentBindingWhereInput
1431
+ /**
1432
+ * Limit how many BusinessAgentBindings to update.
1433
+ */
1434
+ limit?: number
1435
+ }
1436
+
1437
+ /**
1438
+ * BusinessAgentBinding updateManyAndReturn
1439
+ */
1440
+ export type BusinessAgentBindingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1441
+ /**
1442
+ * Select specific fields to fetch from the BusinessAgentBinding
1443
+ */
1444
+ select?: Prisma.BusinessAgentBindingSelectUpdateManyAndReturn<ExtArgs> | null
1445
+ /**
1446
+ * Omit specific fields from the BusinessAgentBinding
1447
+ */
1448
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1449
+ /**
1450
+ * The data used to update BusinessAgentBindings.
1451
+ */
1452
+ data: Prisma.XOR<Prisma.BusinessAgentBindingUpdateManyMutationInput, Prisma.BusinessAgentBindingUncheckedUpdateManyInput>
1453
+ /**
1454
+ * Filter which BusinessAgentBindings to update
1455
+ */
1456
+ where?: Prisma.BusinessAgentBindingWhereInput
1457
+ /**
1458
+ * Limit how many BusinessAgentBindings to update.
1459
+ */
1460
+ limit?: number
1461
+ /**
1462
+ * Choose, which related nodes to fetch as well
1463
+ */
1464
+ include?: Prisma.BusinessAgentBindingIncludeUpdateManyAndReturn<ExtArgs> | null
1465
+ }
1466
+
1467
+ /**
1468
+ * BusinessAgentBinding upsert
1469
+ */
1470
+ export type BusinessAgentBindingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1471
+ /**
1472
+ * Select specific fields to fetch from the BusinessAgentBinding
1473
+ */
1474
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1475
+ /**
1476
+ * Omit specific fields from the BusinessAgentBinding
1477
+ */
1478
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1479
+ /**
1480
+ * Choose, which related nodes to fetch as well
1481
+ */
1482
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1483
+ /**
1484
+ * The filter to search for the BusinessAgentBinding to update in case it exists.
1485
+ */
1486
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
1487
+ /**
1488
+ * In case the BusinessAgentBinding found by the `where` argument doesn't exist, create a new BusinessAgentBinding with this data.
1489
+ */
1490
+ create: Prisma.XOR<Prisma.BusinessAgentBindingCreateInput, Prisma.BusinessAgentBindingUncheckedCreateInput>
1491
+ /**
1492
+ * In case the BusinessAgentBinding was found with the provided `where` argument, update it with this data.
1493
+ */
1494
+ update: Prisma.XOR<Prisma.BusinessAgentBindingUpdateInput, Prisma.BusinessAgentBindingUncheckedUpdateInput>
1495
+ }
1496
+
1497
+ /**
1498
+ * BusinessAgentBinding delete
1499
+ */
1500
+ export type BusinessAgentBindingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1501
+ /**
1502
+ * Select specific fields to fetch from the BusinessAgentBinding
1503
+ */
1504
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1505
+ /**
1506
+ * Omit specific fields from the BusinessAgentBinding
1507
+ */
1508
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1509
+ /**
1510
+ * Choose, which related nodes to fetch as well
1511
+ */
1512
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1513
+ /**
1514
+ * Filter which BusinessAgentBinding to delete.
1515
+ */
1516
+ where: Prisma.BusinessAgentBindingWhereUniqueInput
1517
+ }
1518
+
1519
+ /**
1520
+ * BusinessAgentBinding deleteMany
1521
+ */
1522
+ export type BusinessAgentBindingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1523
+ /**
1524
+ * Filter which BusinessAgentBindings to delete
1525
+ */
1526
+ where?: Prisma.BusinessAgentBindingWhereInput
1527
+ /**
1528
+ * Limit how many BusinessAgentBindings to delete.
1529
+ */
1530
+ limit?: number
1531
+ }
1532
+
1533
+ /**
1534
+ * BusinessAgentBinding without action
1535
+ */
1536
+ export type BusinessAgentBindingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1537
+ /**
1538
+ * Select specific fields to fetch from the BusinessAgentBinding
1539
+ */
1540
+ select?: Prisma.BusinessAgentBindingSelect<ExtArgs> | null
1541
+ /**
1542
+ * Omit specific fields from the BusinessAgentBinding
1543
+ */
1544
+ omit?: Prisma.BusinessAgentBindingOmit<ExtArgs> | null
1545
+ /**
1546
+ * Choose, which related nodes to fetch as well
1547
+ */
1548
+ include?: Prisma.BusinessAgentBindingInclude<ExtArgs> | null
1549
+ }