@archastro/sdk 0.13.0 → 0.14.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 (105) hide show
  1. package/dist/channels/api_chat_channel.d.ts +11 -2
  2. package/dist/channels/api_chat_channel.d.ts.map +1 -1
  3. package/dist/channels/api_chat_channel.js +3 -3
  4. package/dist/channels/api_chat_channel.js.map +1 -1
  5. package/dist/client.d.ts +4 -0
  6. package/dist/client.d.ts.map +1 -1
  7. package/dist/client.js +5 -1
  8. package/dist/client.js.map +1 -1
  9. package/dist/types/artifacts.d.ts +35 -35
  10. package/dist/types/automations.d.ts +4 -4
  11. package/dist/types/automations.d.ts.map +1 -1
  12. package/dist/types/automations.js +2 -2
  13. package/dist/types/automations.js.map +1 -1
  14. package/dist/types/chat.d.ts +21037 -18931
  15. package/dist/types/chat.d.ts.map +1 -1
  16. package/dist/types/chat.js +12 -1
  17. package/dist/types/chat.js.map +1 -1
  18. package/dist/types/common.d.ts +10417 -9130
  19. package/dist/types/common.d.ts.map +1 -1
  20. package/dist/types/common.js +246 -143
  21. package/dist/types/common.js.map +1 -1
  22. package/dist/types/extractions.d.ts +112 -112
  23. package/dist/types/image.d.ts +28 -28
  24. package/dist/types/image.d.ts.map +1 -1
  25. package/dist/types/image.js +8 -8
  26. package/dist/types/image.js.map +1 -1
  27. package/dist/types/invites.d.ts +35 -35
  28. package/dist/types/oauth.d.ts +80 -55
  29. package/dist/types/oauth.d.ts.map +1 -1
  30. package/dist/types/status.d.ts +85 -60
  31. package/dist/types/status.d.ts.map +1 -1
  32. package/dist/types/status.js +2 -2
  33. package/dist/types/status.js.map +1 -1
  34. package/dist/types/system.d.ts +52 -22
  35. package/dist/types/system.d.ts.map +1 -1
  36. package/dist/types/system.js +17 -7
  37. package/dist/types/system.js.map +1 -1
  38. package/dist/types/tasks.d.ts +305 -281
  39. package/dist/types/tasks.d.ts.map +1 -1
  40. package/dist/types/tasks.js +26 -18
  41. package/dist/types/tasks.js.map +1 -1
  42. package/dist/types/teams.d.ts +2300 -2240
  43. package/dist/types/teams.d.ts.map +1 -1
  44. package/dist/types/teams.js +13 -13
  45. package/dist/types/teams.js.map +1 -1
  46. package/dist/types/threads.d.ts +1981 -1786
  47. package/dist/types/threads.d.ts.map +1 -1
  48. package/dist/types/threads.js +26 -26
  49. package/dist/types/threads.js.map +1 -1
  50. package/dist/types/users.d.ts +123 -93
  51. package/dist/types/users.d.ts.map +1 -1
  52. package/dist/types/users.js +22 -12
  53. package/dist/types/users.js.map +1 -1
  54. package/dist/v1/resources/activity_feed.d.ts +107 -102
  55. package/dist/v1/resources/activity_feed.d.ts.map +1 -1
  56. package/dist/v1/resources/activity_feed.js +1 -1
  57. package/dist/v1/resources/agents.d.ts +2 -1
  58. package/dist/v1/resources/agents.d.ts.map +1 -1
  59. package/dist/v1/resources/agents.js +1 -1
  60. package/dist/v1/resources/agents.js.map +1 -1
  61. package/dist/v1/resources/event_subscription_deliveries.d.ts +17 -0
  62. package/dist/v1/resources/event_subscription_deliveries.d.ts.map +1 -0
  63. package/dist/v1/resources/event_subscription_deliveries.js +21 -0
  64. package/dist/v1/resources/event_subscription_deliveries.js.map +1 -0
  65. package/dist/v1/resources/event_subscriptions.d.ts +110 -0
  66. package/dist/v1/resources/event_subscriptions.d.ts.map +1 -0
  67. package/dist/v1/resources/event_subscriptions.js +119 -0
  68. package/dist/v1/resources/event_subscriptions.js.map +1 -0
  69. package/dist/v1/resources/index.d.ts +2 -0
  70. package/dist/v1/resources/index.d.ts.map +1 -1
  71. package/dist/v1/resources/index.js +3 -1
  72. package/dist/v1/resources/index.js.map +1 -1
  73. package/dist/v1/resources/private_service_definitions.d.ts +4 -1
  74. package/dist/v1/resources/private_service_definitions.d.ts.map +1 -1
  75. package/dist/v1/resources/private_service_definitions.js +2 -2
  76. package/dist/v1/resources/private_service_definitions.js.map +1 -1
  77. package/dist/v1/resources/solutions.d.ts +11 -1
  78. package/dist/v1/resources/solutions.d.ts.map +1 -1
  79. package/dist/v1/resources/solutions.js +13 -1
  80. package/dist/v1/resources/solutions.js.map +1 -1
  81. package/dist/v1/resources/tasks.d.ts +146 -126
  82. package/dist/v1/resources/tasks.d.ts.map +1 -1
  83. package/dist/v1/resources/tasks.js +5 -1
  84. package/dist/v1/resources/tasks.js.map +1 -1
  85. package/dist/v1/resources/teams.d.ts +574 -491
  86. package/dist/v1/resources/teams.d.ts.map +1 -1
  87. package/dist/v1/resources/teams.js +53 -2
  88. package/dist/v1/resources/teams.js.map +1 -1
  89. package/dist/v1/resources/threads.d.ts +98 -77
  90. package/dist/v1/resources/threads.d.ts.map +1 -1
  91. package/dist/v1/resources/threads.js +3 -2
  92. package/dist/v1/resources/threads.js.map +1 -1
  93. package/dist/v1/resources/trajectories.d.ts +4 -1
  94. package/dist/v1/resources/trajectories.d.ts.map +1 -1
  95. package/dist/v1/resources/trajectories.js +2 -2
  96. package/dist/v1/resources/trajectories.js.map +1 -1
  97. package/dist/v1/resources/users.d.ts +443 -376
  98. package/dist/v1/resources/users.d.ts.map +1 -1
  99. package/dist/v1/resources/users.js +49 -1
  100. package/dist/v1/resources/users.js.map +1 -1
  101. package/dist/v1.d.ts +4 -0
  102. package/dist/v1.d.ts.map +1 -1
  103. package/dist/v1.js +7 -1
  104. package/dist/v1.js.map +1 -1
  105. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../src/types/threads.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,6GAA6G;AAC7G,MAAM,WAAW,cAAc;IAC7B,gLAAgL;IAChL,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC;AAED,oDAAo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@ -1,24 +1,24 @@
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: 6260c3dae780
3
+ // Content hash: d45cd1bd75a7
4
4
  import { z } from "zod";
