@archastro/sdk 0.15.0 → 0.16.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.
Files changed (107) hide show
  1. package/dist/client.d.ts +4 -0
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +5 -1
  4. package/dist/client.js.map +1 -1
  5. package/dist/effective-access.d.ts +34 -0
  6. package/dist/effective-access.d.ts.map +1 -0
  7. package/dist/effective-access.js +51 -0
  8. package/dist/effective-access.js.map +1 -0
  9. package/dist/index.d.ts +1 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +2 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/types/ai.d.ts +109 -109
  14. package/dist/types/ai.js +10 -10
  15. package/dist/types/ai.js.map +1 -1
  16. package/dist/types/automations.d.ts +15 -15
  17. package/dist/types/automations.js +6 -6
  18. package/dist/types/automations.js.map +1 -1
  19. package/dist/types/chat.d.ts +2520 -2520
  20. package/dist/types/chat.js +3 -3
  21. package/dist/types/chat.js.map +1 -1
  22. package/dist/types/common.d.ts +2545 -3272
  23. package/dist/types/common.d.ts.map +1 -1
  24. package/dist/types/common.js +204 -228
  25. package/dist/types/common.js.map +1 -1
  26. package/dist/types/config.d.ts +11 -11
  27. package/dist/types/config.js +3 -3
  28. package/dist/types/config.js.map +1 -1
  29. package/dist/types/events.d.ts +810 -0
  30. package/dist/types/events.d.ts.map +1 -0
  31. package/dist/types/events.js +77 -0
  32. package/dist/types/events.js.map +1 -0
  33. package/dist/types/expressions.d.ts +66 -0
  34. package/dist/types/expressions.d.ts.map +1 -0
  35. package/dist/types/expressions.js +27 -0
  36. package/dist/types/expressions.js.map +1 -0
  37. package/dist/types/extractions.d.ts +3 -3
  38. package/dist/types/extractions.js +2 -2
  39. package/dist/types/extractions.js.map +1 -1
  40. package/dist/types/graph.d.ts +34 -0
  41. package/dist/types/graph.d.ts.map +1 -0
  42. package/dist/types/graph.js +16 -0
  43. package/dist/types/graph.js.map +1 -0
  44. package/dist/types/index.d.ts +5 -0
  45. package/dist/types/index.d.ts.map +1 -1
  46. package/dist/types/index.js +6 -1
  47. package/dist/types/index.js.map +1 -1
  48. package/dist/types/notifications.d.ts +3 -3
  49. package/dist/types/notifications.js +2 -2
  50. package/dist/types/notifications.js.map +1 -1
  51. package/dist/types/oauth.d.ts +5 -5
  52. package/dist/types/scripts.d.ts +800 -0
  53. package/dist/types/scripts.d.ts.map +1 -0
  54. package/dist/types/scripts.js +112 -0
  55. package/dist/types/scripts.js.map +1 -0
  56. package/dist/types/status.d.ts +8 -8
  57. package/dist/types/status.js +2 -2
  58. package/dist/types/status.js.map +1 -1
  59. package/dist/types/tasks.d.ts +6 -6
  60. package/dist/types/tasks.js +3 -3
  61. package/dist/types/tasks.js.map +1 -1
  62. package/dist/types/teams.d.ts +334 -334
  63. package/dist/types/teams.js +5 -5
  64. package/dist/types/teams.js.map +1 -1
  65. package/dist/types/threads.d.ts +209 -209
  66. package/dist/types/threads.js +6 -6
  67. package/dist/types/threads.js.map +1 -1
  68. package/dist/types/users.d.ts +6 -6
  69. package/dist/types/users.js +3 -3
  70. package/dist/types/users.js.map +1 -1
  71. package/dist/types/workflows.d.ts +544 -0
  72. package/dist/types/workflows.d.ts.map +1 -0
  73. package/dist/types/workflows.js +91 -0
  74. package/dist/types/workflows.js.map +1 -0
  75. package/dist/v1/resources/agents.d.ts +4 -3
  76. package/dist/v1/resources/agents.d.ts.map +1 -1
  77. package/dist/v1/resources/agents.js +1 -1
  78. package/dist/v1/resources/agents.js.map +1 -1
  79. package/dist/v1/resources/ai.d.ts +2 -2
  80. package/dist/v1/resources/ai.d.ts.map +1 -1
  81. package/dist/v1/resources/ai.js +1 -1
  82. package/dist/v1/resources/event_subscriptions.d.ts +1 -1
  83. package/dist/v1/resources/event_subscriptions.js +1 -1
  84. package/dist/v1/resources/index.d.ts +2 -0
  85. package/dist/v1/resources/index.d.ts.map +1 -1
  86. package/dist/v1/resources/index.js +3 -1
  87. package/dist/v1/resources/index.js.map +1 -1
  88. package/dist/v1/resources/scripts.d.ts +117 -0
  89. package/dist/v1/resources/scripts.d.ts.map +1 -0
  90. package/dist/v1/resources/scripts.js +116 -0
  91. package/dist/v1/resources/scripts.js.map +1 -0
  92. package/dist/v1/resources/users.d.ts +8 -3
  93. package/dist/v1/resources/users.d.ts.map +1 -1
  94. package/dist/v1/resources/users.js +9 -3
  95. package/dist/v1/resources/users.js.map +1 -1
  96. package/dist/v1/resources/work_items.d.ts +1 -1
  97. package/dist/v1/resources/work_items.d.ts.map +1 -1
  98. package/dist/v1/resources/work_items.js +1 -1
  99. package/dist/v1/resources/workflows.d.ts +205 -0
  100. package/dist/v1/resources/workflows.d.ts.map +1 -0
  101. package/dist/v1/resources/workflows.js +205 -0
  102. package/dist/v1/resources/workflows.js.map +1 -0
  103. package/dist/v1.d.ts +4 -0
  104. package/dist/v1.d.ts.map +1 -1
  105. package/dist/v1.js +7 -1
  106. package/dist/v1.js.map +1 -1
  107. package/package.json +1 -1
