@allbluecn/database 0.14.10 → 0.14.11

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.
@@ -542,6 +542,8 @@ export const ModelName = {
542
542
  HarnessSchedule: 'HarnessSchedule',
543
543
  HarnessScheduleOccurrence: 'HarnessScheduleOccurrence',
544
544
  HarnessOutbox: 'HarnessOutbox',
545
+ HarnessWebhookRule: 'HarnessWebhookRule',
546
+ HarnessWebhookDelivery: 'HarnessWebhookDelivery',
545
547
  HarnessFeedback: 'HarnessFeedback',
546
548
  HarnessMcpServer: 'HarnessMcpServer',
547
549
  HarnessSshHost: 'HarnessSshHost',
@@ -569,7 +571,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
569
571
  omit: GlobalOmitOptions
570
572
  }
571
573
  meta: {
572
- modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "workspaceMember" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "chatPersistenceMeta" | "harnessPlugin" | "systemPromptTemplate" | "systemPromptVersion" | "businessAgentBinding" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "emailVerificationToken" | "emailLog" | "emailPreference" | "oAuthProviderConfig" | "emailSubscriber" | "knowledgeBase" | "knowledgeDocument" | "design" | "agentConversation" | "agentMessage" | "component" | "block" | "blockComponent" | "template" | "templateBlock" | "designPage" | "componentInstance" | "blockInstance" | "designVersion" | "pageVersion" | "review" | "reviewComment" | "comment" | "commentIgnore" | "share" | "reference" | "shareVersion" | "anyHubApp" | "anyHubPermission" | "anyHubMarketApp" | "anyHubRecommendation" | "anyHubRecommender" | "aiProvider" | "aiProviderConfig" | "thirdPartyDependency" | "legalRegulation" | "industryCompliance" | "dictionaryTerm" | "websiteBookmark" | "bookmarkCategory" | "knowledgeShareRecord" | "articleFavorite" | "story" | "label" | "storyLabel" | "storyActivity" | "sequenceCounter" | "storyComment" | "storyReaction" | "commentReaction" | "storyDependency" | "projectKnowledgeBase" | "workspaceKnowledgeBase" | "workspaceQuickDoc" | "storyLink" | "storyAttachment" | "storyDesignLink" | "storyDocLink" | "storyExternalLink" | "storyFilterView" | "monitoringRequestLog" | "monitoringErrorReport" | "monitoringMetricsSnapshot" | "monitoringHealthSnapshot" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog" | "notification" | "notificationPreference" | "iteration" | "iterationAutoSchedule" | "codeSnippet" | "sandboxInstance" | "aiStreamChunk" | "desktopSetting" | "harnessWorkspace" | "workspaceFile" | "blob" | "bug" | "bugEvent" | "bugActivity" | "bugComment" | "bugCommentReaction" | "projectAccessToken" | "bugFixRun" | "bugReproRun" | "projectWebhook" | "bugProjectSettings" | "bugLabel" | "bugFilterView" | "testCase" | "testCaseFolder" | "testCaseFilterView" | "testGenerationRun" | "testPlan" | "testPlanCase" | "testRun" | "testRunCase" | "testExecRun" | "testAutomationArtifact" | "collabDocument" | "collabUpdate" | "collabClient" | "aiTask" | "aiTaskRun" | "knowledgeEmbedding" | "designEmbedding" | "harnessLogHeader" | "harnessLogEntry" | "harnessLogOffer" | "harnessLogSnapshot" | "harnessHostHeartbeat" | "harnessMetadata" | "harnessBlob" | "harnessArtifact" | "harnessSession" | "harnessSchedule" | "harnessScheduleOccurrence" | "harnessOutbox" | "harnessFeedback" | "harnessMcpServer" | "harnessSshHost" | "harnessConnectorAccount" | "harnessSessionSearchDocument" | "harnessSessionSearchToken" | "harnessForgeBinding" | "harnessWorktree" | "harnessPluginMarketSource" | "harnessPluginVersionExemption" | "harnessTelemetrySettings" | "harnessTelemetryUpload"
574
+ modelProps: "systemSetting" | "user" | "account" | "project" | "projectMember" | "workspace" | "workspaceMember" | "teamMembership" | "teamInvitation" | "teamJoinRequest" | "projectActivity" | "chatThread" | "chatMessage" | "chatRun" | "chatInterrupt" | "chatPersistenceMeta" | "harnessPlugin" | "systemPromptTemplate" | "systemPromptVersion" | "businessAgentBinding" | "generationRun" | "loginLog" | "invitationCode" | "invitationUse" | "passwordResetToken" | "emailVerificationToken" | "emailLog" | "emailPreference" | "oAuthProviderConfig" | "emailSubscriber" | "knowledgeBase" | "knowledgeDocument" | "design" | "agentConversation" | "agentMessage" | "component" | "block" | "blockComponent" | "template" | "templateBlock" | "designPage" | "componentInstance" | "blockInstance" | "designVersion" | "pageVersion" | "review" | "reviewComment" | "comment" | "commentIgnore" | "share" | "reference" | "shareVersion" | "anyHubApp" | "anyHubPermission" | "anyHubMarketApp" | "anyHubRecommendation" | "anyHubRecommender" | "aiProvider" | "aiProviderConfig" | "thirdPartyDependency" | "legalRegulation" | "industryCompliance" | "dictionaryTerm" | "websiteBookmark" | "bookmarkCategory" | "knowledgeShareRecord" | "articleFavorite" | "story" | "label" | "storyLabel" | "storyActivity" | "sequenceCounter" | "storyComment" | "storyReaction" | "commentReaction" | "storyDependency" | "projectKnowledgeBase" | "workspaceKnowledgeBase" | "workspaceQuickDoc" | "storyLink" | "storyAttachment" | "storyDesignLink" | "storyDocLink" | "storyExternalLink" | "storyFilterView" | "monitoringRequestLog" | "monitoringErrorReport" | "monitoringMetricsSnapshot" | "monitoringHealthSnapshot" | "plan" | "subscription" | "usageRecord" | "aiUsageLog" | "invoice" | "providerEvent" | "licenseKey" | "licenseActivation" | "auditLog" | "ssoProvider" | "ssoMapping" | "customRole" | "roleAssignment" | "complianceExport" | "userAgent" | "userSkill" | "developerLog" | "notification" | "notificationPreference" | "iteration" | "iterationAutoSchedule" | "codeSnippet" | "sandboxInstance" | "aiStreamChunk" | "desktopSetting" | "harnessWorkspace" | "workspaceFile" | "blob" | "bug" | "bugEvent" | "bugActivity" | "bugComment" | "bugCommentReaction" | "projectAccessToken" | "bugFixRun" | "bugReproRun" | "projectWebhook" | "bugProjectSettings" | "bugLabel" | "bugFilterView" | "testCase" | "testCaseFolder" | "testCaseFilterView" | "testGenerationRun" | "testPlan" | "testPlanCase" | "testRun" | "testRunCase" | "testExecRun" | "testAutomationArtifact" | "collabDocument" | "collabUpdate" | "collabClient" | "aiTask" | "aiTaskRun" | "knowledgeEmbedding" | "designEmbedding" | "harnessLogHeader" | "harnessLogEntry" | "harnessLogOffer" | "harnessLogSnapshot" | "harnessHostHeartbeat" | "harnessMetadata" | "harnessBlob" | "harnessArtifact" | "harnessSession" | "harnessSchedule" | "harnessScheduleOccurrence" | "harnessOutbox" | "harnessWebhookRule" | "harnessWebhookDelivery" | "harnessFeedback" | "harnessMcpServer" | "harnessSshHost" | "harnessConnectorAccount" | "harnessSessionSearchDocument" | "harnessSessionSearchToken" | "harnessForgeBinding" | "harnessWorktree" | "harnessPluginMarketSource" | "harnessPluginVersionExemption" | "harnessTelemetrySettings" | "harnessTelemetryUpload"
573
575
  txIsolationLevel: TransactionIsolationLevel
574
576
  }
