casedev 0.32.0 → 0.35.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 +144 -0
- package/client.d.mts +3 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -3
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/utils/query.d.mts +0 -3
- package/internal/utils/query.d.mts.map +1 -1
- package/internal/utils/query.d.ts +0 -3
- package/internal/utils/query.d.ts.map +1 -1
- package/internal/utils/query.js +3 -16
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs +2 -16
- package/internal/utils/query.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/matters/index.d.mts +3 -0
- package/resources/matters/index.d.mts.map +1 -0
- package/resources/matters/index.d.ts +3 -0
- package/resources/matters/index.d.ts.map +1 -0
- package/resources/matters/index.js +9 -0
- package/resources/matters/index.js.map +1 -0
- package/resources/matters/index.mjs +4 -0
- package/resources/matters/index.mjs.map +1 -0
- package/resources/matters/matters.d.mts +10 -0
- package/resources/matters/matters.d.mts.map +1 -0
- package/resources/matters/matters.d.ts +10 -0
- package/resources/matters/matters.d.ts.map +1 -0
- package/resources/matters/matters.js +17 -0
- package/resources/matters/matters.js.map +1 -0
- package/resources/matters/matters.mjs +12 -0
- package/resources/matters/matters.mjs.map +1 -0
- package/resources/matters/v1/agent-types.d.mts +38 -0
- package/resources/matters/v1/agent-types.d.mts.map +1 -0
- package/resources/matters/v1/agent-types.d.ts +38 -0
- package/resources/matters/v1/agent-types.d.ts.map +1 -0
- package/resources/matters/v1/agent-types.js +33 -0
- package/resources/matters/v1/agent-types.js.map +1 -0
- package/resources/matters/v1/agent-types.mjs +29 -0
- package/resources/matters/v1/agent-types.mjs.map +1 -0
- package/resources/matters/v1/events/events.d.mts +10 -0
- package/resources/matters/v1/events/events.d.mts.map +1 -0
- package/resources/matters/v1/events/events.d.ts +10 -0
- package/resources/matters/v1/events/events.d.ts.map +1 -0
- package/resources/matters/v1/events/events.js +17 -0
- package/resources/matters/v1/events/events.js.map +1 -0
- package/resources/matters/v1/events/events.mjs +12 -0
- package/resources/matters/v1/events/events.mjs.map +1 -0
- package/resources/matters/v1/events/index.d.mts +3 -0
- package/resources/matters/v1/events/index.d.mts.map +1 -0
- package/resources/matters/v1/events/index.d.ts +3 -0
- package/resources/matters/v1/events/index.d.ts.map +1 -0
- package/resources/matters/v1/events/index.js +9 -0
- package/resources/matters/v1/events/index.js.map +1 -0
- package/resources/matters/v1/events/index.mjs +4 -0
- package/resources/matters/v1/events/index.mjs.map +1 -0
- package/resources/matters/v1/events/subscriptions.d.mts +32 -0
- package/resources/matters/v1/events/subscriptions.d.mts.map +1 -0
- package/resources/matters/v1/events/subscriptions.d.ts +32 -0
- package/resources/matters/v1/events/subscriptions.d.ts.map +1 -0
- package/resources/matters/v1/events/subscriptions.js +43 -0
- package/resources/matters/v1/events/subscriptions.js.map +1 -0
- package/resources/matters/v1/events/subscriptions.mjs +39 -0
- package/resources/matters/v1/events/subscriptions.mjs.map +1 -0
- package/resources/matters/v1/events.d.mts +2 -0
- package/resources/matters/v1/events.d.mts.map +1 -0
- package/resources/matters/v1/events.d.ts +2 -0
- package/resources/matters/v1/events.d.ts.map +1 -0
- package/resources/matters/v1/events.js +6 -0
- package/resources/matters/v1/events.js.map +1 -0
- package/resources/matters/v1/events.mjs +3 -0
- package/resources/matters/v1/events.mjs.map +1 -0
- package/resources/matters/v1/index.d.mts +10 -0
- package/resources/matters/v1/index.d.mts.map +1 -0
- package/resources/matters/v1/index.d.ts +10 -0
- package/resources/matters/v1/index.d.ts.map +1 -0
- package/resources/matters/v1/index.js +23 -0
- package/resources/matters/v1/index.js.map +1 -0
- package/resources/matters/v1/index.mjs +11 -0
- package/resources/matters/v1/index.mjs.map +1 -0
- package/resources/matters/v1/log.d.mts +110 -0
- package/resources/matters/v1/log.d.mts.map +1 -0
- package/resources/matters/v1/log.d.ts +110 -0
- package/resources/matters/v1/log.d.ts.map +1 -0
- package/resources/matters/v1/log.js +41 -0
- package/resources/matters/v1/log.js.map +1 -0
- package/resources/matters/v1/log.mjs +37 -0
- package/resources/matters/v1/log.mjs.map +1 -0
- package/resources/matters/v1/matter-parties.d.mts +33 -0
- package/resources/matters/v1/matter-parties.d.mts.map +1 -0
- package/resources/matters/v1/matter-parties.d.ts +33 -0
- package/resources/matters/v1/matter-parties.d.ts.map +1 -0
- package/resources/matters/v1/matter-parties.js +33 -0
- package/resources/matters/v1/matter-parties.js.map +1 -0
- package/resources/matters/v1/matter-parties.mjs +29 -0
- package/resources/matters/v1/matter-parties.mjs.map +1 -0
- package/resources/matters/v1/parties.d.mts +49 -0
- package/resources/matters/v1/parties.d.mts.map +1 -0
- package/resources/matters/v1/parties.d.ts +49 -0
- package/resources/matters/v1/parties.d.ts.map +1 -0
- package/resources/matters/v1/parties.js +52 -0
- package/resources/matters/v1/parties.js.map +1 -0
- package/resources/matters/v1/parties.mjs +48 -0
- package/resources/matters/v1/parties.mjs.map +1 -0
- package/resources/matters/v1/shares.d.mts +32 -0
- package/resources/matters/v1/shares.d.mts.map +1 -0
- package/resources/matters/v1/shares.d.ts +32 -0
- package/resources/matters/v1/shares.d.ts.map +1 -0
- package/resources/matters/v1/shares.js +43 -0
- package/resources/matters/v1/shares.js.map +1 -0
- package/resources/matters/v1/shares.mjs +39 -0
- package/resources/matters/v1/shares.mjs.map +1 -0
- package/resources/matters/v1/types.d.mts +71 -0
- package/resources/matters/v1/types.d.mts.map +1 -0
- package/resources/matters/v1/types.d.ts +71 -0
- package/resources/matters/v1/types.d.ts.map +1 -0
- package/resources/matters/v1/types.js +53 -0
- package/resources/matters/v1/types.js.map +1 -0
- package/resources/matters/v1/types.mjs +49 -0
- package/resources/matters/v1/types.mjs.map +1 -0
- package/resources/matters/v1/v1.d.mts +133 -0
- package/resources/matters/v1/v1.d.mts.map +1 -0
- package/resources/matters/v1/v1.d.ts +133 -0
- package/resources/matters/v1/v1.d.ts.map +1 -0
- package/resources/matters/v1/v1.js +89 -0
- package/resources/matters/v1/v1.js.map +1 -0
- package/resources/matters/v1/v1.mjs +84 -0
- package/resources/matters/v1/v1.mjs.map +1 -0
- package/resources/matters/v1/work-items.d.mts +139 -0
- package/resources/matters/v1/work-items.d.mts.map +1 -0
- package/resources/matters/v1/work-items.d.ts +139 -0
- package/resources/matters/v1/work-items.d.ts.map +1 -0
- package/resources/matters/v1/work-items.js +76 -0
- package/resources/matters/v1/work-items.js.map +1 -0
- package/resources/matters/v1/work-items.mjs +72 -0
- package/resources/matters/v1/work-items.mjs.map +1 -0
- package/resources/matters/v1.d.mts +2 -0
- package/resources/matters/v1.d.mts.map +1 -0
- package/resources/matters/v1.d.ts +2 -0
- package/resources/matters/v1.d.ts.map +1 -0
- package/resources/matters/v1.js +6 -0
- package/resources/matters/v1.js.map +1 -0
- package/resources/matters/v1.mjs +3 -0
- package/resources/matters/v1.mjs.map +1 -0
- package/resources/matters.d.mts +2 -0
- package/resources/matters.d.mts.map +1 -0
- package/resources/matters.d.ts +2 -0
- package/resources/matters.d.ts.map +1 -0
- package/resources/matters.js +6 -0
- package/resources/matters.js.map +1 -0
- package/resources/matters.mjs +3 -0
- package/resources/matters.mjs.map +1 -0
- package/src/client.ts +5 -3
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/utils/query.ts +2 -18
- package/src/resources/index.ts +1 -0
- package/src/resources/matters/index.ts +4 -0
- package/src/resources/matters/matters.ts +20 -0
- package/src/resources/matters/v1/agent-types.ts +68 -0
- package/src/resources/matters/v1/events/events.ts +19 -0
- package/src/resources/matters/v1/events/index.ts +4 -0
- package/src/resources/matters/v1/events/subscriptions.ts +67 -0
- package/src/resources/matters/v1/events.ts +3 -0
- package/src/resources/matters/v1/index.ts +25 -0
- package/src/resources/matters/v1/log.ts +158 -0
- package/src/resources/matters/v1/matter-parties.ts +64 -0
- package/src/resources/matters/v1/parties.ts +84 -0
- package/src/resources/matters/v1/shares.ts +60 -0
- package/src/resources/matters/v1/types.ts +127 -0
- package/src/resources/matters/v1/v1.ts +244 -0
- package/src/resources/matters/v1/work-items.ts +253 -0
- package/src/resources/matters/v1.ts +3 -0
- package/src/resources/matters.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AgentTypes = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
+
/**
|
|
8
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
9
|
+
*/
|
|
10
|
+
class AgentTypes extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Create a reusable agent role for legal matter orchestration.
|
|
13
|
+
*/
|
|
14
|
+
create(body, options) {
|
|
15
|
+
return this._client.post('/matters/v1/agent-types', {
|
|
16
|
+
body,
|
|
17
|
+
...options,
|
|
18
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List reusable agent roles for the authenticated organization.
|
|
23
|
+
*/
|
|
24
|
+
list(query = {}, options) {
|
|
25
|
+
return this._client.get('/matters/v1/agent-types', {
|
|
26
|
+
query,
|
|
27
|
+
...options,
|
|
28
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.AgentTypes = AgentTypes;
|
|
33
|
+
//# sourceMappingURL=agent-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-types.js","sourceRoot":"","sources":["../../../src/resources/matters/v1/agent-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE;YAClD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,QAAgD,EAAE,EAAE,OAAwB;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE;YACjD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAtBD,gCAsBC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
6
|
+
*/
|
|
7
|
+
export class AgentTypes extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a reusable agent role for legal matter orchestration.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return this._client.post('/matters/v1/agent-types', {
|
|
13
|
+
body,
|
|
14
|
+
...options,
|
|
15
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* List reusable agent roles for the authenticated organization.
|
|
20
|
+
*/
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.get('/matters/v1/agent-types', {
|
|
23
|
+
query,
|
|
24
|
+
...options,
|
|
25
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=agent-types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-types.mjs","sourceRoot":"","sources":["../../../src/resources/matters/v1/agent-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE;YAClD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,QAAgD,EAAE,EAAE,OAAwB;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE;YACjD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../../../core/resource.mjs";
|
|
2
|
+
import * as SubscriptionsAPI from "./subscriptions.mjs";
|
|
3
|
+
import { SubscriptionCreateParams, SubscriptionDeleteParams, Subscriptions } from "./subscriptions.mjs";
|
|
4
|
+
export declare class Events extends APIResource {
|
|
5
|
+
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Events {
|
|
8
|
+
export { Subscriptions as Subscriptions, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionDeleteParams as SubscriptionDeleteParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=events.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/events.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,aAAa,EAAE;AAE5E,qBAAa,MAAO,SAAQ,WAAW;IACrC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;CAClG;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../../../core/resource.js";
|
|
2
|
+
import * as SubscriptionsAPI from "./subscriptions.js";
|
|
3
|
+
import { SubscriptionCreateParams, SubscriptionDeleteParams, Subscriptions } from "./subscriptions.js";
|
|
4
|
+
export declare class Events extends APIResource {
|
|
5
|
+
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Events {
|
|
8
|
+
export { Subscriptions as Subscriptions, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionDeleteParams as SubscriptionDeleteParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/events.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,aAAa,EAAE;AAE5E,qBAAa,MAAO,SAAQ,WAAW;IACrC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;CAClG;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Events = void 0;
|
|
5
|
+
const tslib_1 = require("../../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../../core/resource.js");
|
|
7
|
+
const SubscriptionsAPI = tslib_1.__importStar(require("./subscriptions.js"));
|
|
8
|
+
const subscriptions_1 = require("./subscriptions.js");
|
|
9
|
+
class Events extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Events = Events;
|
|
16
|
+
Events.Subscriptions = subscriptions_1.Subscriptions;
|
|
17
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,6EAAoD;AACpD,sDAAoG;AAEpG,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;CAAA;AAFD,wBAEC;AAED,MAAM,CAAC,aAAa,GAAG,6BAAa,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../../core/resource.mjs";
|
|
3
|
+
import * as SubscriptionsAPI from "./subscriptions.mjs";
|
|
4
|
+
import { Subscriptions } from "./subscriptions.mjs";
|
|
5
|
+
export class Events extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Events.Subscriptions = Subscriptions;
|
|
12
|
+
//# sourceMappingURL=events.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAsD,aAAa,EAAE;AAE5E,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnG,CAAC;CAAA;AAED,MAAM,CAAC,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE;OACV,EAAE,aAAa,EAAE,KAAK,wBAAwB,EAAE,KAAK,wBAAwB,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE;OACV,EAAE,aAAa,EAAE,KAAK,wBAAwB,EAAE,KAAK,wBAAwB,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Subscriptions = exports.Events = void 0;
|
|
5
|
+
var events_1 = require("./events.js");
|
|
6
|
+
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
|
|
7
|
+
var subscriptions_1 = require("./subscriptions.js");
|
|
8
|
+
Object.defineProperty(exports, "Subscriptions", { enumerable: true, get: function () { return subscriptions_1.Subscriptions; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,oDAA8G;AAArG,8GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAE;OACV,EAAE,aAAa,EAAgE"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { APIResource } from "../../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
6
|
+
*/
|
|
7
|
+
export declare class Subscriptions extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a webhook subscription for matter and work-item events.
|
|
10
|
+
*/
|
|
11
|
+
create(id: string, body: SubscriptionCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Lists webhook subscriptions configured for a matter.
|
|
14
|
+
*/
|
|
15
|
+
list(id: string, options?: RequestOptions): APIPromise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Deactivates a matter webhook subscription.
|
|
18
|
+
*/
|
|
19
|
+
delete(subscriptionID: string, params: SubscriptionDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
20
|
+
}
|
|
21
|
+
export interface SubscriptionCreateParams {
|
|
22
|
+
callbackUrl: string;
|
|
23
|
+
eventTypes?: Array<string>;
|
|
24
|
+
signingSecret?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface SubscriptionDeleteParams {
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace Subscriptions {
|
|
30
|
+
export { type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionDeleteParams as SubscriptionDeleteParams, };
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=subscriptions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptions.d.mts","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ9F;;OAEG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO5D;;OAEG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { APIResource } from "../../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
6
|
+
*/
|
|
7
|
+
export declare class Subscriptions extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a webhook subscription for matter and work-item events.
|
|
10
|
+
*/
|
|
11
|
+
create(id: string, body: SubscriptionCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Lists webhook subscriptions configured for a matter.
|
|
14
|
+
*/
|
|
15
|
+
list(id: string, options?: RequestOptions): APIPromise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Deactivates a matter webhook subscription.
|
|
18
|
+
*/
|
|
19
|
+
delete(subscriptionID: string, params: SubscriptionDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
20
|
+
}
|
|
21
|
+
export interface SubscriptionCreateParams {
|
|
22
|
+
callbackUrl: string;
|
|
23
|
+
eventTypes?: Array<string>;
|
|
24
|
+
signingSecret?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface SubscriptionDeleteParams {
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace Subscriptions {
|
|
30
|
+
export { type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionDeleteParams as SubscriptionDeleteParams, };
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=subscriptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/subscriptions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ9F;;OAEG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAO5D;;OAEG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Subscriptions = void 0;
|
|
5
|
+
const resource_1 = require("../../../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../../../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
10
|
+
*/
|
|
11
|
+
class Subscriptions extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Creates a webhook subscription for matter and work-item events.
|
|
14
|
+
*/
|
|
15
|
+
create(id, body, options) {
|
|
16
|
+
return this._client.post((0, path_1.path) `/matters/v1/${id}/events/subscriptions`, {
|
|
17
|
+
body,
|
|
18
|
+
...options,
|
|
19
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists webhook subscriptions configured for a matter.
|
|
24
|
+
*/
|
|
25
|
+
list(id, options) {
|
|
26
|
+
return this._client.get((0, path_1.path) `/matters/v1/${id}/events/subscriptions`, {
|
|
27
|
+
...options,
|
|
28
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Deactivates a matter webhook subscription.
|
|
33
|
+
*/
|
|
34
|
+
delete(subscriptionID, params, options) {
|
|
35
|
+
const { id } = params;
|
|
36
|
+
return this._client.delete((0, path_1.path) `/matters/v1/${id}/events/subscriptions/${subscriptionID}`, {
|
|
37
|
+
...options,
|
|
38
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.Subscriptions = Subscriptions;
|
|
43
|
+
//# sourceMappingURL=subscriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/subscriptions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAExD,6DAA4D;AAE5D,6DAAuD;AAEvD;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,uBAAuB,EAAE;YACrE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,uBAAuB,EAAE;YACpE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,eAAe,EAAE,yBAAyB,cAAc,EAAE,EAAE;YACzF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AApCD,sCAoCC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../../../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
7
|
+
*/
|
|
8
|
+
export class Subscriptions extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates a webhook subscription for matter and work-item events.
|
|
11
|
+
*/
|
|
12
|
+
create(id, body, options) {
|
|
13
|
+
return this._client.post(path `/matters/v1/${id}/events/subscriptions`, {
|
|
14
|
+
body,
|
|
15
|
+
...options,
|
|
16
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Lists webhook subscriptions configured for a matter.
|
|
21
|
+
*/
|
|
22
|
+
list(id, options) {
|
|
23
|
+
return this._client.get(path `/matters/v1/${id}/events/subscriptions`, {
|
|
24
|
+
...options,
|
|
25
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Deactivates a matter webhook subscription.
|
|
30
|
+
*/
|
|
31
|
+
delete(subscriptionID, params, options) {
|
|
32
|
+
const { id } = params;
|
|
33
|
+
return this._client.delete(path `/matters/v1/${id}/events/subscriptions/${subscriptionID}`, {
|
|
34
|
+
...options,
|
|
35
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=subscriptions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptions.mjs","sourceRoot":"","sources":["../../../../src/resources/matters/v1/events/subscriptions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,IAA8B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,EAAE,uBAAuB,EAAE;YACrE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,EAAU,EAAE,OAAwB;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,EAAE,uBAAuB,EAAE;YACpE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,cAAsB,EACtB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,eAAe,EAAE,yBAAyB,cAAc,EAAE,EAAE;YACzF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../../src/resources/matters/v1/events.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/resources/matters/v1/events.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./events/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/resources/matters/v1/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../../src/resources/matters/v1/events.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { AgentTypes, type AgentTypeCreateParams, type AgentTypeListParams } from "./agent-types.mjs";
|
|
2
|
+
export { Events } from "./events/index.mjs";
|
|
3
|
+
export { Log, type LogExportResponse, type LogCreateParams, type LogListParams, type LogExportParams, } from "./log.mjs";
|
|
4
|
+
export { MatterParties, type MatterPartyCreateParams } from "./matter-parties.mjs";
|
|
5
|
+
export { Parties, type PartyCreateParams, type PartyListParams } from "./parties.mjs";
|
|
6
|
+
export { Shares, type ShareCreateParams, type ShareDeleteParams } from "./shares.mjs";
|
|
7
|
+
export { Types, type TypeCreateParams, type TypeUpdateParams, type TypeListParams } from "./types.mjs";
|
|
8
|
+
export { V1, type V1CreateParams, type V1UpdateParams, type V1ListParams } from "./v1.mjs";
|
|
9
|
+
export { WorkItems, type WorkItemCreateParams, type WorkItemRetrieveParams, type WorkItemUpdateParams, type WorkItemListParams, type WorkItemDecideParams, type WorkItemListExecutionsParams, } from "./work-items.mjs";
|
|
10
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/matters/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACpE,EAAE,MAAM,EAAE;OACV,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB;OACM,EAAE,aAAa,EAAE,KAAK,uBAAuB,EAAE;OAC/C,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACzD,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE;OAC1D,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE;OAC5E,EAAE,EAAE,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE;OACnE,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { AgentTypes, type AgentTypeCreateParams, type AgentTypeListParams } from "./agent-types.js";
|
|
2
|
+
export { Events } from "./events/index.js";
|
|
3
|
+
export { Log, type LogExportResponse, type LogCreateParams, type LogListParams, type LogExportParams, } from "./log.js";
|
|
4
|
+
export { MatterParties, type MatterPartyCreateParams } from "./matter-parties.js";
|
|
5
|
+
export { Parties, type PartyCreateParams, type PartyListParams } from "./parties.js";
|
|
6
|
+
export { Shares, type ShareCreateParams, type ShareDeleteParams } from "./shares.js";
|
|
7
|
+
export { Types, type TypeCreateParams, type TypeUpdateParams, type TypeListParams } from "./types.js";
|
|
8
|
+
export { V1, type V1CreateParams, type V1UpdateParams, type V1ListParams } from "./v1.js";
|
|
9
|
+
export { WorkItems, type WorkItemCreateParams, type WorkItemRetrieveParams, type WorkItemUpdateParams, type WorkItemListParams, type WorkItemDecideParams, type WorkItemListExecutionsParams, } from "./work-items.js";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/matters/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OACpE,EAAE,MAAM,EAAE;OACV,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB;OACM,EAAE,aAAa,EAAE,KAAK,uBAAuB,EAAE;OAC/C,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACzD,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE;OAC1D,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE;OAC5E,EAAE,EAAE,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE;OACnE,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WorkItems = exports.V1 = exports.Types = exports.Shares = exports.Parties = exports.MatterParties = exports.Log = exports.Events = exports.AgentTypes = void 0;
|
|
5
|
+
var agent_types_1 = require("./agent-types.js");
|
|
6
|
+
Object.defineProperty(exports, "AgentTypes", { enumerable: true, get: function () { return agent_types_1.AgentTypes; } });
|
|
7
|
+
var index_1 = require("./events/index.js");
|
|
8
|
+
Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return index_1.Events; } });
|
|
9
|
+
var log_1 = require("./log.js");
|
|
10
|
+
Object.defineProperty(exports, "Log", { enumerable: true, get: function () { return log_1.Log; } });
|
|
11
|
+
var matter_parties_1 = require("./matter-parties.js");
|
|
12
|
+
Object.defineProperty(exports, "MatterParties", { enumerable: true, get: function () { return matter_parties_1.MatterParties; } });
|
|
13
|
+
var parties_1 = require("./parties.js");
|
|
14
|
+
Object.defineProperty(exports, "Parties", { enumerable: true, get: function () { return parties_1.Parties; } });
|
|
15
|
+
var shares_1 = require("./shares.js");
|
|
16
|
+
Object.defineProperty(exports, "Shares", { enumerable: true, get: function () { return shares_1.Shares; } });
|
|
17
|
+
var types_1 = require("./types.js");
|
|
18
|
+
Object.defineProperty(exports, "Types", { enumerable: true, get: function () { return types_1.Types; } });
|
|
19
|
+
var v1_1 = require("./v1.js");
|
|
20
|
+
Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
|
|
21
|
+
var work_items_1 = require("./work-items.js");
|
|
22
|
+
Object.defineProperty(exports, "WorkItems", { enumerable: true, get: function () { return work_items_1.WorkItems; } });
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/matters/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAiG;AAAxF,yGAAA,UAAU,OAAA;AACnB,2CAAwC;AAA/B,+FAAA,MAAM,OAAA;AACf,gCAMe;AALb,0FAAA,GAAG,OAAA;AAML,sDAA+E;AAAtE,+GAAA,aAAa,OAAA;AACtB,wCAAkF;AAAzE,kGAAA,OAAO,OAAA;AAChB,sCAAkF;AAAzE,gGAAA,MAAM,OAAA;AACf,oCAAmG;AAA1F,8FAAA,KAAK,OAAA;AACd,8BAAuF;AAA9E,wFAAA,EAAE,OAAA;AACX,8CAQsB;AAPpB,uGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { AgentTypes } from "./agent-types.mjs";
|
|
3
|
+
export { Events } from "./events/index.mjs";
|
|
4
|
+
export { Log, } from "./log.mjs";
|
|
5
|
+
export { MatterParties } from "./matter-parties.mjs";
|
|
6
|
+
export { Parties } from "./parties.mjs";
|
|
7
|
+
export { Shares } from "./shares.mjs";
|
|
8
|
+
export { Types } from "./types.mjs";
|
|
9
|
+
export { V1 } from "./v1.mjs";
|
|
10
|
+
export { WorkItems, } from "./work-items.mjs";
|
|
11
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/matters/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,UAAU,EAAwD;OACpE,EAAE,MAAM,EAAE;OACV,EACL,GAAG,GAKJ;OACM,EAAE,aAAa,EAAgC;OAC/C,EAAE,OAAO,EAAgD;OACzD,EAAE,MAAM,EAAkD;OAC1D,EAAE,KAAK,EAAqE;OAC5E,EAAE,EAAE,EAA+D;OACnE,EACL,SAAS,GAOV"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Matter-native legal workspaces and orchestration primitives
|
|
6
|
+
*/
|
|
7
|
+
export declare class Log extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Append a manual operational note or event to a matter log.
|
|
10
|
+
*/
|
|
11
|
+
create(id: string, body: LogCreateParams, options?: RequestOptions): APIPromise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* List the operational history for a matter.
|
|
14
|
+
*/
|
|
15
|
+
list(id: string, query?: LogListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Bulk export matter log entries for audits, visibility, and eval pipelines.
|
|
18
|
+
* Supports json, csv, tsv, and jsonl. Limited to 10,000 entries per request.
|
|
19
|
+
*/
|
|
20
|
+
export(id: string, body?: LogExportParams | null | undefined, options?: RequestOptions): APIPromise<LogExportResponse>;
|
|
21
|
+
}
|
|
22
|
+
export interface LogExportResponse {
|
|
23
|
+
data?: Array<{
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}>;
|
|
26
|
+
}
|
|
27
|
+
export interface LogCreateParams {
|
|
28
|
+
summary: string;
|
|
29
|
+
details?: {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
event_type?: string;
|
|
33
|
+
work_item_id?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface LogListParams {
|
|
36
|
+
/**
|
|
37
|
+
* Filter by actor ID
|
|
38
|
+
*/
|
|
39
|
+
actor_id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Filter by actor type
|
|
42
|
+
*/
|
|
43
|
+
actor_type?: string;
|
|
44
|
+
/**
|
|
45
|
+
* End of time range (ISO 8601)
|
|
46
|
+
*/
|
|
47
|
+
end_time?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Filter by exact event type
|
|
50
|
+
*/
|
|
51
|
+
event_type?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Maximum number of log entries to return (max 200)
|
|
54
|
+
*/
|
|
55
|
+
limit?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Number of log entries to skip for pagination
|
|
58
|
+
*/
|
|
59
|
+
offset?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Filter by scope: matter, work_item, execution, sharing, all
|
|
62
|
+
*/
|
|
63
|
+
scope?: string | Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Start of time range (ISO 8601)
|
|
66
|
+
*/
|
|
67
|
+
start_time?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Filter by work item ID
|
|
70
|
+
*/
|
|
71
|
+
work_item_id?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface LogExportParams {
|
|
74
|
+
/**
|
|
75
|
+
* Filter by actor ID
|
|
76
|
+
*/
|
|
77
|
+
actor_id?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Filter by actor type
|
|
80
|
+
*/
|
|
81
|
+
actor_type?: string;
|
|
82
|
+
/**
|
|
83
|
+
* End of time range (ISO 8601)
|
|
84
|
+
*/
|
|
85
|
+
end_time?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Filter by exact event type
|
|
88
|
+
*/
|
|
89
|
+
event_type?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Export format. Defaults to jsonl.
|
|
92
|
+
*/
|
|
93
|
+
format?: 'json' | 'jsonl' | 'csv' | 'tsv';
|
|
94
|
+
/**
|
|
95
|
+
* Filter by scope: matter, work_item, execution, sharing, all
|
|
96
|
+
*/
|
|
97
|
+
scope?: string | Array<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Start of time range (ISO 8601)
|
|
100
|
+
*/
|
|
101
|
+
start_time?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Filter by work item ID
|
|
104
|
+
*/
|
|
105
|
+
work_item_id?: string;
|
|
106
|
+
}
|
|
107
|
+
export declare namespace Log {
|
|
108
|
+
export { type LogExportResponse as LogExportResponse, type LogCreateParams as LogCreateParams, type LogListParams as LogListParams, type LogExportParams as LogExportParams, };
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=log.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.d.mts","sourceRoot":"","sources":["../../../src/resources/matters/v1/log.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,GAAI,SAAQ,WAAW;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQrF;;OAEG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQ1G;;;OAGG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAGjC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,CAAC;CAC1C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAErC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,CAAC;IAE1C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|