evo360-types 1.3.759 → 1.3.764

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.
@@ -7548,6 +7548,28 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
7548
7548
  suppressed_alert_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7549
7549
  deleted_by_login_id: z.ZodOptional<z.ZodString>;
7550
7550
  deleted_reason: z.ZodOptional<z.ZodString>;
7551
+ reevaluation: z.ZodOptional<z.ZodObject<{
7552
+ by_login_id: z.ZodString;
7553
+ at: z.ZodEffects<z.ZodDate, Date, unknown>;
7554
+ reason: z.ZodOptional<z.ZodString>;
7555
+ previous_score: z.ZodNullable<z.ZodNumber>;
7556
+ previous_status: z.ZodNullable<z.ZodString>;
7557
+ previous_version: z.ZodNullable<z.ZodNumber>;
7558
+ }, "strip", z.ZodTypeAny, {
7559
+ at: Date;
7560
+ by_login_id: string;
7561
+ previous_score: number | null;
7562
+ previous_status: string | null;
7563
+ previous_version: number | null;
7564
+ reason?: string | undefined;
7565
+ }, {
7566
+ by_login_id: string;
7567
+ previous_score: number | null;
7568
+ previous_status: string | null;
7569
+ previous_version: number | null;
7570
+ at?: unknown;
7571
+ reason?: string | undefined;
7572
+ }>>;
7551
7573
  verification: z.ZodOptional<z.ZodEnum<["pending", "confirmed_ok", "confirmed", "inconclusive"]>>;
7552
7574
  policy_snapshot_hash: z.ZodNullable<z.ZodString>;
7553
7575
  dictionary_snapshot_hash: z.ZodNullable<z.ZodString>;
@@ -10013,6 +10035,28 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
10013
10035
  suppressed_alert_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10014
10036
  deleted_by_login_id: z.ZodOptional<z.ZodString>;
10015
10037
  deleted_reason: z.ZodOptional<z.ZodString>;
10038
+ reevaluation: z.ZodOptional<z.ZodObject<{
10039
+ by_login_id: z.ZodString;
10040
+ at: z.ZodEffects<z.ZodDate, Date, unknown>;
10041
+ reason: z.ZodOptional<z.ZodString>;
10042
+ previous_score: z.ZodNullable<z.ZodNumber>;
10043
+ previous_status: z.ZodNullable<z.ZodString>;
10044
+ previous_version: z.ZodNullable<z.ZodNumber>;
10045
+ }, "strip", z.ZodTypeAny, {
10046
+ at: Date;
10047
+ by_login_id: string;
10048
+ previous_score: number | null;
10049
+ previous_status: string | null;
10050
+ previous_version: number | null;
10051
+ reason?: string | undefined;
10052
+ }, {
10053
+ by_login_id: string;
10054
+ previous_score: number | null;
10055
+ previous_status: string | null;
10056
+ previous_version: number | null;
10057
+ at?: unknown;
10058
+ reason?: string | undefined;
10059
+ }>>;
10016
10060
  verification: z.ZodOptional<z.ZodEnum<["pending", "confirmed_ok", "confirmed", "inconclusive"]>>;
10017
10061
  policy_snapshot_hash: z.ZodNullable<z.ZodString>;
10018
10062
  dictionary_snapshot_hash: z.ZodNullable<z.ZodString>;
@@ -12478,6 +12522,28 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
12478
12522
  suppressed_alert_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12479
12523
  deleted_by_login_id: z.ZodOptional<z.ZodString>;
12480
12524
  deleted_reason: z.ZodOptional<z.ZodString>;
12525
+ reevaluation: z.ZodOptional<z.ZodObject<{
12526
+ by_login_id: z.ZodString;
12527
+ at: z.ZodEffects<z.ZodDate, Date, unknown>;
12528
+ reason: z.ZodOptional<z.ZodString>;
12529
+ previous_score: z.ZodNullable<z.ZodNumber>;
12530
+ previous_status: z.ZodNullable<z.ZodString>;
12531
+ previous_version: z.ZodNullable<z.ZodNumber>;
12532
+ }, "strip", z.ZodTypeAny, {
12533
+ at: Date;
12534
+ by_login_id: string;
12535
+ previous_score: number | null;
12536
+ previous_status: string | null;
12537
+ previous_version: number | null;
12538
+ reason?: string | undefined;
12539
+ }, {
12540
+ by_login_id: string;
12541
+ previous_score: number | null;
12542
+ previous_status: string | null;
12543
+ previous_version: number | null;
12544
+ at?: unknown;
12545
+ reason?: string | undefined;
12546
+ }>>;
12481
12547
  verification: z.ZodOptional<z.ZodEnum<["pending", "confirmed_ok", "confirmed", "inconclusive"]>>;
