casedev 0.35.0 → 0.36.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.36.0 (2026-03-31)
4
+
5
+ Full Changelog: [v0.35.0...v0.36.0](https://github.com/CaseMark/casedev-typescript/compare/v0.35.0...v0.36.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([11d129e](https://github.com/CaseMark/casedev-typescript/commit/11d129e88b2287ba63c3f70ed9e02a0873a0a18a))
10
+
3
11
  ## 0.35.0 (2026-03-30)
4
12
 
5
13
  Full Changelog: [v0.34.0...v0.35.0](https://github.com/CaseMark/casedev-typescript/compare/v0.34.0...v0.35.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "casedev",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "The official TypeScript library for the Casedev API",
5
5
  "author": "Casedev <support@casemark.com>",
6
6
  "types": "./index.d.ts",
@@ -6,12 +6,12 @@ import { RequestOptions } from "../../internal/request-options.mjs";
6
6
  */
7
7
  export declare class V1 extends APIResource {
8
8
  /**
9
- * Analyzes text or vault documents for legal privilege. Detects attorney-client
10
- * privilege, work product doctrine, common interest privilege, and litigation hold
11
- * materials.
9
+ * Analyzes text or vault documents for legal privilege review. Detects
10
+ * attorney-client privilege, work product doctrine, and common interest privilege.
12
11
  *
13
- * Returns structured privilege flags with confidence scores and policy-friendly
14
- * rationale suitable for discovery workflows and privilege logs.
12
+ * Returns structured review flags with confidence scores and policy-friendly
13
+ * rationale suitable for discovery workflows and privilege logs. This endpoint is
14
+ * an AI-assisted triage tool and does not replace attorney judgment.
15
15
  *
16
16
  * **Size Limit:** Maximum 200,000 characters (larger documents rejected).
17
17
  *
@@ -69,9 +69,9 @@ export declare namespace V1DetectResponse {
69
69
  export interface V1DetectParams {
70
70
  /**
71
71
  * Privilege categories to check. Defaults to all: attorney_client, work_product,
72
- * common_interest, litigation_hold
72
+ * common_interest
73
73
  */
74
- categories?: Array<'attorney_client' | 'work_product' | 'common_interest' | 'litigation_hold'>;
74
+ categories?: Array<'attorney_client' | 'work_product' | 'common_interest'>;
75
75
  /**
76
76
  * Text content to analyze (required if document_id not provided)
77
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/privilege/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAGrF;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAE7C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,cAAc,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC9D;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,QAAQ;QACvB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE3B;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,UAA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ACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE3B;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,iBAAiB,GAAG,cAAc,GAAG,iBAAiB,CAAC,CAAC;IAE3E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC7F"}
@@ -6,12 +6,12 @@ import { RequestOptions } from "../../internal/request-options.js";
6
6
  */
7
7
  export declare class V1 extends APIResource {
8
8
  /**
9
- * Analyzes text or vault documents for legal privilege. Detects attorney-client
10
- * privilege, work product doctrine, common interest privilege, and litigation hold
11
- * materials.
9
+ * Analyzes text or vault documents for legal privilege review. Detects
10
+ * attorney-client privilege, work product doctrine, and common interest privilege.
12
11
  *
13
- * Returns structured privilege flags with confidence scores and policy-friendly
14
- * rationale suitable for discovery workflows and privilege logs.
12
+ * Returns structured review flags with confidence scores and policy-friendly
13
+ * rationale suitable for discovery workflows and privilege logs. This endpoint is
14
+ * an AI-assisted triage tool and does not replace attorney judgment.
15
15
  *
16
16
  * **Size Limit:** Maximum 200,000 characters (larger documents rejected).
17
17
  *
@@ -69,9 +69,9 @@ export declare namespace V1DetectResponse {
69
69
  export interface V1DetectParams {
70
70
  /**
71
71
  * Privilege categories to check. Defaults to all: attorney_client, work_product,
72
- * common_interest, litigation_hold
72
+ * common_interest
73
73
  */
74
- categories?: Array<'attorney_client' | 'work_product' | 'common_interest' | 'litigation_hold'>;
74
+ categories?: Array<'attorney_client' | 'work_product' | 'common_interest'>;
75
75
  /**
76
76
  * Text content to analyze (required if document_id not provided)
77
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/privilege/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAGrF;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAE7C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,cAAc,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC9D;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,QAAQ;QACvB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE3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AEpB;;OAEG;IACH,cAAc,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC9D;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,QAAQ;QACvB;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE3B;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,iBAAiB,GAAG,cAAc,GAAG,iBAAiB,CAAC,CAAC;IAE3E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC7F"}
@@ -8,12 +8,12 @@ const resource_1 = require("../../core/resource.js");
8
8
  */
9
9
  class V1 extends resource_1.APIResource {
10
10
  /**
11
- * Analyzes text or vault documents for legal privilege. Detects attorney-client
12
- * privilege, work product doctrine, common interest privilege, and litigation hold
13
- * materials.
11
+ * Analyzes text or vault documents for legal privilege review. Detects
12
+ * attorney-client privilege, work product doctrine, and common interest privilege.
14
13
  *
15
- * Returns structured privilege flags with confidence scores and policy-friendly
16
- * rationale suitable for discovery workflows and privilege logs.
14
+ * Returns structured review flags with confidence scores and policy-friendly
15
+ * rationale suitable for discovery workflows and privilege logs. This endpoint is
16
+ * an AI-assisted triage tool and does not replace attorney judgment.
17
17
  *
18
18
  * **Size Limit:** Maximum 200,000 characters (larger documents rejected).
19
19
  *
@@ -5,12 +5,12 @@ import { APIResource } from "../../core/resource.mjs";
5
5
  */
6
6
  export class V1 extends APIResource {
7
7
  /**
8
- * Analyzes text or vault documents for legal privilege. Detects attorney-client
9
- * privilege, work product doctrine, common interest privilege, and litigation hold
10
- * materials.
8
+ * Analyzes text or vault documents for legal privilege review. Detects
9
+ * attorney-client privilege, work product doctrine, and common interest privilege.
11
10
  *
12
- * Returns structured privilege flags with confidence scores and policy-friendly
13
- * rationale suitable for discovery workflows and privilege logs.
11
+ * Returns structured review flags with confidence scores and policy-friendly
12
+ * rationale suitable for discovery workflows and privilege logs. This endpoint is
13
+ * an AI-assisted triage tool and does not replace attorney judgment.
14
14
  *
15
15
  * **Size Limit:** Maximum 200,000 characters (larger documents rejected).
16
16
  *
@@ -9,12 +9,12 @@ import { RequestOptions } from '../../internal/request-options';
9
9
  */
10
10
  export class V1 extends APIResource {
11
11
  /**
12
- * Analyzes text or vault documents for legal privilege. Detects attorney-client
13
- * privilege, work product doctrine, common interest privilege, and litigation hold
14
- * materials.
12
+ * Analyzes text or vault documents for legal privilege review. Detects
13
+ * attorney-client privilege, work product doctrine, and common interest privilege.
15
14
  *
16
- * Returns structured privilege flags with confidence scores and policy-friendly
17
- * rationale suitable for discovery workflows and privilege logs.
15
+ * Returns structured review flags with confidence scores and policy-friendly
16
+ * rationale suitable for discovery workflows and privilege logs. This endpoint is
17
+ * an AI-assisted triage tool and does not replace attorney judgment.
18
18
  *
19
19
  * **Size Limit:** Maximum 200,000 characters (larger documents rejected).
20
20
  *
@@ -85,9 +85,9 @@ export namespace V1DetectResponse {
85
85
  export interface V1DetectParams {
86
86
  /**
87
87
  * Privilege categories to check. Defaults to all: attorney_client, work_product,
88
- * common_interest, litigation_hold
88
+ * common_interest
89
89
  */
90
- categories?: Array<'attorney_client' | 'work_product' | 'common_interest' | 'litigation_hold'>;
90
+ categories?: Array<'attorney_client' | 'work_product' | 'common_interest'>;
91
91
 
92
92
  /**
93
93
  * Text content to analyze (required if document_id not provided)
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.35.0'; // x-release-please-version
1
+ export const VERSION = '0.36.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.35.0";
1
+ export declare const VERSION = "0.36.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.35.0";
1
+ export declare const VERSION = "0.36.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.35.0'; // x-release-please-version
4
+ exports.VERSION = '0.36.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.35.0'; // x-release-please-version
1
+ export const VERSION = '0.36.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map