@intutic/shared-types 2.5.1 → 2.6.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.
Files changed (38) hide show
  1. package/dist/apiKeyScopes.d.ts +8 -9
  2. package/dist/apiKeyScopes.d.ts.map +1 -1
  3. package/dist/apiKeyScopes.js +10 -12
  4. package/dist/apiKeyScopes.js.map +1 -1
  5. package/dist/auth.d.ts +0 -6
  6. package/dist/auth.d.ts.map +1 -1
  7. package/dist/notifications.d.ts +1 -1
  8. package/dist/notifications.d.ts.map +1 -1
  9. package/dist/notifications.js +12 -0
  10. package/dist/notifications.js.map +1 -1
  11. package/dist/responses/common.d.ts +10 -0
  12. package/dist/responses/common.d.ts.map +1 -1
  13. package/dist/responses/common.js.map +1 -1
  14. package/dist/responses/gateways.d.ts +398 -100
  15. package/dist/responses/gateways.d.ts.map +1 -1
  16. package/dist/responses/gateways.js +110 -31
  17. package/dist/responses/gateways.js.map +1 -1
  18. package/dist/responses/guardrails.d.ts +8 -8
  19. package/dist/responses/guardrails.js +1 -1
  20. package/dist/responses/guardrails.js.map +1 -1
  21. package/dist/responses/identity.d.ts +0 -8
  22. package/dist/responses/identity.d.ts.map +1 -1
  23. package/dist/responses/identity.js +0 -1
  24. package/dist/responses/identity.js.map +1 -1
  25. package/dist/responses/integrations.d.ts +139 -9
  26. package/dist/responses/integrations.d.ts.map +1 -1
  27. package/dist/responses/integrations.js +38 -2
  28. package/dist/responses/integrations.js.map +1 -1
  29. package/dist/responses/observability.d.ts +38 -38
  30. package/dist/responses/rules.d.ts +426 -470
  31. package/dist/responses/rules.d.ts.map +1 -1
  32. package/dist/responses/rules.js +61 -82
  33. package/dist/responses/rules.js.map +1 -1
  34. package/dist/workspaceSettings.d.ts +2 -5
  35. package/dist/workspaceSettings.d.ts.map +1 -1
  36. package/dist/workspaceSettings.js +1 -2
  37. package/dist/workspaceSettings.js.map +1 -1
  38. package/package.json +2 -2