12482
12548
  policy_snapshot_hash: z.ZodNullable<z.ZodString>;
12483
12549
  dictionary_snapshot_hash: z.ZodNullable<z.ZodString>;
@@ -12778,6 +12844,8 @@ export declare const zCsqDryRunRequestSchema: z.ZodObject<{
12778
12844
  login_id: string;
12779
12845
  client_id?: string | null | undefined;
12780
12846
  }>>>;
12847
+ persist: z.ZodOptional<z.ZodBoolean>;
12848
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12781
12849
  }, "strict", z.ZodTypeAny, {
12782
12850
  tenant: string;
12783
12851
  ticket_id: string;
@@ -12787,8 +12855,10 @@ export declare const zCsqDryRunRequestSchema: z.ZodObject<{
12787
12855
  login_id: string;
12788
12856
  client_id?: string | null | undefined;
12789
12857
  } | null | undefined;
12858
+ reason?: string | null | undefined;
12790
12859
  connection_id?: string | null | undefined;
12791
12860
  force_review?: boolean | undefined;
12861
+ persist?: boolean | undefined;
12792
12862
  }, {
12793
12863
  tenant: string;
12794
12864
  ticket_id: string;
@@ -12798,8 +12868,10 @@ export declare const zCsqDryRunRequestSchema: z.ZodObject<{
12798
12868
  login_id: string;
12799
12869
  client_id?: string | null | undefined;
12800
12870
  } | null | undefined;
12871
+ reason?: string | null | undefined;
12801
12872
  connection_id?: string | null | undefined;
12802
12873
  force_review?: boolean | undefined;
12874
+ persist?: boolean | undefined;
12803
12875
  }>;
12804
12876
  export declare const zCsqDryRunResultSchema: z.ZodObject<{
12805
12877
  outcome: z.ZodString;
@@ -13125,6 +13197,24 @@ export declare const zCsqDryRunResultSchema: z.ZodObject<{
13125
13197
  triage_mode: z.ZodNullable<z.ZodEnum<["skip_llm", "full_review"]>>;
13126
13198
  cost_usd_est: z.ZodNullable<z.ZodNumber>;
13127
13199
  duration_ms: z.ZodNumber;
13200
+ persisted: z.ZodOptional<z.ZodBoolean>;
13201
+ persist_action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13202
+ previous: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13203
+ evaluation_id: z.ZodNullable<z.ZodString>;
13204
+ score: z.ZodNullable<z.ZodNumber>;
13205
+ status: z.ZodNullable<z.ZodString>;
13206
+ version: z.ZodNullable<z.ZodNumber>;
13207
+ }, "strip", z.ZodTypeAny, {
13208
+ status: string | null;
13209
+ version: number | null;
13210
+ evaluation_id: string | null;
13211
+ score: number | null;
13212
+ }, {
13213
+ status: string | null;
13214
+ version: number | null;
13215
+ evaluation_id: string | null;
13216
+ score: number | null;
13217
+ }>>>;
13128
13218
  }, "strip", z.ZodTypeAny, {
13129
13219
  duration_ms: number;
13130
13220
  model: string | null;
@@ -13243,6 +13333,14 @@ export declare const zCsqDryRunResultSchema: z.ZodObject<{
13243
13333
  report: Record<string, unknown> | null;
13244
13334
  detail: string | null;
13245
13335
  triage_mode: "skip_llm" | "full_review" | null;
13336
+ persisted?: boolean | undefined;
13337
+ persist_action?: string | null | undefined;
13338
+ previous?: {
13339
+ status: string | null;
13340
+ version: number | null;
13341
+ evaluation_id: string | null;
13342
+ score: number | null;
13343
+ } | null | undefined;
13246
13344
  }, {
13247
13345
  duration_ms: number;
13248
13346
  model: string | null;
@@ -13361,4 +13459,12 @@ export declare const zCsqDryRunResultSchema: z.ZodObject<{
13361
13459
  report: Record<string, unknown> | null;
13362
13460
  detail: string | null;
13363
13461
  triage_mode: "skip_llm" | "full_review" | null;
13462
+ persisted?: boolean | undefined;
13463
+ persist_action?: string | null | undefined;
13464
+ previous?: {
13465
+ status: string | null;
13466
+ version: number | null;
13467
+ evaluation_id: string | null;
13468
+ score: number | null;
13469
+ } | null | undefined;
13364
13470
  }>;
@@ -732,6 +732,16 @@ exports.zCsqLeadReportSchema = zod_schemas_1.zFireDocSchema
732
732
  suppressed_alert_fingerprints: zod_1.z.array(zod_1.z.string()).optional(),
733
733
  deleted_by_login_id: zod_1.z.string().optional(),
734
734
  deleted_reason: zod_1.z.string().optional(),
735
+ reevaluation: zod_1.z
736
+ .object({
737
+ by_login_id: zod_1.z.string(),
738
+ at: zod_schemas_1.zFirestoreDateSchema,
739
+ reason: zod_1.z.string().optional(),
740
+ previous_score: zod_1.z.number().nullable(),
741
+ previous_status: zod_1.z.string().nullable(),
742
+ previous_version: zod_1.z.number().nullable(),
743
+ })
744
+ .optional(),
735
745
  verification: exports.zCsqVerificationStateSchema.optional(),
736
746
  policy_snapshot_hash: zod_1.z.string().nullable(),
737
747
  dictionary_snapshot_hash: zod_1.z.string().nullable(),
@@ -767,6 +777,8 @@ exports.zCsqDryRunRequestSchema = zod_1.z
767
777
  .object({ login_id: zod_1.z.string().min(1), client_id: zod_1.z.string().nullable().optional() })
768
778
  .nullable()
769
779
  .optional(),
780
+ persist: zod_1.z.boolean().optional(),
781
+ reason: zod_1.z.string().max(500).nullable().optional(),
770
782
  })
