@pipeline-builder/pipeline-data 4.1.23 → 4.1.25

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 (64) hide show
  1. package/lib/api/alert-destinations.d.ts +17 -0
  2. package/lib/api/alert-destinations.js +36 -0
  3. package/lib/api/reporting/analytics-queries.d.ts +274 -0
  4. package/lib/api/reporting/analytics-queries.js +598 -0
  5. package/lib/api/reporting/daily-rollup.d.ts +41 -0
  6. package/lib/api/reporting/daily-rollup.js +173 -0
  7. package/lib/api/reporting/deploy-rollup.d.ts +78 -0
  8. package/lib/api/reporting/deploy-rollup.js +203 -0
  9. package/lib/api/reporting/dora-scoring.d.ts +14 -0
  10. package/lib/api/reporting/dora-scoring.js +25 -1
  11. package/lib/api/reporting/dora.js +30 -6
  12. package/lib/api/reporting/failure-classifier.d.ts +54 -0
  13. package/lib/api/reporting/failure-classifier.js +179 -0
  14. package/lib/api/reporting/ingest.d.ts +2 -2
  15. package/lib/api/reporting/ingest.js +129 -4
  16. package/lib/api/reporting/last-deploy.d.ts +31 -0
  17. package/lib/api/reporting/last-deploy.js +93 -0
  18. package/lib/api/reporting/needs-attention.d.ts +93 -0
  19. package/lib/api/reporting/needs-attention.js +152 -0
  20. package/lib/api/reporting/plugin-exposure.d.ts +129 -0
  21. package/lib/api/reporting/plugin-exposure.js +312 -0
  22. package/lib/api/reporting/retention-sweep.js +9 -1
  23. package/lib/api/reporting/sql-helpers.d.ts +35 -2
  24. package/lib/api/reporting/sql-helpers.js +39 -1
  25. package/lib/api/reporting/stakeholder/compose.d.ts +115 -0
  26. package/lib/api/reporting/stakeholder/compose.js +234 -0
  27. package/lib/api/reporting/stakeholder/index.d.ts +14 -0
  28. package/lib/api/reporting/stakeholder/index.js +17 -0
  29. package/lib/api/reporting/stakeholder/period.d.ts +102 -0
  30. package/lib/api/reporting/stakeholder/period.js +273 -0
  31. package/lib/api/reporting/stakeholder/report-html.d.ts +93 -0
  32. package/lib/api/reporting/stakeholder/report-html.js +208 -0
  33. package/lib/api/reporting/stakeholder/sections.d.ts +117 -0
  34. package/lib/api/reporting/stakeholder/sections.js +249 -0
  35. package/lib/api/reporting/stakeholder/store.d.ts +450 -0
  36. package/lib/api/reporting/stakeholder/store.js +981 -0
  37. package/lib/api/reporting/stakeholder/templates.d.ts +21 -0
  38. package/lib/api/reporting/stakeholder/templates.js +104 -0
  39. package/lib/api/reporting/types.d.ts +73 -0
  40. package/lib/api/reporting/types.js +1 -1
  41. package/lib/api/reporting-service.d.ts +94 -5
  42. package/lib/api/reporting-service.js +169 -10
  43. package/lib/api/soft-delete-sweep.d.ts +11 -2
  44. package/lib/api/soft-delete-sweep.js +17 -6
  45. package/lib/database/drizzle-schema.d.ts +2263 -385
  46. package/lib/database/drizzle-schema.js +18 -7
  47. package/lib/database/index.d.ts +1 -1
  48. package/lib/database/index.js +4 -2
  49. package/lib/database/schema/compliance.d.ts +0 -682
  50. package/lib/database/schema/compliance.js +6 -66
  51. package/lib/database/schema/ecosystem.d.ts +20 -157
  52. package/lib/database/schema/ecosystem.js +23 -16
  53. package/lib/database/schema/pipeline.d.ts +200 -0
  54. package/lib/database/schema/pipeline.js +100 -1
  55. package/lib/database/schema/plugin.d.ts +20 -1
  56. package/lib/database/schema/plugin.js +13 -1
  57. package/lib/database/schema/reporting-analytics.d.ts +1212 -0
  58. package/lib/database/schema/reporting-analytics.js +250 -0
  59. package/lib/database/schema/reporting-stakeholder.d.ts +1405 -0
  60. package/lib/database/schema/reporting-stakeholder.js +251 -0
  61. package/lib/index.d.ts +10 -1
  62. package/lib/index.js +15 -1
  63. package/lib/testing/exports.json +67 -4
  64. package/package.json +4 -3
@@ -2518,57 +2518,6 @@ export declare const complianceNotificationLog: import("drizzle-orm/pg-core").Pg
2518
2518
  identity: undefined;
2519
2519
  generated: undefined;
2520
2520
  }, {}, {}>;
2521
- retryCount: import("drizzle-orm/pg-core").PgColumn<{
2522
- name: "retry_count";
2523
- tableName: "compliance_notification_log";
2524
- dataType: "number";
2525
- columnType: "PgInteger";
2526
- data: number;
2527
- driverParam: string | number;
2528
- notNull: true;
2529
- hasDefault: true;
2530
- isPrimaryKey: false;
2531
- isAutoincrement: false;
2532
- hasRuntimeDefault: false;
2533
- enumValues: undefined;
2534
- baseColumn: never;
2535
- identity: undefined;
2536
- generated: undefined;
2537
- }, {}, {}>;
2538
- nextRetryAt: import("drizzle-orm/pg-core").PgColumn<{
2539
- name: "next_retry_at";
2540
- tableName: "compliance_notification_log";
2541
- dataType: "date";
2542
- columnType: "PgTimestamp";
2543
- data: Date;
2544
- driverParam: string;
2545
- notNull: false;
2546
- hasDefault: false;
2547
- isPrimaryKey: false;
2548
- isAutoincrement: false;
2549
- hasRuntimeDefault: false;
2550
- enumValues: undefined;
2551
- baseColumn: never;
2552
- identity: undefined;
2553
- generated: undefined;
2554
- }, {}, {}>;
2555
- relatedAuditId: import("drizzle-orm/pg-core").PgColumn<{
2556
- name: "related_audit_id";
2557
- tableName: "compliance_notification_log";
2558
- dataType: "string";
2559
- columnType: "PgUUID";
2560
- data: string;
2561
- driverParam: string;
2562
- notNull: false;
2563
- hasDefault: false;
2564
- isPrimaryKey: false;
2565
- isAutoincrement: false;
2566
- hasRuntimeDefault: false;
2567
- enumValues: undefined;
2568
- baseColumn: never;
2569
- identity: undefined;
2570
- generated: undefined;
2571
- }, {}, {}>;
2572
2521
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
2573
2522
  name: "created_at";
2574
2523
  tableName: "compliance_notification_log";
@@ -2589,631 +2538,6 @@ export declare const complianceNotificationLog: import("drizzle-orm/pg-core").Pg
2589
2538
  };
2590
2539
  dialect: 'pg';
2591
2540
  }>;
