@archastro/sdk 0.9.0 → 0.11.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/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +15 -1
- package/dist/client.js.map +1 -1
- package/dist/types/ai.d.ts +2 -2
- package/dist/types/chat.d.ts +111 -50
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +1096 -468
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +155 -62
- package/dist/types/common.js.map +1 -1
- package/dist/types/extractions.d.ts +36 -0
- package/dist/types/extractions.d.ts.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/status.d.ts +121 -0
- package/dist/types/status.d.ts.map +1 -0
- package/dist/types/status.js +18 -0
- package/dist/types/status.js.map +1 -0
- package/dist/types/tasks.d.ts +601 -0
- package/dist/types/tasks.d.ts.map +1 -0
- package/dist/types/tasks.js +118 -0
- package/dist/types/tasks.js.map +1 -0
- package/dist/types/threads.d.ts +542 -5
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +45 -2
- package/dist/types/threads.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +1 -1
- package/dist/v1/resources/activity_feed.js +2 -2
- package/dist/v1/resources/agents.d.ts +2 -2
- package/dist/v1/resources/agents.js +3 -3
- package/dist/v1/resources/custom_objects.d.ts +86 -20
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +41 -19
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/files.d.ts +19 -0
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +3 -1
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +7 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +8 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/private_service_definitions.d.ts +12 -0
- package/dist/v1/resources/private_service_definitions.d.ts.map +1 -0
- package/dist/v1/resources/private_service_definitions.js +18 -0
- package/dist/v1/resources/private_service_definitions.js.map +1 -0
- package/dist/v1/resources/private_service_enrollments.d.ts +42 -0
- package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -0
- package/dist/v1/resources/private_service_enrollments.js +56 -0
- package/dist/v1/resources/private_service_enrollments.js.map +1 -0
- package/dist/v1/resources/private_services.d.ts +46 -0
- package/dist/v1/resources/private_services.d.ts.map +1 -0
- package/dist/v1/resources/private_services.js +55 -0
- package/dist/v1/resources/private_services.js.map +1 -0
- package/dist/v1/resources/sandboxes.d.ts +81 -0
- package/dist/v1/resources/sandboxes.d.ts.map +1 -0
- package/dist/v1/resources/sandboxes.js +84 -0
- package/dist/v1/resources/sandboxes.js.map +1 -0
- package/dist/v1/resources/slack_channel_bindings.d.ts +37 -0
- package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.js +31 -1
- package/dist/v1/resources/slack_channel_bindings.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +2 -0
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +2 -1
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/status.d.ts +22 -0
- package/dist/v1/resources/status.d.ts.map +1 -0
- package/dist/v1/resources/status.js +27 -0
- package/dist/v1/resources/status.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +599 -0
- package/dist/v1/resources/tasks.d.ts.map +1 -0
- package/dist/v1/resources/tasks.js +436 -0
- package/dist/v1/resources/tasks.js.map +1 -0
- package/dist/v1/resources/teams.d.ts +463 -0
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +281 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +25 -3
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +25 -4
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +40 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +36 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/trajectories.d.ts +34 -0
- package/dist/v1/resources/trajectories.d.ts.map +1 -0
- package/dist/v1/resources/trajectories.js +41 -0
- package/dist/v1/resources/trajectories.js.map +1 -0
- package/dist/v1/resources/users.d.ts +353 -0
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +208 -1
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1.d.ts +14 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +22 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export declare const extractionOutputSchema: z.ZodObject<{
|
|
|
21
21
|
created_at: z.ZodOptional<z.ZodString>;
|
|
22
22
|
/** The produced file. For a config destination this is the `Storage.File` backing the versioned config row; type, size, and URL live here. */
|
|
23
23
|
file: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
app: z.ZodOptional<z.ZodString>;
|
|
24
25
|
content_type: z.ZodOptional<z.ZodString>;
|
|
25
26
|
created_at: z.ZodOptional<z.ZodString>;
|
|
26
27
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -54,13 +55,18 @@ export declare const extractionOutputSchema: z.ZodObject<{
|
|
|
54
55
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
55
56
|
share_url: z.ZodOptional<z.ZodString>;
|
|
56
57
|
size: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
team: z.ZodOptional<z.ZodString>;
|
|
57
59
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
58
60
|
url: z.ZodOptional<z.ZodString>;
|
|
61
|
+
user: z.ZodOptional<z.ZodString>;
|
|
59
62
|
}, "strip", z.ZodTypeAny, {
|
|
60
63
|
id: string;
|
|
64
|
+
team?: string | undefined;
|
|
61
65
|
org?: string | undefined;
|
|
66
|
+
app?: string | undefined;
|
|
62
67
|
created_at?: string | undefined;
|
|
63
68
|
updated_at?: string | undefined;
|
|
69
|
+
user?: string | undefined;
|
|
64
70
|
sandbox?: string | undefined;
|
|
65
71
|
url?: string | undefined;
|
|
66
72
|
content_type?: string | undefined;
|
|
@@ -78,9 +84,12 @@ export declare const extractionOutputSchema: z.ZodObject<{
|
|
|
78
84
|
size?: number | undefined;
|
|
79
85
|
}, {
|
|
80
86
|
id: string;
|
|
87
|
+
team?: string | undefined;
|
|
81
88
|
org?: string | undefined;
|
|
89
|
+
app?: string | undefined;
|
|
82
90
|
created_at?: string | undefined;
|
|
83
91
|
updated_at?: string | undefined;
|
|
92
|
+
user?: string | undefined;
|
|
84
93
|
sandbox?: string | undefined;
|
|
85
94
|
url?: string | undefined;
|
|
86
95
|
content_type?: string | undefined;
|
|
@@ -110,9 +119,12 @@ export declare const extractionOutputSchema: z.ZodObject<{
|
|
|
110
119
|
created_at?: string | undefined;
|
|
111
120
|
file?: {
|
|
112
121
|
id: string;
|
|
122
|
+
team?: string | undefined;
|
|
113
123
|
org?: string | undefined;
|
|
124
|
+
app?: string | undefined;
|
|
114
125
|
created_at?: string | undefined;
|
|
115
126
|
updated_at?: string | undefined;
|
|
127
|
+
user?: string | undefined;
|
|
116
128
|
sandbox?: string | undefined;
|
|
117
129
|
url?: string | undefined;
|
|
118
130
|
content_type?: string | undefined;
|
|
@@ -137,9 +149,12 @@ export declare const extractionOutputSchema: z.ZodObject<{
|
|
|
137
149
|
created_at?: string | undefined;
|
|
138
150
|
file?: {
|
|
139
151
|
id: string;
|
|
152
|
+
team?: string | undefined;
|
|
140
153
|
org?: string | undefined;
|
|
154
|
+
app?: string | undefined;
|
|
141
155
|
created_at?: string | undefined;
|
|
142
156
|
updated_at?: string | undefined;
|
|
157
|
+
user?: string | undefined;
|
|
143
158
|
sandbox?: string | undefined;
|
|
144
159
|
url?: string | undefined;
|
|
145
160
|
content_type?: string | undefined;
|
|
@@ -219,6 +234,7 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
219
234
|
created_at: z.ZodOptional<z.ZodString>;
|
|
220
235
|
/** The produced file. For a config destination this is the `Storage.File` backing the versioned config row; type, size, and URL live here. */
|
|
221
236
|
file: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
app: z.ZodOptional<z.ZodString>;
|
|
222
238
|
content_type: z.ZodOptional<z.ZodString>;
|
|
223
239
|
created_at: z.ZodOptional<z.ZodString>;
|
|
224
240
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -252,13 +268,18 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
252
268
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
253
269
|
share_url: z.ZodOptional<z.ZodString>;
|
|
254
270
|
size: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
team: z.ZodOptional<z.ZodString>;
|
|
255
272
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
256
273
|
url: z.ZodOptional<z.ZodString>;
|
|
274
|
+
user: z.ZodOptional<z.ZodString>;
|
|
257
275
|
}, "strip", z.ZodTypeAny, {
|
|
258
276
|
id: string;
|
|
277
|
+
team?: string | undefined;
|
|
259
278
|
org?: string | undefined;
|
|
279
|
+
app?: string | undefined;
|
|
260
280
|
created_at?: string | undefined;
|
|
261
281
|
updated_at?: string | undefined;
|
|
282
|
+
user?: string | undefined;
|
|
262
283
|
sandbox?: string | undefined;
|
|
263
284
|
url?: string | undefined;
|
|
264
285
|
content_type?: string | undefined;
|
|
@@ -276,9 +297,12 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
276
297
|
size?: number | undefined;
|
|
277
298
|
}, {
|
|
278
299
|
id: string;
|
|
300
|
+
team?: string | undefined;
|
|
279
301
|
org?: string | undefined;
|
|
302
|
+
app?: string | undefined;
|
|
280
303
|
created_at?: string | undefined;
|
|
281
304
|
updated_at?: string | undefined;
|
|
305
|
+
user?: string | undefined;
|
|
282
306
|
sandbox?: string | undefined;
|
|
283
307
|
url?: string | undefined;
|
|
284
308
|
content_type?: string | undefined;
|
|
@@ -308,9 +332,12 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
308
332
|
created_at?: string | undefined;
|
|
309
333
|
file?: {
|
|
310
334
|
id: string;
|
|
335
|
+
team?: string | undefined;
|
|
311
336
|
org?: string | undefined;
|
|
337
|
+
app?: string | undefined;
|
|
312
338
|
created_at?: string | undefined;
|
|
313
339
|
updated_at?: string | undefined;
|
|
340
|
+
user?: string | undefined;
|
|
314
341
|
sandbox?: string | undefined;
|
|
315
342
|
url?: string | undefined;
|
|
316
343
|
content_type?: string | undefined;
|
|
@@ -335,9 +362,12 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
335
362
|
created_at?: string | undefined;
|
|
336
363
|
file?: {
|
|
337
364
|
id: string;
|
|
365
|
+
team?: string | undefined;
|
|
338
366
|
org?: string | undefined;
|
|
367
|
+
app?: string | undefined;
|
|
339
368
|
created_at?: string | undefined;
|
|
340
369
|
updated_at?: string | undefined;
|
|
370
|
+
user?: string | undefined;
|
|
341
371
|
sandbox?: string | undefined;
|
|
342
372
|
url?: string | undefined;
|
|
343
373
|
content_type?: string | undefined;
|
|
@@ -383,9 +413,12 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
383
413
|
created_at?: string | undefined;
|
|
384
414
|
file?: {
|
|
385
415
|
id: string;
|
|
416
|
+
team?: string | undefined;
|
|
386
417
|
org?: string | undefined;
|
|
418
|
+
app?: string | undefined;
|
|
387
419
|
created_at?: string | undefined;
|
|
388
420
|
updated_at?: string | undefined;
|
|
421
|
+
user?: string | undefined;
|
|
389
422
|
sandbox?: string | undefined;
|
|
390
423
|
url?: string | undefined;
|
|
391
424
|
content_type?: string | undefined;
|
|
@@ -425,9 +458,12 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
425
458
|
created_at?: string | undefined;
|
|
426
459
|
file?: {
|
|
427
460
|
id: string;
|
|
461
|
+
team?: string | undefined;
|
|
428
462
|
org?: string | undefined;
|
|
463
|
+
app?: string | undefined;
|
|
429
464
|
created_at?: string | undefined;
|
|
430
465
|
updated_at?: string | undefined;
|
|
466
|
+
user?: string | undefined;
|
|
431
467
|
sandbox?: string | undefined;
|
|
432
468
|
url?: string | undefined;
|
|
433
469
|
content_type?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractions.d.ts","sourceRoot":"","sources":["../../src/types/extractions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,mGAAmG;AACnG,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,8IAA8I;IAC9I,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/B,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED,sDAAsD;AACtD,eAAO,MAAM,sBAAsB;IACjC,gDAAgD;;IAEhD,8IAA8I
|
|
1
|
+
{"version":3,"file":"extractions.d.ts","sourceRoot":"","sources":["../../src/types/extractions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,mGAAmG;AACnG,MAAM,WAAW,gBAAgB;IAC/B,gDA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ANGED
|
@@ -10,6 +10,8 @@ export * from "./image.js";
|
|
|
10
10
|
export * from "./invites.js";
|
|
11
11
|
export * from "./notifications.js";
|
|
12
12
|
export * from "./oauth.js";
|
|
13
|
+
export * from "./status.js";
|
|
14
|
+
export * from "./tasks.js";
|
|
13
15
|
export * from "./teams.js";
|
|
14
16
|
export * from "./threads.js";
|
|
15
17
|
export * from "./users.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,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,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,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
package/dist/types/index.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: 5fd84e6fc839
|
|
4
4
|
export * from "./ai.js";
|
|
5
5
|
export * from "./artifacts.js";
|
|
6
6
|
export * from "./automations.js";
|
|
@@ -13,6 +13,8 @@ export * from "./image.js";
|
|
|
13
13
|
export * from "./invites.js";
|
|
14
14
|
export * from "./notifications.js";
|
|
15
15
|
export * from "./oauth.js";
|
|
16
|
+
export * from "./status.js";
|
|
17
|
+
export * from "./tasks.js";
|
|
16
18
|
export * from "./teams.js";
|
|
17
19
|
export * from "./threads.js";
|
|
18
20
|
export * from "./users.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,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,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,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { Deployment } from "./common.js";
|
|
3
|
+
import type { User } from "./users.js";
|
|
4
|
+
/** Health check response confirming the API is reachable and indicating whether the caller's token is valid. */
|
|
5
|
+
export interface StatusPing {
|
|
6
|
+
/** Deployment metadata. */
|
|
7
|
+
deployment?: Deployment | undefined;
|
|
8
|
+
/** `true` when the platform is reachable and the request was processed successfully. */
|
|
9
|
+
success: boolean;
|
|
10
|
+
/** Details about the authentication token used in this request. */
|
|
11
|
+
token: Record<string, unknown>;
|
|
12
|
+
/** The authenticated user associated with the token. `null` when the token is invalid or absent. */
|
|
13
|
+
user?: User | undefined;
|
|
14
|
+
}
|
|
15
|
+
/** Runtime validator for {@link StatusPing}. */
|
|
16
|
+
export declare const statusPingSchema: z.ZodObject<{
|
|
17
|
+
/** Deployment metadata. */
|
|
18
|
+
deployment: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
release: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
environment?: string | null | undefined;
|
|
23
|
+
release?: string | null | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
environment?: string | null | undefined;
|
|
26
|
+
release?: string | null | undefined;
|
|
27
|
+
}>>;
|
|
28
|
+
/** `true` when the platform is reachable and the request was processed successfully. */
|
|
29
|
+
success: z.ZodBoolean;
|
|
30
|
+
/** Details about the authentication token used in this request. */
|
|
31
|
+
token: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
32
|
+
/** The authenticated user associated with the token. `null` when the token is invalid or absent. */
|
|
33
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
35
|
+
app: z.ZodOptional<z.ZodString>;
|
|
36
|
+
app_name: z.ZodOptional<z.ZodString>;
|
|
37
|
+
email: z.ZodOptional<z.ZodString>;
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
41
|
+
name: z.ZodOptional<z.ZodString>;
|
|
42
|
+
org: z.ZodOptional<z.ZodString>;
|
|
43
|
+
org_name: z.ZodOptional<z.ZodString>;
|
|
44
|
+
org_role: z.ZodOptional<z.ZodString>;
|
|
45
|
+
sandbox: z.ZodOptional<z.ZodString>;
|
|
46
|
+
sandbox_name: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
id: string;
|
|
49
|
+
email?: string | undefined;
|
|
50
|
+
alias?: string | undefined;
|
|
51
|
+
org?: string | undefined;
|
|
52
|
+
name?: string | undefined;
|
|
53
|
+
app?: string | undefined;
|
|
54
|
+
sandbox?: string | undefined;
|
|
55
|
+
app_name?: string | undefined;
|
|
56
|
+
is_system_user?: boolean | undefined;
|
|
57
|
+
metadata?: Record<string, unknown> | undefined;
|
|
58
|
+
org_name?: string | undefined;
|
|
59
|
+
org_role?: string | undefined;
|
|
60
|
+
sandbox_name?: string | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
id: string;
|
|
63
|
+
email?: string | undefined;
|
|
64
|
+
alias?: string | undefined;
|
|
65
|
+
org?: string | undefined;
|
|
66
|
+
name?: string | undefined;
|
|
67
|
+
app?: string | undefined;
|
|
68
|
+
sandbox?: string | undefined;
|
|
69
|
+
app_name?: string | undefined;
|
|
70
|
+
is_system_user?: boolean | undefined;
|
|
71
|
+
metadata?: Record<string, unknown> | undefined;
|
|
72
|
+
org_name?: string | undefined;
|
|
73
|
+
org_role?: string | undefined;
|
|
74
|
+
sandbox_name?: string | undefined;
|
|
75
|
+
}>>;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
token: Record<string, unknown>;
|
|
78
|
+
success: boolean;
|
|
79
|
+
user?: {
|
|
80
|
+
id: string;
|
|
81
|
+
email?: string | undefined;
|
|
82
|
+
alias?: string | undefined;
|
|
83
|
+
org?: string | undefined;
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
app?: string | undefined;
|
|
86
|
+
sandbox?: string | undefined;
|
|
87
|
+
app_name?: string | undefined;
|
|
88
|
+
is_system_user?: boolean | undefined;
|
|
89
|
+
metadata?: Record<string, unknown> | undefined;
|
|
90
|
+
org_name?: string | undefined;
|
|
91
|
+
org_role?: string | undefined;
|
|
92
|
+
sandbox_name?: string | undefined;
|
|
93
|
+
} | undefined;
|
|
94
|
+
deployment?: {
|
|
95
|
+
environment?: string | null | undefined;
|
|
96
|
+
release?: string | null | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
token: Record<string, unknown>;
|
|
100
|
+
success: boolean;
|
|
101
|
+
user?: {
|
|
102
|
+
id: string;
|
|
103
|
+
email?: string | undefined;
|
|
104
|
+
alias?: string | undefined;
|
|
105
|
+
org?: string | undefined;
|
|
106
|
+
name?: string | undefined;
|
|
107
|
+
app?: string | undefined;
|
|
108
|
+
sandbox?: string | undefined;
|
|
109
|
+
app_name?: string | undefined;
|
|
110
|
+
is_system_user?: boolean | undefined;
|
|
111
|
+
metadata?: Record<string, unknown> | undefined;
|
|
112
|
+
org_name?: string | undefined;
|
|
113
|
+
org_role?: string | undefined;
|
|
114
|
+
sandbox_name?: string | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
deployment?: {
|
|
117
|
+
environment?: string | null | undefined;
|
|
118
|
+
release?: string | null | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
}>;
|
|
121
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/types/status.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,gHAAgH;AAChH,MAAM,WAAW,UAAU;IACzB,2BAA2B;IAC3B,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,wFAAwF;IACxF,OAAO,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,oGAAoG;IACpG,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB;AAED,gDAAgD;AAChD,eAAO,MAAM,gBAAgB;IAC3B,2BAA2B;;;;;;;;;;;IAE3B,wFAAwF;;IAExF,mEAAmE;;IAEnE,oGAAoG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEkD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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: 5b0778153864
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { deploymentSchema } from "./common.js";
|
|
6
|
+
import { userSchema } from "./users.js";
|
|
7
|
+
/** Runtime validator for {@link StatusPing}. */
|
|
8
|
+
export const statusPingSchema = z.object({
|
|
9
|
+
/** Deployment metadata. */
|
|
10
|
+
deployment: deploymentSchema.optional().describe("Deployment metadata."),
|
|
11
|
+
/** `true` when the platform is reachable and the request was processed successfully. */
|
|
12
|
+
success: z.boolean().describe("`true` when the platform is reachable and the request was processed successfully."),
|
|
13
|
+
/** Details about the authentication token used in this request. */
|
|
14
|
+
token: z.record(z.unknown()).describe("Details about the authentication token used in this request."),
|
|
15
|
+
/** The authenticated user associated with the token. `null` when the token is invalid or absent. */
|
|
16
|
+
user: userSchema.optional().describe("The authenticated user associated with the token. `null` when the token is invalid or absent."),
|
|
17
|
+
}).describe("Health check response confirming the API is reachable and indicating whether the caller's token is valid.");
|
|
18
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/types/status.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgBxC,gDAAgD;AAChD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,2BAA2B;IAC3B,UAAU,EAAE,gBAAgB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IACxE,wFAAwF;IACxF,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,mFAAmF,CAAC;IAClH,mEAAmE;IACnE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,8DAA8D,CAAC;IACrG,oGAAoG;IACpG,IAAI,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+FAA+F,CAAC;CACtI,CAAC,CAAC,QAAQ,CAAC,2GAA2G,CAAiC,CAAC"}
|