@allbluecn/database 0.14.5 → 0.14.7

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.
@@ -205,7 +205,15 @@ export const ModelName = {
205
205
  HarnessMetadata: 'HarnessMetadata',
206
206
  HarnessBlob: 'HarnessBlob',
207
207
  HarnessArtifact: 'HarnessArtifact',
208
- HarnessSession: 'HarnessSession'
208
+ HarnessSession: 'HarnessSession',
209
+ HarnessSchedule: 'HarnessSchedule',
210
+ HarnessScheduleOccurrence: 'HarnessScheduleOccurrence',
211
+ HarnessOutbox: 'HarnessOutbox',
212
+ HarnessFeedback: 'HarnessFeedback',
213
+ HarnessMcpServer: 'HarnessMcpServer',
214
+ HarnessConnectorAccount: 'HarnessConnectorAccount',
215
+ HarnessSessionSearchDocument: 'HarnessSessionSearchDocument',
216
+ HarnessSessionSearchToken: 'HarnessSessionSearchToken'
209
217
  } as const
210
218
 
211
219
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -2637,6 +2645,152 @@ export const HarnessSessionScalarFieldEnum = {
2637
2645
  export type HarnessSessionScalarFieldEnum = (typeof HarnessSessionScalarFieldEnum)[keyof typeof HarnessSessionScalarFieldEnum]
2638
2646
 
2639
2647
 
2648
+ export const HarnessScheduleScalarFieldEnum = {
2649
+ id: 'id',
2650
+ userId: 'userId',
2651
+ threadId: 'threadId',
2652
+ workspaceId: 'workspaceId',
2653
+ title: 'title',
2654
+ prompt: 'prompt',
2655
+ rule: 'rule',
2656
+ ruleKind: 'ruleKind',
2657
+ timezone: 'timezone',
2658
+ status: 'status',
2659
+ executionPlane: 'executionPlane',
2660
+ nextRunAt: 'nextRunAt',
2661
+ lastRunAt: 'lastRunAt',
2662
+ lastError: 'lastError',
2663
+ revision: 'revision',
2664
+ createdAt: 'createdAt',
2665
+ updatedAt: 'updatedAt'
2666
+ } as const
2667
+
2668
+ export type HarnessScheduleScalarFieldEnum = (typeof HarnessScheduleScalarFieldEnum)[keyof typeof HarnessScheduleScalarFieldEnum]
2669
+
2670
+
2671
+ export const HarnessScheduleOccurrenceScalarFieldEnum = {
2672
+ id: 'id',
2673
+ scheduleId: 'scheduleId',
2674
+ userId: 'userId',
2675
+ executionPlane: 'executionPlane',
2676
+ scheduledFor: 'scheduledFor',
2677
+ state: 'state',
2678
+ leaseOwner: 'leaseOwner',
2679
+ leaseUntil: 'leaseUntil',
2680
+ fencingToken: 'fencingToken',
2681
+ attempt: 'attempt',
2682
+ deliveredAt: 'deliveredAt',
2683
+ lastError: 'lastError',
2684
+ createdAt: 'createdAt',
2685
+ updatedAt: 'updatedAt'
2686
+ } as const
2687
+
2688
+ export type HarnessScheduleOccurrenceScalarFieldEnum = (typeof HarnessScheduleOccurrenceScalarFieldEnum)[keyof typeof HarnessScheduleOccurrenceScalarFieldEnum]
2689
+
2690
+
2691
+ export const HarnessOutboxScalarFieldEnum = {
2692
+ id: 'id',
2693
+ userId: 'userId',
2694
+ executionPlane: 'executionPlane',
2695
+ kind: 'kind',
2696
+ occurrenceId: 'occurrenceId',
2697
+ inputId: 'inputId',
2698
+ payload: 'payload',
2699
+ idempotencyKey: 'idempotencyKey',
2700
+ state: 'state',
2701
+ leaseOwner: 'leaseOwner',
2702
+ leaseUntil: 'leaseUntil',
2703
+ fencingToken: 'fencingToken',
2704
+ attempt: 'attempt',
2705
+ nextAttemptAt: 'nextAttemptAt',
2706
+ lastHeartbeatAt: 'lastHeartbeatAt',
2707
+ lastError: 'lastError',
2708
+ createdAt: 'createdAt',
2709
+ updatedAt: 'updatedAt'
2710
+ } as const
2711
+
2712
+ export type HarnessOutboxScalarFieldEnum = (typeof HarnessOutboxScalarFieldEnum)[keyof typeof HarnessOutboxScalarFieldEnum]
2713
+
2714
+
2715
+ export const HarnessFeedbackScalarFieldEnum = {
2716
+ id: 'id',
2717
+ userId: 'userId',
2718
+ threadId: 'threadId',
2719
+ messageId: 'messageId',
2720
+ rating: 'rating',
2721
+ comment: 'comment',
2722
+ createdAt: 'createdAt',
2723
+ updatedAt: 'updatedAt'
2724
+ } as const
2725
+
2726
+ export type HarnessFeedbackScalarFieldEnum = (typeof HarnessFeedbackScalarFieldEnum)[keyof typeof HarnessFeedbackScalarFieldEnum]
2727
+
2728
+
2729
+ export const HarnessMcpServerScalarFieldEnum = {
2730
+ id: 'id',
2731
+ userId: 'userId',
2732
+ name: 'name',
2733
+ transport: 'transport',
2734
+ url: 'url',
2735
+ command: 'command',
2736
+ args: 'args',
2737
+ headers: 'headers',
2738
+ envNames: 'envNames',
2739
+ credentialId: 'credentialId',
2740
+ enabled: 'enabled',
2741
+ lastProbeAt: 'lastProbeAt',
2742
+ lastProbeOk: 'lastProbeOk',
2743
+ lastProbeError: 'lastProbeError',
2744
+ createdAt: 'createdAt',
2745
+ updatedAt: 'updatedAt'
2746
+ } as const
2747
+
2748
+ export type HarnessMcpServerScalarFieldEnum = (typeof HarnessMcpServerScalarFieldEnum)[keyof typeof HarnessMcpServerScalarFieldEnum]
2749
+
2750
+
2751
+ export const HarnessConnectorAccountScalarFieldEnum = {
2752
+ id: 'id',
2753
+ userId: 'userId',
2754
+ kind: 'kind',
2755
+ provider: 'provider',
2756
+ label: 'label',
2757
+ secretCipher: 'secretCipher',
2758
+ metadata: 'metadata',
2759
+ expiresAt: 'expiresAt',
2760
+ createdAt: 'createdAt',
2761
+ updatedAt: 'updatedAt'
2762
+ } as const
2763
+
2764
+ export type HarnessConnectorAccountScalarFieldEnum = (typeof HarnessConnectorAccountScalarFieldEnum)[keyof typeof HarnessConnectorAccountScalarFieldEnum]
2765
+
2766
+
2767
+ export const HarnessSessionSearchDocumentScalarFieldEnum = {
2768
+ id: 'id',
2769
+ userId: 'userId',
2770
+ logId: 'logId',
2771
+ rootThreadId: 'rootThreadId',
2772
+ subagentRunId: 'subagentRunId',
2773
+ eventSeq: 'eventSeq',
2774
+ partIndex: 'partIndex',
2775
+ messageId: 'messageId',
2776
+ inputId: 'inputId',
2777
+ kind: 'kind',
2778
+ content: 'content',
2779
+ createdAt: 'createdAt'
2780
+ } as const
2781
+
2782
+ export type HarnessSessionSearchDocumentScalarFieldEnum = (typeof HarnessSessionSearchDocumentScalarFieldEnum)[keyof typeof HarnessSessionSearchDocumentScalarFieldEnum]
2783
+
2784
+
2785
+ export const HarnessSessionSearchTokenScalarFieldEnum = {
2786
+ documentId: 'documentId',
2787
+ token: 'token',
2788
+ position: 'position'
2789
+ } as const
2790
+
2791
+ export type HarnessSessionSearchTokenScalarFieldEnum = (typeof HarnessSessionSearchTokenScalarFieldEnum)[keyof typeof HarnessSessionSearchTokenScalarFieldEnum]
2792
+
2793
+
2640
2794
  export const SortOrder = {
2641
2795
  asc: 'asc',
2642
2796
  desc: 'desc'