5
5
  import { aclSchema, agentSchema, attachmentSchema, messageSchema } from "./common.js";
6
6
  import { userSchema } from "./users.js";
7
7
  /** Runtime validator for {@link ThreadSettings}. */
8
8
  export const threadSettingsSchema = z.object({
9
- /** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. */
10
- agent_enabled: z.boolean().optional().describe("Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured."),
9
+ /** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. `null` when a client explicitly cleared the setting. */
10
+ agent_enabled: z.boolean().nullable().optional().describe("Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. `null` when a client explicitly cleared the setting."),
11
11
  }).describe("Configuration settings for a thread that control AI agent behavior and other thread-level preferences.");
12
12
  /** Runtime validator for {@link Thread}. */
13
13
  export const threadSchema = z.object({
14
14
  /** ID of the agent that owns this thread (`agt_...`). `null` for user-owned or team-owned threads. */
15
- agent_user: z.string().optional().describe("ID of the agent that owns this thread (`agt_...`). `null` for user-owned or team-owned threads."),
15
+ agent_user: z.string().nullable().optional().describe("ID of the agent that owns this thread (`agt_...`). `null` for user-owned or team-owned threads."),
16
16
  /** When the thread was created (ISO 8601). */
17
17
  created_at: z.string().optional().describe("When the thread was created (ISO 8601)."),
18
18
  /** User who created this thread. Returns a user ID (`usr_...`) by default, or an expanded user object when the association is loaded. `null` if the creator is unknown. */
19
- creator: z.union([z.string(), z.object({ alias: z.string().optional(), app: z.string().optional(), app_name: z.string().optional(), email: z.string().optional(), id: z.string(), is_system_user: z.boolean().optional(), metadata: z.record(z.unknown()).optional(), name: z.string().optional(), org: z.string().optional(), org_name: z.string().optional(), org_role: z.string().optional(), org_slug: z.string().optional(), sandbox: z.string().optional(), sandbox_name: z.string().optional() })]).optional().describe("User who created this thread. Returns a user ID (`usr_...`) by default, or an expanded user object when the association is loaded. `null` if the creator is unknown."),
19
+ creator: z.union([z.string(), z.object({ alias: z.string().nullable().optional(), app: z.string().nullable().optional(), app_name: z.string().nullable().optional(), created_by_agent_user: z.string().nullable().optional(), created_by_developer: z.string().nullable().optional(), created_by_org: z.string().nullable().optional(), created_by_team: z.string().nullable().optional(), created_by_user: z.string().nullable().optional(), email: z.string().nullable().optional(), id: z.string(), is_system_user: z.boolean().optional(), metadata: z.record(z.unknown()).optional(), name: z.string().nullable().optional(), org: z.string().nullable().optional(), org_name: z.string().nullable().optional(), org_role: z.string().nullable().optional(), org_slug: z.string().nullable().optional(), sandbox: z.string().nullable().optional(), sandbox_name: z.string().nullable().optional() })]).nullable().optional().describe("User who created this thread. Returns a user ID (`usr_...`) by default, or an expanded user object when the association is loaded. `null` if the creator is unknown."),
20
20
  /** Optional description or purpose statement for the thread. `null` if not set. */
21
- description: z.string().optional().describe("Optional description or purpose statement for the thread. `null` if not set."),
21
+ description: z.string().nullable().optional().describe("Optional description or purpose statement for the thread. `null` if not set."),
22
22
  /** Thread ID (`thr_...`). */
23
23
  id: z.string().describe("Thread ID (`thr_...`)."),
24
24
  /** Whether this thread operates as a channel — a multi-member broadcast-style conversation. */
@@ -30,23 +30,23 @@ export const threadSchema = z.object({
30
30
  /** Whether this thread is hidden from public discovery. Unlisted threads are accessible only to direct participants. */
31
31
  is_unlisted: z.boolean().optional().describe("Whether this thread is hidden from public discovery. Unlisted threads are accessible only to direct participants."),
32
32
  /** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
33
- key: z.string().optional().describe("Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set."),
34
- /** Thread subtype: `"standard"` for ordinary threads, `"slack_mirror"` for the membership-strict mirror of a Slack channel, `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. Read-only derived server-side at creation, never accepted from params. */
35
- kind: z.string().optional().describe("Thread subtype: `\"standard\"` for ordinary threads, `\"slack_mirror\"` for the membership-strict mirror of a Slack channel, `\"slashwork_mirror\"` for the membership-strict mirror of a Slashwork group. Read-only derived server-side at creation, never accepted from params."),
33
+ key: z.string().nullable().optional().describe("Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set."),
34
+ /** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal` is an explicit user-thread creation option; mirror kinds are server-derived. */
35
+ kind: z.string().nullable().optional().describe("Thread subtype: `\"standard\"` for ordinary threads, `\"personal\"` for a user-and-owned-agents roster, `\"slack_mirror\"` for the membership-strict mirror of a Slack channel, or `\"slashwork_mirror\"` for the membership-strict mirror of a Slashwork group. `personal` is an explicit user-thread creation option; mirror kinds are server-derived."),
36
36
  /** When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment. */
37
- last_activity: z.string().optional().describe("When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment."),
37
+ last_activity: z.string().nullable().optional().describe("When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment."),
38
38
  /** Single-line snippet of the most recent message's text content (first non-empty line, truncated to 140 characters). Populated on thread list endpoints alongside `last_activity`; `null` when the thread has no messages, the latest message has no text content (e.g. attachment-only), or the endpoint doesn't compute activity enrichment. */
39
- last_message_preview: z.string().optional().describe("Single-line snippet of the most recent message's text content (first non-empty line, truncated to 140 characters). Populated on thread list endpoints alongside `last_activity`; `null` when the thread has no messages, the latest message has no text content (e.g. attachment-only), or the endpoint doesn't compute activity enrichment."),
39
+ last_message_preview: z.string().nullable().optional().describe("Single-line snippet of the most recent message's text content (first non-empty line, truncated to 140 characters). Populated on thread list endpoints alongside `last_activity`; `null` when the thread has no messages, the latest message has no text content (e.g. attachment-only), or the endpoint doesn't compute activity enrichment."),
40
40
  /** Display name of the sender of the most recent message — the same message `last_message_preview` snippets. Populated on thread list endpoints; `null` when the thread has no messages or the endpoint doesn't compute activity enrichment. */
41
- last_message_sender: z.string().optional().describe("Display name of the sender of the most recent message — the same message `last_message_preview` snippets. Populated on thread list endpoints; `null` when the thread has no messages or the endpoint doesn't compute activity enrichment."),
41
+ last_message_sender: z.string().nullable().optional().describe("Display name of the sender of the most recent message — the same message `last_message_preview` snippets. Populated on thread list endpoints; `null` when the thread has no messages or the endpoint doesn't compute activity enrichment."),
42
42
  /** Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set. */
43
- metadata: z.record(z.unknown()).optional().describe("Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set."),
43
+ metadata: z.record(z.unknown()).nullable().optional().describe("Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set."),
44
44
  /** Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery. */
45
45
  muted: z.boolean().optional().describe("Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery."),
46
46
  /** ID of the organization this thread belongs to (`org_...`). `null` for threads outside an org context. */
47
- org: z.string().optional().describe("ID of the organization this thread belongs to (`org_...`). `null` for threads outside an org context."),
47
+ org: z.string().nullable().optional().describe("ID of the organization this thread belongs to (`org_...`). `null` for threads outside an org context."),
48
48
  /** The message that spawned this thread as a sub-thread. `null` for top-level threads. */
49
- parent_message: messageSchema.optional().describe("The message that spawned this thread as a sub-thread. `null` for top-level threads."),
49
+ parent_message: messageSchema.nullable().optional().describe("The message that spawned this thread as a sub-thread. `null` for top-level threads."),
50
50
  /** Array of participant user IDs (`usr_...`) who are members of this thread. */
51
51
  participant: z.array(z.string()).optional().describe("Array of participant user IDs (`usr_...`) who are members of this thread."),
52
52
  /** Expanded participant user objects for each member of this thread. Populated only when the association is loaded. */
@@ -54,31 +54,31 @@ export const threadSchema = z.object({
54
54
  /** Composite actor identifiers for all participants currently active in this thread. Present only when actor enrichment is requested. */
55
55
  participating_actor: z.array(z.string()).optional().describe("Composite actor identifiers for all participants currently active in this thread. Present only when actor enrichment is requested."),
56
56
  /** Expanded agent objects for all agents participating in this thread. Present only when agent enrichment is requested. */
57
- participating_agents: z.array(agentSchema).optional().describe("Expanded agent objects for all agents participating in this thread. Present only when agent enrichment is requested."),
57
+ participating_agents: z.array(agentSchema).nullable().optional().describe("Expanded agent objects for all agents participating in this thread. Present only when agent enrichment is requested."),
58
58
  /** The authenticated user's membership role in this thread, e.g. `"owner"`, `"member"`, or `"viewer"`. `null` if the user is not a member. */
59
- role: z.string().optional().describe("The authenticated user's membership role in this thread, e.g. `\"owner\"`, `\"member\"`, or `\"viewer\"`. `null` if the user is not a member."),
59
+ role: z.string().nullable().optional().describe("The authenticated user's membership role in this thread, e.g. `\"owner\"`, `\"member\"`, or `\"viewer\"`. `null` if the user is not a member."),
60
60
  /** ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads. */
61
- sandbox: z.string().optional().describe("ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads."),
61
+ sandbox: z.string().nullable().optional().describe("ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads."),
62
62
  /** Per-thread configuration settings controlling AI agent behavior for this thread. */
63
63
  settings: threadSettingsSchema.optional().describe("Per-thread configuration settings controlling AI agent behavior for this thread."),
64
64
  /** URL-safe slug for the thread, used in human-readable permalinks. `null` if not assigned. */
65
- slug: z.string().optional().describe("URL-safe slug for the thread, used in human-readable permalinks. `null` if not assigned."),
65
+ slug: z.string().nullable().optional().describe("URL-safe slug for the thread, used in human-readable permalinks. `null` if not assigned."),
66
66
  /** Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested. */
67
- sub_threads: z.array(z.record(z.unknown())).optional().describe("Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested."),
67
+ sub_threads: z.array(z.record(z.unknown())).nullable().optional().describe("Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested."),
68
68
  /** Status tags on the thread (e.g. `"blocked"`, `"needs-review"`). Edited by any thread participant via the `/threads/:thread/tags` endpoints and filterable on the thread list endpoints. Empty array if none set. */
69
69
  tags: z.array(z.string()).optional().describe("Status tags on the thread (e.g. `\"blocked\"`, `\"needs-review\"`). Edited by any thread participant via the `/threads/:thread/tags` endpoints and filterable on the thread list endpoints. Empty array if none set."),
70
70
  /** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
71
- team: z.string().optional().describe("ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads."),
71
+ team: z.string().nullable().optional().describe("ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads."),
72
72
  /** Human-readable name of the thread. `null` if no title has been set. */
73
- title: z.string().optional().describe("Human-readable name of the thread. `null` if no title has been set."),
74
- /** Time-to-live in seconds after which the thread may be automatically cleaned up. `null` if the thread does not expire. */
75
- ttl: z.number().int().optional().describe("Time-to-live in seconds after which the thread may be automatically cleaned up. `null` if the thread does not expire."),
73
+ title: z.string().nullable().optional().describe("Human-readable name of the thread. `null` if no title has been set."),
74
+ /** Offset-free expiry timestamp after which the thread may be automatically cleaned up. `null` if the thread does not expire. */
75
+ ttl: z.string().nullable().optional().describe("Offset-free expiry timestamp after which the thread may be automatically cleaned up. `null` if the thread does not expire."),
76
76
  /** Number of messages in this thread that the authenticated user has not yet read. Present only when read-state enrichment is requested. */
77
- unread_count: z.number().int().optional().describe("Number of messages in this thread that the authenticated user has not yet read. Present only when read-state enrichment is requested."),
77
+ unread_count: z.number().int().nullable().optional().describe("Number of messages in this thread that the authenticated user has not yet read. Present only when read-state enrichment is requested."),
78
78
  /** When the thread was last modified (ISO 8601). */
79
79
  updated_at: z.string().optional().describe("When the thread was last modified (ISO 8601)."),
80
80
  /** ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads. */
81
- user: z.string().optional().describe("ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads."),
81
+ user: z.string().nullable().optional().describe("ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads."),
82
82
  /** Who can read the thread: `team` for every owning-team member, `restricted` for team-readable threads with an explicit roster, or `private` for roster-only access. */
83
83
  visibility: z.enum(["team", "restricted", "private"]).describe("Who can read the thread: `team` for every owning-team member, `restricted` for team-readable threads with an explicit roster, or `private` for roster-only access."),
84
84
  }).describe("A chat thread, representing a conversation channel that can be owned by a user, team, or agent and may contain messages, participants, and AI agent activity.");
@@ -1 +1 @@
1
- {"version":3,"file":"threads.js","sourceRoot":"","sources":["../../src/types/threads.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAUxC,oDAAoD;AACpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,gLAAgL;IAChL,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2KAA2K,CAAC;CAC5N,CAAC,CAAC,QAAQ,CAAC,wGAAwG,CAAqC,CAAC;AA4E1J,4CAA4C;AAC5C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,sGAAsG;IACtG,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,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GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,gJAAgJ;IAChJ,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2IAA2I,CAAC;IAC9L,8DAA8D;IAC9D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IACtF,uEAAuE;IACvE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,kEAAkE,CAAC;CAC5G,CAAC,CAAC,QAAQ,CAAC,yHAAyH,CAAuC,CAAC"}
@@ -3,13 +3,23 @@ import type { InviteCreator } from "./invites.js";
3
3
  /** A platform user account. Represents a human or system actor that can own threads, belong to an organization, and interact with the API. */
4
4
  export interface User {
5
5
  /** Short handle or alias for the user. `null` if not set. */
6
- alias?: string | undefined;
6
+ alias?: string | null | undefined;
7
7
  /** ID of the app this user (and their access token) is scoped to (`dap_...`). `null` if the user is not scoped to an app. */
8
- app?: string | undefined;
8
+ app?: string | null | undefined;
9
9
  /** Display name of the user's app. `null` when the app association was not preloaded by the caller. */
10
- app_name?: string | undefined;
10
+ app_name?: string | null | undefined;
11
+ /** Agent user that created this account (`usr_...`). `null` unless an agent created it. */
12
+ created_by_agent_user?: string | null | undefined;
13
+ /** Developer account that created this user (`dva_...`). `null` unless created via a developer token. */
14
+ created_by_developer?: string | null | undefined;
15
+ /** Org of the principal that created this user (`org_...`). `null` on legacy rows. */
16
+ created_by_org?: string | null | undefined;
17
+ /** Team that created this user (`tem_...`). `null` unless created as a team. */
18
+ created_by_team?: string | null | undefined;
19
+ /** User who created this account (`usr_...`). `null` on self-signup or legacy rows. */
20
+ created_by_user?: string | null | undefined;
11
21
  /** Email address of the user. */
12
- email?: string | undefined;
22
+ email?: string | null | undefined;
13
23
  /** User ID (`usr_...`). */
14
24
  id: string;
15
25
  /** `true` if this account is an internal system user rather than a human. System users are created automatically by the platform. */
@@ -17,30 +27,40 @@ export interface User {
17
27
  /** Arbitrary key-value metadata attached to the user. Defaults to an empty object. */
18
28
  metadata?: Record<string, unknown> | undefined;
19
29
  /** Full display name of the user. `null` if the user has not set a name. */
20
- name?: string | undefined;
30
+ name?: string | null | undefined;
21
31
  /** ID of the organization this user belongs to (`org_...`). `null` if the user is not a member of any organization. */
22
- org?: string | undefined;
32
+ org?: string | null | undefined;
23
33
  /** Display name of the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller. */
24
- org_name?: string | undefined;
34
+ org_name?: string | null | undefined;
25
35
  /** Role of the user within their organization. One of `"admin"`, `"member"`, or `"viewer"`. `null` when the user is not a member of any organization. */
26
- org_role?: string | undefined;
36
+ org_role?: string | null | undefined;
27
37
  /** Stable workspace slug for the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller. */
28
- org_slug?: string | undefined;
38
+ org_slug?: string | null | undefined;
29
39
  /** ID of the sandbox environment this user is scoped to (`sbx_...`). `null` for production users. */
30
- sandbox?: string | undefined;
40
+ sandbox?: string | null | undefined;
31
41
  /** Display name of the user's sandbox environment. `null` for production users, or when the sandbox association was not preloaded by the caller. */
32
- sandbox_name?: string | undefined;
42
+ sandbox_name?: string | null | undefined;
33
43
  }
34
44
  /** Runtime validator for {@link User}. */
35
45
  export declare const userSchema: z.ZodObject<{
36
46
  /** Short handle or alias for the user. `null` if not set. */
37
- alias: z.ZodOptional<z.ZodString>;
47
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
48
  /** ID of the app this user (and their access token) is scoped to (`dap_...`). `null` if the user is not scoped to an app. */
39
- app: z.ZodOptional<z.ZodString>;
49
+ app: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
50
  /** Display name of the user's app. `null` when the app association was not preloaded by the caller. */
41
- app_name: z.ZodOptional<z.ZodString>;
51
+ app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ /** Agent user that created this account (`usr_...`). `null` unless an agent created it. */
53
+ created_by_agent_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ /** Developer account that created this user (`dva_...`). `null` unless created via a developer token. */
55
+ created_by_developer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ /** Org of the principal that created this user (`org_...`). `null` on legacy rows. */
57
+ created_by_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ /** Team that created this user (`tem_...`). `null` unless created as a team. */
59
+ created_by_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ /** User who created this account (`usr_...`). `null` on self-signup or legacy rows. */
61
+ created_by_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
62
  /** Email address of the user. */
43
- email: z.ZodOptional<z.ZodString>;
63
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
64
  /** User ID (`usr_...`). */
45
65
  id: z.ZodString;
46
66
  /** `true` if this account is an internal system user rather than a human. System users are created automatically by the platform. */
@@ -48,49 +68,59 @@ export declare const userSchema: z.ZodObject<{
48
68
  /** Arbitrary key-value metadata attached to the user. Defaults to an empty object. */
49
69
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
50
70
  /** Full display name of the user. `null` if the user has not set a name. */
51
- name: z.ZodOptional<z.ZodString>;
71
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
72
  /** ID of the organization this user belongs to (`org_...`). `null` if the user is not a member of any organization. */
53
- org: z.ZodOptional<z.ZodString>;
73
+ org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
74
  /** Display name of the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller. */
55
- org_name: z.ZodOptional<z.ZodString>;
75
+ org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
76
  /** Role of the user within their organization. One of `"admin"`, `"member"`, or `"viewer"`. `null` when the user is not a member of any organization. */
57
- org_role: z.ZodOptional<z.ZodString>;
77
+ org_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
78
  /** Stable workspace slug for the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller. */
59
- org_slug: z.ZodOptional<z.ZodString>;
79
+ org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
80
  /** ID of the sandbox environment this user is scoped to (`sbx_...`). `null` for production users. */
61
- sandbox: z.ZodOptional<z.ZodString>;
81
+ sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
82
  /** Display name of the user's sandbox environment. `null` for production users, or when the sandbox association was not preloaded by the caller. */
63
- sandbox_name: z.ZodOptional<z.ZodString>;
83
+ sandbox_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
84
  }, "strip", z.ZodTypeAny, {
65
85
  id: string;
66
- email?: string | undefined;
67
- alias?: string | undefined;
68
- org?: string | undefined;
69
- name?: string | undefined;
70
- app?: string | undefined;
71
- sandbox?: string | undefined;
72
- app_name?: string | undefined;
86
+ email?: string | null | undefined;
87
+ alias?: string | null | undefined;
88
+ org?: string | null | undefined;
89
+ name?: string | null | undefined;
90
+ app?: string | null | undefined;
91
+ sandbox?: string | null | undefined;
92
+ app_name?: string | null | undefined;
93
+ created_by_agent_user?: string | null | undefined;
94
+ created_by_developer?: string | null | undefined;
95
+ created_by_org?: string | null | undefined;
96
+ created_by_team?: string | null | undefined;
97
+ created_by_user?: string | null | undefined;
73
98
  is_system_user?: boolean | undefined;
74
99
  metadata?: Record<string, unknown> | undefined;
75
- org_name?: string | undefined;
76
- org_role?: string | undefined;
77
- org_slug?: string | undefined;
78
- sandbox_name?: string | undefined;
100
+ org_name?: string | null | undefined;
101
+ org_role?: string | null | undefined;
102
+ org_slug?: string | null | undefined;
103
+ sandbox_name?: string | null | undefined;
79
104
  }, {
80
105
  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;
106
+ email?: string | null | undefined;
107
+ alias?: string | null | undefined;
108
+ org?: string | null | undefined;
109
+ name?: string | null | undefined;
110
+ app?: string | null | undefined;
111
+ sandbox?: string | null | undefined;
112
+ app_name?: string | null | undefined;
113
+ created_by_agent_user?: string | null | undefined;
114
+ created_by_developer?: string | null | undefined;
115
+ created_by_org?: string | null | undefined;
116
+ created_by_team?: string | null | undefined;
117
+ created_by_user?: string | null | undefined;
88
118
  is_system_user?: boolean | undefined;
89
119
  metadata?: Record<string, unknown> | undefined;
90
- org_name?: string | undefined;
91
- org_role?: string | undefined;
92
- org_slug?: string | undefined;
93
- sandbox_name?: string | undefined;
120
+ org_name?: string | null | undefined;
121
+ org_role?: string | null | undefined;
122
+ org_slug?: string | null | undefined;
123
+ sandbox_name?: string | null | undefined;
94
124
  }>;
95
125
  /** A shareable invite created by a user, optionally scoped to a thread. Recipients can use the invite key to join or start a conversation. */
96
126
  export interface UserInvite {
@@ -124,53 +154,53 @@ export declare const userInviteSchema: z.ZodObject<{
124
154
  id: z.ZodString;
125
155
  name: z.ZodOptional<z.ZodString>;
126
156
  profile_picture: z.ZodOptional<z.ZodObject<{
127
- file: z.ZodOptional<z.ZodString>;
128
- height: z.ZodOptional<z.ZodNumber>;
129
- media: z.ZodOptional<z.ZodString>;
130
- mime_type: z.ZodOptional<z.ZodString>;
131
- refresh_url: z.ZodOptional<z.ZodString>;
132
- url: z.ZodOptional<z.ZodString>;
133
- width: z.ZodOptional<z.ZodNumber>;
157
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
159
+ media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
134
164
  }, "strip", z.ZodTypeAny, {
135
- mime_type?: string | undefined;
136
- file?: string | undefined;
137
- height?: number | undefined;
138
- media?: string | undefined;
139
- refresh_url?: string | undefined;
140
- url?: string | undefined;
141
- width?: number | undefined;
165
+ mime_type?: string | null | undefined;
166
+ file?: string | null | undefined;
167
+ height?: number | null | undefined;
168
+ media?: string | null | undefined;
169
+ refresh_url?: string | null | undefined;
170
+ url?: string | null | undefined;
171
+ width?: number | null | undefined;
142
172
  }, {
143
- mime_type?: string | undefined;
144
- file?: string | undefined;
145
- height?: number | undefined;
146
- media?: string | undefined;
147
- refresh_url?: string | undefined;
148
- url?: string | undefined;
149
- width?: number | undefined;
173
+ mime_type?: string | null | undefined;
174
+ file?: string | null | undefined;
175
+ height?: number | null | undefined;
176
+ media?: string | null | undefined;
177
+ refresh_url?: string | null | undefined;
178
+ url?: string | null | undefined;
179
+ width?: number | null | undefined;
150
180
  }>>;
151
181
  }, "strip", z.ZodTypeAny, {
152
182
  id: string;
153
183
  name?: string | undefined;
154
184
  profile_picture?: {
155
- mime_type?: string | undefined;
156
- file?: string | undefined;
157
- height?: number | undefined;
158
- media?: string | undefined;
159
- refresh_url?: string | undefined;
160
- url?: string | undefined;
161
- width?: number | undefined;
185
+ mime_type?: string | null | undefined;
186
+ file?: string | null | undefined;
187
+ height?: number | null | undefined;
188
+ media?: string | null | undefined;
189
+ refresh_url?: string | null | undefined;
190
+ url?: string | null | undefined;
191
+ width?: number | null | undefined;
162
192
  } | undefined;
163
193
  }, {
164
194
  id: string;
165
195
  name?: string | undefined;
166
196
  profile_picture?: {
167
- mime_type?: string | undefined;
168
- file?: string | undefined;
169
- height?: number | undefined;
170
- media?: string | undefined;
171
- refresh_url?: string | undefined;
172
- url?: string | undefined;
173
- width?: number | undefined;
197
+ mime_type?: string | null | undefined;
198
+ file?: string | null | undefined;
199
+ height?: number | null | undefined;
200
+ media?: string | null | undefined;
201
+ refresh_url?: string | null | undefined;
202
+ url?: string | null | undefined;
203
+ width?: number | null | undefined;
174
204
  } | undefined;
175
205
  }>>;
176
206
  }, "strip", z.ZodTypeAny, {
@@ -182,13 +212,13 @@ export declare const userInviteSchema: z.ZodObject<{
182
212
  id: string;
183
213
  name?: string | undefined;
184
214
  profile_picture?: {
185
- mime_type?: string | undefined;
186
- file?: string | undefined;
187
- height?: number | undefined;
188
- media?: string | undefined;
189
- refresh_url?: string | undefined;
190
- url?: string | undefined;
191
- width?: number | undefined;
215
+ mime_type?: string | null | undefined;
216
+ file?: string | null | undefined;
217
+ height?: number | null | undefined;
218
+ media?: string | null | undefined;
219
+ refresh_url?: string | null | undefined;
220
+ url?: string | null | undefined;
221
+ width?: number | null | undefined;
192
222
  } | undefined;
193
223
  } | undefined;
194
224
  metadata?: Record<string, unknown> | undefined;
@@ -201,13 +231,13 @@ export declare const userInviteSchema: z.ZodObject<{
201
231
  id: string;
202
232
  name?: string | undefined;
203
233
  profile_picture?: {
204
- mime_type?: string | undefined;
205
- file?: string | undefined;
206
- height?: number | undefined;
207
- media?: string | undefined;
208
- refresh_url?: string | undefined;
209
- url?: string | undefined;
210
- width?: number | undefined;
234
+ mime_type?: string | null | undefined;
235
+ file?: string | null | undefined;
236
+ height?: number | null | undefined;
237
+ media?: string | null | undefined;
238
+ refresh_url?: string | null | undefined;
239
+ url?: string | null | undefined;
240
+ width?: number | null | undefined;
211
241
  } | undefined;
212
242
  } | undefined;
213
243
  metadata?: Record<string, unknown> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/types/users.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,8IAA8I;AAC9I,MAAM,WAAW,IAAI;IACnB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,6HAA6H;IAC7H,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,uGAAuG;IACvG,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9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yJAAyJ;;IAEzJ,6JAA6J;;IAE7J,qGAAqG;;IAErG,oJAAoJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE0B,CAAC;AAEjL,8IAA8I;AAC9I,MAAM,WAAW,UAAU;IACzB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,2HAA2H;IAC3H,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,yGAAyG;IACzG,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAC/C,4GAA4G;IAC5G,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,wCAAwC;IACxC,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAClC;AAED,gDAAgD;AAChD,eAAO,MAAM,gBAAgB;IAC3B,+CAA+C;;IAE/C,6BAA6B;;IAE7B,2HAA2H;;IAE3H,yGAAyG;;IAEzG,4GAA4G;;IAE5G,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE4I,CAAC"}
@@ -1,18 +1,28 @@
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: 6647d997f867
3
+ // Content hash: fb622376bd94
4
4
  import { z } from "zod";
5
5
  import { inviteCreatorSchema } from "./invites.js";
6
6
  /** Runtime validator for {@link User}. */
7
7
  export const userSchema = z.object({
8
8
  /** Short handle or alias for the user. `null` if not set. */
9
- alias: z.string().optional().describe("Short handle or alias for the user. `null` if not set."),
9
+ alias: z.string().nullable().optional().describe("Short handle or alias for the user. `null` if not set."),
10
10
  /** ID of the app this user (and their access token) is scoped to (`dap_...`). `null` if the user is not scoped to an app. */
11
- app: z.string().optional().describe("ID of the app this user (and their access token) is scoped to (`dap_...`). `null` if the user is not scoped to an app."),
11
+ app: z.string().nullable().optional().describe("ID of the app this user (and their access token) is scoped to (`dap_...`). `null` if the user is not scoped to an app."),
12
12
  /** Display name of the user's app. `null` when the app association was not preloaded by the caller. */
13
- app_name: z.string().optional().describe("Display name of the user's app. `null` when the app association was not preloaded by the caller."),
13
+ app_name: z.string().nullable().optional().describe("Display name of the user's app. `null` when the app association was not preloaded by the caller."),
14
+ /** Agent user that created this account (`usr_...`). `null` unless an agent created it. */
15
+ created_by_agent_user: z.string().nullable().optional().describe("Agent user that created this account (`usr_...`). `null` unless an agent created it."),
16
+ /** Developer account that created this user (`dva_...`). `null` unless created via a developer token. */
17
+ created_by_developer: z.string().nullable().optional().describe("Developer account that created this user (`dva_...`). `null` unless created via a developer token."),
18
+ /** Org of the principal that created this user (`org_...`). `null` on legacy rows. */
19
+ created_by_org: z.string().nullable().optional().describe("Org of the principal that created this user (`org_...`). `null` on legacy rows."),
20
+ /** Team that created this user (`tem_...`). `null` unless created as a team. */
21
+ created_by_team: z.string().nullable().optional().describe("Team that created this user (`tem_...`). `null` unless created as a team."),
22
+ /** User who created this account (`usr_...`). `null` on self-signup or legacy rows. */
23
+ created_by_user: z.string().nullable().optional().describe("User who created this account (`usr_...`). `null` on self-signup or legacy rows."),
14
24
  /** Email address of the user. */
15
- email: z.string().optional().describe("Email address of the user."),
25
+ email: z.string().nullable().optional().describe("Email address of the user."),
16
26
  /** User ID (`usr_...`). */
17
27
  id: z.string().describe("User ID (`usr_...`)."),
18
28
  /** `true` if this account is an internal system user rather than a human. System users are created automatically by the platform. */
@@ -20,19 +30,19 @@ export const userSchema = z.object({
20
30
  /** Arbitrary key-value metadata attached to the user. Defaults to an empty object. */
21
31
  metadata: z.record(z.unknown()).optional().describe("Arbitrary key-value metadata attached to the user. Defaults to an empty object."),
22
32
  /** Full display name of the user. `null` if the user has not set a name. */
23
- name: z.string().optional().describe("Full display name of the user. `null` if the user has not set a name."),
33
+ name: z.string().nullable().optional().describe("Full display name of the user. `null` if the user has not set a name."),
24
34
  /** ID of the organization this user belongs to (`org_...`). `null` if the user is not a member of any organization. */
25
- org: z.string().optional().describe("ID of the organization this user belongs to (`org_...`). `null` if the user is not a member of any organization."),
35
+ org: z.string().nullable().optional().describe("ID of the organization this user belongs to (`org_...`). `null` if the user is not a member of any organization."),
26
36
  /** Display name of the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller. */
27
- org_name: z.string().optional().describe("Display name of the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller."),
37
+ org_name: z.string().nullable().optional().describe("Display name of the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller."),
28
38
  /** Role of the user within their organization. One of `"admin"`, `"member"`, or `"viewer"`. `null` when the user is not a member of any organization. */
29
- org_role: z.string().optional().describe("Role of the user within their organization. One of `\"admin\"`, `\"member\"`, or `\"viewer\"`. `null` when the user is not a member of any organization."),
39
+ org_role: z.string().nullable().optional().describe("Role of the user within their organization. One of `\"admin\"`, `\"member\"`, or `\"viewer\"`. `null` when the user is not a member of any organization."),
30
40
  /** Stable workspace slug for the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller. */
31
- org_slug: z.string().optional().describe("Stable workspace slug for the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller."),
41
+ org_slug: z.string().nullable().optional().describe("Stable workspace slug for the user's organization. `null` when the user is not in an org, or when the org association was not preloaded by the caller."),
32
42
  /** ID of the sandbox environment this user is scoped to (`sbx_...`). `null` for production users. */
33
- sandbox: z.string().optional().describe("ID of the sandbox environment this user is scoped to (`sbx_...`). `null` for production users."),
43
+ sandbox: z.string().nullable().optional().describe("ID of the sandbox environment this user is scoped to (`sbx_...`). `null` for production users."),
34
44
  /** Display name of the user's sandbox environment. `null` for production users, or when the sandbox association was not preloaded by the caller. */
35
- sandbox_name: z.string().optional().describe("Display name of the user's sandbox environment. `null` for production users, or when the sandbox association was not preloaded by the caller."),
45
+ sandbox_name: z.string().nullable().optional().describe("Display name of the user's sandbox environment. `null` for production users, or when the sandbox association was not preloaded by the caller."),
36
46
  }).describe("A platform user account. Represents a human or system actor that can own threads, belong to an organization, and interact with the API.");
37
47
  /** Runtime validator for {@link UserInvite}. */
38
48
  export const userInviteSchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/types/users.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAmCnD,0CAA0C;AAC1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,6DAA6D;IAC7D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;IAC/F,6HAA6H;IAC7H,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wHAAwH,CAAC;IAC7J,uGAAuG;IACvG,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kGAAkG,CAAC;IAC5I,iCAAiC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACnE,2BAA2B;IAC3B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAC/C,qIAAqI;IACrI,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gIAAgI,CAAC;IACjL,sFAAsF;IACtF,QAAQ,EAAE,CAAC,CAAC,MAAM,CA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