@@ -0,0 +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,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,wBAAwB,EAAE,MAAM,CAAC;IACjC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,IAAI,EAA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AAsB;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"}
@@ -0,0 +1,77 @@
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: 26f39841b6c8
4
+ import { z } from "zod";
5
+ import { domainEventSchema } from "./common.js";
6
+ /** Runtime validator for {@link EventSubscription}. */
7
+ export const eventSubscriptionSchema = z.object({
8
+ agent: z.string().optional(),
9
+ available_count: z.number().int(),
10
+ created_at: z.string(),
11
+ dropped_events_total: z.number().int(),
12
+ dropped_through_position: z.number().int(),
13
+ event_names: z.array(z.string()),
14
+ id: z.string(),
15
+ last_overflow_at: z.string().optional(),
16
+ leased_count: z.number().int(),
17
+ max_pending_events: z.number().int(),
18
+ name: z.string(),
19
+ org: z.string().optional(),
20
+ queue_epoch: z.number().int(),
21
+ retention_seconds: z.number().int(),
22
+ sandbox: z.string().optional(),
23
+ status: z.enum(["active", "paused"]),
24
+ team: z.string().optional(),
25
+ updated_at: z.string(),
26
+ user: z.string().optional(),
27
+ visibility_timeout_seconds: z.number().int(),
28
+ }).describe("An app-scoped subscription to exact domain-event names.");
29
+ /** Runtime validator for {@link EventSubscriptionDelivery}. */
30
+ export const eventSubscriptionDeliverySchema = z.object({
31
+ delivery_id: z.string(),
32
+ event: domainEventSchema,
33
+ lease_expires_at: z.string(),
34
+ receipt_handle: z.string(),
35
+ receive_count: z.number().int(),
36
+ sequence: z.number().int(),
37
+ }).describe("A domain event leased from a subscription queue.");
38
+ /** Runtime validator for {@link EventSubscriptionClaim}. */
39
+ export const eventSubscriptionClaimSchema = z.object({
40
+ data: z.array(eventSubscriptionDeliverySchema),
41
+ dropped_events_total: z.number().int(),
42
+ dropped_through_position: z.number().int(),
43
+ has_more: z.boolean(),
44
+ queue_epoch: z.number().int(),
45
+ }).describe("Result of atomically claiming the head delivery.");
46
+ /** Runtime validator for {@link EventSubscriptionQueueEntry}. */
47
+ export const eventSubscriptionQueueEntrySchema = z.object({
48
+ delivery_id: z.string(),
49
+ event: domainEventSchema,
50
+ lease_expires_at: z.string().optional(),
51
+ receive_count: z.number().int(),
52
+ sequence: z.number().int(),
53
+ state: z.enum(["available", "leased"]),
54
+ }).describe("A non-reserving view of one queued delivery.");
55
+ /** Runtime validator for {@link EventSubscriptionHead}. */
56
+ export const eventSubscriptionHeadSchema = z.object({
57
+ data: eventSubscriptionQueueEntrySchema.optional(),
58
+ }).describe("A non-reserving view of the queue head.");
59
+ /** Runtime validator for {@link EventSubscriptionPage}. */
60
+ export const eventSubscriptionPageSchema = z.object({
61
+ data: z.array(eventSubscriptionSchema),
62
+ page: z.number().int(),
63
+ per_page: z.number().int(),
64
+ total_count: z.number().int(),
65
+ total_pages: z.number().int(),
66
+ }).describe("A page of domain-event subscriptions.");
67
+ /** Runtime validator for {@link EventSubscriptionQueue}. */
68
+ export const eventSubscriptionQueueSchema = z.object({
69
+ after_cursor: z.string().optional(),
70
+ before_cursor: z.string().optional(),
71
+ data: z.array(eventSubscriptionQueueEntrySchema),
72
+ dropped_events_total: z.number().int(),
73
+ dropped_through_position: z.number().int(),
74
+ has_more: z.boolean(),
75
+ queue_epoch: z.number().int(),
76
+ }).describe("A cursor-paginated non-reserving view of a subscription queue.");
77
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,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC;IAChD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACtC,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1C,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC9B,CAAC,CAAC,QAAQ,CAAC,gEAAgE,CAA6C,CAAC"}
@@ -0,0 +1,66 @@
1
+ import { z } from "zod";
2
+ /** Schema for the result of evaluating an expression */
3
+ export interface ExpressionResult {
4
+ /** Output lines from println calls, each with :line (source line number), :text, and optional :values (JSON-serializable structured data) */
5
+ output?: Record<string, unknown>[] | undefined;
6
+ /** The evaluated JSON-safe result */
7
+ result: unknown;
8
+ }
9
+ /** Runtime validator for {@link ExpressionResult}. */
10
+ export declare const expressionResultSchema: z.ZodObject<{
11
+ /** Output lines from println calls, each with :line (source line number), :text, and optional :values (JSON-serializable structured data) */
12
+ output: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>, "many">>;
13
+ /** The evaluated JSON-safe result */
14
+ result: z.ZodType<{} | null, z.ZodTypeDef, {} | null>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ result: {} | null;
17
+ output?: Record<string, {} | null>[] | undefined;
18
+ }, {
19
+ result: {} | null;
20
+ output?: Record<string, {} | null>[] | undefined;
21
+ }>;
22
+ /** Schema for expression validation responses */
23
+ export interface ExpressionValidation {
24
+ /** Validation error message */
25
+ error?: string | undefined;
26
+ /** Structured findings with position info for editor diagnostics */
27
+ findings?: Record<string, unknown>[] | undefined;
28
+ /** Whether the validation call succeeded */
29
+ ok: boolean;
30
+ /** Inferred symbol types at source positions (name, type, line, column) */
31
+ symbols?: Record<string, unknown>[] | undefined;
32
+ /** Whether the expression is valid */
33
+ valid?: boolean | undefined;
34
+ /** Semantic analysis warnings (non-blocking) */
35
+ warnings?: string[] | undefined;
36
+ }
37
+ /** Runtime validator for {@link ExpressionValidation}. */
38
+ export declare const expressionValidationSchema: z.ZodObject<{
39
+ /** Validation error message */
40
+ error: z.ZodOptional<z.ZodString>;
41
+ /** Structured findings with position info for editor diagnostics */
42
+ findings: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>, "many">>;
43
+ /** Whether the validation call succeeded */
44
+ ok: z.ZodBoolean;
45
+ /** Inferred symbol types at source positions (name, type, line, column) */
46
+ symbols: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>, "many">>;
47
+ /** Whether the expression is valid */
48
+ valid: z.ZodOptional<z.ZodBoolean>;
49
+ /** Semantic analysis warnings (non-blocking) */
50
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ ok: boolean;
53
+ error?: string | undefined;
54
+ valid?: boolean | undefined;
55
+ warnings?: string[] | undefined;
56
+ findings?: Record<string, {} | null>[] | undefined;
57
+ symbols?: Record<string, {} | null>[] | undefined;
58
+ }, {
59
+ ok: boolean;
60
+ error?: string | undefined;
61
+ valid?: boolean | undefined;
62
+ warnings?: string[] | undefined;
63
+ findings?: Record<string, {} | null>[] | undefined;
64
+ symbols?: Record<string, {} | null>[] | undefined;
65
+ }>;
66
+ //# sourceMappingURL=expressions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../src/types/expressions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,wDAAwD;AACxD,MAAM,WAAW,gBAAgB;IAC/B,6IAA6I;IAC7I,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC;IAC/C,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,sDAAsD;AACtD,eAAO,MAAM,sBAAsB;IACjC,6IAA6I;;IAE7I,qCAAqC;;;;;;;;EAE+D,CAAC;AAEvG,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC;IACjD,4CAA4C;IAC5C,EAAE,EAAE,OAAO,CAAC;IACZ,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC;IAChD,sCAAsC;IACtC,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CACjC;AAED,0DAA0D;AAC1D,eAAO,MAAM,0BAA0B;IACrC,+BAA+B;;IAE/B,oEAAoE;;IAEpE,4CAA4C;;IAE5C,2EAA2E;;IAE3E,sCAAsC;;IAEtC,gDAAgD;;;;;;;;;;;;;;;;EAEiD,CAAC"}
@@ -0,0 +1,27 @@
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: 34072e7257bc
4
+ import { z } from "zod";
5
+ /** Runtime validator for {@link ExpressionResult}. */
6
+ export const expressionResultSchema = z.object({
7
+ /** Output lines from println calls, each with :line (source line number), :text, and optional :values (JSON-serializable structured data) */
8
+ output: z.array(z.record(z.custom((value) => value !== undefined))).optional().describe("Output lines from println calls, each with :line (source line number), :text, and optional :values (JSON-serializable structured data)"),
9
+ /** The evaluated JSON-safe result */
10
+ result: z.custom((value) => value !== undefined).describe("The evaluated JSON-safe result"),
11
+ }).describe("Schema for the result of evaluating an expression");
12
+ /** Runtime validator for {@link ExpressionValidation}. */
13
+ export const expressionValidationSchema = z.object({
14
+ /** Validation error message */
15
+ error: z.string().optional().describe("Validation error message"),
16
+ /** Structured findings with position info for editor diagnostics */
17
+ findings: z.array(z.record(z.custom((value) => value !== undefined))).optional().describe("Structured findings with position info for editor diagnostics"),
18
+ /** Whether the validation call succeeded */
19
+ ok: z.boolean().describe("Whether the validation call succeeded"),
20
+ /** Inferred symbol types at source positions (name, type, line, column) */
21
+ symbols: z.array(z.record(z.custom((value) => value !== undefined))).optional().describe("Inferred symbol types at source positions (name, type, line, column)"),
22
+ /** Whether the expression is valid */
23
+ valid: z.boolean().optional().describe("Whether the expression is valid"),
24
+ /** Semantic analysis warnings (non-blocking) */
25
+ warnings: z.array(z.string()).optional().describe("Semantic analysis warnings (non-blocking)"),
26
+ }).describe("Schema for expression validation responses");
27
+ //# sourceMappingURL=expressions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expressions.js","sourceRoot":"","sources":["../../src/types/expressions.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,sDAAsD;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,6IAA6I;IAC7I,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAY,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wIAAwI,CAAC;IAC5O,qCAAqC;IACrC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAY,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CACvG,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAuC,CAAC;AAkBvG,0DAA0D;AAC1D,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,+BAA+B;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACjE,oEAAoE;IACpE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAY,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+DAA+D,CAAC;IACrK,4CAA4C;IAC5C,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;IACjE,2EAA2E;IAC3E,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAY,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sEAAsE,CAAC;IAC3K,sCAAsC;IACtC,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACzE,gDAAgD;IAChD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;CAC/F,CAAC,CAAC,QAAQ,CAAC,4CAA4C,CAA2C,CAAC"}
@@ -215,7 +215,7 @@ export declare const extractionSchema: z.ZodObject<{
215
215
  /** When the extraction was created (ISO 8601). */
216
216
  created_at: z.ZodOptional<z.ZodString>;
217
217
  /** Where outputs were written: `{ kind, path_prefix }`. */
218
- destination: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
218
+ destination: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
219
219
  /** Failure category when `state` is `failed`; `null` otherwise. */
220
220
  failure_reason: z.ZodOptional<z.ZodEnum<["fetch_failed", "unsupported_content", "extraction_failed", "timeout", "internal_error"]>>;
221
221
  /** Source file (`fil_...`) for document extraction; `null` for link/site. */
@@ -406,7 +406,7 @@ export declare const extractionSchema: z.ZodObject<{
406
406
  state?: "done" | "pending" | "failed" | "running" | undefined;
407
407
  failure_reason?: "fetch_failed" | "unsupported_content" | "extraction_failed" | "timeout" | "internal_error" | undefined;
408
408
  byte_count?: number | undefined;
409
- destination?: Record<string, unknown> | undefined;
409
+ destination?: Record<string, {} | null> | undefined;
410
410
  output_count?: number | undefined;
411
411
  outputs?: {
412
412
  id: string;
@@ -451,7 +451,7 @@ export declare const extractionSchema: z.ZodObject<{
451
451
  state?: "done" | "pending" | "failed" | "running" | undefined;
452
452
  failure_reason?: "fetch_failed" | "unsupported_content" | "extraction_failed" | "timeout" | "internal_error" | undefined;
453
453
  byte_count?: number | undefined;
454
- destination?: Record<string, unknown> | undefined;
454
+ destination?: Record<string, {} | null> | undefined;
455
455
  output_count?: number | undefined;
456
456
  outputs?: {
457
457
  id: string;
@@ -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: 997ff463327e
3
+ // Content hash: 21009cb8fb25
4
4
  import { z } from "zod";
5
5
  import { storageFileSchema } from "./common.js";
6
6
  /** Runtime validator for {@link ExtractionOutput}. */
@@ -27,7 +27,7 @@ export const extractionSchema = z.object({
27
27
  /** When the extraction was created (ISO 8601). */
28
28
  created_at: z.string().optional().describe("When the extraction was created (ISO 8601)."),
29
29
  /** Where outputs were written: `{ kind, path_prefix }`. */
30
- destination: z.record(z.unknown()).optional().describe("Where outputs were written: `{ kind, path_prefix }`."),
30
+ destination: z.record(z.custom((value) => value !== undefined)).optional().describe("Where outputs were written: `{ kind, path_prefix }`."),
31
31
  /** Failure category when `state` is `failed`; `null` otherwise. */
32
32
  failure_reason: z.enum(["fetch_failed", "unsupported_content", "extraction_failed", "timeout", "internal_error"]).optional().describe("Failure category when `state` is `failed`; `null` otherwise."),
33
33
  /** Source file (`fil_...`) for document extraction; `null` for link/site. */
@@ -1 +1 @@
1
- {"version":3,"file":"extractions.js","sourceRoot":"","sources":["../../src/types/extractions.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;AAmBhD,sDAAsD;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,gDAAgD;IAChD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACvF,8IAA8I;IAC9I,IAAI,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yIAAyI,CAAC;IACtL,6BAA6B;IAC7B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IACjD,kEAAkE;IAClE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6DAA6D,CAAC;IAC5G,oEAAoE;IACpE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+DAA+D,CAAC;IAC3G,oBAAoB;IACpB,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,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AAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2DAA2D,CAAC;CACjG,CAAC,CAAC,QAAQ,CAAC,mIAAmI,CAAiC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { z } from "zod";
2
+ /** Schema for graph validation responses */
3
+ export interface GraphValidation {
4
+ /** Error message if graph construction or validation failed */
5
+ error?: string | undefined;
6
+ /** Structured findings from static analysis (unreachable nodes, dead-ends, cycles) */
7
+ findings?: Record<string, unknown>[] | undefined;
8
+ /** Whether graph construction succeeded */
9
+ ok: boolean;
10
+ /** Whether the graph passed structural validation and analysis */
11
+ valid?: boolean | undefined;
12
+ }
13
+ /** Runtime validator for {@link GraphValidation}. */
14
+ export declare const graphValidationSchema: z.ZodObject<{
15
+ /** Error message if graph construction or validation failed */
16
+ error: z.ZodOptional<z.ZodString>;
17
+ /** Structured findings from static analysis (unreachable nodes, dead-ends, cycles) */
18
+ findings: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>, "many">>;
19
+ /** Whether graph construction succeeded */
20
+ ok: z.ZodBoolean;
21
+ /** Whether the graph passed structural validation and analysis */
22
+ valid: z.ZodOptional<z.ZodBoolean>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ ok: boolean;
25
+ error?: string | undefined;
26
+ valid?: boolean | undefined;
27
+ findings?: Record<string, {} | null>[] | undefined;
28
+ }, {
29
+ ok: boolean;
30
+ error?: string | undefined;
31
+ valid?: boolean | undefined;
32
+ findings?: Record<string, {} | null>[] | undefined;
33
+ }>;
34
+ //# sourceMappingURL=graph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/types/graph.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,4CAA4C;AAC5C,MAAM,WAAW,eAAe;IAC9B,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC;IACjD,2CAA2C;IAC3C,EAAE,EAAE,OAAO,CAAC;IACZ,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B;AAED,qDAAqD;AACrD,eAAO,MAAM,qBAAqB;IAChC,+DAA+D;;IAE/D,sFAAsF;;IAEtF,2CAA2C;;IAE3C,kEAAkE;;;;;;;;;;;;EAEqB,CAAC"}
@@ -0,0 +1,16 @@
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: cc747af113cc
4
+ import { z } from "zod";
5
+ /** Runtime validator for {@link GraphValidation}. */
6
+ export const graphValidationSchema = z.object({
7
+ /** Error message if graph construction or validation failed */
8
+ error: z.string().optional().describe("Error message if graph construction or validation failed"),
9
+ /** Structured findings from static analysis (unreachable nodes, dead-ends, cycles) */
10
+ findings: z.array(z.record(z.custom((value) => value !== undefined))).optional().describe("Structured findings from static analysis (unreachable nodes, dead-ends, cycles)"),
11
+ /** Whether graph construction succeeded */
12
+ ok: z.boolean().describe("Whether graph construction succeeded"),
13
+ /** Whether the graph passed structural validation and analysis */
14
+ valid: z.boolean().optional().describe("Whether the graph passed structural validation and analysis"),
15
+ }).describe("Schema for graph validation responses");
16
+ //# sourceMappingURL=graph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.js","sourceRoot":"","sources":["../../src/types/graph.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,qDAAqD;AACrD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,+DAA+D;IAC/D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0DAA0D,CAAC;IACjG,sFAAsF;IACtF,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAY,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iFAAiF,CAAC;IACvL,2CAA2C;IAC3C,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAChE,kEAAkE;IAClE,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6DAA6D,CAAC;CACtG,CAAC,CAAC,QAAQ,CAAC,uCAAuC,CAAsC,CAAC"}
@@ -5,15 +5,20 @@ export * from "./chat.js";
5
5
  export * from "./common.js";
6
6
  export * from "./config.js";
7
7
  export * from "./device.js";
8
+ export * from "./events.js";
9
+ export * from "./expressions.js";
8
10
  export * from "./extractions.js";
11
+ export * from "./graph.js";
9
12
  export * from "./image.js";
10
13
  export * from "./invites.js";
11
14
  export * from "./notifications.js";
12
15
  export * from "./oauth.js";
16
+ export * from "./scripts.js";
13
17
  export * from "./status.js";
14
18
  export * from "./system.js";
15
19
  export * from "./tasks.js";
16
20
  export * from "./teams.js";
17
21
  export * from "./threads.js";
18
22
  export * from "./users.js";
23
+ export * from "./workflows.js";
19
24
  //# sourceMappingURL=index.d.ts.map
@@ -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,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,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,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: cbd3aa478ad5
3
+ // Content hash: 1ea7b1aa9d2e
4
4
  export * from "./ai.js";
5
5
  export * from "./artifacts.js";
6
6
  export * from "./automations.js";
@@ -8,15 +8,20 @@ export * from "./chat.js";
8
8
  export * from "./common.js";
9
9
  export * from "./config.js";
10
10
  export * from "./device.js";
11
+ export * from "./events.js";
12
+ export * from "./expressions.js";
11
13
  export * from "./extractions.js";
14
+ export * from "./graph.js";
12
15
  export * from "./image.js";
13
16
  export * from "./invites.js";
14
17
  export * from "./notifications.js";
15
18
  export * from "./oauth.js";
19
+ export * from "./scripts.js";
16
20
  export * from "./status.js";
17
21
  export * from "./system.js";
18
22
  export * from "./tasks.js";
19
23
  export * from "./teams.js";
20
24
  export * from "./threads.js";
21
25
  export * from "./users.js";
26
+ export * from "./workflows.js";
22
27
  //# sourceMappingURL=index.js.map
@@ -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,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,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"}
@@ -27,7 +27,7 @@ export declare const notificationSchema: z.ZodObject<{
27
27
  /** When the recipient marked this notification read. `null` if the notification has not been read. */
28
28
  read_at: z.ZodOptional<z.ZodString>;
29
29
  /** Type-specific render spec resolved at request time. All types include `title`, `kind`, and `actions`; custom types may add their own keys. Notifications whose type is no longer registered render with `kind: "unknown"`. */
30
- rendered: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30
+ rendered: z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>;
31
31
  /** Current read state of the notification. One of `"unread"`, `"read"`, or `"archived"`. */
32
32
  status: z.ZodString;
33
33
  /** Notification type slug, e.g. `"app_info"` for a built-in type or `"custom:deploy_complete"` for a custom type. */
@@ -37,7 +37,7 @@ export declare const notificationSchema: z.ZodObject<{
37
37
  status: string;
38
38
  created_at: string;
39
39
  id: string;
40
- rendered: Record<string, unknown>;
40
+ rendered: Record<string, {} | null>;
41
41
  archived_at?: string | undefined;
42
42
  read_at?: string | undefined;
43
43
  }, {
@@ -45,7 +45,7 @@ export declare const notificationSchema: z.ZodObject<{
45
45
  status: string;
46
46
  created_at: string;
47
47
  id: string;
48
- rendered: Record<string, unknown>;
48
+ rendered: Record<string, {} | null>;
49
49
  archived_at?: string | undefined;
50
50
  read_at?: string | undefined;
51
51
  }>;
@@ -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: de33e3673088
3
+ // Content hash: ca83ffb6a28a
4
4
  import { z } from "zod";
5
5
  /** Runtime validator for {@link Notification}. */
6
6
  export const notificationSchema = z.object({
@@ -13,7 +13,7 @@ export const notificationSchema = z.object({
13
13
  /** When the recipient marked this notification read. `null` if the notification has not been read. */
14
14
  read_at: z.string().optional().describe("When the recipient marked this notification read. `null` if the notification has not been read."),
15
15
  /** Type-specific render spec resolved at request time. All types include `title`, `kind`, and `actions`; custom types may add their own keys. Notifications whose type is no longer registered render with `kind: "unknown"`. */
16
- rendered: z.record(z.unknown()).describe("Type-specific render spec resolved at request time. All types include `title`, `kind`, and `actions`; custom types may add their own keys. Notifications whose type is no longer registered render with `kind: \"unknown\"`."),
16
+ rendered: z.record(z.custom((value) => value !== undefined)).describe("Type-specific render spec resolved at request time. All types include `title`, `kind`, and `actions`; custom types may add their own keys. Notifications whose type is no longer registered render with `kind: \"unknown\"`."),
17
17
  /** Current read state of the notification. One of `"unread"`, `"read"`, or `"archived"`. */
18
18
  status: z.string().describe("Current read state of the notification. One of `\"unread\"`, `\"read\"`, or `\"archived\"`."),
19
19
  /** Notification type slug, e.g. `"app_info"` for a built-in type or `"custom:deploy_complete"` for a custom type. */
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/types/notifications.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,kDAAkD;AAClD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,uGAAuG;IACvG,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kGAAkG,CAAC;IAC/I,iDAAiD;IACjD,UAAU,E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,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,QAAQ,CAAC,2IAA2I,CAAC;CAClM,CAAC,CAAC,QAAQ,CAAC,qFAAqF,CAAiD,CAAC"}
@@ -40,7 +40,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
40
40
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  id: z.ZodString;
42
42
  is_system_user: z.ZodOptional<z.ZodBoolean>;
43
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
43
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
44
44
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -63,7 +63,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
63
63
  created_by_team?: string | null | undefined;
64
64
  created_by_user?: string | null | undefined;
65
65
  is_system_user?: boolean | undefined;
66
- metadata?: Record<string, unknown> | undefined;
66
+ metadata?: Record<string, {} | null> | undefined;
67
67
  org_name?: string | null | undefined;
68
68
  org_role?: string | null | undefined;
69
69
  org_slug?: string | null | undefined;
@@ -83,7 +83,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
83
83
  created_by_team?: string | null | undefined;
84
84
  created_by_user?: string | null | undefined;
85
85
  is_system_user?: boolean | undefined;
86
- metadata?: Record<string, unknown> | undefined;
86
+ metadata?: Record<string, {} | null> | undefined;
87
87
  org_name?: string | null | undefined;
88
88
  org_role?: string | null | undefined;
89
89
  org_slug?: string | null | undefined;
@@ -109,7 +109,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
109
109
  created_by_team?: string | null | undefined;
110
110
  created_by_user?: string | null | undefined;
111
111
  is_system_user?: boolean | undefined;
112
- metadata?: Record<string, unknown> | undefined;
112
+ metadata?: Record<string, {} | null> | undefined;
113
113
  org_name?: string | null | undefined;
114
114
  org_role?: string | null | undefined;
115
115
  org_slug?: string | null | undefined;
@@ -136,7 +136,7 @@ export declare const oAuthTokenResponseSchema: z.ZodObject<{
136
136
  created_by_team?: string | null | undefined;
137
137
  created_by_user?: string | null | undefined;
138
138
  is_system_user?: boolean | undefined;
139
- metadata?: Record<string, unknown> | undefined;
139
+ metadata?: Record<string, {} | null> | undefined;
140
140
  org_name?: string | null | undefined;
141
141
  org_role?: string | null | undefined;
142
142
  org_slug?: string | null | undefined;