771
783
  .strict();
772
784
  exports.zCsqDryRunResultSchema = zod_1.z.object({
@@ -784,4 +796,15 @@ exports.zCsqDryRunResultSchema = zod_1.z.object({
784
796
  triage_mode: exports.zCsqTriageModeSchema.nullable(),
785
797
  cost_usd_est: zod_1.z.number().nullable(),
786
798
  duration_ms: zod_1.z.number(),
799
+ persisted: zod_1.z.boolean().optional(),
800
+ persist_action: zod_1.z.string().nullable().optional(),
801
+ previous: zod_1.z
802
+ .object({
803
+ evaluation_id: zod_1.z.string().nullable(),
804
+ score: zod_1.z.number().nullable(),
805
+ status: zod_1.z.string().nullable(),
806
+ version: zod_1.z.number().nullable(),
807
+ })
808
+ .nullable()
809
+ .optional(),
787
810
  });
@@ -842,6 +842,16 @@ export const zCsqLeadReportSchema = zFireDocSchema
842
842
  suppressed_alert_fingerprints: z.array(z.string()).optional(),
843
843
  deleted_by_login_id: z.string().optional(),
844
844
  deleted_reason: z.string().optional(),
845
+ reevaluation: z
846
+ .object({
847
+ by_login_id: z.string(),
848
+ at: zFirestoreDateSchema,
849
+ reason: z.string().optional(),
850
+ previous_score: z.number().nullable(),
851
+ previous_status: z.string().nullable(),
852
+ previous_version: z.number().nullable(),
853
+ })
854
+ .optional(),
845
855
  verification: zCsqVerificationStateSchema.optional(),
846
856
 
847
857
  policy_snapshot_hash: z.string().nullable(),
@@ -882,6 +892,8 @@ export const zCsqDryRunRequestSchema = z
882
892
  .object({ login_id: z.string().min(1), client_id: z.string().nullable().optional() })
883
893
  .nullable()
884
894
  .optional(),
895
+ persist: z.boolean().optional(),
896
+ reason: z.string().max(500).nullable().optional(),
885
897
  })
886
898
  .strict();
887
899
 
@@ -900,4 +912,15 @@ export const zCsqDryRunResultSchema = z.object({
900
912
  triage_mode: zCsqTriageModeSchema.nullable(),
901
913
  cost_usd_est: z.number().nullable(),
902
914
  duration_ms: z.number(),
915
+ persisted: z.boolean().optional(),
916
+ persist_action: z.string().nullable().optional(),
917
+ previous: z
918
+ .object({
919
+ evaluation_id: z.string().nullable(),
920
+ score: z.number().nullable(),
921
+ status: z.string().nullable(),
922
+ version: z.number().nullable(),
923
+ })
924
+ .nullable()
925
+ .optional(),
903
926
  });