@@ -24,8 +24,8 @@ export declare const IncidentResponse: z.ZodObject<{
24
24
  workspace_id: string;
25
25
  session_id: string | null;
26
26
  created_at: string;
27
- incident_id: string;
28
27
  trace_id: string | null;
28
+ incident_id: string;
29
29
  anomaly_type: import("../enums.js").IncidentType;
30
30
  resolution_status: string | null;
31
31
  resolved_by: string | null;
@@ -37,8 +37,8 @@ export declare const IncidentResponse: z.ZodObject<{
37
37
  workspace_id: string;
38
38
  session_id: string | null;
39
39
  created_at: string;
40
- incident_id: string;
41
40
  trace_id: string | null;
41
+ incident_id: string;
42
42
  anomaly_type: import("../enums.js").IncidentType;
43
43
  resolution_status: string | null;
44
44
  resolved_by: string | null;
@@ -67,8 +67,8 @@ export declare const IncidentDetailResponse: z.ZodObject<{
67
67
  workspace_id: string;
68
68
  session_id: string | null;
69
69
  created_at: string;
70
- incident_id: string;
71
70
  trace_id: string | null;
71
+ incident_id: string;
72
72
  anomaly_type: import("../enums.js").IncidentType;
73
73
  resolution_status: string | null;
74
74
  resolved_by: string | null;
@@ -80,8 +80,8 @@ export declare const IncidentDetailResponse: z.ZodObject<{
80
80
  workspace_id: string;
81
81
  session_id: string | null;
82
82
  created_at: string;
83
- incident_id: string;
84
83
  trace_id: string | null;
84
+ incident_id: string;
85
85
  anomaly_type: import("../enums.js").IncidentType;
86
86
  resolution_status: string | null;
87
87
  resolved_by: string | null;
@@ -95,8 +95,8 @@ export declare const IncidentDetailResponse: z.ZodObject<{
95
95
  workspace_id: string;
96
96
  session_id: string | null;
97
97
  created_at: string;
98
- incident_id: string;
99
98
  trace_id: string | null;
99
+ incident_id: string;
100
100
  anomaly_type: import("../enums.js").IncidentType;
101
101
  resolution_status: string | null;
102
102
  resolved_by: string | null;
@@ -110,8 +110,8 @@ export declare const IncidentDetailResponse: z.ZodObject<{
110
110
  workspace_id: string;
111
111
  session_id: string | null;
112
112
  created_at: string;
113
- incident_id: string;
114
113
  trace_id: string | null;
114
+ incident_id: string;
115
115
  anomaly_type: import("../enums.js").IncidentType;
116
116
  resolution_status: string | null;
117
117
  resolved_by: string | null;
@@ -160,8 +160,8 @@ export declare const IncidentListRowResponse: z.ZodObject<{
160
160
  workspace_id: string;
161
161
  session_id: string | null;
162
162
  created_at: string;
163
- incident_id: string;
164
163
  trace_id: string | null;
164
+ incident_id: string;
165
165
  anomaly_type: import("../enums.js").IncidentType;
166
166
  resolution_status: string | null;
167
167
  resolved_by: string | null;
@@ -174,8 +174,8 @@ export declare const IncidentListRowResponse: z.ZodObject<{
174
174
  workspace_id: string;
175
175
  session_id: string | null;
176
176
  created_at: string;
177
- incident_id: string;
178
177
  trace_id: string | null;
178
+ incident_id: string;
179
179
  anomaly_type: import("../enums.js").IncidentType;
180
180
  resolution_status: string | null;
181
181
  resolved_by: string | null;
@@ -293,8 +293,8 @@ export declare const IncidentListResponse: z.ZodUnion<[z.ZodObject<{
293
293
  workspace_id: string;
294
294
  session_id: string | null;
295
295
  created_at: string;
296
- incident_id: string;
297
296
  trace_id: string | null;
297
+ incident_id: string;
298
298
  anomaly_type: import("../enums.js").IncidentType;
299
299
  resolution_status: string | null;
300
300
  resolved_by: string | null;
@@ -307,8 +307,8 @@ export declare const IncidentListResponse: z.ZodUnion<[z.ZodObject<{
307
307
  workspace_id: string;
308
308
  session_id: string | null;
309
309
  created_at: string;
310
- incident_id: string;
311
310
  trace_id: string | null;
311
+ incident_id: string;
312
312
  anomaly_type: import("../enums.js").IncidentType;
313
313
  resolution_status: string | null;
314
314
  resolved_by: string | null;
@@ -364,8 +364,8 @@ export declare const IncidentListResponse: z.ZodUnion<[z.ZodObject<{
364
364
  workspace_id: string;
365
365
  session_id: string | null;
366
366
  created_at: string;
367
- incident_id: string;
368
367
  trace_id: string | null;
368
+ incident_id: string;
369
369
  anomaly_type: import("../enums.js").IncidentType;
370
370
  resolution_status: string | null;
371
371
  resolved_by: string | null;
@@ -393,8 +393,8 @@ export declare const IncidentListResponse: z.ZodUnion<[z.ZodObject<{
393
393
  workspace_id: string;
394
394
  session_id: string | null;
395
395
  created_at: string;
396
- incident_id: string;
397
396
  trace_id: string | null;
397
+ incident_id: string;
398
398
  anomaly_type: import("../enums.js").IncidentType;
399
399
  resolution_status: string | null;
400
400
  resolved_by: string | null;
@@ -440,8 +440,8 @@ export declare const TraceSummaryResponse: z.ZodObject<{
440
440
  complianceScore: number;
441
441
  enforcementAction: string;
442
442
  anomalyDetected: string | null;
443
- traceId: string;
444
443
  timestamp: string;
444
+ traceId: string;
445
445
  breakGlass?: boolean | undefined;
446
446
  breakGlassRequestId?: string | null | undefined;
447
447
  }, {
@@ -451,8 +451,8 @@ export declare const TraceSummaryResponse: z.ZodObject<{
451
451
  complianceScore: number;
452
452
  enforcementAction: string;
453
453
  anomalyDetected: string | null;
454
- traceId: string;
455
454
  timestamp: string;
455
+ traceId: string;
456
456
  breakGlass?: boolean | undefined;
457
457
  breakGlassRequestId?: string | null | undefined;
458
458
  }>;
@@ -503,8 +503,8 @@ export declare const TraceListResponse: z.ZodUnion<[z.ZodObject<{
503
503
  complianceScore: number;
504
504
  enforcementAction: string;
505
505
  anomalyDetected: string | null;
506
- traceId: string;
507
506
  timestamp: string;
507
+ traceId: string;
508
508
  breakGlass?: boolean | undefined;
509
509
  breakGlassRequestId?: string | null | undefined;
510
510
  }, {
@@ -514,8 +514,8 @@ export declare const TraceListResponse: z.ZodUnion<[z.ZodObject<{
514
514
  complianceScore: number;
515
515
  enforcementAction: string;
516
516
  anomalyDetected: string | null;
517
- traceId: string;
518
517
  timestamp: string;
518
+ traceId: string;
519
519
  breakGlass?: boolean | undefined;
520
520
  breakGlassRequestId?: string | null | undefined;
521
521
  }>, "many">;
@@ -530,8 +530,8 @@ export declare const TraceListResponse: z.ZodUnion<[z.ZodObject<{
530
530
  complianceScore: number;
531
531
  enforcementAction: string;
532
532
  anomalyDetected: string | null;
533
- traceId: string;
534
533
  timestamp: string;
534
+ traceId: string;
535
535
  breakGlass?: boolean | undefined;
536
536
  breakGlassRequestId?: string | null | undefined;
537
537
  }[];
@@ -548,8 +548,8 @@ export declare const TraceListResponse: z.ZodUnion<[z.ZodObject<{
548
548
  complianceScore: number;
549
549
  enforcementAction: string;
550
550
  anomalyDetected: string | null;
551
- traceId: string;
552
551
  timestamp: string;
552
+ traceId: string;
553
553
  breakGlass?: boolean | undefined;
554
554
  breakGlassRequestId?: string | null | undefined;
555
555
  }[];
@@ -632,8 +632,8 @@ export declare const TraceDetailResponse: z.ZodObject<{
632
632
  }, "strip", z.ZodTypeAny, {
633
633
  model: string;
634
634
  provider: string;
635
- latencyMs: number;
636
635
  outcome: string;
636
+ latencyMs: number;
637
637
  status?: number | undefined;
638
638
  stopped?: string | undefined;
639
639
  backoffMs?: number | undefined;
@@ -641,8 +641,8 @@ export declare const TraceDetailResponse: z.ZodObject<{
641
641
  }, {
642
642
  model: string;
643
643
  provider: string;
644
- latencyMs: number;
645
644
  outcome: string;
645
+ latencyMs: number;
646
646
  status?: number | undefined;
647
647
  stopped?: string | undefined;
648
648
  backoffMs?: number | undefined;
@@ -681,10 +681,10 @@ export declare const TraceDetailResponse: z.ZodObject<{
681
681
  confidence: number;
682
682
  reason: string;
683
683
  verdict: string;
684
- toolName: string;
685
- riskCategory: string | null;
686
684
  timestamp: string;
685
+ toolName: string;
687
686
  logId: string;
687
+ riskCategory: string | null;
688
688
  loopDetected: boolean;
689
689
  latencyMs: number | null;
690
690
  toolArguments?: unknown;
@@ -692,10 +692,10 @@ export declare const TraceDetailResponse: z.ZodObject<{
692
692
  confidence: number;
693
693
  reason: string;
694
694
  verdict: string;
695
- toolName: string;
696
- riskCategory: string | null;
697
695
  timestamp: string;
696
+ toolName: string;
698
697
  logId: string;
698
+ riskCategory: string | null;
699
699
  loopDetected: boolean;
700
700
  latencyMs: number | null;
701
701
  toolArguments?: unknown;
@@ -747,8 +747,8 @@ export declare const TraceDetailResponse: z.ZodObject<{
747
747
  enforcementAction: string;
748
748
  anomalyDetected: string | null;
749
749
  anomalyConfidenceScore: number | null;
750
- traceId: string;
751
750
  timestamp: string;
751
+ traceId: string;
752
752
  savingsUsd: number;
753
753
  taxonomyMetadata?: unknown;
754
754
  rootCauseAttribution?: unknown;
@@ -784,8 +784,8 @@ export declare const TraceDetailResponse: z.ZodObject<{
784
784
  upstreamAttempts?: {
785
785
  model: string;
786
786
  provider: string;
787
- latencyMs: number;
788
787
  outcome: string;
788
+ latencyMs: number;
789
789
  status?: number | undefined;
790
790
  stopped?: string | undefined;
791
791
  backoffMs?: number | undefined;
@@ -801,10 +801,10 @@ export declare const TraceDetailResponse: z.ZodObject<{
801
801
  confidence: number;
802
802
  reason: string;
803
803
  verdict: string;
804
- toolName: string;
805
- riskCategory: string | null;
806
804
  timestamp: string;
805
+ toolName: string;
807
806
  logId: string;
807
+ riskCategory: string | null;
808
808
  loopDetected: boolean;
809
809
  latencyMs: number | null;
810
810
  toolArguments?: unknown;
@@ -828,8 +828,8 @@ export declare const TraceDetailResponse: z.ZodObject<{
828
828
  enforcementAction: string;
829
829
  anomalyDetected: string | null;
830
830
  anomalyConfidenceScore: number | null;
831
- traceId: string;
832
831
  timestamp: string;
832
+ traceId: string;
833
833
  savingsUsd: number;
834
834
  taxonomyMetadata?: unknown;
835
835
  rootCauseAttribution?: unknown;
@@ -865,8 +865,8 @@ export declare const TraceDetailResponse: z.ZodObject<{
865
865
  upstreamAttempts?: {
866
866
  model: string;
867
867
  provider: string;
868
- latencyMs: number;
869
868
  outcome: string;
869
+ latencyMs: number;
870
870
  status?: number | undefined;
871
871
  stopped?: string | undefined;
872
872
  backoffMs?: number | undefined;
@@ -882,10 +882,10 @@ export declare const TraceDetailResponse: z.ZodObject<{
882
882
  confidence: number;
883
883
  reason: string;
884
884
  verdict: string;
885
- toolName: string;
886
- riskCategory: string | null;
887
885
  timestamp: string;
886
+ toolName: string;
888
887
  logId: string;
888
+ riskCategory: string | null;
889
889
  loopDetected: boolean;
890
890
  latencyMs: number | null;
891
891
  toolArguments?: unknown;
@@ -919,10 +919,10 @@ export declare const FindingResponse: z.ZodObject<{
919
919
  severity: string;
920
920
  session_id: string | null;
921
921
  created_at: string;
922
+ outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
922
923
  trace_id: string;
923
924
  disposition: string;
924
925
  shadowed: boolean;
925
- outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
926
926
  finding_id: string;
927
927
  loop_run_id: string | null;
928
928
  detector_id: string;
@@ -938,10 +938,10 @@ export declare const FindingResponse: z.ZodObject<{
938
938
  severity: string;
939
939
  session_id: string | null;
940
940
  created_at: string;
941
+ outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
941
942
  trace_id: string;
942
943
  disposition: string;
943
944
  shadowed: boolean;
944
- outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
945
945
  finding_id: string;
946
946
  loop_run_id: string | null;
947
947
  detector_id: string;
@@ -980,10 +980,10 @@ export declare const FindingListResponse: z.ZodObject<{
980
980
  severity: string;
981
981
  session_id: string | null;
982
982
  created_at: string;
983
+ outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
983
984
  trace_id: string;
984
985
  disposition: string;
985
986
  shadowed: boolean;
986
- outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
987
987
  finding_id: string;
988
988
  loop_run_id: string | null;
989
989
  detector_id: string;
@@ -999,10 +999,10 @@ export declare const FindingListResponse: z.ZodObject<{
999
999
  severity: string;
1000
1000
  session_id: string | null;
1001
1001
  created_at: string;
1002
+ outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
1002
1003
  trace_id: string;
1003
1004
  disposition: string;
1004
1005
  shadowed: boolean;
1005
- outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
1006
1006
  finding_id: string;
1007
1007
  loop_run_id: string | null;
1008
1008
  detector_id: string;
@@ -1020,10 +1020,10 @@ export declare const FindingListResponse: z.ZodObject<{
1020
1020
  severity: string;
1021
1021
  session_id: string | null;
1022
1022
  created_at: string;
1023
+ outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
1023
1024
  trace_id: string;
1024
1025
  disposition: string;
1025
1026
  shadowed: boolean;
1026
- outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
1027
1027
  finding_id: string;
1028
1028
  loop_run_id: string | null;
1029
1029
  detector_id: string;
@@ -1041,10 +1041,10 @@ export declare const FindingListResponse: z.ZodObject<{
1041
1041
  severity: string;
1042
1042
  session_id: string | null;
1043
1043
  created_at: string;
1044
+ outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
1044
1045
  trace_id: string;
1045
1046
  disposition: string;
1046
1047
  shadowed: boolean;
1047
- outcome: "FALSE_POSITIVE" | "TRUE_POSITIVE" | null;
1048
1048
  finding_id: string;
1049
1049
  loop_run_id: string | null;
1050
1050
  detector_id: string;