2592
- /**
2593
- * Compliance-specific RBAC roles.
2594
- *
2595
- * @table compliance_roles
2596
- */
2597
- export type ComplianceRoleType = 'compliance-viewer' | 'compliance-editor' | 'compliance-admin';
2598
- export declare const complianceRole: import("drizzle-orm/pg-core").PgTableWithColumns<{
2599
- name: "compliance_roles";
2600
- schema: undefined;
2601
- columns: {
2602
- id: import("drizzle-orm/pg-core").PgColumn<{
2603
- name: "id";
2604
- tableName: "compliance_roles";
2605
- dataType: "string";
2606
- columnType: "PgUUID";
2607
- data: string;
2608
- driverParam: string;
2609
- notNull: true;
2610
- hasDefault: true;
2611
- isPrimaryKey: true;
2612
- isAutoincrement: false;
2613
- hasRuntimeDefault: false;
2614
- enumValues: undefined;
2615
- baseColumn: never;
2616
- identity: undefined;
2617
- generated: undefined;
2618
- }, {}, {}>;
2619
- orgId: import("drizzle-orm/pg-core").PgColumn<{
2620
- name: "org_id";
2621
- tableName: "compliance_roles";
2622
- dataType: "string";
2623
- columnType: "PgVarchar";
2624
- data: string;
2625
- driverParam: string;
2626
- notNull: true;
2627
- hasDefault: false;
2628
- isPrimaryKey: false;
2629
- isAutoincrement: false;
2630
- hasRuntimeDefault: false;
2631
- enumValues: [string, ...string[]];
2632
- baseColumn: never;
2633
- identity: undefined;
2634
- generated: undefined;
2635
- }, {}, {
2636
- length: 255;
2637
- }>;
2638
- userId: import("drizzle-orm/pg-core").PgColumn<{
2639
- name: "user_id";
2640
- tableName: "compliance_roles";
2641
- dataType: "string";
2642
- columnType: "PgText";
2643
- data: string;
2644
- driverParam: string;
2645
- notNull: true;
2646
- hasDefault: false;
2647
- isPrimaryKey: false;
2648
- isAutoincrement: false;
2649
- hasRuntimeDefault: false;
2650
- enumValues: [string, ...string[]];
2651
- baseColumn: never;
2652
- identity: undefined;
2653
- generated: undefined;
2654
- }, {}, {}>;
2655
- role: import("drizzle-orm/pg-core").PgColumn<{
2656
- name: "role";
2657
- tableName: "compliance_roles";
2658
- dataType: "string";
2659
- columnType: "PgVarchar";
2660
- data: ComplianceRoleType;
2661
- driverParam: string;
2662
- notNull: true;
2663
- hasDefault: false;
2664
- isPrimaryKey: false;
2665
- isAutoincrement: false;
2666
- hasRuntimeDefault: false;
2667
- enumValues: [string, ...string[]];
2668
- baseColumn: never;
2669
- identity: undefined;
2670
- generated: undefined;
2671
- }, {}, {
2672
- length: 30;
2673
- $type: ComplianceRoleType;
2674
- }>;
2675
- grantedBy: import("drizzle-orm/pg-core").PgColumn<{
2676
- name: "granted_by";
2677
- tableName: "compliance_roles";
2678
- dataType: "string";
2679
- columnType: "PgText";
2680
- data: string;
2681
- driverParam: string;
2682
- notNull: true;
2683
- hasDefault: false;
2684
- isPrimaryKey: false;
2685
- isAutoincrement: false;
2686
- hasRuntimeDefault: false;
2687
- enumValues: [string, ...string[]];
2688
- baseColumn: never;
2689
- identity: undefined;
2690
- generated: undefined;
2691
- }, {}, {}>;
2692
- createdAt: import("drizzle-orm/pg-core").PgColumn<{
2693
- name: "created_at";
2694
- tableName: "compliance_roles";
2695
- dataType: "date";
2696
- columnType: "PgTimestamp";
2697
- data: Date;
2698
- driverParam: string;
2699
- notNull: true;
2700
- hasDefault: true;
2701
- isPrimaryKey: false;
2702
- isAutoincrement: false;
2703
- hasRuntimeDefault: false;
2704
- enumValues: undefined;
2705
- baseColumn: never;
2706
- identity: undefined;
2707
- generated: undefined;
2708
- }, {}, {}>;
2709
- updatedAt: import("drizzle-orm/pg-core").PgColumn<{
2710
- name: "updated_at";
2711
- tableName: "compliance_roles";
2712
- dataType: "date";
2713
- columnType: "PgTimestamp";
2714
- data: Date;
2715
- driverParam: string;
2716
- notNull: true;
2717
- hasDefault: true;
2718
- isPrimaryKey: false;
2719
- isAutoincrement: false;
2720
- hasRuntimeDefault: false;
2721
- enumValues: undefined;
2722
- baseColumn: never;
2723
- identity: undefined;
2724
- generated: undefined;
2725
- }, {}, {}>;
2726
- };
2727
- dialect: 'pg';
2728
- }>;
2729
- /**
2730
- * Generated compliance reports.
2731
- *
2732
- * @table compliance_reports
2733
- */
2734
- export declare const complianceReport: import("drizzle-orm/pg-core").PgTableWithColumns<{
2735
- name: "compliance_reports";
2736
- schema: undefined;
2737
- columns: {
2738
- id: import("drizzle-orm/pg-core").PgColumn<{
2739
- name: "id";
2740
- tableName: "compliance_reports";
2741
- dataType: "string";
2742
- columnType: "PgUUID";
2743
- data: string;
2744
- driverParam: string;
2745
- notNull: true;
2746
- hasDefault: true;
2747
- isPrimaryKey: true;
2748
- isAutoincrement: false;
2749
- hasRuntimeDefault: false;
2750
- enumValues: undefined;
2751
- baseColumn: never;
2752
- identity: undefined;
2753
- generated: undefined;
2754
- }, {}, {}>;
2755
- orgId: import("drizzle-orm/pg-core").PgColumn<{
2756
- name: "org_id";
2757
- tableName: "compliance_reports";
2758
- dataType: "string";
2759
- columnType: "PgVarchar";
2760
- data: string;
2761
- driverParam: string;
2762
- notNull: true;
2763
- hasDefault: false;
2764
- isPrimaryKey: false;
2765
- isAutoincrement: false;
2766
- hasRuntimeDefault: false;
2767
- enumValues: [string, ...string[]];
2768
- baseColumn: never;
2769
- identity: undefined;
2770
- generated: undefined;
2771
- }, {}, {
2772
- length: 255;
2773
- }>;
2774
- reportType: import("drizzle-orm/pg-core").PgColumn<{
2775
- name: "report_type";
2776
- tableName: "compliance_reports";
2777
- dataType: "string";
2778
- columnType: "PgVarchar";
2779
- data: string;
2780
- driverParam: string;
2781
- notNull: true;
2782
- hasDefault: false;
2783
- isPrimaryKey: false;
2784
- isAutoincrement: false;
2785
- hasRuntimeDefault: false;
2786
- enumValues: [string, ...string[]];
2787
- baseColumn: never;
2788
- identity: undefined;
2789
- generated: undefined;
2790
- }, {}, {
2791
- length: 30;
2792
- }>;
2793
- target: import("drizzle-orm/pg-core").PgColumn<{
2794
- name: "target";
2795
- tableName: "compliance_reports";
2796
- dataType: "string";
2797
- columnType: "PgVarchar";
2798
- data: string;
2799
- driverParam: string;
2800
- notNull: true;
2801
- hasDefault: false;
2802
- isPrimaryKey: false;
2803
- isAutoincrement: false;
2804
- hasRuntimeDefault: false;
2805
- enumValues: [string, ...string[]];
2806
- baseColumn: never;
2807
- identity: undefined;
2808
- generated: undefined;
2809
- }, {}, {
2810
- length: 20;
2811
- }>;
2812
- dateFrom: import("drizzle-orm/pg-core").PgColumn<{
2813
- name: "date_from";
2814
- tableName: "compliance_reports";
2815
- dataType: "date";
2816
- columnType: "PgTimestamp";
2817
- data: Date;
2818
- driverParam: string;
2819
- notNull: false;
2820
- hasDefault: false;
2821
- isPrimaryKey: false;
2822
- isAutoincrement: false;
2823
- hasRuntimeDefault: false;
2824
- enumValues: undefined;
2825
- baseColumn: never;
2826
- identity: undefined;
2827
- generated: undefined;
2828
- }, {}, {}>;
2829
- dateTo: import("drizzle-orm/pg-core").PgColumn<{
2830
- name: "date_to";
2831
- tableName: "compliance_reports";
2832
- dataType: "date";
2833
- columnType: "PgTimestamp";
2834
- data: Date;
2835
- driverParam: string;
2836
- notNull: false;
2837
- hasDefault: false;
2838
- isPrimaryKey: false;
2839
- isAutoincrement: false;
2840
- hasRuntimeDefault: false;
2841
- enumValues: undefined;
2842
- baseColumn: never;
2843
- identity: undefined;
2844
- generated: undefined;
2845
- }, {}, {}>;
2846
- compareFrom: import("drizzle-orm/pg-core").PgColumn<{
2847
- name: "compare_from";
2848
- tableName: "compliance_reports";
2849
- dataType: "date";
2850
- columnType: "PgTimestamp";
2851
- data: Date;
2852
- driverParam: string;
2853
- notNull: false;
2854
- hasDefault: false;
2855
- isPrimaryKey: false;
2856
- isAutoincrement: false;
2857
- hasRuntimeDefault: false;
2858
- enumValues: undefined;
2859
- baseColumn: never;
2860
- identity: undefined;
2861
- generated: undefined;
2862
- }, {}, {}>;
2863
- compareTo: import("drizzle-orm/pg-core").PgColumn<{
2864
- name: "compare_to";
2865
- tableName: "compliance_reports";
2866
- dataType: "date";
2867
- columnType: "PgTimestamp";
2868
- data: Date;
2869
- driverParam: string;
2870
- notNull: false;
2871
- hasDefault: false;
2872
- isPrimaryKey: false;
2873
- isAutoincrement: false;
2874
- hasRuntimeDefault: false;
2875
- enumValues: undefined;
2876
- baseColumn: never;
2877
- identity: undefined;
2878
- generated: undefined;
2879
- }, {}, {}>;
2880
- data: import("drizzle-orm/pg-core").PgColumn<{
2881
- name: "data";
2882
- tableName: "compliance_reports";
2883
- dataType: "json";
2884
- columnType: "PgJsonb";
2885
- data: Record<string, unknown>;
2886
- driverParam: unknown;
2887
- notNull: true;
2888
- hasDefault: false;
2889
- isPrimaryKey: false;
2890
- isAutoincrement: false;
2891
- hasRuntimeDefault: false;
2892
- enumValues: undefined;
2893
- baseColumn: never;
2894
- identity: undefined;
2895
- generated: undefined;
2896
- }, {}, {
2897
- $type: Record<string, unknown>;
2898
- }>;
2899
- format: import("drizzle-orm/pg-core").PgColumn<{
2900
- name: "format";
2901
- tableName: "compliance_reports";
2902
- dataType: "string";
2903
- columnType: "PgVarchar";
2904
- data: string;
2905
- driverParam: string;
2906
- notNull: true;
2907
- hasDefault: true;
2908
- isPrimaryKey: false;
2909
- isAutoincrement: false;
2910
- hasRuntimeDefault: false;
2911
- enumValues: [string, ...string[]];
2912
- baseColumn: never;
2913
- identity: undefined;
2914
- generated: undefined;
2915
- }, {}, {
2916
- length: 10;
2917
- }>;
2918
- generatedBy: import("drizzle-orm/pg-core").PgColumn<{
2919
- name: "generated_by";
2920
- tableName: "compliance_reports";
2921
- dataType: "string";
2922
- columnType: "PgText";
2923
- data: string;
2924
- driverParam: string;
2925
- notNull: true;
2926
- hasDefault: false;
2927
- isPrimaryKey: false;
2928
- isAutoincrement: false;
2929
- hasRuntimeDefault: false;
2930
- enumValues: [string, ...string[]];
2931
- baseColumn: never;
2932
- identity: undefined;
2933
- generated: undefined;
2934
- }, {}, {}>;
2935
- createdAt: import("drizzle-orm/pg-core").PgColumn<{
2936
- name: "created_at";
2937
- tableName: "compliance_reports";
2938
- dataType: "date";
2939
- columnType: "PgTimestamp";
2940
- data: Date;
2941
- driverParam: string;
2942
- notNull: true;
2943
- hasDefault: true;
2944
- isPrimaryKey: false;
2945
- isAutoincrement: false;
2946
- hasRuntimeDefault: false;
2947
- enumValues: undefined;
2948
- baseColumn: never;
2949
- identity: undefined;
2950
- generated: undefined;
2951
- }, {}, {}>;
2952
- };
2953
- dialect: 'pg';
2954
- }>;
2955
- /**
2956
- * Cron-based recurring report generation schedules.
2957
- *
2958
- * @table compliance_report_schedules
2959
- */
2960
- export declare const complianceReportSchedule: import("drizzle-orm/pg-core").PgTableWithColumns<{
2961
- name: "compliance_report_schedules";
2962
- schema: undefined;
2963
- columns: {
2964
- id: import("drizzle-orm/pg-core").PgColumn<{
2965
- name: "id";
2966
- tableName: "compliance_report_schedules";
2967
- dataType: "string";
2968
- columnType: "PgUUID";
2969
- data: string;
2970
- driverParam: string;
2971
- notNull: true;
2972
- hasDefault: true;
2973
- isPrimaryKey: true;
2974
- isAutoincrement: false;
2975
- hasRuntimeDefault: false;
2976
- enumValues: undefined;
2977
- baseColumn: never;
2978
- identity: undefined;
2979
- generated: undefined;
2980
- }, {}, {}>;
2981
- orgId: import("drizzle-orm/pg-core").PgColumn<{
2982
- name: "org_id";
2983
- tableName: "compliance_report_schedules";
2984
- dataType: "string";
2985
- columnType: "PgVarchar";
2986
- data: string;
2987
- driverParam: string;
2988
- notNull: true;
2989
- hasDefault: false;
2990
- isPrimaryKey: false;
2991
- isAutoincrement: false;
2992
- hasRuntimeDefault: false;
2993
- enumValues: [string, ...string[]];
2994
- baseColumn: never;
2995
- identity: undefined;
2996
- generated: undefined;
2997
- }, {}, {
2998
- length: 255;
2999
- }>;
3000
- reportType: import("drizzle-orm/pg-core").PgColumn<{
3001
- name: "report_type";
3002
- tableName: "compliance_report_schedules";
3003
- dataType: "string";
3004
- columnType: "PgVarchar";
3005
- data: string;
3006
- driverParam: string;
3007
- notNull: true;
3008
- hasDefault: false;
3009
- isPrimaryKey: false;
3010
- isAutoincrement: false;
3011
- hasRuntimeDefault: false;
3012
- enumValues: [string, ...string[]];
3013
- baseColumn: never;
3014
- identity: undefined;
3015
- generated: undefined;
3016
- }, {}, {
3017
- length: 30;
3018
- }>;
3019
- target: import("drizzle-orm/pg-core").PgColumn<{
3020
- name: "target";
3021
- tableName: "compliance_report_schedules";
3022
- dataType: "string";
3023
- columnType: "PgVarchar";
3024
- data: string;
3025
- driverParam: string;
3026
- notNull: true;
3027
- hasDefault: false;
3028
- isPrimaryKey: false;
3029
- isAutoincrement: false;
3030
- hasRuntimeDefault: false;
3031
- enumValues: [string, ...string[]];
3032
- baseColumn: never;
3033
- identity: undefined;
3034
- generated: undefined;
3035
- }, {}, {
3036
- length: 20;
3037
- }>;
3038
- format: import("drizzle-orm/pg-core").PgColumn<{
3039
- name: "format";
3040
- tableName: "compliance_report_schedules";
3041
- dataType: "string";
3042
- columnType: "PgVarchar";
3043
- data: string;
3044
- driverParam: string;
3045
- notNull: true;
3046
- hasDefault: true;
3047
- isPrimaryKey: false;
3048
- isAutoincrement: false;
3049
- hasRuntimeDefault: false;
3050
- enumValues: [string, ...string[]];
3051
- baseColumn: never;
3052
- identity: undefined;
3053
- generated: undefined;
3054
- }, {}, {
3055
- length: 10;
3056
- }>;
3057
- cronExpression: import("drizzle-orm/pg-core").PgColumn<{
3058
- name: "cron_expression";
3059
- tableName: "compliance_report_schedules";
3060
- dataType: "string";
3061
- columnType: "PgVarchar";
3062
- data: string;
3063
- driverParam: string;
3064
- notNull: true;
3065
- hasDefault: false;
3066
- isPrimaryKey: false;
3067
- isAutoincrement: false;
3068
- hasRuntimeDefault: false;
3069
- enumValues: [string, ...string[]];
3070
- baseColumn: never;
3071
- identity: undefined;
3072
- generated: undefined;
3073
- }, {}, {
3074
- length: 100;
3075
- }>;
3076
- isActive: import("drizzle-orm/pg-core").PgColumn<{
3077
- name: "is_active";
3078
- tableName: "compliance_report_schedules";
3079
- dataType: "boolean";
3080
- columnType: "PgBoolean";
3081
- data: boolean;
3082
- driverParam: boolean;
3083
- notNull: true;
3084
- hasDefault: true;
3085
- isPrimaryKey: false;
3086
- isAutoincrement: false;
3087
- hasRuntimeDefault: false;
3088
- enumValues: undefined;
3089
- baseColumn: never;
3090
- identity: undefined;
3091
- generated: undefined;
3092
- }, {}, {}>;
3093
- lastRunAt: import("drizzle-orm/pg-core").PgColumn<{
3094
- name: "last_run_at";
3095
- tableName: "compliance_report_schedules";
3096
- dataType: "date";
3097
- columnType: "PgTimestamp";
3098
- data: Date;
3099
- driverParam: string;
3100
- notNull: false;
3101
- hasDefault: false;
3102
- isPrimaryKey: false;
3103
- isAutoincrement: false;
3104
- hasRuntimeDefault: false;
3105
- enumValues: undefined;
3106
- baseColumn: never;
3107
- identity: undefined;
3108
- generated: undefined;
3109
- }, {}, {}>;
3110
- nextRunAt: import("drizzle-orm/pg-core").PgColumn<{
3111
- name: "next_run_at";
3112
- tableName: "compliance_report_schedules";
3113
- dataType: "date";
3114
- columnType: "PgTimestamp";
3115
- data: Date;
3116
- driverParam: string;
3117
- notNull: false;
3118
- hasDefault: false;
3119
- isPrimaryKey: false;
3120
- isAutoincrement: false;
3121
- hasRuntimeDefault: false;
3122
- enumValues: undefined;
3123
- baseColumn: never;
3124
- identity: undefined;
3125
- generated: undefined;
3126
- }, {}, {}>;
3127
- deliverTo: import("drizzle-orm/pg-core").PgColumn<{
3128
- name: "deliver_to";
3129
- tableName: "compliance_report_schedules";
3130
- dataType: "json";
3131
- columnType: "PgJsonb";
3132
- data: string[];
3133
- driverParam: unknown;
3134
- notNull: true;
3135
- hasDefault: true;
3136
- isPrimaryKey: false;
3137
- isAutoincrement: false;
3138
- hasRuntimeDefault: false;
3139
- enumValues: undefined;
3140
- baseColumn: never;
3141
- identity: undefined;
3142
- generated: undefined;
3143
- }, {}, {
3144
- $type: string[];
3145
- }>;
3146
- createdBy: import("drizzle-orm/pg-core").PgColumn<{
3147
- name: "created_by";
3148
- tableName: "compliance_report_schedules";
3149
- dataType: "string";
3150
- columnType: "PgText";
3151
- data: string;
3152
- driverParam: string;
3153
- notNull: true;
3154
- hasDefault: false;
3155
- isPrimaryKey: false;
3156
- isAutoincrement: false;
3157
- hasRuntimeDefault: false;
3158
- enumValues: [string, ...string[]];
3159
- baseColumn: never;
3160
- identity: undefined;
3161
- generated: undefined;
3162
- }, {}, {}>;
3163
- createdAt: import("drizzle-orm/pg-core").PgColumn<{
3164
- name: "created_at";
3165
- tableName: "compliance_report_schedules";
3166
- dataType: "date";
3167
- columnType: "PgTimestamp";
3168
- data: Date;
3169
- driverParam: string;
3170
- notNull: true;
3171
- hasDefault: true;
3172
- isPrimaryKey: false;
3173
- isAutoincrement: false;
3174
- hasRuntimeDefault: false;
3175
- enumValues: undefined;
3176
- baseColumn: never;
3177
- identity: undefined;
3178
- generated: undefined;
3179
- }, {}, {}>;
3180
- updatedBy: import("drizzle-orm/pg-core").PgColumn<{
3181
- name: "updated_by";
3182
- tableName: "compliance_report_schedules";
3183
- dataType: "string";
3184
- columnType: "PgText";
3185
- data: string;
3186
- driverParam: string;
3187
- notNull: true;
3188
- hasDefault: false;
3189
- isPrimaryKey: false;
3190
- isAutoincrement: false;
3191
- hasRuntimeDefault: false;
3192
- enumValues: [string, ...string[]];
3193
- baseColumn: never;
3194
- identity: undefined;
3195
- generated: undefined;
3196
- }, {}, {}>;
3197
- updatedAt: import("drizzle-orm/pg-core").PgColumn<{
3198
- name: "updated_at";
3199
- tableName: "compliance_report_schedules";
3200
- dataType: "date";
3201
- columnType: "PgTimestamp";
3202
- data: Date;
3203
- driverParam: string;
3204
- notNull: true;
3205
- hasDefault: true;
3206
- isPrimaryKey: false;
3207
- isAutoincrement: false;
3208
- hasRuntimeDefault: false;
3209
- enumValues: undefined;
3210
- baseColumn: never;
3211
- identity: undefined;
3212
- generated: undefined;
3213
- }, {}, {}>;
3214
- };
3215
- dialect: 'pg';
3216
- }>;
3217
2541
  export type CompliancePolicy = typeof compliancePolicy.$inferSelect;
3218
2542
  export type CompliancePolicyInsert = typeof compliancePolicy.$inferInsert;
3219
2543
  export type ComplianceRule = typeof complianceRule.$inferSelect;
@@ -3234,9 +2558,3 @@ export type ComplianceNotificationPreference = typeof complianceNotificationPref
3234
2558
  export type ComplianceNotificationPreferenceInsert = typeof complianceNotificationPreference.$inferInsert;
3235
2559
  export type ComplianceNotificationLog = typeof complianceNotificationLog.$inferSelect;
3236
2560
  export type ComplianceNotificationLogInsert = typeof complianceNotificationLog.$inferInsert;
3237
- export type ComplianceRole = typeof complianceRole.$inferSelect;
3238
- export type ComplianceRoleInsert = typeof complianceRole.$inferInsert;
3239
- export type ComplianceReport = typeof complianceReport.$inferSelect;
3240
- export type ComplianceReportInsert = typeof complianceReport.$inferInsert;
3241
- export type ComplianceReportSchedule = typeof complianceReportSchedule.$inferSelect;
3242
- export type ComplianceReportScheduleInsert = typeof complianceReportSchedule.$inferInsert;