@allbluecn/database 0.11.0 → 0.12.1

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 (111) hide show
  1. package/index.ts +19 -17
  2. package/migrations/20261030000000_sync_overlay/migration.sql +152 -0
  3. package/package.json +29 -21
  4. package/pglite-init.ts +92 -0
  5. package/LICENSE +0 -661
  6. package/desktop-init.ts +0 -162
  7. package/generated-sqlite/browser.ts +0 -499
  8. package/generated-sqlite/client.ts +0 -523
  9. package/generated-sqlite/commonInputTypes.ts +0 -722
  10. package/generated-sqlite/enums.ts +0 -15
  11. package/generated-sqlite/internal/class.ts +0 -1154
  12. package/generated-sqlite/internal/prismaNamespace.ts +0 -9576
  13. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1761
  14. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  15. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  16. package/generated-sqlite/models/AiProvider.ts +0 -1605
  17. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  18. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  19. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  20. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  21. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  22. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  23. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  24. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  25. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  26. package/generated-sqlite/models/AuditLog.ts +0 -1287
  27. package/generated-sqlite/models/Blob.ts +0 -1425
  28. package/generated-sqlite/models/Block.ts +0 -1648
  29. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  30. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  31. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  32. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  33. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  34. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  35. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  36. package/generated-sqlite/models/ChatRun.ts +0 -1802
  37. package/generated-sqlite/models/ChatThread.ts +0 -2417
  38. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  39. package/generated-sqlite/models/Comment.ts +0 -2201
  40. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  41. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  42. package/generated-sqlite/models/Component.ts +0 -2132
  43. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  44. package/generated-sqlite/models/CustomRole.ts +0 -1209
  45. package/generated-sqlite/models/Design.ts +0 -2497
  46. package/generated-sqlite/models/DesignPage.ts +0 -2398
  47. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  48. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  49. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  50. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  51. package/generated-sqlite/models/EmailLog.ts +0 -1343
  52. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  53. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  54. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  55. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  56. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  57. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  58. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  59. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  60. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  61. package/generated-sqlite/models/Invoice.ts +0 -1707
  62. package/generated-sqlite/models/Iteration.ts +0 -1874
  63. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  64. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  65. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  66. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  67. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  68. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  69. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  70. package/generated-sqlite/models/LoginLog.ts +0 -1447
  71. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  72. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  73. package/generated-sqlite/models/PageVersion.ts +0 -1520
  74. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  75. package/generated-sqlite/models/Plan.ts +0 -2250
  76. package/generated-sqlite/models/Project.ts +0 -2628
  77. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  78. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  79. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  80. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  81. package/generated-sqlite/models/Reference.ts +0 -1175
  82. package/generated-sqlite/models/Review.ts +0 -1903
  83. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  84. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  85. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  86. package/generated-sqlite/models/Share.ts +0 -1674
  87. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  88. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  89. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  90. package/generated-sqlite/models/Story.ts +0 -3263
  91. package/generated-sqlite/models/Subscription.ts +0 -2137
  92. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  93. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  94. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  95. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  96. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  97. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  98. package/generated-sqlite/models/Template.ts +0 -1389
  99. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  100. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  101. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  102. package/generated-sqlite/models/User.ts +0 -21247
  103. package/generated-sqlite/models/UserAgent.ts +0 -2146
  104. package/generated-sqlite/models/UserSkill.ts +0 -1453
  105. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  106. package/generated-sqlite/models/Workspace.ts +0 -2341
  107. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  108. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  109. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  110. package/generated-sqlite/models.ts +0 -107
  111. package/schema.sqlite.prisma +0 -2045
