@archastro/sdk 0.20.0 → 0.21.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/dist/channels/api_artifact_channel.d.ts +48 -0
- package/dist/channels/api_artifact_channel.d.ts.map +1 -0
- package/dist/channels/api_artifact_channel.js +85 -0
- package/dist/channels/api_artifact_channel.js.map +1 -0
- package/dist/client.d.ts +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +7 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ai.d.ts +124 -10
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +27 -7
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +351 -0
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/artifacts.js +65 -1
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +22 -22
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +7 -7
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +388 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +1132 -287
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +146 -28
- package/dist/types/common.js.map +1 -1
- package/dist/types/computers.d.ts +22 -0
- package/dist/types/computers.d.ts.map +1 -0
- package/dist/types/computers.js +12 -0
- package/dist/types/computers.js.map +1 -0
- package/dist/types/events.d.ts +34 -16
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/events.js +3 -1
- package/dist/types/events.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/relays.d.ts +22 -0
- package/dist/types/relays.d.ts.map +1 -0
- package/dist/types/relays.js +12 -0
- package/dist/types/relays.js.map +1 -0
- package/dist/types/tasks.d.ts +598 -14
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +43 -11
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/threads.d.ts +64 -0
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.d.ts +33 -1
- package/dist/v1/resources/agent_computers.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.js +17 -1
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_requests.d.ts +54 -0
- package/dist/v1/resources/agent_requests.d.ts.map +1 -0
- package/dist/v1/resources/agent_requests.js +71 -0
- package/dist/v1/resources/agent_requests.js.map +1 -0
- package/dist/v1/resources/agent_sessions.d.ts +23 -1
- package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
- package/dist/v1/resources/agent_sessions.js +26 -1
- package/dist/v1/resources/agent_sessions.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +31 -1
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +12 -2
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +55 -4
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +44 -4
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +34 -2
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +3 -2
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/custom_objects.d.ts +94 -0
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +60 -1
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/event_subscriptions.d.ts +12 -0
- package/dist/v1/resources/event_subscriptions.d.ts.map +1 -1
- package/dist/v1/resources/event_subscriptions.js +7 -1
- package/dist/v1/resources/event_subscriptions.js.map +1 -1
- package/dist/v1/resources/files.d.ts +32 -10
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +32 -11
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +3 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +4 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/knowledge_sources.d.ts +4 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +1 -1
- package/dist/v1/resources/kv.d.ts +75 -31
- package/dist/v1/resources/kv.d.ts.map +1 -1
- package/dist/v1/resources/kv.js +79 -32
- package/dist/v1/resources/kv.js.map +1 -1
- package/dist/v1/resources/notifications.d.ts +14 -0
- package/dist/v1/resources/notifications.d.ts.map +1 -1
- package/dist/v1/resources/notifications.js +13 -1
- package/dist/v1/resources/notifications.js.map +1 -1
- package/dist/v1/resources/oauth.d.ts +2 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -1
- package/dist/v1/resources/oauth.js +2 -1
- package/dist/v1/resources/oauth.js.map +1 -1
- package/dist/v1/resources/orgs.d.ts +630 -1
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +351 -2
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/private_service_enrollments.d.ts +7 -0
- package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -1
- package/dist/v1/resources/private_service_enrollments.js +10 -1
- package/dist/v1/resources/private_service_enrollments.js.map +1 -1
- package/dist/v1/resources/relays.d.ts +38 -0
- package/dist/v1/resources/relays.d.ts.map +1 -0
- package/dist/v1/resources/relays.js +44 -0
- package/dist/v1/resources/relays.js.map +1 -0
- package/dist/v1/resources/scripts.d.ts +20 -9
- package/dist/v1/resources/scripts.d.ts.map +1 -1
- package/dist/v1/resources/scripts.js +18 -10
- package/dist/v1/resources/scripts.js.map +1 -1
- package/dist/v1/resources/task_ownership_conversions.d.ts +14 -0
- package/dist/v1/resources/task_ownership_conversions.d.ts.map +1 -0
- package/dist/v1/resources/task_ownership_conversions.js +19 -0
- package/dist/v1/resources/task_ownership_conversions.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +62 -1
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +35 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +129 -1
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +71 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +76 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +42 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +129 -3
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +73 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/workflows.d.ts +5 -1
- package/dist/v1/resources/workflows.d.ts.map +1 -1
- package/dist/v1/resources/workflows.js +6 -2
- package/dist/v1/resources/workflows.js.map +1 -1
- package/dist/v1.d.ts +6 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +10 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computers.d.ts","sourceRoot":"","sources":["../../src/types/computers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,0IAA0I;AAC1I,MAAM,WAAW,kBAAkB;IACjC,kKAAkK;IAClK,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,+GAA+G;IAC/G,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED,wDAAwD;AACxD,eAAO,MAAM,wBAAwB;IACnC,kKAAkK;;IAElK,+GAA+G;;;;;;;;EAEyE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
|
+
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
+
// Content hash: 946c53eabd10
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
/** Runtime validator for {@link ComputerExecResult}. */
|
|
6
|
+
export const computerExecResultSchema = z.object({
|
|
7
|
+
/** The UNIX exit code returned by the process. `0` indicates success; any non-zero value indicates an error. `null` if the process did not terminate normally. */
|
|
8
|
+
exit_code: z.number().int().optional().describe("The UNIX exit code returned by the process. `0` indicates success; any non-zero value indicates an error. `null` if the process did not terminate normally."),
|
|
9
|
+
/** The combined stdout and stderr output produced by the command. `null` if the command produced no output. */
|
|
10
|
+
output: z.string().optional().describe("The combined stdout and stderr output produced by the command. `null` if the command produced no output."),
|
|
11
|
+
}).describe("The result of executing a shell command on an agent's computer environment. Contains the captured output and the process exit code.");
|
|
12
|
+
//# sourceMappingURL=computers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computers.js","sourceRoot":"","sources":["../../src/types/computers.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,wDAAwD;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,kKAAkK;IAClK,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6JAA6J,CAAC;IAC9M,+GAA+G;IAC/G,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0GAA0G,CAAC;CACnJ,CAAC,CAAC,QAAQ,CAAC,qIAAqI,CAAyC,CAAC"}
|
package/dist/types/events.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface EventSubscription {
|
|
|
8
8
|
dropped_events_total: number;
|
|
9
9
|
dropped_through_position: number;
|
|
10
10
|
event_names: string[];
|
|
11
|
+
filter?: Record<string, unknown> | undefined;
|
|
11
12
|
id: string;
|
|
12
13
|
last_overflow_at?: string | undefined;
|
|
13
14
|
leased_count: number;
|
|
@@ -22,6 +23,7 @@ export interface EventSubscription {
|
|
|
22
23
|
updated_at: string;
|
|
23
24
|
user?: string | undefined;
|
|
24
25
|
visibility_timeout_seconds: number;
|
|
26
|
+
watch_key?: string | undefined;
|
|
25
27
|
}
|
|
26
28
|
/** Runtime validator for {@link EventSubscription}. */
|
|
27
29
|
export declare const eventSubscriptionSchema: z.ZodObject<{
|
|
@@ -31,6 +33,7 @@ export declare const eventSubscriptionSchema: z.ZodObject<{
|
|
|
31
33
|
dropped_events_total: z.ZodNumber;
|
|
32
34
|
dropped_through_position: z.ZodNumber;
|
|
33
35
|
event_names: z.ZodArray<z.ZodString, "many">;
|
|
36
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
34
37
|
id: z.ZodString;
|
|
35
38
|
last_overflow_at: z.ZodOptional<z.ZodString>;
|
|
36
39
|
leased_count: z.ZodNumber;
|
|
@@ -45,6 +48,7 @@ export declare const eventSubscriptionSchema: z.ZodObject<{
|
|
|
45
48
|
updated_at: z.ZodString;
|
|
46
49
|
user: z.ZodOptional<z.ZodString>;
|
|
47
50
|
visibility_timeout_seconds: z.ZodNumber;
|
|
51
|
+
watch_key: z.ZodOptional<z.ZodString>;
|
|
48
52
|
}, "strip", z.ZodTypeAny, {
|
|
49
53
|
name: string;
|
|
50
54
|
status: "active" | "paused";
|
|
@@ -61,11 +65,13 @@ export declare const eventSubscriptionSchema: z.ZodObject<{
|
|
|
61
65
|
retention_seconds: number;
|
|
62
66
|
visibility_timeout_seconds: number;
|
|
63
67
|
user?: string | undefined;
|
|
68
|
+
filter?: Record<string, {} | null> | undefined;
|
|
64
69
|
org?: string | undefined;
|
|
65
70
|
agent?: string | undefined;
|
|
66
71
|
team?: string | undefined;
|
|
67
72
|
sandbox?: string | undefined;
|
|
68
73
|
last_overflow_at?: string | undefined;
|
|
74
|
+
watch_key?: string | undefined;
|
|
69
75
|
}, {
|
|
70
76
|
name: string;
|
|
71
77
|
status: "active" | "paused";
|
|
@@ -82,11 +88,13 @@ export declare const eventSubscriptionSchema: z.ZodObject<{
|
|
|
82
88
|
retention_seconds: number;
|
|
83
89
|
visibility_timeout_seconds: number;
|
|
84
90
|
user?: string | undefined;
|
|
91
|
+
filter?: Record<string, {} | null> | undefined;
|
|
85
92
|
org?: string | undefined;
|
|
86
93
|
agent?: string | undefined;
|
|
87
94
|
team?: string | undefined;
|
|
88
95
|
sandbox?: string | undefined;
|
|
89
96
|
last_overflow_at?: string | undefined;
|
|
97
|
+
watch_key?: string | undefined;
|
|
90
98
|
}>;
|
|
91
99
|
/** A domain event leased from a subscription queue. */
|
|
92
100
|
export interface EventSubscriptionDelivery {
|
|
@@ -141,7 +149,6 @@ export declare const eventSubscriptionDeliverySchema: z.ZodObject<{
|
|
|
141
149
|
}, "strip", z.ZodTypeAny, {
|
|
142
150
|
sequence: number;
|
|
143
151
|
lease_expires_at: string;
|
|
144
|
-
delivery_id: string;
|
|
145
152
|
event: {
|
|
146
153
|
payload: Record<string, {} | null>;
|
|
147
154
|
created_at: string;
|
|
@@ -154,12 +161,12 @@ export declare const eventSubscriptionDeliverySchema: z.ZodObject<{
|
|
|
154
161
|
sandbox?: string | undefined;
|
|
155
162
|
idempotency_key?: string | undefined;
|
|
156
163
|
};
|
|
164
|
+
delivery_id: string;
|
|
157
165
|
receipt_handle: string;
|
|
158
166
|
receive_count: number;
|
|
159
167
|
}, {
|
|
160
168
|
sequence: number;
|
|
161
169
|
lease_expires_at: string;
|
|
162
|
-
delivery_id: string;
|
|
163
170
|
event: {
|
|
164
171
|
payload: Record<string, {} | null>;
|
|
165
172
|
created_at: string;
|
|
@@ -172,6 +179,7 @@ export declare const eventSubscriptionDeliverySchema: z.ZodObject<{
|
|
|
172
179
|
sandbox?: string | undefined;
|
|
173
180
|
idempotency_key?: string | undefined;
|
|
174
181
|
};
|
|
182
|
+
delivery_id: string;
|
|
175
183
|
receipt_handle: string;
|
|
176
184
|
receive_count: number;
|
|
177
185
|
}>;
|
|
@@ -228,7 +236,6 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
228
236
|
}, "strip", z.ZodTypeAny, {
|
|
229
237
|
sequence: number;
|
|
230
238
|
lease_expires_at: string;
|
|
231
|
-
delivery_id: string;
|
|
232
239
|
event: {
|
|
233
240
|
payload: Record<string, {} | null>;
|
|
234
241
|
created_at: string;
|
|
@@ -241,12 +248,12 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
241
248
|
sandbox?: string | undefined;
|
|
242
249
|
idempotency_key?: string | undefined;
|
|
243
250
|
};
|
|
251
|
+
delivery_id: string;
|
|
244
252
|
receipt_handle: string;
|
|
245
253
|
receive_count: number;
|
|
246
254
|
}, {
|
|
247
255
|
sequence: number;
|
|
248
256
|
lease_expires_at: string;
|
|
249
|
-
delivery_id: string;
|
|
250
257
|
event: {
|
|
251
258
|
payload: Record<string, {} | null>;
|
|
252
259
|
created_at: string;
|
|
@@ -259,6 +266,7 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
259
266
|
sandbox?: string | undefined;
|
|
260
267
|
idempotency_key?: string | undefined;
|
|
261
268
|
};
|
|
269
|
+
delivery_id: string;
|
|
262
270
|
receipt_handle: string;
|
|
263
271
|
receive_count: number;
|
|
264
272
|
}>, "many">;
|
|
@@ -270,7 +278,6 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
270
278
|
data: {
|
|
271
279
|
sequence: number;
|
|
272
280
|
lease_expires_at: string;
|
|
273
|
-
delivery_id: string;
|
|
274
281
|
event: {
|
|
275
282
|
payload: Record<string, {} | null>;
|
|
276
283
|
created_at: string;
|
|
@@ -283,6 +290,7 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
283
290
|
sandbox?: string | undefined;
|
|
284
291
|
idempotency_key?: string | undefined;
|
|
285
292
|
};
|
|
293
|
+
delivery_id: string;
|
|
286
294
|
receipt_handle: string;
|
|
287
295
|
receive_count: number;
|
|
288
296
|
}[];
|
|
@@ -294,7 +302,6 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
294
302
|
data: {
|
|
295
303
|
sequence: number;
|
|
296
304
|
lease_expires_at: string;
|
|
297
|
-
delivery_id: string;
|
|
298
305
|
event: {
|
|
299
306
|
payload: Record<string, {} | null>;
|
|
300
307
|
created_at: string;
|
|
@@ -307,6 +314,7 @@ export declare const eventSubscriptionClaimSchema: z.ZodObject<{
|
|
|
307
314
|
sandbox?: string | undefined;
|
|
308
315
|
idempotency_key?: string | undefined;
|
|
309
316
|
};
|
|
317
|
+
delivery_id: string;
|
|
310
318
|
receipt_handle: string;
|
|
311
319
|
receive_count: number;
|
|
312
320
|
}[];
|
|
@@ -368,7 +376,6 @@ export declare const eventSubscriptionQueueEntrySchema: z.ZodObject<{
|
|
|
368
376
|
}, "strip", z.ZodTypeAny, {
|
|
369
377
|
sequence: number;
|
|
370
378
|
state: "available" | "leased";
|
|
371
|
-
delivery_id: string;
|
|
372
379
|
event: {
|
|
373
380
|
payload: Record<string, {} | null>;
|
|
374
381
|
created_at: string;
|
|
@@ -381,12 +388,12 @@ export declare const eventSubscriptionQueueEntrySchema: z.ZodObject<{
|
|
|
381
388
|
sandbox?: string | undefined;
|
|
382
389
|
idempotency_key?: string | undefined;
|
|
383
390
|
};
|
|
391
|
+
delivery_id: string;
|
|
384
392
|
receive_count: number;
|
|
385
393
|
lease_expires_at?: string | undefined;
|
|
386
394
|
}, {
|
|
387
395
|
sequence: number;
|
|
388
396
|
state: "available" | "leased";
|
|
389
|
-
delivery_id: string;
|
|
390
397
|
event: {
|
|
391
398
|
payload: Record<string, {} | null>;
|
|
392
399
|
created_at: string;
|
|
@@ -399,6 +406,7 @@ export declare const eventSubscriptionQueueEntrySchema: z.ZodObject<{
|
|
|
399
406
|
sandbox?: string | undefined;
|
|
400
407
|
idempotency_key?: string | undefined;
|
|
401
408
|
};
|
|
409
|
+
delivery_id: string;
|
|
402
410
|
receive_count: number;
|
|
403
411
|
lease_expires_at?: string | undefined;
|
|
404
412
|
}>;
|
|
@@ -451,7 +459,6 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
451
459
|
}, "strip", z.ZodTypeAny, {
|
|
452
460
|
sequence: number;
|
|
453
461
|
state: "available" | "leased";
|
|
454
|
-
delivery_id: string;
|
|
455
462
|
event: {
|
|
456
463
|
payload: Record<string, {} | null>;
|
|
457
464
|
created_at: string;
|
|
@@ -464,12 +471,12 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
464
471
|
sandbox?: string | undefined;
|
|
465
472
|
idempotency_key?: string | undefined;
|
|
466
473
|
};
|
|
474
|
+
delivery_id: string;
|
|
467
475
|
receive_count: number;
|
|
468
476
|
lease_expires_at?: string | undefined;
|
|
469
477
|
}, {
|
|
470
478
|
sequence: number;
|
|
471
479
|
state: "available" | "leased";
|
|
472
|
-
delivery_id: string;
|
|
473
480
|
event: {
|
|
474
481
|
payload: Record<string, {} | null>;
|
|
475
482
|
created_at: string;
|
|
@@ -482,6 +489,7 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
482
489
|
sandbox?: string | undefined;
|
|
483
490
|
idempotency_key?: string | undefined;
|
|
484
491
|
};
|
|
492
|
+
delivery_id: string;
|
|
485
493
|
receive_count: number;
|
|
486
494
|
lease_expires_at?: string | undefined;
|
|
487
495
|
}>>;
|
|
@@ -489,7 +497,6 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
489
497
|
data?: {
|
|
490
498
|
sequence: number;
|
|
491
499
|
state: "available" | "leased";
|
|
492
|
-
delivery_id: string;
|
|
493
500
|
event: {
|
|
494
501
|
payload: Record<string, {} | null>;
|
|
495
502
|
created_at: string;
|
|
@@ -502,6 +509,7 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
502
509
|
sandbox?: string | undefined;
|
|
503
510
|
idempotency_key?: string | undefined;
|
|
504
511
|
};
|
|
512
|
+
delivery_id: string;
|
|
505
513
|
receive_count: number;
|
|
506
514
|
lease_expires_at?: string | undefined;
|
|
507
515
|
} | undefined;
|
|
@@ -509,7 +517,6 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
509
517
|
data?: {
|
|
510
518
|
sequence: number;
|
|
511
519
|
state: "available" | "leased";
|
|
512
|
-
delivery_id: string;
|
|
513
520
|
event: {
|
|
514
521
|
payload: Record<string, {} | null>;
|
|
515
522
|
created_at: string;
|
|
@@ -522,6 +529,7 @@ export declare const eventSubscriptionHeadSchema: z.ZodObject<{
|
|
|
522
529
|
sandbox?: string | undefined;
|
|
523
530
|
idempotency_key?: string | undefined;
|
|
524
531
|
};
|
|
532
|
+
delivery_id: string;
|
|
525
533
|
receive_count: number;
|
|
526
534
|
lease_expires_at?: string | undefined;
|
|
527
535
|
} | undefined;
|
|
@@ -543,6 +551,7 @@ export declare const eventSubscriptionPageSchema: z.ZodObject<{
|
|
|
543
551
|
dropped_events_total: z.ZodNumber;
|
|
544
552
|
dropped_through_position: z.ZodNumber;
|
|
545
553
|
event_names: z.ZodArray<z.ZodString, "many">;
|
|
554
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
546
555
|
id: z.ZodString;
|
|
547
556
|
last_overflow_at: z.ZodOptional<z.ZodString>;
|
|
548
557
|
leased_count: z.ZodNumber;
|
|
@@ -557,6 +566,7 @@ export declare const eventSubscriptionPageSchema: z.ZodObject<{
|
|
|
557
566
|
updated_at: z.ZodString;
|
|
558
567
|
user: z.ZodOptional<z.ZodString>;
|
|
559
568
|
visibility_timeout_seconds: z.ZodNumber;
|
|
569
|
+
watch_key: z.ZodOptional<z.ZodString>;
|
|
560
570
|
}, "strip", z.ZodTypeAny, {
|
|
561
571
|
name: string;
|
|
562
572
|
status: "active" | "paused";
|
|
@@ -573,11 +583,13 @@ export declare const eventSubscriptionPageSchema: z.ZodObject<{
|
|
|
573
583
|
retention_seconds: number;
|
|
574
584
|
visibility_timeout_seconds: number;
|
|
575
585
|
user?: string | undefined;
|
|
586
|
+
filter?: Record<string, {} | null> | undefined;
|
|
576
587
|
org?: string | undefined;
|
|
577
588
|
agent?: string | undefined;
|
|
578
589
|
team?: string | undefined;
|
|
579
590
|
sandbox?: string | undefined;
|
|
580
591
|
last_overflow_at?: string | undefined;
|
|
592
|
+
watch_key?: string | undefined;
|
|
581
593
|
}, {
|
|
582
594
|
name: string;
|
|
583
595
|
status: "active" | "paused";
|
|
@@ -594,11 +606,13 @@ export declare const eventSubscriptionPageSchema: z.ZodObject<{
|
|
|
594
606
|
retention_seconds: number;
|
|
595
607
|
visibility_timeout_seconds: number;
|
|
596
608
|
user?: string | undefined;
|
|
609
|
+
filter?: Record<string, {} | null> | undefined;
|
|
597
610
|
org?: string | undefined;
|
|
598
611
|
agent?: string | undefined;
|
|
599
612
|
team?: string | undefined;
|
|
600
613
|
sandbox?: string | undefined;
|
|
601
614
|
last_overflow_at?: string | undefined;
|
|
615
|
+
watch_key?: string | undefined;
|
|
602
616
|
}>, "many">;
|
|
603
617
|
page: z.ZodNumber;
|
|
604
618
|
per_page: z.ZodNumber;
|
|
@@ -621,11 +635,13 @@ export declare const eventSubscriptionPageSchema: z.ZodObject<{
|
|
|
621
635
|
retention_seconds: number;
|
|
622
636
|
visibility_timeout_seconds: number;
|
|
623
637
|
user?: string | undefined;
|
|
638
|
+
filter?: Record<string, {} | null> | undefined;
|
|
624
639
|
org?: string | undefined;
|
|
625
640
|
agent?: string | undefined;
|
|
626
641
|
team?: string | undefined;
|
|
627
642
|
sandbox?: string | undefined;
|
|
628
643
|
last_overflow_at?: string | undefined;
|
|
644
|
+
watch_key?: string | undefined;
|
|
629
645
|
}[];
|
|
630
646
|
page: number;
|
|
631
647
|
total_pages: number;
|
|
@@ -648,11 +664,13 @@ export declare const eventSubscriptionPageSchema: z.ZodObject<{
|
|
|
648
664
|
retention_seconds: number;
|
|
649
665
|
visibility_timeout_seconds: number;
|
|
650
666
|
user?: string | undefined;
|
|
667
|
+
filter?: Record<string, {} | null> | undefined;
|
|
651
668
|
org?: string | undefined;
|
|
652
669
|
agent?: string | undefined;
|
|
653
670
|
team?: string | undefined;
|
|
654
671
|
sandbox?: string | undefined;
|
|
655
672
|
last_overflow_at?: string | undefined;
|
|
673
|
+
watch_key?: string | undefined;
|
|
656
674
|
}[];
|
|
657
675
|
page: number;
|
|
658
676
|
total_pages: number;
|
|
@@ -716,7 +734,6 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
716
734
|
}, "strip", z.ZodTypeAny, {
|
|
717
735
|
sequence: number;
|
|
718
736
|
state: "available" | "leased";
|
|
719
|
-
delivery_id: string;
|
|
720
737
|
event: {
|
|
721
738
|
payload: Record<string, {} | null>;
|
|
722
739
|
created_at: string;
|
|
@@ -729,12 +746,12 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
729
746
|
sandbox?: string | undefined;
|
|
730
747
|
idempotency_key?: string | undefined;
|
|
731
748
|
};
|
|
749
|
+
delivery_id: string;
|
|
732
750
|
receive_count: number;
|
|
733
751
|
lease_expires_at?: string | undefined;
|
|
734
752
|
}, {
|
|
735
753
|
sequence: number;
|
|
736
754
|
state: "available" | "leased";
|
|
737
|
-
delivery_id: string;
|
|
738
755
|
event: {
|
|
739
756
|
payload: Record<string, {} | null>;
|
|
740
757
|
created_at: string;
|
|
@@ -747,6 +764,7 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
747
764
|
sandbox?: string | undefined;
|
|
748
765
|
idempotency_key?: string | undefined;
|
|
749
766
|
};
|
|
767
|
+
delivery_id: string;
|
|
750
768
|
receive_count: number;
|
|
751
769
|
lease_expires_at?: string | undefined;
|
|
752
770
|
}>, "many">;
|
|
@@ -758,7 +776,6 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
758
776
|
data: {
|
|
759
777
|
sequence: number;
|
|
760
778
|
state: "available" | "leased";
|
|
761
|
-
delivery_id: string;
|
|
762
779
|
event: {
|
|
763
780
|
payload: Record<string, {} | null>;
|
|
764
781
|
created_at: string;
|
|
@@ -771,6 +788,7 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
771
788
|
sandbox?: string | undefined;
|
|
772
789
|
idempotency_key?: string | undefined;
|
|
773
790
|
};
|
|
791
|
+
delivery_id: string;
|
|
774
792
|
receive_count: number;
|
|
775
793
|
lease_expires_at?: string | undefined;
|
|
776
794
|
}[];
|
|
@@ -784,7 +802,6 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
784
802
|
data: {
|
|
785
803
|
sequence: number;
|
|
786
804
|
state: "available" | "leased";
|
|
787
|
-
delivery_id: string;
|
|
788
805
|
event: {
|
|
789
806
|
payload: Record<string, {} | null>;
|
|
790
807
|
created_at: string;
|
|
@@ -797,6 +814,7 @@ export declare const eventSubscriptionQueueSchema: z.ZodObject<{
|
|
|
797
814
|
sandbox?: string | undefined;
|
|
798
815
|
idempotency_key?: string | undefined;
|
|
799
816
|
};
|
|
817
|
+
delivery_id: string;
|
|
800
818
|
receive_count: number;
|
|
801
819
|
lease_expires_at?: string | undefined;
|
|
802
820
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,8DAA8D;AAC9D,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EA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2D;AAC3D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMuD,CAAC;AAEhG,qEAAqE;AACrE,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,IAAI,EAAE,2BAA2B,EAAE,CAAC;IACpC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,wBAAwB,EAAE,MAAM,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,4DAA4D;AAC5D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQgF,CAAC"}
|
package/dist/types/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: f25f65229e6a
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { domainEventSchema } from "./common.js";
|
|
6
6
|
/** Runtime validator for {@link EventSubscription}. */
|
|
@@ -11,6 +11,7 @@ export const eventSubscriptionSchema = z.object({
|
|
|
11
11
|
dropped_events_total: z.number().int(),
|
|
12
12
|
dropped_through_position: z.number().int(),
|
|
13
13
|
event_names: z.array(z.string()),
|
|
14
|
+
filter: z.record(z.custom((value) => value !== undefined)).optional(),
|
|
14
15
|
id: z.string(),
|
|
15
16
|
last_overflow_at: z.string().optional(),
|
|
16
17
|
leased_count: z.number().int(),
|
|
@@ -25,6 +26,7 @@ export const eventSubscriptionSchema = z.object({
|
|
|
25
26
|
updated_at: z.string(),
|
|
26
27
|
user: z.string().optional(),
|
|
27
28
|
visibility_timeout_seconds: z.number().int(),
|
|
29
|
+
watch_key: z.string().optional(),
|
|
28
30
|
}).describe("An app-scoped subscription to exact domain-event names.");
|
|
29
31
|
/** Runtime validator for {@link EventSubscriptionDelivery}. */
|
|
30
32
|
export const eventSubscriptionDeliverySchema = z.object({
|
package/dist/types/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AA6BhD,uDAAuD;AACvD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACtC,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1C,WAAW,EAAE,CAAC,CAAC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export * from "./chat.js";
|
|
5
5
|
export * from "./common.js";
|
|
6
|
+
export * from "./computers.js";
|
|
6
7
|
export * from "./config.js";
|
|
7
8
|
export * from "./device.js";
|
|
8
9
|
export * from "./events.js";
|
|
@@ -13,6 +14,7 @@ export * from "./image.js";
|
|
|
13
14
|
export * from "./invites.js";
|
|
14
15
|
export * from "./notifications.js";
|
|
15
16
|
export * from "./oauth.js";
|
|
17
|
+
export * from "./relays.js";
|
|
16
18
|
export * from "./scripts.js";
|
|
17
19
|
export * from "./status.js";
|
|
18
20
|
export * from "./system.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: 2a0a33136e83
|
|
4
4
|
export * from "./ai.js";
|
|
5
5
|
export * from "./artifacts.js";
|
|
6
6
|
export * from "./automations.js";
|
|
7
7
|
export * from "./chat.js";
|
|
8
8
|
export * from "./common.js";
|
|
9
|
+
export * from "./computers.js";
|
|
9
10
|
export * from "./config.js";
|
|
10
11
|
export * from "./device.js";
|
|
11
12
|
export * from "./events.js";
|
|
@@ -16,6 +17,7 @@ export * from "./image.js";
|
|
|
16
17
|
export * from "./invites.js";
|
|
17
18
|
export * from "./notifications.js";
|
|
18
19
|
export * from "./oauth.js";
|
|
20
|
+
export * from "./relays.js";
|
|
19
21
|
export * from "./scripts.js";
|
|
20
22
|
export * from "./status.js";
|
|
21
23
|
export * from "./system.js";
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Public relay authorization record. */
|
|
3
|
+
export interface Relay {
|
|
4
|
+
/** Relay expiry. */
|
|
5
|
+
expires_at: string;
|
|
6
|
+
/** Relay ID. */
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
/** Runtime validator for {@link Relay}. */
|
|
10
|
+
export declare const relaySchema: z.ZodObject<{
|
|
11
|
+
/** Relay expiry. */
|
|
12
|
+
expires_at: z.ZodString;
|
|
13
|
+
/** Relay ID. */
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
id: string;
|
|
17
|
+
expires_at: string;
|
|
18
|
+
}, {
|
|
19
|
+
id: string;
|
|
20
|
+
expires_at: string;
|
|
21
|
+
}>;
|
|
22
|
+
//# sourceMappingURL=relays.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relays.d.ts","sourceRoot":"","sources":["../../src/types/relays.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yCAAyC;AACzC,MAAM,WAAW,KAAK;IACpB,oBAAoB;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,2CAA2C;AAC3C,eAAO,MAAM,WAAW;IACtB,oBAAoB;;IAEpB,gBAAgB;;;;;;;;EAE0D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
|
+
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
+
// Content hash: 5c8bc55afc71
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
/** Runtime validator for {@link Relay}. */
|
|
6
|
+
export const relaySchema = z.object({
|
|
7
|
+
/** Relay expiry. */
|
|
8
|
+
expires_at: z.string().describe("Relay expiry."),
|
|
9
|
+
/** Relay ID. */
|
|
10
|
+
id: z.string().describe("Relay ID."),
|
|
11
|
+
}).describe("Public relay authorization record.");
|
|
12
|
+
//# sourceMappingURL=relays.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relays.js","sourceRoot":"","sources":["../../src/types/relays.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,2CAA2C;AAC3C,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,oBAAoB;IACpB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;IAChD,gBAAgB;IAChB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC;CACrC,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAA4B,CAAC"}
|