575
577
  model: {
@@ -12233,6 +12235,154 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
12233
12235
  }
12234
12236
  }
12235
12237
  }
12238
+ HarnessWebhookRule: {
12239
+ payload: Prisma.$HarnessWebhookRulePayload<ExtArgs>
12240
+ fields: Prisma.HarnessWebhookRuleFieldRefs
12241
+ operations: {
12242
+ findUnique: {
12243
+ args: Prisma.HarnessWebhookRuleFindUniqueArgs<ExtArgs>
12244
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload> | null
12245
+ }
12246
+ findUniqueOrThrow: {
12247
+ args: Prisma.HarnessWebhookRuleFindUniqueOrThrowArgs<ExtArgs>
12248
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>
12249
+ }
12250
+ findFirst: {
12251
+ args: Prisma.HarnessWebhookRuleFindFirstArgs<ExtArgs>
12252
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload> | null
12253
+ }
12254
+ findFirstOrThrow: {
12255
+ args: Prisma.HarnessWebhookRuleFindFirstOrThrowArgs<ExtArgs>
12256
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>
12257
+ }
12258
+ findMany: {
12259
+ args: Prisma.HarnessWebhookRuleFindManyArgs<ExtArgs>
12260
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>[]
12261
+ }
12262
+ create: {
12263
+ args: Prisma.HarnessWebhookRuleCreateArgs<ExtArgs>
12264
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>
12265
+ }
12266
+ createMany: {
12267
+ args: Prisma.HarnessWebhookRuleCreateManyArgs<ExtArgs>
12268
+ result: BatchPayload
12269
+ }
12270
+ createManyAndReturn: {
12271
+ args: Prisma.HarnessWebhookRuleCreateManyAndReturnArgs<ExtArgs>
12272
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>[]
12273
+ }
12274
+ delete: {
12275
+ args: Prisma.HarnessWebhookRuleDeleteArgs<ExtArgs>
12276
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>
12277
+ }
12278
+ update: {
12279
+ args: Prisma.HarnessWebhookRuleUpdateArgs<ExtArgs>
12280
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>
12281
+ }
12282
+ deleteMany: {
12283
+ args: Prisma.HarnessWebhookRuleDeleteManyArgs<ExtArgs>
12284
+ result: BatchPayload
12285
+ }
12286
+ updateMany: {
12287
+ args: Prisma.HarnessWebhookRuleUpdateManyArgs<ExtArgs>
12288
+ result: BatchPayload
12289
+ }
12290
+ updateManyAndReturn: {
12291
+ args: Prisma.HarnessWebhookRuleUpdateManyAndReturnArgs<ExtArgs>
12292
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>[]
12293
+ }
12294
+ upsert: {
12295
+ args: Prisma.HarnessWebhookRuleUpsertArgs<ExtArgs>
12296
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookRulePayload>
12297
+ }
12298
+ aggregate: {
12299
+ args: Prisma.HarnessWebhookRuleAggregateArgs<ExtArgs>
12300
+ result: runtime.Types.Utils.Optional<Prisma.AggregateHarnessWebhookRule>
12301
+ }
12302
+ groupBy: {
12303
+ args: Prisma.HarnessWebhookRuleGroupByArgs<ExtArgs>
12304
+ result: runtime.Types.Utils.Optional<Prisma.HarnessWebhookRuleGroupByOutputType>[]
12305
+ }
12306
+ count: {
12307
+ args: Prisma.HarnessWebhookRuleCountArgs<ExtArgs>
12308
+ result: runtime.Types.Utils.Optional<Prisma.HarnessWebhookRuleCountAggregateOutputType> | number
12309
+ }
12310
+ }
12311
+ }
12312
+ HarnessWebhookDelivery: {
12313
+ payload: Prisma.$HarnessWebhookDeliveryPayload<ExtArgs>
12314
+ fields: Prisma.HarnessWebhookDeliveryFieldRefs
12315
+ operations: {
12316
+ findUnique: {
12317
+ args: Prisma.HarnessWebhookDeliveryFindUniqueArgs<ExtArgs>
12318
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload> | null
12319
+ }
12320
+ findUniqueOrThrow: {
12321
+ args: Prisma.HarnessWebhookDeliveryFindUniqueOrThrowArgs<ExtArgs>
12322
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>
12323
+ }
12324
+ findFirst: {
12325
+ args: Prisma.HarnessWebhookDeliveryFindFirstArgs<ExtArgs>
12326
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload> | null
12327
+ }
12328
+ findFirstOrThrow: {
12329
+ args: Prisma.HarnessWebhookDeliveryFindFirstOrThrowArgs<ExtArgs>
12330
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>
12331
+ }
12332
+ findMany: {
12333
+ args: Prisma.HarnessWebhookDeliveryFindManyArgs<ExtArgs>
12334
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>[]
12335
+ }
12336
+ create: {
12337
+ args: Prisma.HarnessWebhookDeliveryCreateArgs<ExtArgs>
12338
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>
12339
+ }
12340
+ createMany: {
12341
+ args: Prisma.HarnessWebhookDeliveryCreateManyArgs<ExtArgs>
12342
+ result: BatchPayload
12343
+ }
12344
+ createManyAndReturn: {
12345
+ args: Prisma.HarnessWebhookDeliveryCreateManyAndReturnArgs<ExtArgs>
12346
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>[]
12347
+ }
12348
+ delete: {
12349
+ args: Prisma.HarnessWebhookDeliveryDeleteArgs<ExtArgs>
12350
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>
12351
+ }
12352
+ update: {
12353
+ args: Prisma.HarnessWebhookDeliveryUpdateArgs<ExtArgs>
12354
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>
12355
+ }
12356
+ deleteMany: {
12357
+ args: Prisma.HarnessWebhookDeliveryDeleteManyArgs<ExtArgs>
12358
+ result: BatchPayload
12359
+ }
12360
+ updateMany: {
12361
+ args: Prisma.HarnessWebhookDeliveryUpdateManyArgs<ExtArgs>
12362
+ result: BatchPayload
12363
+ }
12364
+ updateManyAndReturn: {
12365
+ args: Prisma.HarnessWebhookDeliveryUpdateManyAndReturnArgs<ExtArgs>
12366
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>[]
12367
+ }
12368
+ upsert: {
12369
+ args: Prisma.HarnessWebhookDeliveryUpsertArgs<ExtArgs>
12370
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$HarnessWebhookDeliveryPayload>
12371
+ }
12372
+ aggregate: {
12373
+ args: Prisma.HarnessWebhookDeliveryAggregateArgs<ExtArgs>
12374
+ result: runtime.Types.Utils.Optional<Prisma.AggregateHarnessWebhookDelivery>
12375
+ }
12376
+ groupBy: {
12377
+ args: Prisma.HarnessWebhookDeliveryGroupByArgs<ExtArgs>
12378
+ result: runtime.Types.Utils.Optional<Prisma.HarnessWebhookDeliveryGroupByOutputType>[]
12379
+ }
12380
+ count: {
12381
+ args: Prisma.HarnessWebhookDeliveryCountArgs<ExtArgs>
12382
+ result: runtime.Types.Utils.Optional<Prisma.HarnessWebhookDeliveryCountAggregateOutputType> | number
12383
+ }
12384
+ }
12385
+ }
12236
12386
  HarnessFeedback: {
12237
12387
  payload: Prisma.$HarnessFeedbackPayload<ExtArgs>
12238
12388
  fields: Prisma.HarnessFeedbackFieldRefs
@@ -15641,6 +15791,56 @@ export const HarnessOutboxScalarFieldEnum = {
15641
15791
  export type HarnessOutboxScalarFieldEnum = (typeof HarnessOutboxScalarFieldEnum)[keyof typeof HarnessOutboxScalarFieldEnum]
15642
15792
 
15643
15793
 
15794
+ export const HarnessWebhookRuleScalarFieldEnum = {
15795
+ id: 'id',
15796
+ userId: 'userId',
15797
+ token: 'token',
15798
+ name: 'name',
15799
+ provider: 'provider',
15800
+ threadId: 'threadId',
15801
+ workspaceId: 'workspaceId',
15802
+ prompt: 'prompt',
15803
+ secretCipher: 'secretCipher',
15804
+ secretHint: 'secretHint',
15805
+ events: 'events',
15806
+ repoWhitelist: 'repoWhitelist',
15807
+ ownerWhitelist: 'ownerWhitelist',
15808
+ status: 'status',
15809
+ executionPlane: 'executionPlane',
15810
+ lastDeliveryAt: 'lastDeliveryAt',
15811
+ lastError: 'lastError',
15812
+ revision: 'revision',
15813
+ createdAt: 'createdAt',
15814
+ updatedAt: 'updatedAt'
15815
+ } as const
15816
+
15817
+ export type HarnessWebhookRuleScalarFieldEnum = (typeof HarnessWebhookRuleScalarFieldEnum)[keyof typeof HarnessWebhookRuleScalarFieldEnum]
15818
+
15819
+
15820
+ export const HarnessWebhookDeliveryScalarFieldEnum = {
15821
+ id: 'id',
15822
+ ruleId: 'ruleId',
15823
+ userId: 'userId',
15824
+ executionPlane: 'executionPlane',
15825
+ eventKey: 'eventKey',
15826
+ eventType: 'eventType',
15827
+ repo: 'repo',
15828
+ owner: 'owner',
15829
+ summary: 'summary',
15830
+ state: 'state',
15831
+ leaseOwner: 'leaseOwner',
15832
+ leaseUntil: 'leaseUntil',
15833
+ fencingToken: 'fencingToken',
15834
+ attempt: 'attempt',
15835
+ deliveredAt: 'deliveredAt',
15836
+ lastError: 'lastError',
15837
+ createdAt: 'createdAt',
15838
+ updatedAt: 'updatedAt'
15839
+ } as const
15840
+
15841
+ export type HarnessWebhookDeliveryScalarFieldEnum = (typeof HarnessWebhookDeliveryScalarFieldEnum)[keyof typeof HarnessWebhookDeliveryScalarFieldEnum]
15842
+
15843
+
15644
15844
  export const HarnessFeedbackScalarFieldEnum = {
15645
15845
  id: 'id',
15646
15846
  userId: 'userId',
@@ -16409,6 +16609,8 @@ export type GlobalOmitConfig = {
16409
16609
  harnessSchedule?: Prisma.HarnessScheduleOmit
16410
16610
  harnessScheduleOccurrence?: Prisma.HarnessScheduleOccurrenceOmit
16411
16611
  harnessOutbox?: Prisma.HarnessOutboxOmit
16612
+ harnessWebhookRule?: Prisma.HarnessWebhookRuleOmit
16613
+ harnessWebhookDelivery?: Prisma.HarnessWebhookDeliveryOmit
16412
16614
  harnessFeedback?: Prisma.HarnessFeedbackOmit
16413
16615
  harnessMcpServer?: Prisma.HarnessMcpServerOmit
16414
16616
  harnessSshHost?: Prisma.HarnessSshHostOmit
@@ -209,6 +209,8 @@ export const ModelName = {
209
209
  HarnessSchedule: 'HarnessSchedule',
210
210
  HarnessScheduleOccurrence: 'HarnessScheduleOccurrence',
211
211
  HarnessOutbox: 'HarnessOutbox',
212
+ HarnessWebhookRule: 'HarnessWebhookRule',
213
+ HarnessWebhookDelivery: 'HarnessWebhookDelivery',
212
214
  HarnessFeedback: 'HarnessFeedback',
213
215
  HarnessMcpServer: 'HarnessMcpServer',
214
216
  HarnessSshHost: 'HarnessSshHost',
@@ -2720,6 +2722,56 @@ export const HarnessOutboxScalarFieldEnum = {
2720
2722
  export type HarnessOutboxScalarFieldEnum = (typeof HarnessOutboxScalarFieldEnum)[keyof typeof HarnessOutboxScalarFieldEnum]
2721
2723
 
2722
2724
 
2725
+ export const HarnessWebhookRuleScalarFieldEnum = {
2726
+ id: 'id',
2727
+ userId: 'userId',
2728
+ token: 'token',
2729
+ name: 'name',
2730
+ provider: 'provider',
2731
+ threadId: 'threadId',
2732
+ workspaceId: 'workspaceId',
2733
+ prompt: 'prompt',
2734
+ secretCipher: 'secretCipher',
2735
+ secretHint: 'secretHint',
2736
+ events: 'events',
2737
+ repoWhitelist: 'repoWhitelist',
2738
+ ownerWhitelist: 'ownerWhitelist',
2739
+ status: 'status',
2740
+ executionPlane: 'executionPlane',
2741
+ lastDeliveryAt: 'lastDeliveryAt',
2742
+ lastError: 'lastError',
2743
+ revision: 'revision',
2744
+ createdAt: 'createdAt',
2745
+ updatedAt: 'updatedAt'
2746
+ } as const
2747
+
2748
+ export type HarnessWebhookRuleScalarFieldEnum = (typeof HarnessWebhookRuleScalarFieldEnum)[keyof typeof HarnessWebhookRuleScalarFieldEnum]
2749
+
2750
+
2751
+ export const HarnessWebhookDeliveryScalarFieldEnum = {
2752
+ id: 'id',
2753
+ ruleId: 'ruleId',
2754
+ userId: 'userId',
2755
+ executionPlane: 'executionPlane',
2756
+ eventKey: 'eventKey',
2757
+ eventType: 'eventType',
2758
+ repo: 'repo',
2759
+ owner: 'owner',
2760
+ summary: 'summary',
2761
+ state: 'state',
2762
+ leaseOwner: 'leaseOwner',
2763
+ leaseUntil: 'leaseUntil',
2764
+ fencingToken: 'fencingToken',
2765
+ attempt: 'attempt',
2766
+ deliveredAt: 'deliveredAt',
2767
+ lastError: 'lastError',
2768
+ createdAt: 'createdAt',
2769
+ updatedAt: 'updatedAt'
2770
+ } as const
2771
+
2772
+ export type HarnessWebhookDeliveryScalarFieldEnum = (typeof HarnessWebhookDeliveryScalarFieldEnum)[keyof typeof HarnessWebhookDeliveryScalarFieldEnum]
2773
+
2774
+
2723
2775
  export const HarnessFeedbackScalarFieldEnum = {
2724
2776
  id: 'id',
2725
2777
  userId: 'userId',
@@ -179,7 +179,7 @@ export type HarnessConnectorAccountGroupByOutputType = {
179
179
  kind: string
180
180
  provider: string
181
181
  label: string
182
- secretCipher: string
182
+ secretCipher: string | null
183
183
  metadata: runtime.JsonValue | null
184
184
  expiresAt: Date | null
185
185
  createdAt: Date
@@ -213,7 +213,7 @@ export type HarnessConnectorAccountWhereInput = {
213
213
  kind?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
214
214
  provider?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
215
215
  label?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
216
- secretCipher?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
216
+ secretCipher?: Prisma.StringNullableFilter<"HarnessConnectorAccount"> | string | null
217
217
  metadata?: Prisma.JsonNullableFilter<"HarnessConnectorAccount">
218
218
  expiresAt?: Prisma.DateTimeNullableFilter<"HarnessConnectorAccount"> | Date | string | null
219
219
  createdAt?: Prisma.DateTimeFilter<"HarnessConnectorAccount"> | Date | string
@@ -226,7 +226,7 @@ export type HarnessConnectorAccountOrderByWithRelationInput = {
226
226
  kind?: Prisma.SortOrder
227
227
  provider?: Prisma.SortOrder
228
228
  label?: Prisma.SortOrder
229
- secretCipher?: Prisma.SortOrder
229
+ secretCipher?: Prisma.SortOrderInput | Prisma.SortOrder
230
230
  metadata?: Prisma.SortOrderInput | Prisma.SortOrder
231
231
  expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
232
232
  createdAt?: Prisma.SortOrder
@@ -243,7 +243,7 @@ export type HarnessConnectorAccountWhereUniqueInput = Prisma.AtLeast<{
243
243
  kind?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
244
244
  provider?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
245
245
  label?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
246
- secretCipher?: Prisma.StringFilter<"HarnessConnectorAccount"> | string
246
+ secretCipher?: Prisma.StringNullableFilter<"HarnessConnectorAccount"> | string | null
247
247
  metadata?: Prisma.JsonNullableFilter<"HarnessConnectorAccount">
248
248
  expiresAt?: Prisma.DateTimeNullableFilter<"HarnessConnectorAccount"> | Date | string | null
249
249
  createdAt?: Prisma.DateTimeFilter<"HarnessConnectorAccount"> | Date | string
@@ -256,7 +256,7 @@ export type HarnessConnectorAccountOrderByWithAggregationInput = {
256
256
  kind?: Prisma.SortOrder
257
257
  provider?: Prisma.SortOrder
258
258
  label?: Prisma.SortOrder
259
- secretCipher?: Prisma.SortOrder
259
+ secretCipher?: Prisma.SortOrderInput | Prisma.SortOrder
260
260
  metadata?: Prisma.SortOrderInput | Prisma.SortOrder
261
261
  expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
262
262
  createdAt?: Prisma.SortOrder
@@ -275,7 +275,7 @@ export type HarnessConnectorAccountScalarWhereWithAggregatesInput = {
275
275
  kind?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
276
276
  provider?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
277
277
  label?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
278
- secretCipher?: Prisma.StringWithAggregatesFilter<"HarnessConnectorAccount"> | string
278
+ secretCipher?: Prisma.StringNullableWithAggregatesFilter<"HarnessConnectorAccount"> | string | null
279
279
  metadata?: Prisma.JsonNullableWithAggregatesFilter<"HarnessConnectorAccount">
280
280
  expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessConnectorAccount"> | Date | string | null
281
281
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessConnectorAccount"> | Date | string
@@ -288,7 +288,7 @@ export type HarnessConnectorAccountCreateInput = {
288
288
  kind: string
289
289
  provider: string
290
290
  label: string
291
- secretCipher: string
291
+ secretCipher?: string | null
292
292
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
293
293
  expiresAt?: Date | string | null
294
294
  createdAt?: Date | string
@@ -301,7 +301,7 @@ export type HarnessConnectorAccountUncheckedCreateInput = {
301
301
  kind: string
302
302
  provider: string
303
303
  label: string
304
- secretCipher: string
304
+ secretCipher?: string | null
305
305
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
306
306
  expiresAt?: Date | string | null
307
307
  createdAt?: Date | string
@@ -314,7 +314,7 @@ export type HarnessConnectorAccountUpdateInput = {
314
314
  kind?: Prisma.StringFieldUpdateOperationsInput | string
315
315
  provider?: Prisma.StringFieldUpdateOperationsInput | string
316
316
  label?: Prisma.StringFieldUpdateOperationsInput | string
317
- secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
317
+ secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
318
318
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
319
319
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
320
320
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -327,7 +327,7 @@ export type HarnessConnectorAccountUncheckedUpdateInput = {
327
327
  kind?: Prisma.StringFieldUpdateOperationsInput | string
328
328
  provider?: Prisma.StringFieldUpdateOperationsInput | string
329
329
  label?: Prisma.StringFieldUpdateOperationsInput | string
330
- secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
330
+ secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
331
331
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
332
332
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
333
333
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -340,7 +340,7 @@ export type HarnessConnectorAccountCreateManyInput = {
340
340
  kind: string
341
341
  provider: string
342
342
  label: string
343
- secretCipher: string
343
+ secretCipher?: string | null
344
344
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
345
345
  expiresAt?: Date | string | null
346
346
  createdAt?: Date | string
@@ -353,7 +353,7 @@ export type HarnessConnectorAccountUpdateManyMutationInput = {
353
353
  kind?: Prisma.StringFieldUpdateOperationsInput | string
354
354
  provider?: Prisma.StringFieldUpdateOperationsInput | string
355
355
  label?: Prisma.StringFieldUpdateOperationsInput | string
356
- secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
356
+ secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
357
357
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
358
358
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
359
359
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -366,7 +366,7 @@ export type HarnessConnectorAccountUncheckedUpdateManyInput = {
366
366
  kind?: Prisma.StringFieldUpdateOperationsInput | string
367
367
  provider?: Prisma.StringFieldUpdateOperationsInput | string
368
368
  label?: Prisma.StringFieldUpdateOperationsInput | string
369
- secretCipher?: Prisma.StringFieldUpdateOperationsInput | string
369
+ secretCipher?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
370
370
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
371
371
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
372
372
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -482,7 +482,13 @@ export type $HarnessConnectorAccountPayload<ExtArgs extends runtime.Types.Extens
482
482
  kind: string
483
483
  provider: string
484
484
  label: string
485
- secretCipher: string
485
+ /**
486
+ * 加密凭据(AES,encryptApiKey)。**可空**(P5 任务 5):跨端只同步账号元数据
487
+ * (kind/provider/label/metadata/expiresAt),凭据永不跨端——同步而来的行
488
+ * secretCipher 为 NULL,运行时经 CredentialStore 读到 null → 连接器自然缺席,
489
+ * 用户在该设备重新授权后恢复。
490
+ */
491
+ secretCipher: string | null
486
492
  metadata: runtime.JsonValue | null
487
493
  expiresAt: Date | null
488
494
  createdAt: Date