casedev 0.54.0 → 0.56.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 +16 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent/agent.d.mts +0 -4
- package/resources/agent/agent.d.mts.map +1 -1
- package/resources/agent/agent.d.ts +0 -4
- package/resources/agent/agent.d.ts.map +1 -1
- package/resources/agent/agent.js +0 -4
- package/resources/agent/agent.js.map +1 -1
- package/resources/agent/agent.mjs +0 -4
- package/resources/agent/agent.mjs.map +1 -1
- package/resources/agent/index.d.mts +0 -1
- package/resources/agent/index.d.mts.map +1 -1
- package/resources/agent/index.d.ts +0 -1
- package/resources/agent/index.d.ts.map +1 -1
- package/resources/agent/index.js +1 -3
- package/resources/agent/index.js.map +1 -1
- package/resources/agent/index.mjs +0 -1
- package/resources/agent/index.mjs.map +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/webhooks/index.d.mts +3 -0
- package/resources/webhooks/index.d.mts.map +1 -0
- package/resources/webhooks/index.d.ts +3 -0
- package/resources/webhooks/index.d.ts.map +1 -0
- package/resources/webhooks/index.js +9 -0
- package/resources/webhooks/index.js.map +1 -0
- package/resources/webhooks/index.mjs +4 -0
- package/resources/webhooks/index.mjs.map +1 -0
- package/resources/webhooks/v1/deliveries.d.mts +42 -0
- package/resources/webhooks/v1/deliveries.d.mts.map +1 -0
- package/resources/webhooks/v1/deliveries.d.ts +42 -0
- package/resources/webhooks/v1/deliveries.d.ts.map +1 -0
- package/resources/webhooks/v1/deliveries.js +48 -0
- package/resources/webhooks/v1/deliveries.js.map +1 -0
- package/resources/webhooks/v1/deliveries.mjs +44 -0
- package/resources/webhooks/v1/deliveries.mjs.map +1 -0
- package/resources/webhooks/v1/endpoints.d.mts +121 -0
- package/resources/webhooks/v1/endpoints.d.mts.map +1 -0
- package/resources/webhooks/v1/endpoints.d.ts +121 -0
- package/resources/webhooks/v1/endpoints.d.ts.map +1 -0
- package/resources/webhooks/v1/endpoints.js +96 -0
- package/resources/webhooks/v1/endpoints.js.map +1 -0
- package/resources/webhooks/v1/endpoints.mjs +92 -0
- package/resources/webhooks/v1/endpoints.mjs.map +1 -0
- package/resources/webhooks/v1/event-types.d.mts +15 -0
- package/resources/webhooks/v1/event-types.d.mts.map +1 -0
- package/resources/webhooks/v1/event-types.d.ts +15 -0
- package/resources/webhooks/v1/event-types.d.ts.map +1 -0
- package/resources/webhooks/v1/event-types.js +24 -0
- package/resources/webhooks/v1/event-types.js.map +1 -0
- package/resources/webhooks/v1/event-types.mjs +20 -0
- package/resources/webhooks/v1/event-types.mjs.map +1 -0
- package/resources/webhooks/v1/index.d.mts +5 -0
- package/resources/webhooks/v1/index.d.mts.map +1 -0
- package/resources/webhooks/v1/index.d.ts +5 -0
- package/resources/webhooks/v1/index.d.ts.map +1 -0
- package/resources/webhooks/v1/index.js +13 -0
- package/resources/webhooks/v1/index.js.map +1 -0
- package/resources/webhooks/v1/index.mjs +6 -0
- package/resources/webhooks/v1/index.mjs.map +1 -0
- package/resources/webhooks/v1/v1.d.mts +18 -0
- package/resources/webhooks/v1/v1.d.mts.map +1 -0
- package/resources/webhooks/v1/v1.d.ts +18 -0
- package/resources/webhooks/v1/v1.d.ts.map +1 -0
- package/resources/webhooks/v1/v1.js +25 -0
- package/resources/webhooks/v1/v1.js.map +1 -0
- package/resources/webhooks/v1/v1.mjs +20 -0
- package/resources/webhooks/v1/v1.mjs.map +1 -0
- package/resources/webhooks/v1.d.mts +2 -0
- package/resources/webhooks/v1.d.mts.map +1 -0
- package/resources/webhooks/v1.d.ts +2 -0
- package/resources/webhooks/v1.d.ts.map +1 -0
- package/resources/{agent/v2.js → webhooks/v1.js} +2 -2
- package/resources/webhooks/v1.js.map +1 -0
- package/resources/{agent/v2.mjs → webhooks/v1.mjs} +2 -2
- package/resources/webhooks/v1.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +10 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -0
- package/resources/webhooks/webhooks.d.ts +10 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -0
- package/resources/webhooks/webhooks.js +17 -0
- package/resources/webhooks/webhooks.js.map +1 -0
- package/resources/webhooks/webhooks.mjs +12 -0
- package/resources/webhooks/webhooks.mjs.map +1 -0
- package/resources/webhooks.d.mts +2 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +2 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/{agent/v2/chat.js → webhooks.js} +3 -3
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +3 -0
- package/resources/webhooks.mjs.map +1 -0
- package/src/client.ts +5 -0
- package/src/resources/agent/agent.ts +0 -6
- package/src/resources/agent/index.ts +0 -1
- package/src/resources/index.ts +1 -0
- package/{resources/agent/v2/chat.mjs → src/resources/webhooks/index.ts} +3 -2
- package/src/resources/webhooks/v1/deliveries.ts +74 -0
- package/src/resources/webhooks/v1/endpoints.ts +204 -0
- package/src/resources/webhooks/v1/event-types.ts +23 -0
- package/src/resources/webhooks/v1/index.ts +13 -0
- package/src/resources/webhooks/v1/v1.ts +45 -0
- package/src/resources/{agent/v2.ts → webhooks/v1.ts} +1 -1
- package/src/resources/webhooks/webhooks.ts +15 -0
- package/src/resources/{agent/v2/chat.ts → webhooks.ts} +1 -1
- 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
- package/resources/agent/v2/chat/chat.d.mts +0 -196
- package/resources/agent/v2/chat/chat.d.mts.map +0 -1
- package/resources/agent/v2/chat/chat.d.ts +0 -196
- package/resources/agent/v2/chat/chat.d.ts.map +0 -1
- package/resources/agent/v2/chat/chat.js +0 -117
- package/resources/agent/v2/chat/chat.js.map +0 -1
- package/resources/agent/v2/chat/chat.mjs +0 -112
- package/resources/agent/v2/chat/chat.mjs.map +0 -1
- package/resources/agent/v2/chat/files.d.mts +0 -42
- package/resources/agent/v2/chat/files.d.mts.map +0 -1
- package/resources/agent/v2/chat/files.d.ts +0 -42
- package/resources/agent/v2/chat/files.d.ts.map +0 -1
- package/resources/agent/v2/chat/files.js +0 -33
- package/resources/agent/v2/chat/files.js.map +0 -1
- package/resources/agent/v2/chat/files.mjs +0 -29
- package/resources/agent/v2/chat/files.mjs.map +0 -1
- package/resources/agent/v2/chat/index.d.mts +0 -3
- package/resources/agent/v2/chat/index.d.mts.map +0 -1
- package/resources/agent/v2/chat/index.d.ts +0 -3
- package/resources/agent/v2/chat/index.d.ts.map +0 -1
- package/resources/agent/v2/chat/index.js +0 -9
- package/resources/agent/v2/chat/index.js.map +0 -1
- package/resources/agent/v2/chat/index.mjs +0 -4
- package/resources/agent/v2/chat/index.mjs.map +0 -1
- package/resources/agent/v2/chat.d.mts +0 -2
- package/resources/agent/v2/chat.d.mts.map +0 -1
- package/resources/agent/v2/chat.d.ts +0 -2
- package/resources/agent/v2/chat.d.ts.map +0 -1
- package/resources/agent/v2/chat.js.map +0 -1
- package/resources/agent/v2/chat.mjs.map +0 -1
- package/resources/agent/v2/execute.d.mts +0 -58
- package/resources/agent/v2/execute.d.mts.map +0 -1
- package/resources/agent/v2/execute.d.ts +0 -58
- package/resources/agent/v2/execute.d.ts.map +0 -1
- package/resources/agent/v2/execute.js +0 -20
- package/resources/agent/v2/execute.js.map +0 -1
- package/resources/agent/v2/execute.mjs +0 -16
- package/resources/agent/v2/execute.mjs.map +0 -1
- package/resources/agent/v2/index.d.mts +0 -5
- package/resources/agent/v2/index.d.mts.map +0 -1
- package/resources/agent/v2/index.d.ts +0 -5
- package/resources/agent/v2/index.d.ts.map +0 -1
- package/resources/agent/v2/index.js +0 -13
- package/resources/agent/v2/index.js.map +0 -1
- package/resources/agent/v2/index.mjs +0 -6
- package/resources/agent/v2/index.mjs.map +0 -1
- package/resources/agent/v2/run.d.mts +0 -73
- package/resources/agent/v2/run.d.mts.map +0 -1
- package/resources/agent/v2/run.d.ts +0 -73
- package/resources/agent/v2/run.d.ts.map +0 -1
- package/resources/agent/v2/run.js +0 -51
- package/resources/agent/v2/run.js.map +0 -1
- package/resources/agent/v2/run.mjs +0 -47
- package/resources/agent/v2/run.mjs.map +0 -1
- package/resources/agent/v2/v2.d.mts +0 -18
- package/resources/agent/v2/v2.d.mts.map +0 -1
- package/resources/agent/v2/v2.d.ts +0 -18
- package/resources/agent/v2/v2.d.ts.map +0 -1
- package/resources/agent/v2/v2.js +0 -25
- package/resources/agent/v2/v2.js.map +0 -1
- package/resources/agent/v2/v2.mjs +0 -20
- package/resources/agent/v2/v2.mjs.map +0 -1
- package/resources/agent/v2.d.mts +0 -2
- package/resources/agent/v2.d.mts.map +0 -1
- package/resources/agent/v2.d.ts +0 -2
- package/resources/agent/v2.d.ts.map +0 -1
- package/resources/agent/v2.js.map +0 -1
- package/resources/agent/v2.mjs.map +0 -1
- package/src/resources/agent/v2/chat/chat.ts +0 -314
- package/src/resources/agent/v2/chat/files.ts +0 -63
- package/src/resources/agent/v2/chat/index.ts +0 -17
- package/src/resources/agent/v2/execute.ts +0 -91
- package/src/resources/agent/v2/index.ts +0 -28
- package/src/resources/agent/v2/run.ts +0 -137
- package/src/resources/agent/v2/v2.ts +0 -75
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Webhook endpoint management
|
|
11
|
+
*/
|
|
12
|
+
export class Deliveries extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get webhook delivery
|
|
15
|
+
*/
|
|
16
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<void> {
|
|
17
|
+
return this._client.get(path`/webhooks/v1/deliveries/${id}`, {
|
|
18
|
+
...options,
|
|
19
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Returns delivery attempts for the organization, newest first. Filter by
|
|
25
|
+
* endpoint_id or status to narrow results.
|
|
26
|
+
*/
|
|
27
|
+
list(query: DeliveryListParams | null | undefined = {}, options?: RequestOptions): APIPromise<void> {
|
|
28
|
+
return this._client.get('/webhooks/v1/deliveries', {
|
|
29
|
+
query,
|
|
30
|
+
...options,
|
|
31
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Re-sends the original event to its endpoint. The payload is reconstructed from
|
|
37
|
+
* the delivery record (same eventId, eventType, and occurred_at). Replay
|
|
38
|
+
* deliveries include a Case.dev replay marker header so receivers can distinguish
|
|
39
|
+
* replays from first-time deliveries. Uses the endpoint's current signing secret —
|
|
40
|
+
* not the one in force at the original delivery time.
|
|
41
|
+
*/
|
|
42
|
+
replay(
|
|
43
|
+
id: string,
|
|
44
|
+
body: DeliveryReplayParams | null | undefined = {},
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): APIPromise<void> {
|
|
47
|
+
return this._client.post(path`/webhooks/v1/deliveries/${id}/replay`, {
|
|
48
|
+
body,
|
|
49
|
+
...options,
|
|
50
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface DeliveryListParams {
|
|
56
|
+
endpoint_id?: string;
|
|
57
|
+
|
|
58
|
+
limit?: number;
|
|
59
|
+
|
|
60
|
+
status?: 'pending' | 'delivered' | 'failed';
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface DeliveryReplayParams {
|
|
64
|
+
/**
|
|
65
|
+
* Override payload to deliver. Must only be supplied when the delivery record
|
|
66
|
+
* lacks enough context to reconstruct the original event (rare). Defaults to an
|
|
67
|
+
* empty data envelope.
|
|
68
|
+
*/
|
|
69
|
+
payload?: unknown;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare namespace Deliveries {
|
|
73
|
+
export { type DeliveryListParams as DeliveryListParams, type DeliveryReplayParams as DeliveryReplayParams };
|
|
74
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Webhook endpoint management
|
|
11
|
+
*/
|
|
12
|
+
export class Endpoints extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Creates a webhook endpoint that receives platform events matching the supplied
|
|
15
|
+
* event-type filters. Returns the generated signing secret ONCE — the response is
|
|
16
|
+
* the only time it is shown in plaintext.
|
|
17
|
+
*/
|
|
18
|
+
create(body: EndpointCreateParams, options?: RequestOptions): APIPromise<void> {
|
|
19
|
+
return this._client.post('/webhooks/v1/endpoints', {
|
|
20
|
+
body,
|
|
21
|
+
...options,
|
|
22
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Get webhook endpoint
|
|
28
|
+
*/
|
|
29
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<void> {
|
|
30
|
+
return this._client.get(path`/webhooks/v1/endpoints/${id}`, {
|
|
31
|
+
...options,
|
|
32
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Partially updates a webhook endpoint. Any omitted field is left unchanged.
|
|
38
|
+
* Signing secrets are rotated via the separate /rotate_secret endpoint.
|
|
39
|
+
*/
|
|
40
|
+
update(id: string, body: EndpointUpdateParams, options?: RequestOptions): APIPromise<void> {
|
|
41
|
+
return this._client.patch(path`/webhooks/v1/endpoints/${id}`, {
|
|
42
|
+
body,
|
|
43
|
+
...options,
|
|
44
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Returns the organization's webhook endpoints, newest first. Signing secrets are
|
|
50
|
+
* never included.
|
|
51
|
+
*/
|
|
52
|
+
list(query: EndpointListParams | null | undefined = {}, options?: RequestOptions): APIPromise<void> {
|
|
53
|
+
return this._client.get('/webhooks/v1/endpoints', {
|
|
54
|
+
query,
|
|
55
|
+
...options,
|
|
56
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Soft-deletes a webhook endpoint. Delivery stops immediately and the endpoint no
|
|
62
|
+
* longer appears in list results. Delivery history is preserved (and can be
|
|
63
|
+
* fetched via GET /deliveries with the endpoint_id filter) so audit trails and
|
|
64
|
+
* post-mortem debugging remain possible.
|
|
65
|
+
*/
|
|
66
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
67
|
+
return this._client.delete(path`/webhooks/v1/endpoints/${id}`, {
|
|
68
|
+
...options,
|
|
69
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Generates a new signing secret for the endpoint. The previous secret remains
|
|
75
|
+
* valid until `previousSecretExpiresInSec` elapses (default 24h, max 30 days).
|
|
76
|
+
* During the grace window deliveries are signed with both secrets so receivers can
|
|
77
|
+
* migrate without downtime. Returns the new secret — this is the only time it is
|
|
78
|
+
* shown in plaintext.
|
|
79
|
+
*/
|
|
80
|
+
rotateSecret(
|
|
81
|
+
id: string,
|
|
82
|
+
body: EndpointRotateSecretParams | null | undefined = {},
|
|
83
|
+
options?: RequestOptions,
|
|
84
|
+
): APIPromise<void> {
|
|
85
|
+
return this._client.post(path`/webhooks/v1/endpoints/${id}/rotate_secret`, {
|
|
86
|
+
body,
|
|
87
|
+
...options,
|
|
88
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Synchronously delivers a synthetic `webhook.test` event to the endpoint and
|
|
94
|
+
* returns the HTTP result. No retries. Useful for validating that a new endpoint
|
|
95
|
+
* is reachable and its signature verifier works. The delivery is not persisted in
|
|
96
|
+
* the delivery history.
|
|
97
|
+
*/
|
|
98
|
+
test(
|
|
99
|
+
id: string,
|
|
100
|
+
body: EndpointTestParams | null | undefined = {},
|
|
101
|
+
options?: RequestOptions,
|
|
102
|
+
): APIPromise<void> {
|
|
103
|
+
return this._client.post(path`/webhooks/v1/endpoints/${id}/test`, {
|
|
104
|
+
body,
|
|
105
|
+
...options,
|
|
106
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export interface EndpointCreateParams {
|
|
112
|
+
/**
|
|
113
|
+
* Glob patterns of event types to deliver (e.g. "vault._", "ocr.job.completed",
|
|
114
|
+
* "_")
|
|
115
|
+
*/
|
|
116
|
+
eventTypeFilters: Array<string>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* HTTPS callback URL that will receive event deliveries
|
|
120
|
+
*/
|
|
121
|
+
url: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Human-readable label for this endpoint
|
|
125
|
+
*/
|
|
126
|
+
description?: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Optional per-resource allowlists. If vaultIds is set, only events for those
|
|
130
|
+
* vaults are delivered. Same for matterIds.
|
|
131
|
+
*/
|
|
132
|
+
resourceScopes?: EndpointCreateParams.ResourceScopes;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export namespace EndpointCreateParams {
|
|
136
|
+
/**
|
|
137
|
+
* Optional per-resource allowlists. If vaultIds is set, only events for those
|
|
138
|
+
* vaults are delivered. Same for matterIds.
|
|
139
|
+
*/
|
|
140
|
+
export interface ResourceScopes {
|
|
141
|
+
matterIds?: Array<string>;
|
|
142
|
+
|
|
143
|
+
vaultIds?: Array<string>;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface EndpointUpdateParams {
|
|
148
|
+
description?: string | null;
|
|
149
|
+
|
|
150
|
+
eventTypeFilters?: Array<string>;
|
|
151
|
+
|
|
152
|
+
resourceScopes?: EndpointUpdateParams.ResourceScopes | null;
|
|
153
|
+
|
|
154
|
+
status?: 'active' | 'disabled';
|
|
155
|
+
|
|
156
|
+
url?: string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export namespace EndpointUpdateParams {
|
|
160
|
+
export interface ResourceScopes {
|
|
161
|
+
matterIds?: Array<string>;
|
|
162
|
+
|
|
163
|
+
vaultIds?: Array<string>;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface EndpointListParams {
|
|
168
|
+
limit?: number;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Filter by endpoint status
|
|
172
|
+
*/
|
|
173
|
+
status?: 'active' | 'disabled' | 'auto_disabled';
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface EndpointRotateSecretParams {
|
|
177
|
+
/**
|
|
178
|
+
* How long (seconds) the old secret continues to be accepted. 0 invalidates
|
|
179
|
+
* immediately. Default: 86400 (24h).
|
|
180
|
+
*/
|
|
181
|
+
previousSecretExpiresInSec?: number;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface EndpointTestParams {
|
|
185
|
+
/**
|
|
186
|
+
* Event type to simulate. Defaults to "webhook.test".
|
|
187
|
+
*/
|
|
188
|
+
eventType?: string;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Custom `data` payload. Defaults to a small placeholder.
|
|
192
|
+
*/
|
|
193
|
+
payload?: unknown;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export declare namespace Endpoints {
|
|
197
|
+
export {
|
|
198
|
+
type EndpointCreateParams as EndpointCreateParams,
|
|
199
|
+
type EndpointUpdateParams as EndpointUpdateParams,
|
|
200
|
+
type EndpointListParams as EndpointListParams,
|
|
201
|
+
type EndpointRotateSecretParams as EndpointRotateSecretParams,
|
|
202
|
+
type EndpointTestParams as EndpointTestParams,
|
|
203
|
+
};
|
|
204
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Webhook endpoint management
|
|
10
|
+
*/
|
|
11
|
+
export class EventTypes extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns the catalog of event types that can be subscribed to via webhook
|
|
14
|
+
* endpoints. Each entry lists the required service scope the API key must carry to
|
|
15
|
+
* subscribe, plus the stability level.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: RequestOptions): APIPromise<void> {
|
|
18
|
+
return this._client.get('/webhooks/v1/event_types', {
|
|
19
|
+
...options,
|
|
20
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { Deliveries, type DeliveryListParams, type DeliveryReplayParams } from './deliveries';
|
|
4
|
+
export {
|
|
5
|
+
Endpoints,
|
|
6
|
+
type EndpointCreateParams,
|
|
7
|
+
type EndpointUpdateParams,
|
|
8
|
+
type EndpointListParams,
|
|
9
|
+
type EndpointRotateSecretParams,
|
|
10
|
+
type EndpointTestParams,
|
|
11
|
+
} from './endpoints';
|
|
12
|
+
export { EventTypes } from './event-types';
|
|
13
|
+
export { V1 } from './v1';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as DeliveriesAPI from './deliveries';
|
|
5
|
+
import { Deliveries, DeliveryListParams, DeliveryReplayParams } from './deliveries';
|
|
6
|
+
import * as EndpointsAPI from './endpoints';
|
|
7
|
+
import {
|
|
8
|
+
EndpointCreateParams,
|
|
9
|
+
EndpointListParams,
|
|
10
|
+
EndpointRotateSecretParams,
|
|
11
|
+
EndpointTestParams,
|
|
12
|
+
EndpointUpdateParams,
|
|
13
|
+
Endpoints,
|
|
14
|
+
} from './endpoints';
|
|
15
|
+
import * as EventTypesAPI from './event-types';
|
|
16
|
+
import { EventTypes } from './event-types';
|
|
17
|
+
|
|
18
|
+
export class V1 extends APIResource {
|
|
19
|
+
endpoints: EndpointsAPI.Endpoints = new EndpointsAPI.Endpoints(this._client);
|
|
20
|
+
deliveries: DeliveriesAPI.Deliveries = new DeliveriesAPI.Deliveries(this._client);
|
|
21
|
+
eventTypes: EventTypesAPI.EventTypes = new EventTypesAPI.EventTypes(this._client);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
V1.Endpoints = Endpoints;
|
|
25
|
+
V1.Deliveries = Deliveries;
|
|
26
|
+
V1.EventTypes = EventTypes;
|
|
27
|
+
|
|
28
|
+
export declare namespace V1 {
|
|
29
|
+
export {
|
|
30
|
+
Endpoints as Endpoints,
|
|
31
|
+
type EndpointCreateParams as EndpointCreateParams,
|
|
32
|
+
type EndpointUpdateParams as EndpointUpdateParams,
|
|
33
|
+
type EndpointListParams as EndpointListParams,
|
|
34
|
+
type EndpointRotateSecretParams as EndpointRotateSecretParams,
|
|
35
|
+
type EndpointTestParams as EndpointTestParams,
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
Deliveries as Deliveries,
|
|
40
|
+
type DeliveryListParams as DeliveryListParams,
|
|
41
|
+
type DeliveryReplayParams as DeliveryReplayParams,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export { EventTypes as EventTypes };
|
|
45
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as V1API from './v1/v1';
|
|
5
|
+
import { V1 } from './v1/v1';
|
|
6
|
+
|
|
7
|
+
export class Webhooks extends APIResource {
|
|
8
|
+
v1: V1API.V1 = new V1API.V1(this._client);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
Webhooks.V1 = V1;
|
|
12
|
+
|
|
13
|
+
export declare namespace Webhooks {
|
|
14
|
+
export { V1 as V1 };
|
|
15
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.56.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.56.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.56.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.56.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../../core/resource.mjs";
|
|
2
|
-
import * as FilesAPI from "./files.mjs";
|
|
3
|
-
import { FileDownloadParams, FileListResponse, Files } from "./files.mjs";
|
|
4
|
-
import { APIPromise } from "../../../../core/api-promise.mjs";
|
|
5
|
-
import { Stream } from "../../../../core/streaming.mjs";
|
|
6
|
-
import { RequestOptions } from "../../../../internal/request-options.mjs";
|
|
7
|
-
/**
|
|
8
|
-
* Create, manage, and execute AI agents with tool access, sandbox environments, and async run workflows
|
|
9
|
-
*/
|
|
10
|
-
export declare class Chat extends APIResource {
|
|
11
|
-
files: FilesAPI.Files;
|
|
12
|
-
/**
|
|
13
|
-
* Creates a persistent OpenCode chat session backed by a Daytona runtime. Session
|
|
14
|
-
* state is retained and can be resumed or recovered across requests.
|
|
15
|
-
*/
|
|
16
|
-
create(body?: ChatCreateParams | null | undefined, options?: RequestOptions): APIPromise<ChatCreateResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* Terminates the active Daytona runtime (if any), then marks the chat as ended.
|
|
19
|
-
*/
|
|
20
|
-
delete(id: string, options?: RequestOptions): APIPromise<ChatDeleteResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* Aborts the active OpenCode generation for this Daytona-backed chat session.
|
|
23
|
-
*/
|
|
24
|
-
cancel(id: string, options?: RequestOptions): APIPromise<ChatCancelResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* Returns a short-lived token that allows browser clients to connect directly to
|
|
27
|
-
* the agent chat SSE stream without exposing the underlying org API key.
|
|
28
|
-
*/
|
|
29
|
-
createStreamToken(id: string, options?: RequestOptions): APIPromise<ChatCreateStreamTokenResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* Answers a pending OpenCode question for the Daytona-backed chat session and
|
|
32
|
-
* resumes or recovers the runtime if needed.
|
|
33
|
-
*/
|
|
34
|
-
replyToQuestion(requestID: string, params: ChatReplyToQuestionParams, options?: RequestOptions): APIPromise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Streams a single assistant turn from a Daytona-backed chat runtime as normalized
|
|
37
|
-
* SSE events with stable turn, message, and part IDs. Emits events:
|
|
38
|
-
* `turn.started`, `turn.status`, `message.created`, `message.part.updated`,
|
|
39
|
-
* `message.completed`, `session.usage`, `turn.completed`.
|
|
40
|
-
*
|
|
41
|
-
* **When to use this endpoint:** Recommended for building custom chat UIs that
|
|
42
|
-
* need real-time streaming progress. This is the primary streaming endpoint for
|
|
43
|
-
* new integrations.
|
|
44
|
-
*
|
|
45
|
-
* **Alternatives:**
|
|
46
|
-
*
|
|
47
|
-
* - `POST /chat/:id/message` — synchronous, returns complete response as JSON
|
|
48
|
-
* (best for server-to-server)
|
|
49
|
-
*/
|
|
50
|
-
respond(id: string, body: ChatRespondParams, options?: RequestOptions): APIPromise<Stream<ChatRespondResponse>>;
|
|
51
|
-
/**
|
|
52
|
-
* Sends a message to a Daytona-backed chat runtime and returns the complete
|
|
53
|
-
* response as a single JSON body. Blocks until the assistant turn completes.
|
|
54
|
-
*
|
|
55
|
-
* **When to use this endpoint:** Best for server-to-server integrations,
|
|
56
|
-
* background processing, or any context where you want the full response in one
|
|
57
|
-
* call without managing an SSE stream.
|
|
58
|
-
*
|
|
59
|
-
* **Alternatives:**
|
|
60
|
-
*
|
|
61
|
-
* - `POST /chat/:id/respond` — streaming SSE with normalized events (recommended
|
|
62
|
-
* for custom chat UIs)
|
|
63
|
-
*/
|
|
64
|
-
sendMessage(id: string, body: ChatSendMessageParams, options?: RequestOptions): APIPromise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Relays OpenCode SSE events for this Daytona-backed chat runtime. Supports replay
|
|
67
|
-
* from buffered events using Last-Event-ID and transparently reconnects stopped or
|
|
68
|
-
* archived runtimes. Accepts either Bearer token auth or a short-lived stream
|
|
69
|
-
* token via query parameter. When both are provided, Bearer auth takes precedence.
|
|
70
|
-
*/
|
|
71
|
-
stream(id: string, query?: ChatStreamParams | undefined, options?: RequestOptions): APIPromise<Stream<ChatStreamResponse>>;
|
|
72
|
-
}
|
|
73
|
-
export interface ChatCreateResponse {
|
|
74
|
-
id?: string;
|
|
75
|
-
createdAt?: string;
|
|
76
|
-
idleTimeoutMs?: number;
|
|
77
|
-
provider?: 'daytona';
|
|
78
|
-
runtimeState?: string;
|
|
79
|
-
status?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface ChatDeleteResponse {
|
|
82
|
-
id?: string;
|
|
83
|
-
cost?: number;
|
|
84
|
-
provider?: string | null;
|
|
85
|
-
runtimeId?: string | null;
|
|
86
|
-
runtimeMs?: number;
|
|
87
|
-
status?: string;
|
|
88
|
-
}
|
|
89
|
-
export interface ChatCancelResponse {
|
|
90
|
-
id?: string;
|
|
91
|
-
ok?: boolean;
|
|
92
|
-
}
|
|
93
|
-
export interface ChatCreateStreamTokenResponse {
|
|
94
|
-
token: string;
|
|
95
|
-
expiresAt: string;
|
|
96
|
-
streamUrl: string;
|
|
97
|
-
}
|
|
98
|
-
export type ChatRespondResponse = string;
|
|
99
|
-
export type ChatStreamResponse = string;
|
|
100
|
-
export interface ChatCreateParams {
|
|
101
|
-
/**
|
|
102
|
-
* Idle timeout before the runtime is eligible to stop. Defaults to 15 minutes.
|
|
103
|
-
*/
|
|
104
|
-
idleTimeoutMs?: number | null;
|
|
105
|
-
/**
|
|
106
|
-
* Optional hidden app instructions merged into the chat runtime bootstrap and
|
|
107
|
-
* never exposed as a user message. Only accepted for privileged C3 system keys.
|
|
108
|
-
*/
|
|
109
|
-
instructions?: string | null;
|
|
110
|
-
/**
|
|
111
|
-
* Optional model override for the OpenCode session
|
|
112
|
-
*/
|
|
113
|
-
model?: string | null;
|
|
114
|
-
/**
|
|
115
|
-
* Optional human-readable session title
|
|
116
|
-
*/
|
|
117
|
-
title?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Restrict the chat session to specific vault IDs
|
|
120
|
-
*/
|
|
121
|
-
vaultIds?: Array<string> | null;
|
|
122
|
-
}
|
|
123
|
-
export interface ChatReplyToQuestionParams {
|
|
124
|
-
/**
|
|
125
|
-
* Path param: Chat session ID
|
|
126
|
-
*/
|
|
127
|
-
id: string;
|
|
128
|
-
/**
|
|
129
|
-
* Body param: Answer selections for each prompt element in the pending question
|
|
130
|
-
*/
|
|
131
|
-
answers: Array<Array<string>>;
|
|
132
|
-
}
|
|
133
|
-
export interface ChatRespondParams {
|
|
134
|
-
/**
|
|
135
|
-
* Optional model override. When provided, the runtime bootstrap config is updated
|
|
136
|
-
* so subsequent turns use this model. Conversation history is preserved.
|
|
137
|
-
*/
|
|
138
|
-
model?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Message content parts. Currently only "text" type is supported. Additional types
|
|
141
|
-
* (e.g. file, image) may be added in future versions.
|
|
142
|
-
*/
|
|
143
|
-
parts?: Array<ChatRespondParams.Part>;
|
|
144
|
-
}
|
|
145
|
-
export declare namespace ChatRespondParams {
|
|
146
|
-
interface Part {
|
|
147
|
-
/**
|
|
148
|
-
* The message text content
|
|
149
|
-
*/
|
|
150
|
-
text: string;
|
|
151
|
-
/**
|
|
152
|
-
* Part type. Currently only "text" is supported.
|
|
153
|
-
*/
|
|
154
|
-
type: 'text';
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
export interface ChatSendMessageParams {
|
|
158
|
-
/**
|
|
159
|
-
* Optional model override. When provided, the runtime bootstrap config is updated
|
|
160
|
-
* so subsequent turns use this model. Conversation history is preserved.
|
|
161
|
-
*/
|
|
162
|
-
model?: string | null;
|
|
163
|
-
/**
|
|
164
|
-
* Message content parts. Currently only "text" type is supported. Additional types
|
|
165
|
-
* (e.g. file, image) may be added in future versions.
|
|
166
|
-
*/
|
|
167
|
-
parts?: Array<ChatSendMessageParams.Part>;
|
|
168
|
-
}
|
|
169
|
-
export declare namespace ChatSendMessageParams {
|
|
170
|
-
interface Part {
|
|
171
|
-
/**
|
|
172
|
-
* The message text content
|
|
173
|
-
*/
|
|
174
|
-
text: string;
|
|
175
|
-
/**
|
|
176
|
-
* Part type. Currently only "text" is supported.
|
|
177
|
-
*/
|
|
178
|
-
type: 'text';
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
export interface ChatStreamParams {
|
|
182
|
-
/**
|
|
183
|
-
* Short-lived stream token from POST /agent/v2/chat/:id/stream-token. If provided,
|
|
184
|
-
* Bearer auth is not required.
|
|
185
|
-
*/
|
|
186
|
-
token?: string;
|
|
187
|
-
/**
|
|
188
|
-
* Replay events after this sequence number
|
|
189
|
-
*/
|
|
190
|
-
lastEventId?: number;
|
|
191
|
-
}
|
|
192
|
-
export declare namespace Chat {
|
|
193
|
-
export { type ChatCreateResponse as ChatCreateResponse, type ChatDeleteResponse as ChatDeleteResponse, type ChatCancelResponse as ChatCancelResponse, type ChatCreateStreamTokenResponse as ChatCreateStreamTokenResponse, type ChatRespondResponse as ChatRespondResponse, type ChatStreamResponse as ChatStreamResponse, type ChatCreateParams as ChatCreateParams, type ChatReplyToQuestionParams as ChatReplyToQuestionParams, type ChatRespondParams as ChatRespondParams, type ChatSendMessageParams as ChatSendMessageParams, type ChatStreamParams as ChatStreamParams, };
|
|
194
|
-
export { Files as Files, type FileListResponse as FileListResponse, type FileDownloadParams as FileDownloadParams, };
|
|
195
|
-
}
|
|
196
|
-
//# sourceMappingURL=chat.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../../../src/resources/agent/v2/chat/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,KAAK,EAAE;OAC/C,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;OAGG;IACH,MAAM,CACJ,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI5E;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI5E;;;OAGG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIlG;;;OAGG;IACH,eAAe,CACb,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IASnB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,iBAAiB,EACvB,OAAO,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