@@ -1,2250 +0,0 @@
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 `Plan` 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 Plan
17
- * 订阅计划定义(seed 数据)
18
- */
19
- export type PlanModel = runtime.Types.Result.DefaultSelection<Prisma.$PlanPayload>
20
-
21
- export type AggregatePlan = {
22
- _count: PlanCountAggregateOutputType | null
23
- _avg: PlanAvgAggregateOutputType | null
24
- _sum: PlanSumAggregateOutputType | null
25
- _min: PlanMinAggregateOutputType | null
26
- _max: PlanMaxAggregateOutputType | null
27
- }
28
-
29
- export type PlanAvgAggregateOutputType = {
30
- priceMonthly: number | null
31
- priceYearly: number | null
32
- maxSeats: number | null
33
- maxGuestSeats: number | null
34
- maxWorkspaces: number | null
35
- aiQuotaMonthly: number | null
36
- sortOrder: number | null
37
- seatPriceMonthly: number | null
38
- agentQuota: number | null
39
- skillQuota: number | null
40
- sandboxMinutesMonthly: number | null
41
- mediaGenerationsMonthly: number | null
42
- galleryStorageMb: number | null
43
- installQuota: number | null
44
- blobStorageMb: number | null
45
- }
46
-
47
- export type PlanSumAggregateOutputType = {
48
- priceMonthly: number | null
49
- priceYearly: number | null
50
- maxSeats: number | null
51
- maxGuestSeats: number | null
52
- maxWorkspaces: number | null
53
- aiQuotaMonthly: number | null
54
- sortOrder: number | null
55
- seatPriceMonthly: number | null
56
- agentQuota: number | null
57
- skillQuota: number | null
58
- sandboxMinutesMonthly: number | null
59
- mediaGenerationsMonthly: number | null
60
- galleryStorageMb: number | null
61
- installQuota: number | null
62
- blobStorageMb: number | null
63
- }
64
-
65
- export type PlanMinAggregateOutputType = {
66
- id: string | null
67
- name: string | null
68
- displayName: string | null
69
- description: string | null
70
- priceMonthly: number | null
71
- priceYearly: number | null
72
- currency: string | null
73
- maxSeats: number | null
74
- maxGuestSeats: number | null
75
- maxWorkspaces: number | null
76
- aiQuotaMonthly: number | null
77
- isPublic: boolean | null
78
- sortOrder: number | null
79
- createdAt: Date | null
80
- updatedAt: Date | null
81
- providerPriceIdUsd: string | null
82
- providerPriceIdCny: string | null
83
- providerPriceIdUsdYearly: string | null
84
- providerPriceIdCnyYearly: string | null
85
- seatPriceMonthly: number | null
86
- providerSeatPriceIdUsd: string | null
87
- providerSeatPriceIdCny: string | null
88
- agentQuota: number | null
89
- skillQuota: number | null
90
- sandboxMinutesMonthly: number | null
91
- mediaGenerationsMonthly: number | null
92
- galleryStorageMb: number | null
93
- installQuota: number | null
94
- blobStorageMb: number | null
95
- }
96
-
97
- export type PlanMaxAggregateOutputType = {
98
- id: string | null
99
- name: string | null
100
- displayName: string | null
101
- description: string | null
102
- priceMonthly: number | null
103
- priceYearly: number | null
104
- currency: string | null
105
- maxSeats: number | null
106
- maxGuestSeats: number | null
107
- maxWorkspaces: number | null
108
- aiQuotaMonthly: number | null
109
- isPublic: boolean | null
110
- sortOrder: number | null
111
- createdAt: Date | null
112
- updatedAt: Date | null
113
- providerPriceIdUsd: string | null
114
- providerPriceIdCny: string | null
115
- providerPriceIdUsdYearly: string | null
116
- providerPriceIdCnyYearly: string | null
117
- seatPriceMonthly: number | null
118
- providerSeatPriceIdUsd: string | null
119
- providerSeatPriceIdCny: string | null
120
- agentQuota: number | null
121
- skillQuota: number | null
122
- sandboxMinutesMonthly: number | null
123
- mediaGenerationsMonthly: number | null
124
- galleryStorageMb: number | null
125
- installQuota: number | null
126
- blobStorageMb: number | null
127
- }
128
-
129
- export type PlanCountAggregateOutputType = {
130
- id: number
131
- name: number
132
- displayName: number
133
- description: number
134
- priceMonthly: number
135
- priceYearly: number
136
- currency: number
137
- maxSeats: number
138
- maxGuestSeats: number
139
- maxWorkspaces: number
140
- aiQuotaMonthly: number
141
- features: number
142
- isPublic: number
143
- sortOrder: number
144
- createdAt: number
145
- updatedAt: number
146
- providerPriceIdUsd: number
147
- providerPriceIdCny: number
148
- providerPriceIdUsdYearly: number
149
- providerPriceIdCnyYearly: number
150
- seatPriceMonthly: number
151
- providerSeatPriceIdUsd: number
152
- providerSeatPriceIdCny: number
153
- agentQuota: number
154
- skillQuota: number
155
- sandboxMinutesMonthly: number
156
- mediaGenerationsMonthly: number
157
- galleryStorageMb: number
158
- installQuota: number
159
- blobStorageMb: number
160
- _all: number
161
- }
162
-
163
-
164
- export type PlanAvgAggregateInputType = {
165
- priceMonthly?: true
166
- priceYearly?: true
167
- maxSeats?: true
168
- maxGuestSeats?: true
169
- maxWorkspaces?: true
170
- aiQuotaMonthly?: true
171
- sortOrder?: true
172
- seatPriceMonthly?: true
173
- agentQuota?: true
174
- skillQuota?: true
175
- sandboxMinutesMonthly?: true
176
- mediaGenerationsMonthly?: true
177
- galleryStorageMb?: true
178
- installQuota?: true
179
- blobStorageMb?: true
180
- }
181
-
182
- export type PlanSumAggregateInputType = {
183
- priceMonthly?: true
184
- priceYearly?: true
185
- maxSeats?: true
186
- maxGuestSeats?: true
187
- maxWorkspaces?: true
188
- aiQuotaMonthly?: true
189
- sortOrder?: true
190
- seatPriceMonthly?: true
191
- agentQuota?: true
192
- skillQuota?: true
193
- sandboxMinutesMonthly?: true
194
- mediaGenerationsMonthly?: true
195
- galleryStorageMb?: true
196
- installQuota?: true
197
- blobStorageMb?: true
198
- }
199
-
200
- export type PlanMinAggregateInputType = {
201
- id?: true
202
- name?: true
203
- displayName?: true
204
- description?: true
205
- priceMonthly?: true
206
- priceYearly?: true
207
- currency?: true
208
- maxSeats?: true
209
- maxGuestSeats?: true
210
- maxWorkspaces?: true
211
- aiQuotaMonthly?: true
212
- isPublic?: true
213
- sortOrder?: true
214
- createdAt?: true
215
- updatedAt?: true
216
- providerPriceIdUsd?: true
217
- providerPriceIdCny?: true
218
- providerPriceIdUsdYearly?: true
219
- providerPriceIdCnyYearly?: true
220
- seatPriceMonthly?: true
221
- providerSeatPriceIdUsd?: true
222
- providerSeatPriceIdCny?: true
223
- agentQuota?: true
224
- skillQuota?: true
225
- sandboxMinutesMonthly?: true
226
- mediaGenerationsMonthly?: true
227
- galleryStorageMb?: true
228
- installQuota?: true
229
- blobStorageMb?: true
230
- }
231
-
232
- export type PlanMaxAggregateInputType = {
233
- id?: true
234
- name?: true
235
- displayName?: true
236
- description?: true
237
- priceMonthly?: true
238
- priceYearly?: true
239
- currency?: true
240
- maxSeats?: true
241
- maxGuestSeats?: true
242
- maxWorkspaces?: true
243
- aiQuotaMonthly?: true
244
- isPublic?: true
245
- sortOrder?: true
246
- createdAt?: true
247
- updatedAt?: true
248
- providerPriceIdUsd?: true
249
- providerPriceIdCny?: true
250
- providerPriceIdUsdYearly?: true
251
- providerPriceIdCnyYearly?: true
252
- seatPriceMonthly?: true
253
- providerSeatPriceIdUsd?: true
254
- providerSeatPriceIdCny?: true
255
- agentQuota?: true
256
- skillQuota?: true
257
- sandboxMinutesMonthly?: true
258
- mediaGenerationsMonthly?: true
259
- galleryStorageMb?: true
260
- installQuota?: true
261
- blobStorageMb?: true
262
- }
263
-
264
- export type PlanCountAggregateInputType = {
265
- id?: true
266
- name?: true
267
- displayName?: true
268
- description?: true
269
- priceMonthly?: true
270
- priceYearly?: true
271
- currency?: true
272
- maxSeats?: true
273
- maxGuestSeats?: true
274
- maxWorkspaces?: true
275
- aiQuotaMonthly?: true
276
- features?: true
277
- isPublic?: true
278
- sortOrder?: true
279
- createdAt?: true
280
- updatedAt?: true
281
- providerPriceIdUsd?: true
282
- providerPriceIdCny?: true
283
- providerPriceIdUsdYearly?: true
284
- providerPriceIdCnyYearly?: true
285
- seatPriceMonthly?: true
286
- providerSeatPriceIdUsd?: true
287
- providerSeatPriceIdCny?: true
288
- agentQuota?: true
289
- skillQuota?: true
290
- sandboxMinutesMonthly?: true
291
- mediaGenerationsMonthly?: true
292
- galleryStorageMb?: true
293
- installQuota?: true
294
- blobStorageMb?: true
295
- _all?: true
296
- }
297
-
298
- export type PlanAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
299
- /**
300
- * Filter which Plan to aggregate.
301
- */
302
- where?: Prisma.PlanWhereInput
303
- /**
304
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
305
- *
306
- * Determine the order of Plans to fetch.
307
- */
308
- orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[]
309
- /**
310
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
311
- *
312
- * Sets the start position
313
- */
314
- cursor?: Prisma.PlanWhereUniqueInput
315
- /**
316
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
317
- *
318
- * Take `±n` Plans from the position of the cursor.
319
- */
320
- take?: number
321
- /**
322
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
323
- *
324
- * Skip the first `n` Plans.
325
- */
326
- skip?: number
327
- /**
328
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
329
- *
330
- * Count returned Plans
331
- **/
332
- _count?: true | PlanCountAggregateInputType
333
- /**
334
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
335
- *
336
- * Select which fields to average
337
- **/
338
- _avg?: PlanAvgAggregateInputType
339
- /**
340
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
341
- *
342
- * Select which fields to sum
343
- **/
344
- _sum?: PlanSumAggregateInputType
345
- /**
346
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
347
- *
348
- * Select which fields to find the minimum value
349
- **/
350
- _min?: PlanMinAggregateInputType
351
- /**
352
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
353
- *
354
- * Select which fields to find the maximum value
355
- **/
356
- _max?: PlanMaxAggregateInputType
357
- }
358
-
359
- export type GetPlanAggregateType<T extends PlanAggregateArgs> = {
360
- [P in keyof T & keyof AggregatePlan]: P extends '_count' | 'count'
361
- ? T[P] extends true
362
- ? number
363
- : Prisma.GetScalarType<T[P], AggregatePlan[P]>
364
- : Prisma.GetScalarType<T[P], AggregatePlan[P]>
365
- }
366
-
367
-
368
-
369
-
370
- export type PlanGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
371
- where?: Prisma.PlanWhereInput
372
- orderBy?: Prisma.PlanOrderByWithAggregationInput | Prisma.PlanOrderByWithAggregationInput[]
373
- by: Prisma.PlanScalarFieldEnum[] | Prisma.PlanScalarFieldEnum
374
- having?: Prisma.PlanScalarWhereWithAggregatesInput
375
- take?: number
376
- skip?: number
377
- _count?: PlanCountAggregateInputType | true
378
- _avg?: PlanAvgAggregateInputType
379
- _sum?: PlanSumAggregateInputType
380
- _min?: PlanMinAggregateInputType
381
- _max?: PlanMaxAggregateInputType
382
- }
383
-
384
- export type PlanGroupByOutputType = {
385
- id: string
386
- name: string
387
- displayName: string
388
- description: string | null
389
- priceMonthly: number
390
- priceYearly: number | null
391
- currency: string
392
- maxSeats: number | null
393
- maxGuestSeats: number | null
394
- maxWorkspaces: number | null
395
- aiQuotaMonthly: number | null
396
- features: runtime.JsonValue
397
- isPublic: boolean
398
- sortOrder: number
399
- createdAt: Date
400
- updatedAt: Date
401
- providerPriceIdUsd: string | null
402
- providerPriceIdCny: string | null
403
- providerPriceIdUsdYearly: string | null
404
- providerPriceIdCnyYearly: string | null
405
- seatPriceMonthly: number | null
406
- providerSeatPriceIdUsd: string | null
407
- providerSeatPriceIdCny: string | null
408
- agentQuota: number | null
409
- skillQuota: number | null
410
- sandboxMinutesMonthly: number | null
411
- mediaGenerationsMonthly: number | null
412
- galleryStorageMb: number | null
413
- installQuota: number | null
414
- blobStorageMb: number | null
415
- _count: PlanCountAggregateOutputType | null
416
- _avg: PlanAvgAggregateOutputType | null
417
- _sum: PlanSumAggregateOutputType | null
418
- _min: PlanMinAggregateOutputType | null
419
- _max: PlanMaxAggregateOutputType | null
420
- }
421
-
422
- export type GetPlanGroupByPayload<T extends PlanGroupByArgs> = Prisma.PrismaPromise<
423
- Array<
424
- Prisma.PickEnumerable<PlanGroupByOutputType, T['by']> &
425
- {
426
- [P in ((keyof T) & (keyof PlanGroupByOutputType))]: P extends '_count'
427
- ? T[P] extends boolean
428
- ? number
429
- : Prisma.GetScalarType<T[P], PlanGroupByOutputType[P]>
430
- : Prisma.GetScalarType<T[P], PlanGroupByOutputType[P]>
431
- }
432
- >
433
- >
434
-
435
-
436
-
437
- export type PlanWhereInput = {
438
- AND?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[]
439
- OR?: Prisma.PlanWhereInput[]
440
- NOT?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[]
441
- id?: Prisma.StringFilter<"Plan"> | string
442
- name?: Prisma.StringFilter<"Plan"> | string
443
- displayName?: Prisma.StringFilter<"Plan"> | string
444
- description?: Prisma.StringNullableFilter<"Plan"> | string | null
445
- priceMonthly?: Prisma.IntFilter<"Plan"> | number
446
- priceYearly?: Prisma.IntNullableFilter<"Plan"> | number | null
447
- currency?: Prisma.StringFilter<"Plan"> | string
448
- maxSeats?: Prisma.IntNullableFilter<"Plan"> | number | null
449
- maxGuestSeats?: Prisma.IntNullableFilter<"Plan"> | number | null
450
- maxWorkspaces?: Prisma.IntNullableFilter<"Plan"> | number | null
451
- aiQuotaMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
452
- features?: Prisma.JsonFilter<"Plan">
453
- isPublic?: Prisma.BoolFilter<"Plan"> | boolean
454
- sortOrder?: Prisma.IntFilter<"Plan"> | number
455
- createdAt?: Prisma.DateTimeFilter<"Plan"> | Date | string
456
- updatedAt?: Prisma.DateTimeFilter<"Plan"> | Date | string
457
- providerPriceIdUsd?: Prisma.StringNullableFilter<"Plan"> | string | null
458
- providerPriceIdCny?: Prisma.StringNullableFilter<"Plan"> | string | null
459
- providerPriceIdUsdYearly?: Prisma.StringNullableFilter<"Plan"> | string | null
460
- providerPriceIdCnyYearly?: Prisma.StringNullableFilter<"Plan"> | string | null
461
- seatPriceMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
462
- providerSeatPriceIdUsd?: Prisma.StringNullableFilter<"Plan"> | string | null
463
- providerSeatPriceIdCny?: Prisma.StringNullableFilter<"Plan"> | string | null
464
- agentQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
465
- skillQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
466
- sandboxMinutesMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
467
- mediaGenerationsMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
468
- galleryStorageMb?: Prisma.IntNullableFilter<"Plan"> | number | null
469
- installQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
470
- blobStorageMb?: Prisma.IntNullableFilter<"Plan"> | number | null
471
- subscriptions?: Prisma.SubscriptionListRelationFilter
472
- }
473
-
474
- export type PlanOrderByWithRelationInput = {
475
- id?: Prisma.SortOrder
476
- name?: Prisma.SortOrder
477
- displayName?: Prisma.SortOrder
478
- description?: Prisma.SortOrderInput | Prisma.SortOrder
479
- priceMonthly?: Prisma.SortOrder
480
- priceYearly?: Prisma.SortOrderInput | Prisma.SortOrder
481
- currency?: Prisma.SortOrder
482
- maxSeats?: Prisma.SortOrderInput | Prisma.SortOrder
483
- maxGuestSeats?: Prisma.SortOrderInput | Prisma.SortOrder
484
- maxWorkspaces?: Prisma.SortOrderInput | Prisma.SortOrder
485
- aiQuotaMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
486
- features?: Prisma.SortOrder
487
- isPublic?: Prisma.SortOrder
488
- sortOrder?: Prisma.SortOrder
489
- createdAt?: Prisma.SortOrder
490
- updatedAt?: Prisma.SortOrder
491
- providerPriceIdUsd?: Prisma.SortOrderInput | Prisma.SortOrder
492
- providerPriceIdCny?: Prisma.SortOrderInput | Prisma.SortOrder
493
- providerPriceIdUsdYearly?: Prisma.SortOrderInput | Prisma.SortOrder
494
- providerPriceIdCnyYearly?: Prisma.SortOrderInput | Prisma.SortOrder
495
- seatPriceMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
496
- providerSeatPriceIdUsd?: Prisma.SortOrderInput | Prisma.SortOrder
497
- providerSeatPriceIdCny?: Prisma.SortOrderInput | Prisma.SortOrder
498
- agentQuota?: Prisma.SortOrderInput | Prisma.SortOrder
499
- skillQuota?: Prisma.SortOrderInput | Prisma.SortOrder
500
- sandboxMinutesMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
501
- mediaGenerationsMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
502
- galleryStorageMb?: Prisma.SortOrderInput | Prisma.SortOrder
503
- installQuota?: Prisma.SortOrderInput | Prisma.SortOrder
504
- blobStorageMb?: Prisma.SortOrderInput | Prisma.SortOrder
505
- subscriptions?: Prisma.SubscriptionOrderByRelationAggregateInput
506
- }
507
-
508
- export type PlanWhereUniqueInput = Prisma.AtLeast<{
509
- id?: string
510
- name?: string
511
- AND?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[]
512
- OR?: Prisma.PlanWhereInput[]
513
- NOT?: Prisma.PlanWhereInput | Prisma.PlanWhereInput[]
514
- displayName?: Prisma.StringFilter<"Plan"> | string
515
- description?: Prisma.StringNullableFilter<"Plan"> | string | null
516
- priceMonthly?: Prisma.IntFilter<"Plan"> | number
517
- priceYearly?: Prisma.IntNullableFilter<"Plan"> | number | null
518
- currency?: Prisma.StringFilter<"Plan"> | string
519
- maxSeats?: Prisma.IntNullableFilter<"Plan"> | number | null
520
- maxGuestSeats?: Prisma.IntNullableFilter<"Plan"> | number | null
521
- maxWorkspaces?: Prisma.IntNullableFilter<"Plan"> | number | null
522
- aiQuotaMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
523
- features?: Prisma.JsonFilter<"Plan">
524
- isPublic?: Prisma.BoolFilter<"Plan"> | boolean
525
- sortOrder?: Prisma.IntFilter<"Plan"> | number
526
- createdAt?: Prisma.DateTimeFilter<"Plan"> | Date | string
527
- updatedAt?: Prisma.DateTimeFilter<"Plan"> | Date | string
528
- providerPriceIdUsd?: Prisma.StringNullableFilter<"Plan"> | string | null
529
- providerPriceIdCny?: Prisma.StringNullableFilter<"Plan"> | string | null
530
- providerPriceIdUsdYearly?: Prisma.StringNullableFilter<"Plan"> | string | null
531
- providerPriceIdCnyYearly?: Prisma.StringNullableFilter<"Plan"> | string | null
532
- seatPriceMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
533
- providerSeatPriceIdUsd?: Prisma.StringNullableFilter<"Plan"> | string | null
534
- providerSeatPriceIdCny?: Prisma.StringNullableFilter<"Plan"> | string | null
535
- agentQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
536
- skillQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
537
- sandboxMinutesMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
538
- mediaGenerationsMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
539
- galleryStorageMb?: Prisma.IntNullableFilter<"Plan"> | number | null
540
- installQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
541
- blobStorageMb?: Prisma.IntNullableFilter<"Plan"> | number | null
542
- subscriptions?: Prisma.SubscriptionListRelationFilter
543
- }, "id" | "name">
544
-
545
- export type PlanOrderByWithAggregationInput = {
546
- id?: Prisma.SortOrder
547
- name?: Prisma.SortOrder
548
- displayName?: Prisma.SortOrder
549
- description?: Prisma.SortOrderInput | Prisma.SortOrder
550
- priceMonthly?: Prisma.SortOrder
551
- priceYearly?: Prisma.SortOrderInput | Prisma.SortOrder
552
- currency?: Prisma.SortOrder
553
- maxSeats?: Prisma.SortOrderInput | Prisma.SortOrder
554
- maxGuestSeats?: Prisma.SortOrderInput | Prisma.SortOrder
555
- maxWorkspaces?: Prisma.SortOrderInput | Prisma.SortOrder
556
- aiQuotaMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
557
- features?: Prisma.SortOrder
558
- isPublic?: Prisma.SortOrder
559
- sortOrder?: Prisma.SortOrder
560
- createdAt?: Prisma.SortOrder
561
- updatedAt?: Prisma.SortOrder
562
- providerPriceIdUsd?: Prisma.SortOrderInput | Prisma.SortOrder
563
- providerPriceIdCny?: Prisma.SortOrderInput | Prisma.SortOrder
564
- providerPriceIdUsdYearly?: Prisma.SortOrderInput | Prisma.SortOrder
565
- providerPriceIdCnyYearly?: Prisma.SortOrderInput | Prisma.SortOrder
566
- seatPriceMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
567
- providerSeatPriceIdUsd?: Prisma.SortOrderInput | Prisma.SortOrder
568
- providerSeatPriceIdCny?: Prisma.SortOrderInput | Prisma.SortOrder
569
- agentQuota?: Prisma.SortOrderInput | Prisma.SortOrder
570
- skillQuota?: Prisma.SortOrderInput | Prisma.SortOrder
571
- sandboxMinutesMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
572
- mediaGenerationsMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
573
- galleryStorageMb?: Prisma.SortOrderInput | Prisma.SortOrder
574
- installQuota?: Prisma.SortOrderInput | Prisma.SortOrder
575
- blobStorageMb?: Prisma.SortOrderInput | Prisma.SortOrder
576
- _count?: Prisma.PlanCountOrderByAggregateInput
577
- _avg?: Prisma.PlanAvgOrderByAggregateInput
578
- _max?: Prisma.PlanMaxOrderByAggregateInput
579
- _min?: Prisma.PlanMinOrderByAggregateInput
580
- _sum?: Prisma.PlanSumOrderByAggregateInput
581
- }
582
-
583
- export type PlanScalarWhereWithAggregatesInput = {
584
- AND?: Prisma.PlanScalarWhereWithAggregatesInput | Prisma.PlanScalarWhereWithAggregatesInput[]
585
- OR?: Prisma.PlanScalarWhereWithAggregatesInput[]
586
- NOT?: Prisma.PlanScalarWhereWithAggregatesInput | Prisma.PlanScalarWhereWithAggregatesInput[]
587
- id?: Prisma.StringWithAggregatesFilter<"Plan"> | string
588
- name?: Prisma.StringWithAggregatesFilter<"Plan"> | string
589
- displayName?: Prisma.StringWithAggregatesFilter<"Plan"> | string
590
- description?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
591
- priceMonthly?: Prisma.IntWithAggregatesFilter<"Plan"> | number
592
- priceYearly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
593
- currency?: Prisma.StringWithAggregatesFilter<"Plan"> | string
594
- maxSeats?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
595
- maxGuestSeats?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
596
- maxWorkspaces?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
597
- aiQuotaMonthly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
598
- features?: Prisma.JsonWithAggregatesFilter<"Plan">
599
- isPublic?: Prisma.BoolWithAggregatesFilter<"Plan"> | boolean
600
- sortOrder?: Prisma.IntWithAggregatesFilter<"Plan"> | number
601
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Plan"> | Date | string
602
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Plan"> | Date | string
603
- providerPriceIdUsd?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
604
- providerPriceIdCny?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
605
- providerPriceIdUsdYearly?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
606
- providerPriceIdCnyYearly?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
607
- seatPriceMonthly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
608
- providerSeatPriceIdUsd?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
609
- providerSeatPriceIdCny?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
610
- agentQuota?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
611
- skillQuota?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
612
- sandboxMinutesMonthly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
613
- mediaGenerationsMonthly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
614
- galleryStorageMb?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
615
- installQuota?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
616
- blobStorageMb?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
617
- }
618
-
619
- export type PlanCreateInput = {
620
- id?: string
621
- name: string
622
- displayName: string
623
- description?: string | null
624
- priceMonthly?: number
625
- priceYearly?: number | null
626
- currency?: string
627
- maxSeats?: number | null
628
- maxGuestSeats?: number | null
629
- maxWorkspaces?: number | null
630
- aiQuotaMonthly?: number | null
631
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
632
- isPublic?: boolean
633
- sortOrder?: number
634
- createdAt?: Date | string
635
- updatedAt?: Date | string
636
- providerPriceIdUsd?: string | null
637
- providerPriceIdCny?: string | null
638
- providerPriceIdUsdYearly?: string | null
639
- providerPriceIdCnyYearly?: string | null
640
- seatPriceMonthly?: number | null
641
- providerSeatPriceIdUsd?: string | null
642
- providerSeatPriceIdCny?: string | null
643
- agentQuota?: number | null
644
- skillQuota?: number | null
645
- sandboxMinutesMonthly?: number | null
646
- mediaGenerationsMonthly?: number | null
647
- galleryStorageMb?: number | null
648
- installQuota?: number | null
649
- blobStorageMb?: number | null
650
- subscriptions?: Prisma.SubscriptionCreateNestedManyWithoutPlanInput
651
- }
652
-
653
- export type PlanUncheckedCreateInput = {
654
- id?: string
655
- name: string
656
- displayName: string
657
- description?: string | null
658
- priceMonthly?: number
659
- priceYearly?: number | null
660
- currency?: string
661
- maxSeats?: number | null
662
- maxGuestSeats?: number | null
663
- maxWorkspaces?: number | null
664
- aiQuotaMonthly?: number | null
665
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
666
- isPublic?: boolean
667
- sortOrder?: number
668
- createdAt?: Date | string
669
- updatedAt?: Date | string
670
- providerPriceIdUsd?: string | null
671
- providerPriceIdCny?: string | null
672
- providerPriceIdUsdYearly?: string | null
673
- providerPriceIdCnyYearly?: string | null
674
- seatPriceMonthly?: number | null
675
- providerSeatPriceIdUsd?: string | null
676
- providerSeatPriceIdCny?: string | null
677
- agentQuota?: number | null
678
- skillQuota?: number | null
679
- sandboxMinutesMonthly?: number | null
680
- mediaGenerationsMonthly?: number | null
681
- galleryStorageMb?: number | null
682
- installQuota?: number | null
683
- blobStorageMb?: number | null
684
- subscriptions?: Prisma.SubscriptionUncheckedCreateNestedManyWithoutPlanInput
685
- }
686
-
687
- export type PlanUpdateInput = {
688
- id?: Prisma.StringFieldUpdateOperationsInput | string
689
- name?: Prisma.StringFieldUpdateOperationsInput | string
690
- displayName?: Prisma.StringFieldUpdateOperationsInput | string
691
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
692
- priceMonthly?: Prisma.IntFieldUpdateOperationsInput | number
693
- priceYearly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
694
- currency?: Prisma.StringFieldUpdateOperationsInput | string
695
- maxSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
696
- maxGuestSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
697
- maxWorkspaces?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
698
- aiQuotaMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
699
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
700
- isPublic?: Prisma.BoolFieldUpdateOperationsInput | boolean
701
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
702
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
703
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
704
- providerPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
705
- providerPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
706
- providerPriceIdUsdYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
707
- providerPriceIdCnyYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
708
- seatPriceMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
709
- providerSeatPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
710
- providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
711
- agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
712
- skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
713
- sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
714
- mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
715
- galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
716
- installQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
717
- blobStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
718
- subscriptions?: Prisma.SubscriptionUpdateManyWithoutPlanNestedInput
719
- }
720
-
721
- export type PlanUncheckedUpdateInput = {
722
- id?: Prisma.StringFieldUpdateOperationsInput | string
723
- name?: Prisma.StringFieldUpdateOperationsInput | string
724
- displayName?: Prisma.StringFieldUpdateOperationsInput | string
725
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
726
- priceMonthly?: Prisma.IntFieldUpdateOperationsInput | number
727
- priceYearly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
728
- currency?: Prisma.StringFieldUpdateOperationsInput | string
729
- maxSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
730
- maxGuestSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
731
- maxWorkspaces?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
732
- aiQuotaMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
733
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
734
- isPublic?: Prisma.BoolFieldUpdateOperationsInput | boolean
735
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
736
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
737
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
738
- providerPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
739
- providerPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
740
- providerPriceIdUsdYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
741
- providerPriceIdCnyYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
742
- seatPriceMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
743
- providerSeatPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
744
- providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
745
- agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
746
- skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
747
- sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
748
- mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
749
- galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
750
- installQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
751
- blobStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
752
- subscriptions?: Prisma.SubscriptionUncheckedUpdateManyWithoutPlanNestedInput
753
- }
754
-
755
- export type PlanCreateManyInput = {
756
- id?: string
757
- name: string
758
- displayName: string
759
- description?: string | null
760
- priceMonthly?: number
761
- priceYearly?: number | null
762
- currency?: string
763
- maxSeats?: number | null
764
- maxGuestSeats?: number | null
765
- maxWorkspaces?: number | null
766
- aiQuotaMonthly?: number | null
767
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
768
- isPublic?: boolean
769
- sortOrder?: number
770
- createdAt?: Date | string
771
- updatedAt?: Date | string
772
- providerPriceIdUsd?: string | null
773
- providerPriceIdCny?: string | null
774
- providerPriceIdUsdYearly?: string | null
775
- providerPriceIdCnyYearly?: string | null
776
- seatPriceMonthly?: number | null
777
- providerSeatPriceIdUsd?: string | null
778
- providerSeatPriceIdCny?: string | null
779
- agentQuota?: number | null
780
- skillQuota?: number | null
781
- sandboxMinutesMonthly?: number | null
782
- mediaGenerationsMonthly?: number | null
783
- galleryStorageMb?: number | null
784
- installQuota?: number | null
785
- blobStorageMb?: number | null
786
- }
787
-
788
- export type PlanUpdateManyMutationInput = {
789
- id?: Prisma.StringFieldUpdateOperationsInput | string
790
- name?: Prisma.StringFieldUpdateOperationsInput | string
791
- displayName?: Prisma.StringFieldUpdateOperationsInput | string
792
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
793
- priceMonthly?: Prisma.IntFieldUpdateOperationsInput | number
794
- priceYearly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
795
- currency?: Prisma.StringFieldUpdateOperationsInput | string
796
- maxSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
797
- maxGuestSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
798
- maxWorkspaces?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
799
- aiQuotaMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
800
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
801
- isPublic?: Prisma.BoolFieldUpdateOperationsInput | boolean
802
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
803
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
804
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
805
- providerPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
806
- providerPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
807
- providerPriceIdUsdYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
808
- providerPriceIdCnyYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
809
- seatPriceMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
810
- providerSeatPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
811
- providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
812
- agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
813
- skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
814
- sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
815
- mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
816
- galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
817
- installQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
818
- blobStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
819
- }
820
-
821
- export type PlanUncheckedUpdateManyInput = {
822
- id?: Prisma.StringFieldUpdateOperationsInput | string
823
- name?: Prisma.StringFieldUpdateOperationsInput | string
824
- displayName?: Prisma.StringFieldUpdateOperationsInput | string
825
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
826
- priceMonthly?: Prisma.IntFieldUpdateOperationsInput | number
827
- priceYearly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
828
- currency?: Prisma.StringFieldUpdateOperationsInput | string
829
- maxSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
830
- maxGuestSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
831
- maxWorkspaces?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
832
- aiQuotaMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
833
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
834
- isPublic?: Prisma.BoolFieldUpdateOperationsInput | boolean
835
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
836
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
837
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
838
- providerPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
839
- providerPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
840
- providerPriceIdUsdYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
841
- providerPriceIdCnyYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
842
- seatPriceMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
843
- providerSeatPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
844
- providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
845
- agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
846
- skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
847
- sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
848
- mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
849
- galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
850
- installQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
851
- blobStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
852
- }
853
-
854
- export type PlanCountOrderByAggregateInput = {
855
- id?: Prisma.SortOrder
856
- name?: Prisma.SortOrder
857
- displayName?: Prisma.SortOrder
858
- description?: Prisma.SortOrder
859
- priceMonthly?: Prisma.SortOrder
860
- priceYearly?: Prisma.SortOrder
861
- currency?: Prisma.SortOrder
862
- maxSeats?: Prisma.SortOrder
863
- maxGuestSeats?: Prisma.SortOrder
864
- maxWorkspaces?: Prisma.SortOrder
865
- aiQuotaMonthly?: Prisma.SortOrder
866
- features?: Prisma.SortOrder
867
- isPublic?: Prisma.SortOrder
868
- sortOrder?: Prisma.SortOrder
869
- createdAt?: Prisma.SortOrder
870
- updatedAt?: Prisma.SortOrder
871
- providerPriceIdUsd?: Prisma.SortOrder
872
- providerPriceIdCny?: Prisma.SortOrder
873
- providerPriceIdUsdYearly?: Prisma.SortOrder
874
- providerPriceIdCnyYearly?: Prisma.SortOrder
875
- seatPriceMonthly?: Prisma.SortOrder
876
- providerSeatPriceIdUsd?: Prisma.SortOrder
877
- providerSeatPriceIdCny?: Prisma.SortOrder
878
- agentQuota?: Prisma.SortOrder
879
- skillQuota?: Prisma.SortOrder
880
- sandboxMinutesMonthly?: Prisma.SortOrder
881
- mediaGenerationsMonthly?: Prisma.SortOrder
882
- galleryStorageMb?: Prisma.SortOrder
883
- installQuota?: Prisma.SortOrder
884
- blobStorageMb?: Prisma.SortOrder
885
- }
886
-
887
- export type PlanAvgOrderByAggregateInput = {
888
- priceMonthly?: Prisma.SortOrder
889
- priceYearly?: Prisma.SortOrder
890
- maxSeats?: Prisma.SortOrder
891
- maxGuestSeats?: Prisma.SortOrder
892
- maxWorkspaces?: Prisma.SortOrder
893
- aiQuotaMonthly?: Prisma.SortOrder
894
- sortOrder?: Prisma.SortOrder
895
- seatPriceMonthly?: Prisma.SortOrder
896
- agentQuota?: Prisma.SortOrder
897
- skillQuota?: Prisma.SortOrder
898
- sandboxMinutesMonthly?: Prisma.SortOrder
899
- mediaGenerationsMonthly?: Prisma.SortOrder
900
- galleryStorageMb?: Prisma.SortOrder
901
- installQuota?: Prisma.SortOrder
902
- blobStorageMb?: Prisma.SortOrder
903
- }
904
-
905
- export type PlanMaxOrderByAggregateInput = {
906
- id?: Prisma.SortOrder
907
- name?: Prisma.SortOrder
908
- displayName?: Prisma.SortOrder
909
- description?: Prisma.SortOrder
910
- priceMonthly?: Prisma.SortOrder
911
- priceYearly?: Prisma.SortOrder
912
- currency?: Prisma.SortOrder
913
- maxSeats?: Prisma.SortOrder
914
- maxGuestSeats?: Prisma.SortOrder
915
- maxWorkspaces?: Prisma.SortOrder
916
- aiQuotaMonthly?: Prisma.SortOrder
917
- isPublic?: Prisma.SortOrder
918
- sortOrder?: Prisma.SortOrder
919
- createdAt?: Prisma.SortOrder
920
- updatedAt?: Prisma.SortOrder
921
- providerPriceIdUsd?: Prisma.SortOrder
922
- providerPriceIdCny?: Prisma.SortOrder
923
- providerPriceIdUsdYearly?: Prisma.SortOrder
924
- providerPriceIdCnyYearly?: Prisma.SortOrder
925
- seatPriceMonthly?: Prisma.SortOrder
926
- providerSeatPriceIdUsd?: Prisma.SortOrder
927
- providerSeatPriceIdCny?: Prisma.SortOrder
928
- agentQuota?: Prisma.SortOrder
929
- skillQuota?: Prisma.SortOrder
930
- sandboxMinutesMonthly?: Prisma.SortOrder
931
- mediaGenerationsMonthly?: Prisma.SortOrder
932
- galleryStorageMb?: Prisma.SortOrder
933
- installQuota?: Prisma.SortOrder
934
- blobStorageMb?: Prisma.SortOrder
935
- }
936
-
937
- export type PlanMinOrderByAggregateInput = {
938
- id?: Prisma.SortOrder
939
- name?: Prisma.SortOrder
940
- displayName?: Prisma.SortOrder
941
- description?: Prisma.SortOrder
942
- priceMonthly?: Prisma.SortOrder
943
- priceYearly?: Prisma.SortOrder
944
- currency?: Prisma.SortOrder
945
- maxSeats?: Prisma.SortOrder
946
- maxGuestSeats?: Prisma.SortOrder
947
- maxWorkspaces?: Prisma.SortOrder
948
- aiQuotaMonthly?: Prisma.SortOrder
949
- isPublic?: Prisma.SortOrder
950
- sortOrder?: Prisma.SortOrder
951
- createdAt?: Prisma.SortOrder
952
- updatedAt?: Prisma.SortOrder
953
- providerPriceIdUsd?: Prisma.SortOrder
954
- providerPriceIdCny?: Prisma.SortOrder
955
- providerPriceIdUsdYearly?: Prisma.SortOrder
956
- providerPriceIdCnyYearly?: Prisma.SortOrder
957
- seatPriceMonthly?: Prisma.SortOrder
958
- providerSeatPriceIdUsd?: Prisma.SortOrder
959
- providerSeatPriceIdCny?: Prisma.SortOrder
960
- agentQuota?: Prisma.SortOrder
961
- skillQuota?: Prisma.SortOrder
962
- sandboxMinutesMonthly?: Prisma.SortOrder
963
- mediaGenerationsMonthly?: Prisma.SortOrder
964
- galleryStorageMb?: Prisma.SortOrder
965
- installQuota?: Prisma.SortOrder
966
- blobStorageMb?: Prisma.SortOrder
967
- }
968
-
969
- export type PlanSumOrderByAggregateInput = {
970
- priceMonthly?: Prisma.SortOrder
971
- priceYearly?: Prisma.SortOrder
972
- maxSeats?: Prisma.SortOrder
973
- maxGuestSeats?: Prisma.SortOrder
974
- maxWorkspaces?: Prisma.SortOrder
975
- aiQuotaMonthly?: Prisma.SortOrder
976
- sortOrder?: Prisma.SortOrder
977
- seatPriceMonthly?: Prisma.SortOrder
978
- agentQuota?: Prisma.SortOrder
979
- skillQuota?: Prisma.SortOrder
980
- sandboxMinutesMonthly?: Prisma.SortOrder
981
- mediaGenerationsMonthly?: Prisma.SortOrder
982
- galleryStorageMb?: Prisma.SortOrder
983
- installQuota?: Prisma.SortOrder
984
- blobStorageMb?: Prisma.SortOrder
985
- }
986
-
987
- export type PlanScalarRelationFilter = {
988
- is?: Prisma.PlanWhereInput
989
- isNot?: Prisma.PlanWhereInput
990
- }
991
-
992
- export type PlanCreateNestedOneWithoutSubscriptionsInput = {
993
- create?: Prisma.XOR<Prisma.PlanCreateWithoutSubscriptionsInput, Prisma.PlanUncheckedCreateWithoutSubscriptionsInput>
994
- connectOrCreate?: Prisma.PlanCreateOrConnectWithoutSubscriptionsInput
995
- connect?: Prisma.PlanWhereUniqueInput
996
- }
997
-
998
- export type PlanUpdateOneRequiredWithoutSubscriptionsNestedInput = {
999
- create?: Prisma.XOR<Prisma.PlanCreateWithoutSubscriptionsInput, Prisma.PlanUncheckedCreateWithoutSubscriptionsInput>
1000
- connectOrCreate?: Prisma.PlanCreateOrConnectWithoutSubscriptionsInput
1001
- upsert?: Prisma.PlanUpsertWithoutSubscriptionsInput
1002
- connect?: Prisma.PlanWhereUniqueInput
1003
- update?: Prisma.XOR<Prisma.XOR<Prisma.PlanUpdateToOneWithWhereWithoutSubscriptionsInput, Prisma.PlanUpdateWithoutSubscriptionsInput>, Prisma.PlanUncheckedUpdateWithoutSubscriptionsInput>
1004
- }
1005
-
1006
- export type PlanCreateWithoutSubscriptionsInput = {
1007
- id?: string
1008
- name: string
1009
- displayName: string
1010
- description?: string | null
1011
- priceMonthly?: number
1012
- priceYearly?: number | null
1013
- currency?: string
1014
- maxSeats?: number | null
1015
- maxGuestSeats?: number | null
1016
- maxWorkspaces?: number | null
1017
- aiQuotaMonthly?: number | null
1018
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1019
- isPublic?: boolean
1020
- sortOrder?: number
1021
- createdAt?: Date | string
1022
- updatedAt?: Date | string
1023
- providerPriceIdUsd?: string | null
1024
- providerPriceIdCny?: string | null
1025
- providerPriceIdUsdYearly?: string | null
1026
- providerPriceIdCnyYearly?: string | null
1027
- seatPriceMonthly?: number | null
1028
- providerSeatPriceIdUsd?: string | null
1029
- providerSeatPriceIdCny?: string | null
1030
- agentQuota?: number | null
1031
- skillQuota?: number | null
1032
- sandboxMinutesMonthly?: number | null
1033
- mediaGenerationsMonthly?: number | null
1034
- galleryStorageMb?: number | null
1035
- installQuota?: number | null
1036
- blobStorageMb?: number | null
1037
- }
1038
-
1039
- export type PlanUncheckedCreateWithoutSubscriptionsInput = {
1040
- id?: string
1041
- name: string
1042
- displayName: string
1043
- description?: string | null
1044
- priceMonthly?: number
1045
- priceYearly?: number | null
1046
- currency?: string
1047
- maxSeats?: number | null
1048
- maxGuestSeats?: number | null
1049
- maxWorkspaces?: number | null
1050
- aiQuotaMonthly?: number | null
1051
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1052
- isPublic?: boolean
1053
- sortOrder?: number
1054
- createdAt?: Date | string
1055
- updatedAt?: Date | string
1056
- providerPriceIdUsd?: string | null
1057
- providerPriceIdCny?: string | null
1058
- providerPriceIdUsdYearly?: string | null
1059
- providerPriceIdCnyYearly?: string | null
1060
- seatPriceMonthly?: number | null
1061
- providerSeatPriceIdUsd?: string | null
1062
- providerSeatPriceIdCny?: string | null
1063
- agentQuota?: number | null
1064
- skillQuota?: number | null
1065
- sandboxMinutesMonthly?: number | null
1066
- mediaGenerationsMonthly?: number | null
1067
- galleryStorageMb?: number | null
1068
- installQuota?: number | null
1069
- blobStorageMb?: number | null
1070
- }
1071
-
1072
- export type PlanCreateOrConnectWithoutSubscriptionsInput = {
1073
- where: Prisma.PlanWhereUniqueInput
1074
- create: Prisma.XOR<Prisma.PlanCreateWithoutSubscriptionsInput, Prisma.PlanUncheckedCreateWithoutSubscriptionsInput>
1075
- }
1076
-
1077
- export type PlanUpsertWithoutSubscriptionsInput = {
1078
- update: Prisma.XOR<Prisma.PlanUpdateWithoutSubscriptionsInput, Prisma.PlanUncheckedUpdateWithoutSubscriptionsInput>
1079
- create: Prisma.XOR<Prisma.PlanCreateWithoutSubscriptionsInput, Prisma.PlanUncheckedCreateWithoutSubscriptionsInput>
1080
- where?: Prisma.PlanWhereInput
1081
- }
1082
-
1083
- export type PlanUpdateToOneWithWhereWithoutSubscriptionsInput = {
1084
- where?: Prisma.PlanWhereInput
1085
- data: Prisma.XOR<Prisma.PlanUpdateWithoutSubscriptionsInput, Prisma.PlanUncheckedUpdateWithoutSubscriptionsInput>
1086
- }
1087
-
1088
- export type PlanUpdateWithoutSubscriptionsInput = {
1089
- id?: Prisma.StringFieldUpdateOperationsInput | string
1090
- name?: Prisma.StringFieldUpdateOperationsInput | string
1091
- displayName?: Prisma.StringFieldUpdateOperationsInput | string
1092
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1093
- priceMonthly?: Prisma.IntFieldUpdateOperationsInput | number
1094
- priceYearly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1095
- currency?: Prisma.StringFieldUpdateOperationsInput | string
1096
- maxSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1097
- maxGuestSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1098
- maxWorkspaces?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1099
- aiQuotaMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1100
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1101
- isPublic?: Prisma.BoolFieldUpdateOperationsInput | boolean
1102
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1103
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1104
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1105
- providerPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1106
- providerPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1107
- providerPriceIdUsdYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1108
- providerPriceIdCnyYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1109
- seatPriceMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1110
- providerSeatPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1111
- providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1112
- agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1113
- skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1114
- sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1115
- mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1116
- galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1117
- installQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1118
- blobStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1119
- }
1120
-
1121
- export type PlanUncheckedUpdateWithoutSubscriptionsInput = {
1122
- id?: Prisma.StringFieldUpdateOperationsInput | string
1123
- name?: Prisma.StringFieldUpdateOperationsInput | string
1124
- displayName?: Prisma.StringFieldUpdateOperationsInput | string
1125
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1126
- priceMonthly?: Prisma.IntFieldUpdateOperationsInput | number
1127
- priceYearly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1128
- currency?: Prisma.StringFieldUpdateOperationsInput | string
1129
- maxSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1130
- maxGuestSeats?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1131
- maxWorkspaces?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1132
- aiQuotaMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1133
- features?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1134
- isPublic?: Prisma.BoolFieldUpdateOperationsInput | boolean
1135
- sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1136
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1137
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1138
- providerPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1139
- providerPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1140
- providerPriceIdUsdYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1141
- providerPriceIdCnyYearly?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1142
- seatPriceMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1143
- providerSeatPriceIdUsd?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1144
- providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1145
- agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1146
- skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1147
- sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1148
- mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1149
- galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1150
- installQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1151
- blobStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1152
- }
1153
-
1154
-
1155
- /**
1156
- * Count Type PlanCountOutputType
1157
- */
1158
-
1159
- export type PlanCountOutputType = {
1160
- subscriptions: number
1161
- }
1162
-
1163
- export type PlanCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1164
- subscriptions?: boolean | PlanCountOutputTypeCountSubscriptionsArgs
1165
- }
1166
-
1167
- /**
1168
- * PlanCountOutputType without action
1169
- */
1170
- export type PlanCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1171
- /**
1172
- * Select specific fields to fetch from the PlanCountOutputType
1173
- */
1174
- select?: Prisma.PlanCountOutputTypeSelect<ExtArgs> | null
1175
- }
1176
-
1177
- /**
1178
- * PlanCountOutputType without action
1179
- */
1180
- export type PlanCountOutputTypeCountSubscriptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1181
- where?: Prisma.SubscriptionWhereInput
1182
- }
1183
-
1184
-
1185
- export type PlanSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1186
- id?: boolean
1187
- name?: boolean
1188
- displayName?: boolean
1189
- description?: boolean
1190
- priceMonthly?: boolean
1191
- priceYearly?: boolean
1192
- currency?: boolean
1193
- maxSeats?: boolean
1194
- maxGuestSeats?: boolean
1195
- maxWorkspaces?: boolean
1196
- aiQuotaMonthly?: boolean
1197
- features?: boolean
1198
- isPublic?: boolean
1199
- sortOrder?: boolean
1200
- createdAt?: boolean
1201
- updatedAt?: boolean
1202
- providerPriceIdUsd?: boolean
1203
- providerPriceIdCny?: boolean
1204
- providerPriceIdUsdYearly?: boolean
1205
- providerPriceIdCnyYearly?: boolean
1206
- seatPriceMonthly?: boolean
1207
- providerSeatPriceIdUsd?: boolean
1208
- providerSeatPriceIdCny?: boolean
1209
- agentQuota?: boolean
1210
- skillQuota?: boolean
1211
- sandboxMinutesMonthly?: boolean
1212
- mediaGenerationsMonthly?: boolean
1213
- galleryStorageMb?: boolean
1214
- installQuota?: boolean
1215
- blobStorageMb?: boolean
1216
- subscriptions?: boolean | Prisma.Plan$subscriptionsArgs<ExtArgs>
1217
- _count?: boolean | Prisma.PlanCountOutputTypeDefaultArgs<ExtArgs>
1218
- }, ExtArgs["result"]["plan"]>
1219
-
1220
- export type PlanSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1221
- id?: boolean
1222
- name?: boolean
1223
- displayName?: boolean
1224
- description?: boolean
1225
- priceMonthly?: boolean
1226
- priceYearly?: boolean
1227
- currency?: boolean
1228
- maxSeats?: boolean
1229
- maxGuestSeats?: boolean
1230
- maxWorkspaces?: boolean
1231
- aiQuotaMonthly?: boolean
1232
- features?: boolean
1233
- isPublic?: boolean
1234
- sortOrder?: boolean
1235
- createdAt?: boolean
1236
- updatedAt?: boolean
1237
- providerPriceIdUsd?: boolean
1238
- providerPriceIdCny?: boolean
1239
- providerPriceIdUsdYearly?: boolean
1240
- providerPriceIdCnyYearly?: boolean
1241
- seatPriceMonthly?: boolean
1242
- providerSeatPriceIdUsd?: boolean
1243
- providerSeatPriceIdCny?: boolean
1244
- agentQuota?: boolean
1245
- skillQuota?: boolean
1246
- sandboxMinutesMonthly?: boolean
1247
- mediaGenerationsMonthly?: boolean
1248
- galleryStorageMb?: boolean
1249
- installQuota?: boolean
1250
- blobStorageMb?: boolean
1251
- }, ExtArgs["result"]["plan"]>
1252
-
1253
- export type PlanSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1254
- id?: boolean
1255
- name?: boolean
1256
- displayName?: boolean
1257
- description?: boolean
1258
- priceMonthly?: boolean
1259
- priceYearly?: boolean
1260
- currency?: boolean
1261
- maxSeats?: boolean
1262
- maxGuestSeats?: boolean
1263
- maxWorkspaces?: boolean
1264
- aiQuotaMonthly?: boolean
1265
- features?: boolean
1266
- isPublic?: boolean
1267
- sortOrder?: boolean
1268
- createdAt?: boolean
1269
- updatedAt?: boolean
1270
- providerPriceIdUsd?: boolean
1271
- providerPriceIdCny?: boolean
1272
- providerPriceIdUsdYearly?: boolean
1273
- providerPriceIdCnyYearly?: boolean
1274
- seatPriceMonthly?: boolean
1275
- providerSeatPriceIdUsd?: boolean
1276
- providerSeatPriceIdCny?: boolean
1277
- agentQuota?: boolean
1278
- skillQuota?: boolean
1279
- sandboxMinutesMonthly?: boolean
1280
- mediaGenerationsMonthly?: boolean
1281
- galleryStorageMb?: boolean
1282
- installQuota?: boolean
1283
- blobStorageMb?: boolean
1284
- }, ExtArgs["result"]["plan"]>
1285
-
1286
- export type PlanSelectScalar = {
1287
- id?: boolean
1288
- name?: boolean
1289
- displayName?: boolean
1290
- description?: boolean
1291
- priceMonthly?: boolean
1292
- priceYearly?: boolean
1293
- currency?: boolean
1294
- maxSeats?: boolean
1295
- maxGuestSeats?: boolean
1296
- maxWorkspaces?: boolean
1297
- aiQuotaMonthly?: boolean
1298
- features?: boolean
1299
- isPublic?: boolean
1300
- sortOrder?: boolean
1301
- createdAt?: boolean
1302
- updatedAt?: boolean
1303
- providerPriceIdUsd?: boolean
1304
- providerPriceIdCny?: boolean
1305
- providerPriceIdUsdYearly?: boolean
1306
- providerPriceIdCnyYearly?: boolean
1307
- seatPriceMonthly?: boolean
1308
- providerSeatPriceIdUsd?: boolean
1309
- providerSeatPriceIdCny?: boolean
1310
- agentQuota?: boolean
1311
- skillQuota?: boolean
1312
- sandboxMinutesMonthly?: boolean
1313
- mediaGenerationsMonthly?: boolean
1314
- galleryStorageMb?: boolean
1315
- installQuota?: boolean
1316
- blobStorageMb?: boolean
1317
- }
1318
-
1319
- export type PlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "displayName" | "description" | "priceMonthly" | "priceYearly" | "currency" | "maxSeats" | "maxGuestSeats" | "maxWorkspaces" | "aiQuotaMonthly" | "features" | "isPublic" | "sortOrder" | "createdAt" | "updatedAt" | "providerPriceIdUsd" | "providerPriceIdCny" | "providerPriceIdUsdYearly" | "providerPriceIdCnyYearly" | "seatPriceMonthly" | "providerSeatPriceIdUsd" | "providerSeatPriceIdCny" | "agentQuota" | "skillQuota" | "sandboxMinutesMonthly" | "mediaGenerationsMonthly" | "galleryStorageMb" | "installQuota" | "blobStorageMb", ExtArgs["result"]["plan"]>
1320
- export type PlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
- subscriptions?: boolean | Prisma.Plan$subscriptionsArgs<ExtArgs>
1322
- _count?: boolean | Prisma.PlanCountOutputTypeDefaultArgs<ExtArgs>
1323
- }
1324
- export type PlanIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
1325
- export type PlanIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
1326
-
1327
- export type $PlanPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1328
- name: "Plan"
1329
- objects: {
1330
- subscriptions: Prisma.$SubscriptionPayload<ExtArgs>[]
1331
- }
1332
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1333
- id: string
1334
- name: string
1335
- displayName: string
1336
- description: string | null
1337
- priceMonthly: number
1338
- priceYearly: number | null
1339
- currency: string
1340
- maxSeats: number | null
1341
- maxGuestSeats: number | null
1342
- maxWorkspaces: number | null
1343
- aiQuotaMonthly: number | null
1344
- features: runtime.JsonValue
1345
- isPublic: boolean
1346
- sortOrder: number
1347
- createdAt: Date
1348
- updatedAt: Date
1349
- /**
1350
- * Provider 产品与价格同步(子项目 3 新增)
1351
- */
1352
- providerPriceIdUsd: string | null
1353
- providerPriceIdCny: string | null
1354
- providerPriceIdUsdYearly: string | null
1355
- providerPriceIdCnyYearly: string | null
1356
- seatPriceMonthly: number | null
1357
- providerSeatPriceIdUsd: string | null
1358
- providerSeatPriceIdCny: string | null
1359
- agentQuota: number | null
1360
- skillQuota: number | null
1361
- sandboxMinutesMonthly: number | null
1362
- mediaGenerationsMonthly: number | null
1363
- galleryStorageMb: number | null
1364
- installQuota: number | null
1365
- blobStorageMb: number | null
1366
- }, ExtArgs["result"]["plan"]>
1367
- composites: {}
1368
- }
1369
-
1370
- export type PlanGetPayload<S extends boolean | null | undefined | PlanDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PlanPayload, S>
1371
-
1372
- export type PlanCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1373
- Omit<PlanFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1374
- select?: PlanCountAggregateInputType | true
1375
- }
1376
-
1377
- export interface PlanDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1378
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Plan'], meta: { name: 'Plan' } }
1379
- /**
1380
- * Find zero or one Plan that matches the filter.
1381
- * @param {PlanFindUniqueArgs} args - Arguments to find a Plan
1382
- * @example
1383
- * // Get one Plan
1384
- * const plan = await prisma.plan.findUnique({
1385
- * where: {
1386
- * // ... provide filter here
1387
- * }
1388
- * })
1389
- */
1390
- findUnique<T extends PlanFindUniqueArgs>(args: Prisma.SelectSubset<T, PlanFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1391
-
1392
- /**
1393
- * Find one Plan that matches the filter or throw an error with `error.code='P2025'`
1394
- * if no matches were found.
1395
- * @param {PlanFindUniqueOrThrowArgs} args - Arguments to find a Plan
1396
- * @example
1397
- * // Get one Plan
1398
- * const plan = await prisma.plan.findUniqueOrThrow({
1399
- * where: {
1400
- * // ... provide filter here
1401
- * }
1402
- * })
1403
- */
1404
- findUniqueOrThrow<T extends PlanFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PlanFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1405
-
1406
- /**
1407
- * Find the first Plan that matches the filter.
1408
- * Note, that providing `undefined` is treated as the value not being there.
1409
- * Read more here: https://pris.ly/d/null-undefined
1410
- * @param {PlanFindFirstArgs} args - Arguments to find a Plan
1411
- * @example
1412
- * // Get one Plan
1413
- * const plan = await prisma.plan.findFirst({
1414
- * where: {
1415
- * // ... provide filter here
1416
- * }
1417
- * })
1418
- */
1419
- findFirst<T extends PlanFindFirstArgs>(args?: Prisma.SelectSubset<T, PlanFindFirstArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1420
-
1421
- /**
1422
- * Find the first Plan that matches the filter or
1423
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1424
- * Note, that providing `undefined` is treated as the value not being there.
1425
- * Read more here: https://pris.ly/d/null-undefined
1426
- * @param {PlanFindFirstOrThrowArgs} args - Arguments to find a Plan
1427
- * @example
1428
- * // Get one Plan
1429
- * const plan = await prisma.plan.findFirstOrThrow({
1430
- * where: {
1431
- * // ... provide filter here
1432
- * }
1433
- * })
1434
- */
1435
- findFirstOrThrow<T extends PlanFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PlanFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1436
-
1437
- /**
1438
- * Find zero or more Plans that matches the filter.
1439
- * Note, that providing `undefined` is treated as the value not being there.
1440
- * Read more here: https://pris.ly/d/null-undefined
1441
- * @param {PlanFindManyArgs} args - Arguments to filter and select certain fields only.
1442
- * @example
1443
- * // Get all Plans
1444
- * const plans = await prisma.plan.findMany()
1445
- *
1446
- * // Get first 10 Plans
1447
- * const plans = await prisma.plan.findMany({ take: 10 })
1448
- *
1449
- * // Only select the `id`
1450
- * const planWithIdOnly = await prisma.plan.findMany({ select: { id: true } })
1451
- *
1452
- */
1453
- findMany<T extends PlanFindManyArgs>(args?: Prisma.SelectSubset<T, PlanFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1454
-
1455
- /**
1456
- * Create a Plan.
1457
- * @param {PlanCreateArgs} args - Arguments to create a Plan.
1458
- * @example
1459
- * // Create one Plan
1460
- * const Plan = await prisma.plan.create({
1461
- * data: {
1462
- * // ... data to create a Plan
1463
- * }
1464
- * })
1465
- *
1466
- */
1467
- create<T extends PlanCreateArgs>(args: Prisma.SelectSubset<T, PlanCreateArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1468
-
1469
- /**
1470
- * Create many Plans.
1471
- * @param {PlanCreateManyArgs} args - Arguments to create many Plans.
1472
- * @example
1473
- * // Create many Plans
1474
- * const plan = await prisma.plan.createMany({
1475
- * data: [
1476
- * // ... provide data here
1477
- * ]
1478
- * })
1479
- *
1480
- */
1481
- createMany<T extends PlanCreateManyArgs>(args?: Prisma.SelectSubset<T, PlanCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1482
-
1483
- /**
1484
- * Create many Plans and returns the data saved in the database.
1485
- * @param {PlanCreateManyAndReturnArgs} args - Arguments to create many Plans.
1486
- * @example
1487
- * // Create many Plans
1488
- * const plan = await prisma.plan.createManyAndReturn({
1489
- * data: [
1490
- * // ... provide data here
1491
- * ]
1492
- * })
1493
- *
1494
- * // Create many Plans and only return the `id`
1495
- * const planWithIdOnly = await prisma.plan.createManyAndReturn({
1496
- * select: { id: true },
1497
- * data: [
1498
- * // ... provide data here
1499
- * ]
1500
- * })
1501
- * Note, that providing `undefined` is treated as the value not being there.
1502
- * Read more here: https://pris.ly/d/null-undefined
1503
- *
1504
- */
1505
- createManyAndReturn<T extends PlanCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PlanCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1506
-
1507
- /**
1508
- * Delete a Plan.
1509
- * @param {PlanDeleteArgs} args - Arguments to delete one Plan.
1510
- * @example
1511
- * // Delete one Plan
1512
- * const Plan = await prisma.plan.delete({
1513
- * where: {
1514
- * // ... filter to delete one Plan
1515
- * }
1516
- * })
1517
- *
1518
- */
1519
- delete<T extends PlanDeleteArgs>(args: Prisma.SelectSubset<T, PlanDeleteArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1520
-
1521
- /**
1522
- * Update one Plan.
1523
- * @param {PlanUpdateArgs} args - Arguments to update one Plan.
1524
- * @example
1525
- * // Update one Plan
1526
- * const plan = await prisma.plan.update({
1527
- * where: {
1528
- * // ... provide filter here
1529
- * },
1530
- * data: {
1531
- * // ... provide data here
1532
- * }
1533
- * })
1534
- *
1535
- */
1536
- update<T extends PlanUpdateArgs>(args: Prisma.SelectSubset<T, PlanUpdateArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1537
-
1538
- /**
1539
- * Delete zero or more Plans.
1540
- * @param {PlanDeleteManyArgs} args - Arguments to filter Plans to delete.
1541
- * @example
1542
- * // Delete a few Plans
1543
- * const { count } = await prisma.plan.deleteMany({
1544
- * where: {
1545
- * // ... provide filter here
1546
- * }
1547
- * })
1548
- *
1549
- */
1550
- deleteMany<T extends PlanDeleteManyArgs>(args?: Prisma.SelectSubset<T, PlanDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1551
-
1552
- /**
1553
- * Update zero or more Plans.
1554
- * Note, that providing `undefined` is treated as the value not being there.
1555
- * Read more here: https://pris.ly/d/null-undefined
1556
- * @param {PlanUpdateManyArgs} args - Arguments to update one or more rows.
1557
- * @example
1558
- * // Update many Plans
1559
- * const plan = await prisma.plan.updateMany({
1560
- * where: {
1561
- * // ... provide filter here
1562
- * },
1563
- * data: {
1564
- * // ... provide data here
1565
- * }
1566
- * })
1567
- *
1568
- */
1569
- updateMany<T extends PlanUpdateManyArgs>(args: Prisma.SelectSubset<T, PlanUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1570
-
1571
- /**
1572
- * Update zero or more Plans and returns the data updated in the database.
1573
- * @param {PlanUpdateManyAndReturnArgs} args - Arguments to update many Plans.
1574
- * @example
1575
- * // Update many Plans
1576
- * const plan = await prisma.plan.updateManyAndReturn({
1577
- * where: {
1578
- * // ... provide filter here
1579
- * },
1580
- * data: [
1581
- * // ... provide data here
1582
- * ]
1583
- * })
1584
- *
1585
- * // Update zero or more Plans and only return the `id`
1586
- * const planWithIdOnly = await prisma.plan.updateManyAndReturn({
1587
- * select: { id: true },
1588
- * where: {
1589
- * // ... provide filter here
1590
- * },
1591
- * data: [
1592
- * // ... provide data here
1593
- * ]
1594
- * })
1595
- * Note, that providing `undefined` is treated as the value not being there.
1596
- * Read more here: https://pris.ly/d/null-undefined
1597
- *
1598
- */
1599
- updateManyAndReturn<T extends PlanUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PlanUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1600
-
1601
- /**
1602
- * Create or update one Plan.
1603
- * @param {PlanUpsertArgs} args - Arguments to update or create a Plan.
1604
- * @example
1605
- * // Update or create a Plan
1606
- * const plan = await prisma.plan.upsert({
1607
- * create: {
1608
- * // ... data to create a Plan
1609
- * },
1610
- * update: {
1611
- * // ... in case it already exists, update
1612
- * },
1613
- * where: {
1614
- * // ... the filter for the Plan we want to update
1615
- * }
1616
- * })
1617
- */
1618
- upsert<T extends PlanUpsertArgs>(args: Prisma.SelectSubset<T, PlanUpsertArgs<ExtArgs>>): Prisma.Prisma__PlanClient<runtime.Types.Result.GetResult<Prisma.$PlanPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1619
-
1620
-
1621
- /**
1622
- * Count the number of Plans.
1623
- * Note, that providing `undefined` is treated as the value not being there.
1624
- * Read more here: https://pris.ly/d/null-undefined
1625
- * @param {PlanCountArgs} args - Arguments to filter Plans to count.
1626
- * @example
1627
- * // Count the number of Plans
1628
- * const count = await prisma.plan.count({
1629
- * where: {
1630
- * // ... the filter for the Plans we want to count
1631
- * }
1632
- * })
1633
- **/
1634
- count<T extends PlanCountArgs>(
1635
- args?: Prisma.Subset<T, PlanCountArgs>,
1636
- ): Prisma.PrismaPromise<
1637
- T extends runtime.Types.Utils.Record<'select', any>
1638
- ? T['select'] extends true
1639
- ? number
1640
- : Prisma.GetScalarType<T['select'], PlanCountAggregateOutputType>
1641
- : number
1642
- >
1643
-
1644
- /**
1645
- * Allows you to perform aggregations operations on a Plan.
1646
- * Note, that providing `undefined` is treated as the value not being there.
1647
- * Read more here: https://pris.ly/d/null-undefined
1648
- * @param {PlanAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1649
- * @example
1650
- * // Ordered by age ascending
1651
- * // Where email contains prisma.io
1652
- * // Limited to the 10 users
1653
- * const aggregations = await prisma.user.aggregate({
1654
- * _avg: {
1655
- * age: true,
1656
- * },
1657
- * where: {
1658
- * email: {
1659
- * contains: "prisma.io",
1660
- * },
1661
- * },
1662
- * orderBy: {
1663
- * age: "asc",
1664
- * },
1665
- * take: 10,
1666
- * })
1667
- **/
1668
- aggregate<T extends PlanAggregateArgs>(args: Prisma.Subset<T, PlanAggregateArgs>): Prisma.PrismaPromise<GetPlanAggregateType<T>>
1669
-
1670
- /**
1671
- * Group by Plan.
1672
- * Note, that providing `undefined` is treated as the value not being there.
1673
- * Read more here: https://pris.ly/d/null-undefined
1674
- * @param {PlanGroupByArgs} args - Group by arguments.
1675
- * @example
1676
- * // Group by city, order by createdAt, get count
1677
- * const result = await prisma.user.groupBy({
1678
- * by: ['city', 'createdAt'],
1679
- * orderBy: {
1680
- * createdAt: true
1681
- * },
1682
- * _count: {
1683
- * _all: true
1684
- * },
1685
- * })
1686
- *
1687
- **/
1688
- groupBy<
1689
- T extends PlanGroupByArgs,
1690
- HasSelectOrTake extends Prisma.Or<
1691
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1692
- Prisma.Extends<'take', Prisma.Keys<T>>
1693
- >,
1694
- OrderByArg extends Prisma.True extends HasSelectOrTake
1695
- ? { orderBy: PlanGroupByArgs['orderBy'] }
1696
- : { orderBy?: PlanGroupByArgs['orderBy'] },
1697
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1698
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1699
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1700
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1701
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1702
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1703
- InputErrors extends ByEmpty extends Prisma.True
1704
- ? `Error: "by" must not be empty.`
1705
- : HavingValid extends Prisma.False
1706
- ? {
1707
- [P in HavingFields]: P extends ByFields
1708
- ? never
1709
- : P extends string
1710
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1711
- : [
1712
- Error,
1713
- 'Field ',
1714
- P,
1715
- ` in "having" needs to be provided in "by"`,
1716
- ]
1717
- }[HavingFields]
1718
- : 'take' extends Prisma.Keys<T>
1719
- ? 'orderBy' extends Prisma.Keys<T>
1720
- ? ByValid extends Prisma.True
1721
- ? {}
1722
- : {
1723
- [P in OrderFields]: P extends ByFields
1724
- ? never
1725
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1726
- }[OrderFields]
1727
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1728
- : 'skip' extends Prisma.Keys<T>
1729
- ? 'orderBy' extends Prisma.Keys<T>
1730
- ? ByValid extends Prisma.True
1731
- ? {}
1732
- : {
1733
- [P in OrderFields]: P extends ByFields
1734
- ? never
1735
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1736
- }[OrderFields]
1737
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1738
- : ByValid extends Prisma.True
1739
- ? {}
1740
- : {
1741
- [P in OrderFields]: P extends ByFields
1742
- ? never
1743
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1744
- }[OrderFields]
1745
- >(args: Prisma.SubsetIntersection<T, PlanGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPlanGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1746
- /**
1747
- * Fields of the Plan model
1748
- */
1749
- readonly fields: PlanFieldRefs;
1750
- }
1751
-
1752
- /**
1753
- * The delegate class that acts as a "Promise-like" for Plan.
1754
- * Why is this prefixed with `Prisma__`?
1755
- * Because we want to prevent naming conflicts as mentioned in
1756
- * https://github.com/prisma/prisma-client-js/issues/707
1757
- */
1758
- export interface Prisma__PlanClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1759
- readonly [Symbol.toStringTag]: "PrismaPromise"
1760
- subscriptions<T extends Prisma.Plan$subscriptionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Plan$subscriptionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SubscriptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1761
- /**
1762
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1763
- * @param onfulfilled The callback to execute when the Promise is resolved.
1764
- * @param onrejected The callback to execute when the Promise is rejected.
1765
- * @returns A Promise for the completion of which ever callback is executed.
1766
- */
1767
- 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>
1768
- /**
1769
- * Attaches a callback for only the rejection of the Promise.
1770
- * @param onrejected The callback to execute when the Promise is rejected.
1771
- * @returns A Promise for the completion of the callback.
1772
- */
1773
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1774
- /**
1775
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1776
- * resolved value cannot be modified from the callback.
1777
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1778
- * @returns A Promise for the completion of the callback.
1779
- */
1780
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1781
- }
1782
-
1783
-
1784
-
1785
-
1786
- /**
1787
- * Fields of the Plan model
1788
- */
1789
- export interface PlanFieldRefs {
1790
- readonly id: Prisma.FieldRef<"Plan", 'String'>
1791
- readonly name: Prisma.FieldRef<"Plan", 'String'>
1792
- readonly displayName: Prisma.FieldRef<"Plan", 'String'>
1793
- readonly description: Prisma.FieldRef<"Plan", 'String'>
1794
- readonly priceMonthly: Prisma.FieldRef<"Plan", 'Int'>
1795
- readonly priceYearly: Prisma.FieldRef<"Plan", 'Int'>
1796
- readonly currency: Prisma.FieldRef<"Plan", 'String'>
1797
- readonly maxSeats: Prisma.FieldRef<"Plan", 'Int'>
1798
- readonly maxGuestSeats: Prisma.FieldRef<"Plan", 'Int'>
1799
- readonly maxWorkspaces: Prisma.FieldRef<"Plan", 'Int'>
1800
- readonly aiQuotaMonthly: Prisma.FieldRef<"Plan", 'Int'>
1801
- readonly features: Prisma.FieldRef<"Plan", 'Json'>
1802
- readonly isPublic: Prisma.FieldRef<"Plan", 'Boolean'>
1803
- readonly sortOrder: Prisma.FieldRef<"Plan", 'Int'>
1804
- readonly createdAt: Prisma.FieldRef<"Plan", 'DateTime'>
1805
- readonly updatedAt: Prisma.FieldRef<"Plan", 'DateTime'>
1806
- readonly providerPriceIdUsd: Prisma.FieldRef<"Plan", 'String'>
1807
- readonly providerPriceIdCny: Prisma.FieldRef<"Plan", 'String'>
1808
- readonly providerPriceIdUsdYearly: Prisma.FieldRef<"Plan", 'String'>
1809
- readonly providerPriceIdCnyYearly: Prisma.FieldRef<"Plan", 'String'>
1810
- readonly seatPriceMonthly: Prisma.FieldRef<"Plan", 'Int'>
1811
- readonly providerSeatPriceIdUsd: Prisma.FieldRef<"Plan", 'String'>
1812
- readonly providerSeatPriceIdCny: Prisma.FieldRef<"Plan", 'String'>
1813
- readonly agentQuota: Prisma.FieldRef<"Plan", 'Int'>
1814
- readonly skillQuota: Prisma.FieldRef<"Plan", 'Int'>
1815
- readonly sandboxMinutesMonthly: Prisma.FieldRef<"Plan", 'Int'>
1816
- readonly mediaGenerationsMonthly: Prisma.FieldRef<"Plan", 'Int'>
1817
- readonly galleryStorageMb: Prisma.FieldRef<"Plan", 'Int'>
1818
- readonly installQuota: Prisma.FieldRef<"Plan", 'Int'>
1819
- readonly blobStorageMb: Prisma.FieldRef<"Plan", 'Int'>
1820
- }
1821
-
1822
-
1823
- // Custom InputTypes
1824
- /**
1825
- * Plan findUnique
1826
- */
1827
- export type PlanFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1828
- /**
1829
- * Select specific fields to fetch from the Plan
1830
- */
1831
- select?: Prisma.PlanSelect<ExtArgs> | null
1832
- /**
1833
- * Omit specific fields from the Plan
1834
- */
1835
- omit?: Prisma.PlanOmit<ExtArgs> | null
1836
- /**
1837
- * Choose, which related nodes to fetch as well
1838
- */
1839
- include?: Prisma.PlanInclude<ExtArgs> | null
1840
- /**
1841
- * Filter, which Plan to fetch.
1842
- */
1843
- where: Prisma.PlanWhereUniqueInput
1844
- }
1845
-
1846
- /**
1847
- * Plan findUniqueOrThrow
1848
- */
1849
- export type PlanFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1850
- /**
1851
- * Select specific fields to fetch from the Plan
1852
- */
1853
- select?: Prisma.PlanSelect<ExtArgs> | null
1854
- /**
1855
- * Omit specific fields from the Plan
1856
- */
1857
- omit?: Prisma.PlanOmit<ExtArgs> | null
1858
- /**
1859
- * Choose, which related nodes to fetch as well
1860
- */
1861
- include?: Prisma.PlanInclude<ExtArgs> | null
1862
- /**
1863
- * Filter, which Plan to fetch.
1864
- */
1865
- where: Prisma.PlanWhereUniqueInput
1866
- }
1867
-
1868
- /**
1869
- * Plan findFirst
1870
- */
1871
- export type PlanFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1872
- /**
1873
- * Select specific fields to fetch from the Plan
1874
- */
1875
- select?: Prisma.PlanSelect<ExtArgs> | null
1876
- /**
1877
- * Omit specific fields from the Plan
1878
- */
1879
- omit?: Prisma.PlanOmit<ExtArgs> | null
1880
- /**
1881
- * Choose, which related nodes to fetch as well
1882
- */
1883
- include?: Prisma.PlanInclude<ExtArgs> | null
1884
- /**
1885
- * Filter, which Plan to fetch.
1886
- */
1887
- where?: Prisma.PlanWhereInput
1888
- /**
1889
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1890
- *
1891
- * Determine the order of Plans to fetch.
1892
- */
1893
- orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[]
1894
- /**
1895
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1896
- *
1897
- * Sets the position for searching for Plans.
1898
- */
1899
- cursor?: Prisma.PlanWhereUniqueInput
1900
- /**
1901
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1902
- *
1903
- * Take `±n` Plans from the position of the cursor.
1904
- */
1905
- take?: number
1906
- /**
1907
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1908
- *
1909
- * Skip the first `n` Plans.
1910
- */
1911
- skip?: number
1912
- /**
1913
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1914
- *
1915
- * Filter by unique combinations of Plans.
1916
- */
1917
- distinct?: Prisma.PlanScalarFieldEnum | Prisma.PlanScalarFieldEnum[]
1918
- }
1919
-
1920
- /**
1921
- * Plan findFirstOrThrow
1922
- */
1923
- export type PlanFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1924
- /**
1925
- * Select specific fields to fetch from the Plan
1926
- */
1927
- select?: Prisma.PlanSelect<ExtArgs> | null
1928
- /**
1929
- * Omit specific fields from the Plan
1930
- */
1931
- omit?: Prisma.PlanOmit<ExtArgs> | null
1932
- /**
1933
- * Choose, which related nodes to fetch as well
1934
- */
1935
- include?: Prisma.PlanInclude<ExtArgs> | null
1936
- /**
1937
- * Filter, which Plan to fetch.
1938
- */
1939
- where?: Prisma.PlanWhereInput
1940
- /**
1941
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1942
- *
1943
- * Determine the order of Plans to fetch.
1944
- */
1945
- orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[]
1946
- /**
1947
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1948
- *
1949
- * Sets the position for searching for Plans.
1950
- */
1951
- cursor?: Prisma.PlanWhereUniqueInput
1952
- /**
1953
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1954
- *
1955
- * Take `±n` Plans from the position of the cursor.
1956
- */
1957
- take?: number
1958
- /**
1959
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1960
- *
1961
- * Skip the first `n` Plans.
1962
- */
1963
- skip?: number
1964
- /**
1965
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1966
- *
1967
- * Filter by unique combinations of Plans.
1968
- */
1969
- distinct?: Prisma.PlanScalarFieldEnum | Prisma.PlanScalarFieldEnum[]
1970
- }
1971
-
1972
- /**
1973
- * Plan findMany
1974
- */
1975
- export type PlanFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1976
- /**
1977
- * Select specific fields to fetch from the Plan
1978
- */
1979
- select?: Prisma.PlanSelect<ExtArgs> | null
1980
- /**
1981
- * Omit specific fields from the Plan
1982
- */
1983
- omit?: Prisma.PlanOmit<ExtArgs> | null
1984
- /**
1985
- * Choose, which related nodes to fetch as well
1986
- */
1987
- include?: Prisma.PlanInclude<ExtArgs> | null
1988
- /**
1989
- * Filter, which Plans to fetch.
1990
- */
1991
- where?: Prisma.PlanWhereInput
1992
- /**
1993
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1994
- *
1995
- * Determine the order of Plans to fetch.
1996
- */
1997
- orderBy?: Prisma.PlanOrderByWithRelationInput | Prisma.PlanOrderByWithRelationInput[]
1998
- /**
1999
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2000
- *
2001
- * Sets the position for listing Plans.
2002
- */
2003
- cursor?: Prisma.PlanWhereUniqueInput
2004
- /**
2005
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2006
- *
2007
- * Take `±n` Plans from the position of the cursor.
2008
- */
2009
- take?: number
2010
- /**
2011
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2012
- *
2013
- * Skip the first `n` Plans.
2014
- */
2015
- skip?: number
2016
- /**
2017
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2018
- *
2019
- * Filter by unique combinations of Plans.
2020
- */
2021
- distinct?: Prisma.PlanScalarFieldEnum | Prisma.PlanScalarFieldEnum[]
2022
- }
2023
-
2024
- /**
2025
- * Plan create
2026
- */
2027
- export type PlanCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2028
- /**
2029
- * Select specific fields to fetch from the Plan
2030
- */
2031
- select?: Prisma.PlanSelect<ExtArgs> | null
2032
- /**
2033
- * Omit specific fields from the Plan
2034
- */
2035
- omit?: Prisma.PlanOmit<ExtArgs> | null
2036
- /**
2037
- * Choose, which related nodes to fetch as well
2038
- */
2039
- include?: Prisma.PlanInclude<ExtArgs> | null
2040
- /**
2041
- * The data needed to create a Plan.
2042
- */
2043
- data: Prisma.XOR<Prisma.PlanCreateInput, Prisma.PlanUncheckedCreateInput>
2044
- }
2045
-
2046
- /**
2047
- * Plan createMany
2048
- */
2049
- export type PlanCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2050
- /**
2051
- * The data used to create many Plans.
2052
- */
2053
- data: Prisma.PlanCreateManyInput | Prisma.PlanCreateManyInput[]
2054
- }
2055
-
2056
- /**
2057
- * Plan createManyAndReturn
2058
- */
2059
- export type PlanCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2060
- /**
2061
- * Select specific fields to fetch from the Plan
2062
- */
2063
- select?: Prisma.PlanSelectCreateManyAndReturn<ExtArgs> | null
2064
- /**
2065
- * Omit specific fields from the Plan
2066
- */
2067
- omit?: Prisma.PlanOmit<ExtArgs> | null
2068
- /**
2069
- * The data used to create many Plans.
2070
- */
2071
- data: Prisma.PlanCreateManyInput | Prisma.PlanCreateManyInput[]
2072
- }
2073
-
2074
- /**
2075
- * Plan update
2076
- */
2077
- export type PlanUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2078
- /**
2079
- * Select specific fields to fetch from the Plan
2080
- */
2081
- select?: Prisma.PlanSelect<ExtArgs> | null
2082
- /**
2083
- * Omit specific fields from the Plan
2084
- */
2085
- omit?: Prisma.PlanOmit<ExtArgs> | null
2086
- /**
2087
- * Choose, which related nodes to fetch as well
2088
- */
2089
- include?: Prisma.PlanInclude<ExtArgs> | null
2090
- /**
2091
- * The data needed to update a Plan.
2092
- */
2093
- data: Prisma.XOR<Prisma.PlanUpdateInput, Prisma.PlanUncheckedUpdateInput>
2094
- /**
2095
- * Choose, which Plan to update.
2096
- */
2097
- where: Prisma.PlanWhereUniqueInput
2098
- }
2099
-
2100
- /**
2101
- * Plan updateMany
2102
- */
2103
- export type PlanUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2104
- /**
2105
- * The data used to update Plans.
2106
- */
2107
- data: Prisma.XOR<Prisma.PlanUpdateManyMutationInput, Prisma.PlanUncheckedUpdateManyInput>
2108
- /**
2109
- * Filter which Plans to update
2110
- */
2111
- where?: Prisma.PlanWhereInput
2112
- /**
2113
- * Limit how many Plans to update.
2114
- */
2115
- limit?: number
2116
- }
2117
-
2118
- /**
2119
- * Plan updateManyAndReturn
2120
- */
2121
- export type PlanUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2122
- /**
2123
- * Select specific fields to fetch from the Plan
2124
- */
2125
- select?: Prisma.PlanSelectUpdateManyAndReturn<ExtArgs> | null
2126
- /**
2127
- * Omit specific fields from the Plan
2128
- */
2129
- omit?: Prisma.PlanOmit<ExtArgs> | null
2130
- /**
2131
- * The data used to update Plans.
2132
- */
2133
- data: Prisma.XOR<Prisma.PlanUpdateManyMutationInput, Prisma.PlanUncheckedUpdateManyInput>
2134
- /**
2135
- * Filter which Plans to update
2136
- */
2137
- where?: Prisma.PlanWhereInput
2138
- /**
2139
- * Limit how many Plans to update.
2140
- */
2141
- limit?: number
2142
- }
2143
-
2144
- /**
2145
- * Plan upsert
2146
- */
2147
- export type PlanUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2148
- /**
2149
- * Select specific fields to fetch from the Plan
2150
- */
2151
- select?: Prisma.PlanSelect<ExtArgs> | null
2152
- /**
2153
- * Omit specific fields from the Plan
2154
- */
2155
- omit?: Prisma.PlanOmit<ExtArgs> | null
2156
- /**
2157
- * Choose, which related nodes to fetch as well
2158
- */
2159
- include?: Prisma.PlanInclude<ExtArgs> | null
2160
- /**
2161
- * The filter to search for the Plan to update in case it exists.
2162
- */
2163
- where: Prisma.PlanWhereUniqueInput
2164
- /**
2165
- * In case the Plan found by the `where` argument doesn't exist, create a new Plan with this data.
2166
- */
2167
- create: Prisma.XOR<Prisma.PlanCreateInput, Prisma.PlanUncheckedCreateInput>
2168
- /**
2169
- * In case the Plan was found with the provided `where` argument, update it with this data.
2170
- */
2171
- update: Prisma.XOR<Prisma.PlanUpdateInput, Prisma.PlanUncheckedUpdateInput>
2172
- }
2173
-
2174
- /**
2175
- * Plan delete
2176
- */
2177
- export type PlanDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2178
- /**
2179
- * Select specific fields to fetch from the Plan
2180
- */
2181
- select?: Prisma.PlanSelect<ExtArgs> | null
2182
- /**
2183
- * Omit specific fields from the Plan
2184
- */
2185
- omit?: Prisma.PlanOmit<ExtArgs> | null
2186
- /**
2187
- * Choose, which related nodes to fetch as well
2188
- */
2189
- include?: Prisma.PlanInclude<ExtArgs> | null
2190
- /**
2191
- * Filter which Plan to delete.
2192
- */
2193
- where: Prisma.PlanWhereUniqueInput
2194
- }
2195
-
2196
- /**
2197
- * Plan deleteMany
2198
- */
2199
- export type PlanDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2200
- /**
2201
- * Filter which Plans to delete
2202
- */
2203
- where?: Prisma.PlanWhereInput
2204
- /**
2205
- * Limit how many Plans to delete.
2206
- */
2207
- limit?: number
2208
- }
2209
-
2210
- /**
2211
- * Plan.subscriptions
2212
- */
2213
- export type Plan$subscriptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2214
- /**
2215
- * Select specific fields to fetch from the Subscription
2216
- */
2217
- select?: Prisma.SubscriptionSelect<ExtArgs> | null
2218
- /**
2219
- * Omit specific fields from the Subscription
2220
- */
2221
- omit?: Prisma.SubscriptionOmit<ExtArgs> | null
2222
- /**
2223
- * Choose, which related nodes to fetch as well
2224
- */
2225
- include?: Prisma.SubscriptionInclude<ExtArgs> | null
2226
- where?: Prisma.SubscriptionWhereInput
2227
- orderBy?: Prisma.SubscriptionOrderByWithRelationInput | Prisma.SubscriptionOrderByWithRelationInput[]
2228
- cursor?: Prisma.SubscriptionWhereUniqueInput
2229
- take?: number
2230
- skip?: number
2231
- distinct?: Prisma.SubscriptionScalarFieldEnum | Prisma.SubscriptionScalarFieldEnum[]
2232
- }
2233
-
2234
- /**
2235
- * Plan without action
2236
- */
2237
- export type PlanDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2238
- /**
2239
- * Select specific fields to fetch from the Plan
2240
- */
2241
- select?: Prisma.PlanSelect<ExtArgs> | null
2242
- /**
2243
- * Omit specific fields from the Plan
2244
- */
2245
- omit?: Prisma.PlanOmit<ExtArgs> | null
2246
- /**
2247
- * Choose, which related nodes to fetch as well
2248
- */
2249
- include?: Prisma.PlanInclude<ExtArgs> | null
2250
- }