@archastro/sdk 0.11.1 → 0.13.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/auth.d.ts +6 -3
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +13 -4
- package/dist/auth.js.map +1 -1
- package/dist/types/chat.d.ts +322 -228
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +368 -149
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +46 -6
- package/dist/types/common.js.map +1 -1
- package/dist/types/device.d.ts +26 -0
- package/dist/types/device.d.ts.map +1 -1
- package/dist/types/device.js +10 -1
- package/dist/types/device.js.map +1 -1
- package/dist/types/extractions.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/oauth.d.ts +5 -0
- package/dist/types/oauth.d.ts.map +1 -1
- package/dist/types/status.d.ts +5 -0
- package/dist/types/status.d.ts.map +1 -1
- package/dist/types/system.d.ts +58 -0
- package/dist/types/system.d.ts.map +1 -0
- package/dist/types/system.js +24 -0
- package/dist/types/system.js.map +1 -0
- package/dist/types/teams.d.ts +48 -36
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/threads.d.ts +27 -16
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +2 -2
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +6 -0
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +3 -1
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +1 -0
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +1 -1
- package/dist/v1/resources/oauth.d.ts +13 -1
- package/dist/v1/resources/oauth.d.ts.map +1 -1
- package/dist/v1/resources/oauth.js +15 -1
- package/dist/v1/resources/oauth.js.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.d.ts +35 -1
- package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.js +47 -1
- package/dist/v1/resources/slack_channel_bindings.js.map +1 -1
- package/dist/v1/resources/tasks.d.ts +27 -0
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +30 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +100 -0
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +43 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/users.d.ts +167 -0
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +104 -1
- package/dist/v1/resources/users.js.map +1 -1
- package/package.json +1 -1
package/dist/types/device.d.ts
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/** User-visible details for a pending OAuth 2.0 device authorization. */
|
|
3
|
+
export interface DeviceAuthorizationDetailsResponse {
|
|
4
|
+
/** Name of the client requesting authorization. */
|
|
5
|
+
client_name: string;
|
|
6
|
+
/** Expiration time for the pending device authorization. */
|
|
7
|
+
expires_at: string;
|
|
8
|
+
/** Scopes the client is requesting. */
|
|
9
|
+
scopes: string[];
|
|
10
|
+
}
|
|
11
|
+
/** Runtime validator for {@link DeviceAuthorizationDetailsResponse}. */
|
|
12
|
+
export declare const deviceAuthorizationDetailsResponseSchema: z.ZodObject<{
|
|
13
|
+
/** Name of the client requesting authorization. */
|
|
14
|
+
client_name: z.ZodString;
|
|
15
|
+
/** Expiration time for the pending device authorization. */
|
|
16
|
+
expires_at: z.ZodString;
|
|
17
|
+
/** Scopes the client is requesting. */
|
|
18
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
expires_at: string;
|
|
21
|
+
client_name: string;
|
|
22
|
+
scopes: string[];
|
|
23
|
+
}, {
|
|
24
|
+
expires_at: string;
|
|
25
|
+
client_name: string;
|
|
26
|
+
scopes: string[];
|
|
27
|
+
}>;
|
|
2
28
|
/** The initial response from an OAuth 2.0 Device Authorization Grant request, containing the codes and URIs needed to complete device authentication. */
|
|
3
29
|
export interface DeviceAuthorizationResponse {
|
|
4
30
|
/** Opaque code identifying this device authorization session. Pass this value when polling the token endpoint; do not display it to the user. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../src/types/device.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yJAAyJ;AACzJ,MAAM,WAAW,2BAA2B;IAC1C,iJAAiJ;IACjJ,WAAW,EAAE,MAAM,CAAC;IACpB,mIAAmI;IACnI,UAAU,EAAE,MAAM,CAAC;IACnB,oJAAoJ;IACpJ,QAAQ,EAAE,MAAM,CAAC;IACjB,iGAAiG;IACjG,SAAS,EAAE,MAAM,CAAC;IAClB,0FAA0F;IAC1F,gBAAgB,EAAE,MAAM,CAAC;IACzB,iJAAiJ;IACjJ,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED,iEAAiE;AACjE,eAAO,MAAM,iCAAiC;IAC5C,iJAAiJ;;IAEjJ,mIAAmI;;IAEnI,oJAAoJ;;IAEpJ,iGAAiG;;IAEjG,0FAA0F;;IAE1F,iJAAiJ;;;;;;;;;;;;;;;;EAE+D,CAAC;AAEnN,iJAAiJ;AACjJ,MAAM,WAAW,iCAAiC;IAChD,6JAA6J;IAC7J,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,uEAAuE;AACvE,eAAO,MAAM,uCAAuC;IAClD,6JAA6J;;;;;;EAEiD,CAAC"}
|
|
1
|
+
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../src/types/device.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yEAAyE;AACzE,MAAM,WAAW,kCAAkC;IACjD,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,wEAAwE;AACxE,eAAO,MAAM,wCAAwC;IACnD,mDAAmD;;IAEnD,4DAA4D;;IAE5D,uCAAuC;;;;;;;;;;EAEgG,CAAC;AAE1I,yJAAyJ;AACzJ,MAAM,WAAW,2BAA2B;IAC1C,iJAAiJ;IACjJ,WAAW,EAAE,MAAM,CAAC;IACpB,mIAAmI;IACnI,UAAU,EAAE,MAAM,CAAC;IACnB,oJAAoJ;IACpJ,QAAQ,EAAE,MAAM,CAAC;IACjB,iGAAiG;IACjG,SAAS,EAAE,MAAM,CAAC;IAClB,0FAA0F;IAC1F,gBAAgB,EAAE,MAAM,CAAC;IACzB,iJAAiJ;IACjJ,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED,iEAAiE;AACjE,eAAO,MAAM,iCAAiC;IAC5C,iJAAiJ;;IAEjJ,mIAAmI;;IAEnI,oJAAoJ;;IAEpJ,iGAAiG;;IAEjG,0FAA0F;;IAE1F,iJAAiJ;;;;;;;;;;;;;;;;EAE+D,CAAC;AAEnN,iJAAiJ;AACjJ,MAAM,WAAW,iCAAiC;IAChD,6JAA6J;IAC7J,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,uEAAuE;AACvE,eAAO,MAAM,uCAAuC;IAClD,6JAA6J;;;;;;EAEiD,CAAC"}
|
package/dist/types/device.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
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: 526d4d3d3b51
|
|
4
4
|
import { z } from "zod";
|
|
5
|
+
/** Runtime validator for {@link DeviceAuthorizationDetailsResponse}. */
|
|
6
|
+
export const deviceAuthorizationDetailsResponseSchema = z.object({
|
|
7
|
+
/** Name of the client requesting authorization. */
|
|
8
|
+
client_name: z.string().describe("Name of the client requesting authorization."),
|
|
9
|
+
/** Expiration time for the pending device authorization. */
|
|
10
|
+
expires_at: z.string().describe("Expiration time for the pending device authorization."),
|
|
11
|
+
/** Scopes the client is requesting. */
|
|
12
|
+
scopes: z.array(z.string()).describe("Scopes the client is requesting."),
|
|
13
|
+
}).describe("User-visible details for a pending OAuth 2.0 device authorization.");
|
|
5
14
|
/** Runtime validator for {@link DeviceAuthorizationResponse}. */
|
|
6
15
|
export const deviceAuthorizationResponseSchema = z.object({
|
|
7
16
|
/** Opaque code identifying this device authorization session. Pass this value when polling the token endpoint; do not display it to the user. */
|
package/dist/types/device.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../src/types/device.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../src/types/device.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,wEAAwE;AACxE,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/D,mDAAmD;IACnD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAChF,4DAA4D;IAC5D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uDAAuD,CAAC;IACxF,uCAAuC;IACvC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,kCAAkC,CAAC;CACzE,CAAC,CAAC,QAAQ,CAAC,oEAAoE,CAAyD,CAAC;AAkB1I,iEAAiE;AACjE,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,iJAAiJ;IACjJ,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4IAA4I,CAAC;IAC9K,mIAAmI;IACnI,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,8HAA8H,CAAC;IACrK,oJAAoJ;IACpJ,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,+IAA+I,CAAC;IACpL,iGAAiG;IACjG,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4FAA4F,CAAC;IAC5H,0FAA0F;IAC1F,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qFAAqF,CAAC;IAC5H,iJAAiJ;IACjJ,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4IAA4I,CAAC;CAC7L,CAAC,CAAC,QAAQ,CAAC,oJAAoJ,CAAkD,CAAC;AAQnN,uEAAuE;AACvE,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,6JAA6J;IAC7J,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4JAA4J,CAAC;CAC1L,CAAC,CAAC,QAAQ,CAAC,4IAA4I,CAAwD,CAAC"}
|
|
@@ -404,9 +404,9 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
404
404
|
file?: string | undefined;
|
|
405
405
|
url?: string | undefined;
|
|
406
406
|
state?: "done" | "pending" | "failed" | "running" | undefined;
|
|
407
|
+
failure_reason?: "fetch_failed" | "unsupported_content" | "extraction_failed" | "timeout" | "internal_error" | undefined;
|
|
407
408
|
byte_count?: number | undefined;
|
|
408
409
|
destination?: Record<string, unknown> | undefined;
|
|
409
|
-
failure_reason?: "fetch_failed" | "unsupported_content" | "extraction_failed" | "timeout" | "internal_error" | undefined;
|
|
410
410
|
output_count?: number | undefined;
|
|
411
411
|
outputs?: {
|
|
412
412
|
id: string;
|
|
@@ -449,9 +449,9 @@ export declare const extractionSchema: z.ZodObject<{
|
|
|
449
449
|
file?: string | undefined;
|
|
450
450
|
url?: string | undefined;
|
|
451
451
|
state?: "done" | "pending" | "failed" | "running" | undefined;
|
|
452
|
+
failure_reason?: "fetch_failed" | "unsupported_content" | "extraction_failed" | "timeout" | "internal_error" | undefined;
|
|
452
453
|
byte_count?: number | undefined;
|
|
453
454
|
destination?: Record<string, unknown> | undefined;
|
|
454
|
-
failure_reason?: "fetch_failed" | "unsupported_content" | "extraction_failed" | "timeout" | "internal_error" | undefined;
|
|
455
455
|
output_count?: number | undefined;
|
|
456
456
|
outputs?: {
|
|
457
457
|
id: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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,aAAa,CAAC;AAC5B,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,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: cbd3aa478ad5
|
|
4
4
|
export * from "./ai.js";
|
|
5
5
|
export * from "./artifacts.js";
|
|
6
6
|
export * from "./automations.js";
|
|
@@ -14,6 +14,7 @@ export * from "./invites.js";
|
|
|
14
14
|
export * from "./notifications.js";
|
|
15
15
|
export * from "./oauth.js";
|
|
16
16
|
export * from "./status.js";
|
|
17
|
+
export * from "./system.js";
|
|
17
18
|
export * from "./tasks.js";
|
|
18
19
|
export * from "./teams.js";
|
|
19
20
|
export * from "./threads.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,aAAa,CAAC;AAC5B,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,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
package/dist/types/oauth.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
|
|
|
40
40
|
org: z.ZodOptional<z.ZodString>;
|
|
41
41
|
org_name: z.ZodOptional<z.ZodString>;
|
|
42
42
|
org_role: z.ZodOptional<z.ZodString>;
|
|
43
|
+
org_slug: z.ZodOptional<z.ZodString>;
|
|
43
44
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
44
45
|
sandbox_name: z.ZodOptional<z.ZodString>;
|
|
45
46
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55,6 +56,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
|
|
|
55
56
|
metadata?: Record<string, unknown> | undefined;
|
|
56
57
|
org_name?: string | undefined;
|
|
57
58
|
org_role?: string | undefined;
|
|
59
|
+
org_slug?: string | undefined;
|
|
58
60
|
sandbox_name?: string | undefined;
|
|
59
61
|
}, {
|
|
60
62
|
id: string;
|
|
@@ -69,6 +71,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
|
|
|
69
71
|
metadata?: Record<string, unknown> | undefined;
|
|
70
72
|
org_name?: string | undefined;
|
|
71
73
|
org_role?: string | undefined;
|
|
74
|
+
org_slug?: string | undefined;
|
|
72
75
|
sandbox_name?: string | undefined;
|
|
73
76
|
}>>;
|
|
74
77
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -89,6 +92,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
|
|
|
89
92
|
metadata?: Record<string, unknown> | undefined;
|
|
90
93
|
org_name?: string | undefined;
|
|
91
94
|
org_role?: string | undefined;
|
|
95
|
+
org_slug?: string | undefined;
|
|
92
96
|
sandbox_name?: string | undefined;
|
|
93
97
|
} | undefined;
|
|
94
98
|
scope?: string | undefined;
|
|
@@ -110,6 +114,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
|
|
|
110
114
|
metadata?: Record<string, unknown> | undefined;
|
|
111
115
|
org_name?: string | undefined;
|
|
112
116
|
org_role?: string | undefined;
|
|
117
|
+
org_slug?: string | undefined;
|
|
113
118
|
sandbox_name?: string | undefined;
|
|
114
119
|
} | undefined;
|
|
115
120
|
scope?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../src/types/oauth.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,gIAAgI;AAChI,MAAM,WAAW,kBAAkB;IACjC,wHAAwH;IACxH,YAAY,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,+IAA+I;IAC/I,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,yHAAyH;IACzH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,qCAAqC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,gJAAgJ;IAChJ,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB;AAED,wDAAwD;AACxD,eAAO,MAAM,wBAAwB;IACnC,wHAAwH;;IAExH,wDAAwD;;IAExD,+IAA+I;;IAE/I,yHAAyH;;IAEzH,qCAAqC;;IAErC,gJAAgJ
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../src/types/oauth.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,gIAAgI;AAChI,MAAM,WAAW,kBAAkB;IACjC,wHAAwH;IACxH,YAAY,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,+IAA+I;IAC/I,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,yHAAyH;IACzH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,qCAAqC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,gJAAgJ;IAChJ,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB;AAED,wDAAwD;AACxD,eAAO,MAAM,wBAAwB;IACnC,wHAAwH;;IAExH,wDAAwD;;IAExD,+IAA+I;;IAE/I,yHAAyH;;IAEzH,qCAAqC;;IAErC,gJAAgJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE8B,CAAC"}
|
package/dist/types/status.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare const statusPingSchema: z.ZodObject<{
|
|
|
42
42
|
org: z.ZodOptional<z.ZodString>;
|
|
43
43
|
org_name: z.ZodOptional<z.ZodString>;
|
|
44
44
|
org_role: z.ZodOptional<z.ZodString>;
|
|
45
|
+
org_slug: z.ZodOptional<z.ZodString>;
|
|
45
46
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
46
47
|
sandbox_name: z.ZodOptional<z.ZodString>;
|
|
47
48
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -57,6 +58,7 @@ export declare const statusPingSchema: z.ZodObject<{
|
|
|
57
58
|
metadata?: Record<string, unknown> | undefined;
|
|
58
59
|
org_name?: string | undefined;
|
|
59
60
|
org_role?: string | undefined;
|
|
61
|
+
org_slug?: string | undefined;
|
|
60
62
|
sandbox_name?: string | undefined;
|
|
61
63
|
}, {
|
|
62
64
|
id: string;
|
|
@@ -71,6 +73,7 @@ export declare const statusPingSchema: z.ZodObject<{
|
|
|
71
73
|
metadata?: Record<string, unknown> | undefined;
|
|
72
74
|
org_name?: string | undefined;
|
|
73
75
|
org_role?: string | undefined;
|
|
76
|
+
org_slug?: string | undefined;
|
|
74
77
|
sandbox_name?: string | undefined;
|
|
75
78
|
}>>;
|
|
76
79
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -89,6 +92,7 @@ export declare const statusPingSchema: z.ZodObject<{
|
|
|
89
92
|
metadata?: Record<string, unknown> | undefined;
|
|
90
93
|
org_name?: string | undefined;
|
|
91
94
|
org_role?: string | undefined;
|
|
95
|
+
org_slug?: string | undefined;
|
|
92
96
|
sandbox_name?: string | undefined;
|
|
93
97
|
} | undefined;
|
|
94
98
|
deployment?: {
|
|
@@ -111,6 +115,7 @@ export declare const statusPingSchema: z.ZodObject<{
|
|
|
111
115
|
metadata?: Record<string, unknown> | undefined;
|
|
112
116
|
org_name?: string | undefined;
|
|
113
117
|
org_role?: string | undefined;
|
|
118
|
+
org_slug?: string | undefined;
|
|
114
119
|
sandbox_name?: string | undefined;
|
|
115
120
|
} | undefined;
|
|
116
121
|
deployment?: {
|
|
@@ -1 +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
|
|
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,58 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** A long-lived API credential associated with a system account, used to authenticate server-to-server requests. */
|
|
3
|
+
export interface SystemAccessToken {
|
|
4
|
+
/** When this token was created (ISO 8601). */
|
|
5
|
+
created_at?: string | undefined;
|
|
6
|
+
/** When the token expires. `null` on legacy rows that predate stored expiry. */
|
|
7
|
+
expires_at?: string | undefined;
|
|
8
|
+
/** Token ID (`sat_...`). */
|
|
9
|
+
id: string;
|
|
10
|
+
/** When this token was last used to authenticate a request. `null` if the token has never been used. */
|
|
11
|
+
last_used_at?: string | undefined;
|
|
12
|
+
/** Human-readable label assigned to this token at creation time. */
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
/** When this token was revoked. `null` if the token is still active. */
|
|
15
|
+
revoked_at?: string | undefined;
|
|
16
|
+
/** Space-separated OAuth scopes stamped on the token. `null` on legacy rows; treat as `full_access`. */
|
|
17
|
+
scopes?: string | undefined;
|
|
18
|
+
/** Raw bearer token string. Present only in the response to the create request; never returned again after that. */
|
|
19
|
+
token?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
/** Runtime validator for {@link SystemAccessToken}. */
|
|
22
|
+
export declare const systemAccessTokenSchema: z.ZodObject<{
|
|
23
|
+
/** When this token was created (ISO 8601). */
|
|
24
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
25
|
+
/** When the token expires. `null` on legacy rows that predate stored expiry. */
|
|
26
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
27
|
+
/** Token ID (`sat_...`). */
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
/** When this token was last used to authenticate a request. `null` if the token has never been used. */
|
|
30
|
+
last_used_at: z.ZodOptional<z.ZodString>;
|
|
31
|
+
/** Human-readable label assigned to this token at creation time. */
|
|
32
|
+
name: z.ZodOptional<z.ZodString>;
|
|
33
|
+
/** When this token was revoked. `null` if the token is still active. */
|
|
34
|
+
revoked_at: z.ZodOptional<z.ZodString>;
|
|
35
|
+
/** Space-separated OAuth scopes stamped on the token. `null` on legacy rows; treat as `full_access`. */
|
|
36
|
+
scopes: z.ZodOptional<z.ZodString>;
|
|
37
|
+
/** Raw bearer token string. Present only in the response to the create request; never returned again after that. */
|
|
38
|
+
token: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
id: string;
|
|
41
|
+
token?: string | undefined;
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
created_at?: string | undefined;
|
|
44
|
+
expires_at?: string | undefined;
|
|
45
|
+
last_used_at?: string | undefined;
|
|
46
|
+
scopes?: string | undefined;
|
|
47
|
+
revoked_at?: string | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
id: string;
|
|
50
|
+
token?: string | undefined;
|
|
51
|
+
name?: string | undefined;
|
|
52
|
+
created_at?: string | undefined;
|
|
53
|
+
expires_at?: string | undefined;
|
|
54
|
+
last_used_at?: string | undefined;
|
|
55
|
+
scopes?: string | undefined;
|
|
56
|
+
revoked_at?: string | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
//# sourceMappingURL=system.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oHAAoH;AACpH,MAAM,WAAW,iBAAiB;IAChC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,4BAA4B;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,wGAAwG;IACxG,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,wGAAwG;IACxG,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,oHAAoH;IACpH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,uDAAuD;AACvD,eAAO,MAAM,uBAAuB;IAClC,8CAA8C;;IAE9C,gFAAgF;;IAEhF,4BAA4B;;IAE5B,wGAAwG;;IAExG,oEAAoE;;IAEpE,wEAAwE;;IAExE,wGAAwG;;IAExG,oHAAoH;;;;;;;;;;;;;;;;;;;;EAE6C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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: 12dcacbd0afe
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
/** Runtime validator for {@link SystemAccessToken}. */
|
|
6
|
+
export const systemAccessTokenSchema = z.object({
|
|
7
|
+
/** When this token was created (ISO 8601). */
|
|
8
|
+
created_at: z.string().optional().describe("When this token was created (ISO 8601)."),
|
|
9
|
+
/** When the token expires. `null` on legacy rows that predate stored expiry. */
|
|
10
|
+
expires_at: z.string().optional().describe("When the token expires. `null` on legacy rows that predate stored expiry."),
|
|
11
|
+
/** Token ID (`sat_...`). */
|
|
12
|
+
id: z.string().describe("Token ID (`sat_...`)."),
|
|
13
|
+
/** When this token was last used to authenticate a request. `null` if the token has never been used. */
|
|
14
|
+
last_used_at: z.string().optional().describe("When this token was last used to authenticate a request. `null` if the token has never been used."),
|
|
15
|
+
/** Human-readable label assigned to this token at creation time. */
|
|
16
|
+
name: z.string().optional().describe("Human-readable label assigned to this token at creation time."),
|
|
17
|
+
/** When this token was revoked. `null` if the token is still active. */
|
|
18
|
+
revoked_at: z.string().optional().describe("When this token was revoked. `null` if the token is still active."),
|
|
19
|
+
/** Space-separated OAuth scopes stamped on the token. `null` on legacy rows; treat as `full_access`. */
|
|
20
|
+
scopes: z.string().optional().describe("Space-separated OAuth scopes stamped on the token. `null` on legacy rows; treat as `full_access`."),
|
|
21
|
+
/** Raw bearer token string. Present only in the response to the create request; never returned again after that. */
|
|
22
|
+
token: z.string().optional().describe("Raw bearer token string. Present only in the response to the create request; never returned again after that."),
|
|
23
|
+
}).describe("A long-lived API credential associated with a system account, used to authenticate server-to-server requests.");
|
|
24
|
+
//# sourceMappingURL=system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,uDAAuD;AACvD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,8CAA8C;IAC9C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACrF,gFAAgF;IAChF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2EAA2E,CAAC;IACvH,4BAA4B;IAC5B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAChD,wGAAwG;IACxG,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mGAAmG,CAAC;IACjJ,oEAAoE;IACpE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+DAA+D,CAAC;IACrG,wEAAwE;IACxE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mEAAmE,CAAC;IAC/G,wGAAwG;IACxG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mGAAmG,CAAC;IAC3I,oHAAoH;IACpH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+GAA+G,CAAC;CACvJ,CAAC,CAAC,QAAQ,CAAC,+GAA+G,CAAwC,CAAC"}
|