@allbluecn/database 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/dist/get-prisma.d.ts +1 -0
- package/dist/get-prisma.js +7 -0
- package/generated/browser.ts +60 -0
- package/generated/client.ts +60 -0
- package/generated/commonInputTypes.ts +106 -46
- package/generated/internal/class.ts +124 -4
- package/generated/internal/prismaNamespace.ts +1121 -25
- package/generated/internal/prismaNamespaceBrowser.ts +202 -6
- package/generated/models/AiProviderConfig.ts +100 -1
- package/generated/models/AiStreamChunk.ts +1159 -0
- package/generated/models/AiUsageLog.ts +91 -31
- package/generated/models/Blob.ts +1428 -0
- package/generated/models/BusinessAgentBinding.ts +1553 -0
- package/generated/models/ChatInterrupt.ts +42 -1
- package/generated/models/ChatMessage.ts +58 -29
- package/generated/models/ChatPersistenceMeta.ts +1121 -0
- package/generated/models/ChatRun.ts +166 -1
- package/generated/models/ChatThread.ts +294 -1
- package/generated/models/CodeSnippet.ts +1555 -0
- package/generated/models/DesktopSetting.ts +1059 -0
- package/generated/models/GenerationRun.ts +193 -1
- package/generated/models/HarnessPlugin.ts +1677 -0
- package/generated/models/HarnessWorkspace.ts +1650 -0
- package/generated/models/InvitationCode.ts +0 -8
- package/generated/models/Plan.ts +115 -1
- package/generated/models/SandboxInstance.ts +1277 -0
- package/generated/models/SystemPromptTemplate.ts +1583 -0
- package/generated/models/SystemPromptVersion.ts +1459 -0
- package/generated/models/User.ts +4524 -866
- package/generated/models/UserAgent.ts +250 -1
- package/generated/models/Workspace.ts +3 -1
- package/generated/models/WorkspaceFile.ts +1535 -0
- package/generated/models.ts +12 -0
- package/generated-sqlite/browser.ts +60 -0
- package/generated-sqlite/client.ts +60 -0
- package/generated-sqlite/commonInputTypes.ts +192 -78
- package/generated-sqlite/internal/class.ts +124 -4
- package/generated-sqlite/internal/prismaNamespace.ts +1135 -25
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +202 -6
- package/generated-sqlite/models/AiProviderConfig.ts +100 -1
- package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
- package/generated-sqlite/models/AiUsageLog.ts +91 -31
- package/generated-sqlite/models/Blob.ts +1425 -0
- package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
- package/generated-sqlite/models/ChatInterrupt.ts +42 -1
- package/generated-sqlite/models/ChatMessage.ts +58 -29
- package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
- package/generated-sqlite/models/ChatRun.ts +174 -1
- package/generated-sqlite/models/ChatThread.ts +293 -1
- package/generated-sqlite/models/CodeSnippet.ts +1552 -0
- package/generated-sqlite/models/DesktopSetting.ts +1057 -0
- package/generated-sqlite/models/GenerationRun.ts +193 -1
- package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
- package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
- package/generated-sqlite/models/InvitationCode.ts +0 -8
- package/generated-sqlite/models/PageVersion.ts +0 -8
- package/generated-sqlite/models/Plan.ts +115 -1
- package/generated-sqlite/models/SandboxInstance.ts +1283 -0
- package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
- package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
- package/generated-sqlite/models/User.ts +3778 -708
- package/generated-sqlite/models/UserAgent.ts +250 -1
- package/generated-sqlite/models/Workspace.ts +3 -1
- package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
- package/generated-sqlite/models.ts +12 -0
- package/get-prisma.ts +6 -0
- package/index.ts +11 -6
- package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
- package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
- package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
- package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
- package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
- package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
- package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
- package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
- package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
- package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
- package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
- package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
- package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
- package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
- package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
- package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
- package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
- package/package.json +8 -3
- package/schema.prisma +321 -88
- package/schema.sqlite.prisma +779 -546
|
@@ -433,14 +433,6 @@ export type InvitationCodeScalarRelationFilter = {
|
|
|
433
433
|
isNot?: Prisma.InvitationCodeWhereInput
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
export type IntFieldUpdateOperationsInput = {
|
|
437
|
-
set?: number
|
|
438
|
-
increment?: number
|
|
439
|
-
decrement?: number
|
|
440
|
-
multiply?: number
|
|
441
|
-
divide?: number
|
|
442
|
-
}
|
|
443
|
-
|
|
444
436
|
export type InvitationCodeCreateNestedOneWithoutUsesInput = {
|
|
445
437
|
create?: Prisma.XOR<Prisma.InvitationCodeCreateWithoutUsesInput, Prisma.InvitationCodeUncheckedCreateWithoutUsesInput>
|
|
446
438
|
connectOrCreate?: Prisma.InvitationCodeCreateOrConnectWithoutUsesInput
|
package/generated/models/Plan.ts
CHANGED
|
@@ -37,6 +37,9 @@ export type PlanAvgAggregateOutputType = {
|
|
|
37
37
|
seatPriceMonthly: number | null
|
|
38
38
|
agentQuota: number | null
|
|
39
39
|
skillQuota: number | null
|
|
40
|
+
sandboxMinutesMonthly: number | null
|
|
41
|
+
mediaGenerationsMonthly: number | null
|
|
42
|
+
galleryStorageMb: number | null
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
export type PlanSumAggregateOutputType = {
|
|
@@ -50,6 +53,9 @@ export type PlanSumAggregateOutputType = {
|
|
|
50
53
|
seatPriceMonthly: number | null
|
|
51
54
|
agentQuota: number | null
|
|
52
55
|
skillQuota: number | null
|
|
56
|
+
sandboxMinutesMonthly: number | null
|
|
57
|
+
mediaGenerationsMonthly: number | null
|
|
58
|
+
galleryStorageMb: number | null
|
|
53
59
|
}
|
|
54
60
|
|
|
55
61
|
export type PlanMinAggregateOutputType = {
|
|
@@ -77,6 +83,9 @@ export type PlanMinAggregateOutputType = {
|
|
|
77
83
|
providerSeatPriceIdCny: string | null
|
|
78
84
|
agentQuota: number | null
|
|
79
85
|
skillQuota: number | null
|
|
86
|
+
sandboxMinutesMonthly: number | null
|
|
87
|
+
mediaGenerationsMonthly: number | null
|
|
88
|
+
galleryStorageMb: number | null
|
|
80
89
|
}
|
|
81
90
|
|
|
82
91
|
export type PlanMaxAggregateOutputType = {
|
|
@@ -104,6 +113,9 @@ export type PlanMaxAggregateOutputType = {
|
|
|
104
113
|
providerSeatPriceIdCny: string | null
|
|
105
114
|
agentQuota: number | null
|
|
106
115
|
skillQuota: number | null
|
|
116
|
+
sandboxMinutesMonthly: number | null
|
|
117
|
+
mediaGenerationsMonthly: number | null
|
|
118
|
+
galleryStorageMb: number | null
|
|
107
119
|
}
|
|
108
120
|
|
|
109
121
|
export type PlanCountAggregateOutputType = {
|
|
@@ -132,6 +144,9 @@ export type PlanCountAggregateOutputType = {
|
|
|
132
144
|
providerSeatPriceIdCny: number
|
|
133
145
|
agentQuota: number
|
|
134
146
|
skillQuota: number
|
|
147
|
+
sandboxMinutesMonthly: number
|
|
148
|
+
mediaGenerationsMonthly: number
|
|
149
|
+
galleryStorageMb: number
|
|
135
150
|
_all: number
|
|
136
151
|
}
|
|
137
152
|
|
|
@@ -147,6 +162,9 @@ export type PlanAvgAggregateInputType = {
|
|
|
147
162
|
seatPriceMonthly?: true
|
|
148
163
|
agentQuota?: true
|
|
149
164
|
skillQuota?: true
|
|
165
|
+
sandboxMinutesMonthly?: true
|
|
166
|
+
mediaGenerationsMonthly?: true
|
|
167
|
+
galleryStorageMb?: true
|
|
150
168
|
}
|
|
151
169
|
|
|
152
170
|
export type PlanSumAggregateInputType = {
|
|
@@ -160,6 +178,9 @@ export type PlanSumAggregateInputType = {
|
|
|
160
178
|
seatPriceMonthly?: true
|
|
161
179
|
agentQuota?: true
|
|
162
180
|
skillQuota?: true
|
|
181
|
+
sandboxMinutesMonthly?: true
|
|
182
|
+
mediaGenerationsMonthly?: true
|
|
183
|
+
galleryStorageMb?: true
|
|
163
184
|
}
|
|
164
185
|
|
|
165
186
|
export type PlanMinAggregateInputType = {
|
|
@@ -187,6 +208,9 @@ export type PlanMinAggregateInputType = {
|
|
|
187
208
|
providerSeatPriceIdCny?: true
|
|
188
209
|
agentQuota?: true
|
|
189
210
|
skillQuota?: true
|
|
211
|
+
sandboxMinutesMonthly?: true
|
|
212
|
+
mediaGenerationsMonthly?: true
|
|
213
|
+
galleryStorageMb?: true
|
|
190
214
|
}
|
|
191
215
|
|
|
192
216
|
export type PlanMaxAggregateInputType = {
|
|
@@ -214,6 +238,9 @@ export type PlanMaxAggregateInputType = {
|
|
|
214
238
|
providerSeatPriceIdCny?: true
|
|
215
239
|
agentQuota?: true
|
|
216
240
|
skillQuota?: true
|
|
241
|
+
sandboxMinutesMonthly?: true
|
|
242
|
+
mediaGenerationsMonthly?: true
|
|
243
|
+
galleryStorageMb?: true
|
|
217
244
|
}
|
|
218
245
|
|
|
219
246
|
export type PlanCountAggregateInputType = {
|
|
@@ -242,6 +269,9 @@ export type PlanCountAggregateInputType = {
|
|
|
242
269
|
providerSeatPriceIdCny?: true
|
|
243
270
|
agentQuota?: true
|
|
244
271
|
skillQuota?: true
|
|
272
|
+
sandboxMinutesMonthly?: true
|
|
273
|
+
mediaGenerationsMonthly?: true
|
|
274
|
+
galleryStorageMb?: true
|
|
245
275
|
_all?: true
|
|
246
276
|
}
|
|
247
277
|
|
|
@@ -357,6 +387,9 @@ export type PlanGroupByOutputType = {
|
|
|
357
387
|
providerSeatPriceIdCny: string | null
|
|
358
388
|
agentQuota: number | null
|
|
359
389
|
skillQuota: number | null
|
|
390
|
+
sandboxMinutesMonthly: number | null
|
|
391
|
+
mediaGenerationsMonthly: number | null
|
|
392
|
+
galleryStorageMb: number | null
|
|
360
393
|
_count: PlanCountAggregateOutputType | null
|
|
361
394
|
_avg: PlanAvgAggregateOutputType | null
|
|
362
395
|
_sum: PlanSumAggregateOutputType | null
|
|
@@ -408,6 +441,9 @@ export type PlanWhereInput = {
|
|
|
408
441
|
providerSeatPriceIdCny?: Prisma.StringNullableFilter<"Plan"> | string | null
|
|
409
442
|
agentQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
410
443
|
skillQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
444
|
+
sandboxMinutesMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
445
|
+
mediaGenerationsMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
446
|
+
galleryStorageMb?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
411
447
|
subscriptions?: Prisma.SubscriptionListRelationFilter
|
|
412
448
|
}
|
|
413
449
|
|
|
@@ -437,6 +473,9 @@ export type PlanOrderByWithRelationInput = {
|
|
|
437
473
|
providerSeatPriceIdCny?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
438
474
|
agentQuota?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
439
475
|
skillQuota?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
476
|
+
sandboxMinutesMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
477
|
+
mediaGenerationsMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
478
|
+
galleryStorageMb?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
440
479
|
subscriptions?: Prisma.SubscriptionOrderByRelationAggregateInput
|
|
441
480
|
}
|
|
442
481
|
|
|
@@ -469,6 +508,9 @@ export type PlanWhereUniqueInput = Prisma.AtLeast<{
|
|
|
469
508
|
providerSeatPriceIdCny?: Prisma.StringNullableFilter<"Plan"> | string | null
|
|
470
509
|
agentQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
471
510
|
skillQuota?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
511
|
+
sandboxMinutesMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
512
|
+
mediaGenerationsMonthly?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
513
|
+
galleryStorageMb?: Prisma.IntNullableFilter<"Plan"> | number | null
|
|
472
514
|
subscriptions?: Prisma.SubscriptionListRelationFilter
|
|
473
515
|
}, "id" | "name">
|
|
474
516
|
|
|
@@ -498,6 +540,9 @@ export type PlanOrderByWithAggregationInput = {
|
|
|
498
540
|
providerSeatPriceIdCny?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
499
541
|
agentQuota?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
500
542
|
skillQuota?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
543
|
+
sandboxMinutesMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
544
|
+
mediaGenerationsMonthly?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
545
|
+
galleryStorageMb?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
501
546
|
_count?: Prisma.PlanCountOrderByAggregateInput
|
|
502
547
|
_avg?: Prisma.PlanAvgOrderByAggregateInput
|
|
503
548
|
_max?: Prisma.PlanMaxOrderByAggregateInput
|
|
@@ -534,6 +579,9 @@ export type PlanScalarWhereWithAggregatesInput = {
|
|
|
534
579
|
providerSeatPriceIdCny?: Prisma.StringNullableWithAggregatesFilter<"Plan"> | string | null
|
|
535
580
|
agentQuota?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
|
|
536
581
|
skillQuota?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
|
|
582
|
+
sandboxMinutesMonthly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
|
|
583
|
+
mediaGenerationsMonthly?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
|
|
584
|
+
galleryStorageMb?: Prisma.IntNullableWithAggregatesFilter<"Plan"> | number | null
|
|
537
585
|
}
|
|
538
586
|
|
|
539
587
|
export type PlanCreateInput = {
|
|
@@ -562,6 +610,9 @@ export type PlanCreateInput = {
|
|
|
562
610
|
providerSeatPriceIdCny?: string | null
|
|
563
611
|
agentQuota?: number | null
|
|
564
612
|
skillQuota?: number | null
|
|
613
|
+
sandboxMinutesMonthly?: number | null
|
|
614
|
+
mediaGenerationsMonthly?: number | null
|
|
615
|
+
galleryStorageMb?: number | null
|
|
565
616
|
subscriptions?: Prisma.SubscriptionCreateNestedManyWithoutPlanInput
|
|
566
617
|
}
|
|
567
618
|
|
|
@@ -591,6 +642,9 @@ export type PlanUncheckedCreateInput = {
|
|
|
591
642
|
providerSeatPriceIdCny?: string | null
|
|
592
643
|
agentQuota?: number | null
|
|
593
644
|
skillQuota?: number | null
|
|
645
|
+
sandboxMinutesMonthly?: number | null
|
|
646
|
+
mediaGenerationsMonthly?: number | null
|
|
647
|
+
galleryStorageMb?: number | null
|
|
594
648
|
subscriptions?: Prisma.SubscriptionUncheckedCreateNestedManyWithoutPlanInput
|
|
595
649
|
}
|
|
596
650
|
|
|
@@ -620,6 +674,9 @@ export type PlanUpdateInput = {
|
|
|
620
674
|
providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
621
675
|
agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
622
676
|
skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
677
|
+
sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
678
|
+
mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
679
|
+
galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
623
680
|
subscriptions?: Prisma.SubscriptionUpdateManyWithoutPlanNestedInput
|
|
624
681
|
}
|
|
625
682
|
|
|
@@ -649,6 +706,9 @@ export type PlanUncheckedUpdateInput = {
|
|
|
649
706
|
providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
650
707
|
agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
651
708
|
skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
709
|
+
sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
710
|
+
mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
711
|
+
galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
652
712
|
subscriptions?: Prisma.SubscriptionUncheckedUpdateManyWithoutPlanNestedInput
|
|
653
713
|
}
|
|
654
714
|
|
|
@@ -678,6 +738,9 @@ export type PlanCreateManyInput = {
|
|
|
678
738
|
providerSeatPriceIdCny?: string | null
|
|
679
739
|
agentQuota?: number | null
|
|
680
740
|
skillQuota?: number | null
|
|
741
|
+
sandboxMinutesMonthly?: number | null
|
|
742
|
+
mediaGenerationsMonthly?: number | null
|
|
743
|
+
galleryStorageMb?: number | null
|
|
681
744
|
}
|
|
682
745
|
|
|
683
746
|
export type PlanUpdateManyMutationInput = {
|
|
@@ -706,6 +769,9 @@ export type PlanUpdateManyMutationInput = {
|
|
|
706
769
|
providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
707
770
|
agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
708
771
|
skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
772
|
+
sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
773
|
+
mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
774
|
+
galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
709
775
|
}
|
|
710
776
|
|
|
711
777
|
export type PlanUncheckedUpdateManyInput = {
|
|
@@ -734,6 +800,9 @@ export type PlanUncheckedUpdateManyInput = {
|
|
|
734
800
|
providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
735
801
|
agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
736
802
|
skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
803
|
+
sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
804
|
+
mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
805
|
+
galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
737
806
|
}
|
|
738
807
|
|
|
739
808
|
export type PlanCountOrderByAggregateInput = {
|
|
@@ -762,6 +831,9 @@ export type PlanCountOrderByAggregateInput = {
|
|
|
762
831
|
providerSeatPriceIdCny?: Prisma.SortOrder
|
|
763
832
|
agentQuota?: Prisma.SortOrder
|
|
764
833
|
skillQuota?: Prisma.SortOrder
|
|
834
|
+
sandboxMinutesMonthly?: Prisma.SortOrder
|
|
835
|
+
mediaGenerationsMonthly?: Prisma.SortOrder
|
|
836
|
+
galleryStorageMb?: Prisma.SortOrder
|
|
765
837
|
}
|
|
766
838
|
|
|
767
839
|
export type PlanAvgOrderByAggregateInput = {
|
|
@@ -775,6 +847,9 @@ export type PlanAvgOrderByAggregateInput = {
|
|
|
775
847
|
seatPriceMonthly?: Prisma.SortOrder
|
|
776
848
|
agentQuota?: Prisma.SortOrder
|
|
777
849
|
skillQuota?: Prisma.SortOrder
|
|
850
|
+
sandboxMinutesMonthly?: Prisma.SortOrder
|
|
851
|
+
mediaGenerationsMonthly?: Prisma.SortOrder
|
|
852
|
+
galleryStorageMb?: Prisma.SortOrder
|
|
778
853
|
}
|
|
779
854
|
|
|
780
855
|
export type PlanMaxOrderByAggregateInput = {
|
|
@@ -802,6 +877,9 @@ export type PlanMaxOrderByAggregateInput = {
|
|
|
802
877
|
providerSeatPriceIdCny?: Prisma.SortOrder
|
|
803
878
|
agentQuota?: Prisma.SortOrder
|
|
804
879
|
skillQuota?: Prisma.SortOrder
|
|
880
|
+
sandboxMinutesMonthly?: Prisma.SortOrder
|
|
881
|
+
mediaGenerationsMonthly?: Prisma.SortOrder
|
|
882
|
+
galleryStorageMb?: Prisma.SortOrder
|
|
805
883
|
}
|
|
806
884
|
|
|
807
885
|
export type PlanMinOrderByAggregateInput = {
|
|
@@ -829,6 +907,9 @@ export type PlanMinOrderByAggregateInput = {
|
|
|
829
907
|
providerSeatPriceIdCny?: Prisma.SortOrder
|
|
830
908
|
agentQuota?: Prisma.SortOrder
|
|
831
909
|
skillQuota?: Prisma.SortOrder
|
|
910
|
+
sandboxMinutesMonthly?: Prisma.SortOrder
|
|
911
|
+
mediaGenerationsMonthly?: Prisma.SortOrder
|
|
912
|
+
galleryStorageMb?: Prisma.SortOrder
|
|
832
913
|
}
|
|
833
914
|
|
|
834
915
|
export type PlanSumOrderByAggregateInput = {
|
|
@@ -842,6 +923,9 @@ export type PlanSumOrderByAggregateInput = {
|
|
|
842
923
|
seatPriceMonthly?: Prisma.SortOrder
|
|
843
924
|
agentQuota?: Prisma.SortOrder
|
|
844
925
|
skillQuota?: Prisma.SortOrder
|
|
926
|
+
sandboxMinutesMonthly?: Prisma.SortOrder
|
|
927
|
+
mediaGenerationsMonthly?: Prisma.SortOrder
|
|
928
|
+
galleryStorageMb?: Prisma.SortOrder
|
|
845
929
|
}
|
|
846
930
|
|
|
847
931
|
export type PlanScalarRelationFilter = {
|
|
@@ -889,6 +973,9 @@ export type PlanCreateWithoutSubscriptionsInput = {
|
|
|
889
973
|
providerSeatPriceIdCny?: string | null
|
|
890
974
|
agentQuota?: number | null
|
|
891
975
|
skillQuota?: number | null
|
|
976
|
+
sandboxMinutesMonthly?: number | null
|
|
977
|
+
mediaGenerationsMonthly?: number | null
|
|
978
|
+
galleryStorageMb?: number | null
|
|
892
979
|
}
|
|
893
980
|
|
|
894
981
|
export type PlanUncheckedCreateWithoutSubscriptionsInput = {
|
|
@@ -917,6 +1004,9 @@ export type PlanUncheckedCreateWithoutSubscriptionsInput = {
|
|
|
917
1004
|
providerSeatPriceIdCny?: string | null
|
|
918
1005
|
agentQuota?: number | null
|
|
919
1006
|
skillQuota?: number | null
|
|
1007
|
+
sandboxMinutesMonthly?: number | null
|
|
1008
|
+
mediaGenerationsMonthly?: number | null
|
|
1009
|
+
galleryStorageMb?: number | null
|
|
920
1010
|
}
|
|
921
1011
|
|
|
922
1012
|
export type PlanCreateOrConnectWithoutSubscriptionsInput = {
|
|
@@ -961,6 +1051,9 @@ export type PlanUpdateWithoutSubscriptionsInput = {
|
|
|
961
1051
|
providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
962
1052
|
agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
963
1053
|
skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1054
|
+
sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1055
|
+
mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1056
|
+
galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
964
1057
|
}
|
|
965
1058
|
|
|
966
1059
|
export type PlanUncheckedUpdateWithoutSubscriptionsInput = {
|
|
@@ -989,6 +1082,9 @@ export type PlanUncheckedUpdateWithoutSubscriptionsInput = {
|
|
|
989
1082
|
providerSeatPriceIdCny?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
990
1083
|
agentQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
991
1084
|
skillQuota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1085
|
+
sandboxMinutesMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1086
|
+
mediaGenerationsMonthly?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1087
|
+
galleryStorageMb?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
992
1088
|
}
|
|
993
1089
|
|
|
994
1090
|
|
|
@@ -1048,6 +1144,9 @@ export type PlanSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
|
|
1048
1144
|
providerSeatPriceIdCny?: boolean
|
|
1049
1145
|
agentQuota?: boolean
|
|
1050
1146
|
skillQuota?: boolean
|
|
1147
|
+
sandboxMinutesMonthly?: boolean
|
|
1148
|
+
mediaGenerationsMonthly?: boolean
|
|
1149
|
+
galleryStorageMb?: boolean
|
|
1051
1150
|
subscriptions?: boolean | Prisma.Plan$subscriptionsArgs<ExtArgs>
|
|
1052
1151
|
_count?: boolean | Prisma.PlanCountOutputTypeDefaultArgs<ExtArgs>
|
|
1053
1152
|
}, ExtArgs["result"]["plan"]>
|
|
@@ -1078,6 +1177,9 @@ export type PlanSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensio
|
|
|
1078
1177
|
providerSeatPriceIdCny?: boolean
|
|
1079
1178
|
agentQuota?: boolean
|
|
1080
1179
|
skillQuota?: boolean
|
|
1180
|
+
sandboxMinutesMonthly?: boolean
|
|
1181
|
+
mediaGenerationsMonthly?: boolean
|
|
1182
|
+
galleryStorageMb?: boolean
|
|
1081
1183
|
}, ExtArgs["result"]["plan"]>
|
|
1082
1184
|
|
|
1083
1185
|
export type PlanSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -1106,6 +1208,9 @@ export type PlanSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensio
|
|
|
1106
1208
|
providerSeatPriceIdCny?: boolean
|
|
1107
1209
|
agentQuota?: boolean
|
|
1108
1210
|
skillQuota?: boolean
|
|
1211
|
+
sandboxMinutesMonthly?: boolean
|
|
1212
|
+
mediaGenerationsMonthly?: boolean
|
|
1213
|
+
galleryStorageMb?: boolean
|
|
1109
1214
|
}, ExtArgs["result"]["plan"]>
|
|
1110
1215
|
|
|
1111
1216
|
export type PlanSelectScalar = {
|
|
@@ -1134,9 +1239,12 @@ export type PlanSelectScalar = {
|
|
|
1134
1239
|
providerSeatPriceIdCny?: boolean
|
|
1135
1240
|
agentQuota?: boolean
|
|
1136
1241
|
skillQuota?: boolean
|
|
1242
|
+
sandboxMinutesMonthly?: boolean
|
|
1243
|
+
mediaGenerationsMonthly?: boolean
|
|
1244
|
+
galleryStorageMb?: boolean
|
|
1137
1245
|
}
|
|
1138
1246
|
|
|
1139
|
-
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", ExtArgs["result"]["plan"]>
|
|
1247
|
+
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", ExtArgs["result"]["plan"]>
|
|
1140
1248
|
export type PlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1141
1249
|
subscriptions?: boolean | Prisma.Plan$subscriptionsArgs<ExtArgs>
|
|
1142
1250
|
_count?: boolean | Prisma.PlanCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -1185,6 +1293,9 @@ export type $PlanPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
1185
1293
|
providerSeatPriceIdCny: string | null
|
|
1186
1294
|
agentQuota: number | null
|
|
1187
1295
|
skillQuota: number | null
|
|
1296
|
+
sandboxMinutesMonthly: number | null
|
|
1297
|
+
mediaGenerationsMonthly: number | null
|
|
1298
|
+
galleryStorageMb: number | null
|
|
1188
1299
|
}, ExtArgs["result"]["plan"]>
|
|
1189
1300
|
composites: {}
|
|
1190
1301
|
}
|
|
@@ -1634,6 +1745,9 @@ export interface PlanFieldRefs {
|
|
|
1634
1745
|
readonly providerSeatPriceIdCny: Prisma.FieldRef<"Plan", 'String'>
|
|
1635
1746
|
readonly agentQuota: Prisma.FieldRef<"Plan", 'Int'>
|
|
1636
1747
|
readonly skillQuota: Prisma.FieldRef<"Plan", 'Int'>
|
|
1748
|
+
readonly sandboxMinutesMonthly: Prisma.FieldRef<"Plan", 'Int'>
|
|
1749
|
+
readonly mediaGenerationsMonthly: Prisma.FieldRef<"Plan", 'Int'>
|
|
1750
|
+
readonly galleryStorageMb: Prisma.FieldRef<"Plan", 'Int'>
|
|
1637
1751
|
}
|
|
1638
1752
|
|
|
1639
1753
|
|