qualifire 1.1.6 → 1.1.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.
package/lib/types.d.ts CHANGED
@@ -345,36 +345,39 @@ export declare const evaluationResponseSchema: z.ZodObject<{
345
345
  passed: z.ZodBoolean;
346
346
  matchScore: z.ZodNumber;
347
347
  reason: z.ZodString;
348
- quote: z.ZodString;
348
+ quote: z.ZodOptional<z.ZodString>;
349
349
  includedInContent: z.ZodBoolean;
350
350
  monitorId: z.ZodString;
351
351
  createdAt: z.ZodString;
352
352
  organizationId: z.ZodString;
353
353
  callId: z.ZodString;
354
+ label: z.ZodOptional<z.ZodString>;
354
355
  }, "strip", z.ZodTypeAny, {
355
356
  claim: string;
356
357
  contradiction: boolean;
357
358
  passed: boolean;
358
359
  matchScore: number;
359
360
  reason: string;
360
- quote: string;
361
361
  includedInContent: boolean;
362
362
  monitorId: string;
363
363
  createdAt: string;
364
364
  organizationId: string;
365
365
  callId: string;
366
+ quote?: string | undefined;
367
+ label?: string | undefined;
366
368
  }, {
367
369
  claim: string;
368
370
  contradiction: boolean;
369
371
  passed: boolean;
370
372
  matchScore: number;
371
373
  reason: string;
372
- quote: string;
373
374
  includedInContent: boolean;
374
375
  monitorId: string;
375
376
  createdAt: string;
376
377
  organizationId: string;
377
378
  callId: string;
379
+ quote?: string | undefined;
380
+ label?: string | undefined;
378
381
  }>, "many">;
379
382
  }, "strip", z.ZodTypeAny, {
380
383
  type: string;
@@ -384,12 +387,13 @@ export declare const evaluationResponseSchema: z.ZodObject<{
384
387
  passed: boolean;
385
388
  matchScore: number;
386
389
  reason: string;
387
- quote: string;
388
390
  includedInContent: boolean;
389
391
  monitorId: string;
390
392
  createdAt: string;
391
393
  organizationId: string;
392
394
  callId: string;
395
+ quote?: string | undefined;
396
+ label?: string | undefined;
393
397
  }[];
394
398
  }, {
395
399
  type: string;
@@ -399,12 +403,13 @@ export declare const evaluationResponseSchema: z.ZodObject<{
399
403
  passed: boolean;
400
404
  matchScore: number;
401
405
  reason: string;
402
- quote: string;
403
406
  includedInContent: boolean;
404
407
  monitorId: string;
405
408
  createdAt: string;
406
409
  organizationId: string;
407
410
  callId: string;
411
+ quote?: string | undefined;
412
+ label?: string | undefined;
408
413
  }[];
409
414
  }>, "many">;
410
415
  score: z.ZodNumber;
@@ -430,12 +435,13 @@ export declare const evaluationResponseSchema: z.ZodObject<{
430
435
  passed: boolean;
431
436
  matchScore: number;
432
437
  reason: string;
433
- quote: string;
434
438
  includedInContent: boolean;
435
439
  monitorId: string;
436
440
  createdAt: string;
437
441
  organizationId: string;
438
442
  callId: string;
443
+ quote?: string | undefined;
444
+ label?: string | undefined;
439
445
  }[];
440
446
  }[];
441
447
  score: number;
@@ -454,12 +460,13 @@ export declare const evaluationResponseSchema: z.ZodObject<{
454
460
  passed: boolean;
455
461
  matchScore: number;
456
462
  reason: string;
457
- quote: string;
458
463
  includedInContent: boolean;
459
464
  monitorId: string;
460
465
  createdAt: string;
461
466
  organizationId: string;
462
467
  callId: string;
468
+ quote?: string | undefined;
469
+ label?: string | undefined;
463
470
  }[];
464
471
  }[];
465
472
  score: number;
package/lib/types.js CHANGED
@@ -40,12 +40,13 @@ const resultSchema = zod_1.z.object({
40
40
  passed: zod_1.z.boolean(),
41
41
  matchScore: zod_1.z.number(),
42
42
  reason: zod_1.z.string(),
43
- quote: zod_1.z.string(),
43
+ quote: zod_1.z.string().optional(),
44
44
  includedInContent: zod_1.z.boolean(),
45
45
  monitorId: zod_1.z.string(),
46
46
  createdAt: zod_1.z.string(),
47
47
  organizationId: zod_1.z.string(),
48
48
  callId: zod_1.z.string(),
49
+ label: zod_1.z.string().optional(),
49
50
  });
50
51
  const evaluationResultSchema = zod_1.z.object({
51
52
  type: zod_1.z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qualifire",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Qualifire client SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [