@archastro/sdk 0.5.0 → 0.5.3

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 (242) hide show
  1. package/README.md +86 -0
  2. package/dist/auth.d.ts +143 -0
  3. package/dist/auth.d.ts.map +1 -1
  4. package/dist/auth.js +187 -1
  5. package/dist/auth.js.map +1 -1
  6. package/dist/client.d.ts +26 -0
  7. package/dist/client.d.ts.map +1 -1
  8. package/dist/client.js +27 -1
  9. package/dist/client.js.map +1 -1
  10. package/dist/index.d.ts +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/index.js.map +1 -1
  14. package/dist/types/ai.d.ts +150 -12
  15. package/dist/types/ai.d.ts.map +1 -1
  16. package/dist/types/ai.js +71 -41
  17. package/dist/types/ai.js.map +1 -1
  18. package/dist/types/artifacts.d.ts +81 -24
  19. package/dist/types/artifacts.d.ts.map +1 -1
  20. package/dist/types/artifacts.js +39 -21
  21. package/dist/types/artifacts.js.map +1 -1
  22. package/dist/types/automations.d.ts +41 -9
  23. package/dist/types/automations.d.ts.map +1 -1
  24. package/dist/types/automations.js +25 -17
  25. package/dist/types/automations.js.map +1 -1
  26. package/dist/types/chat.d.ts +21185 -39
  27. package/dist/types/chat.d.ts.map +1 -1
  28. package/dist/types/chat.js +64 -8
  29. package/dist/types/chat.js.map +1 -1
  30. package/dist/types/common.d.ts +16970 -2136
  31. package/dist/types/common.d.ts.map +1 -1
  32. package/dist/types/common.js +1695 -332
  33. package/dist/types/common.js.map +1 -1
  34. package/dist/types/config.d.ts +239 -31
  35. package/dist/types/config.d.ts.map +1 -1
  36. package/dist/types/config.js +86 -34
  37. package/dist/types/config.js.map +1 -1
  38. package/dist/types/image.d.ts +27 -4
  39. package/dist/types/image.d.ts.map +1 -1
  40. package/dist/types/image.js +17 -10
  41. package/dist/types/image.js.map +1 -1
  42. package/dist/types/index.d.ts +2 -1
  43. package/dist/types/index.d.ts.map +1 -1
  44. package/dist/types/index.js +3 -2
  45. package/dist/types/index.js.map +1 -1
  46. package/dist/types/invites.d.ts +20 -11
  47. package/dist/types/invites.d.ts.map +1 -1
  48. package/dist/types/invites.js +9 -12
  49. package/dist/types/invites.js.map +1 -1
  50. package/dist/types/notifications.d.ts +163 -0
  51. package/dist/types/notifications.d.ts.map +1 -0
  52. package/dist/types/notifications.js +44 -0
  53. package/dist/types/notifications.js.map +1 -0
  54. package/dist/types/teams.d.ts +1628 -231
  55. package/dist/types/teams.d.ts.map +1 -1
  56. package/dist/types/teams.js +76 -45
  57. package/dist/types/teams.js.map +1 -1
  58. package/dist/types/threads.d.ts +997 -243
  59. package/dist/types/threads.d.ts.map +1 -1
  60. package/dist/types/threads.js +84 -51
  61. package/dist/types/threads.js.map +1 -1
  62. package/dist/types/users.d.ts +98 -18
  63. package/dist/types/users.d.ts.map +1 -1
  64. package/dist/types/users.js +43 -18
  65. package/dist/types/users.js.map +1 -1
  66. package/dist/v1/resources/activity_feed.d.ts +89 -0
  67. package/dist/v1/resources/activity_feed.d.ts.map +1 -1
  68. package/dist/v1/resources/activity_feed.js +56 -2
  69. package/dist/v1/resources/activity_feed.js.map +1 -1
  70. package/dist/v1/resources/agent_computers.d.ts +48 -2
  71. package/dist/v1/resources/agent_computers.d.ts.map +1 -1
  72. package/dist/v1/resources/agent_computers.js +48 -1
  73. package/dist/v1/resources/agent_computers.js.map +1 -1
  74. package/dist/v1/resources/agent_env_vars.d.ts +50 -0
  75. package/dist/v1/resources/agent_env_vars.d.ts.map +1 -0
  76. package/dist/v1/resources/agent_env_vars.js +56 -0
  77. package/dist/v1/resources/agent_env_vars.js.map +1 -0
  78. package/dist/v1/resources/agent_health_actions.d.ts +43 -0
  79. package/dist/v1/resources/agent_health_actions.d.ts.map +1 -0
  80. package/dist/v1/resources/agent_health_actions.js +50 -0
  81. package/dist/v1/resources/agent_health_actions.js.map +1 -0
  82. package/dist/v1/resources/agent_installations.d.ts +100 -0
  83. package/dist/v1/resources/agent_installations.d.ts.map +1 -1
  84. package/dist/v1/resources/agent_installations.js +106 -2
  85. package/dist/v1/resources/agent_installations.js.map +1 -1
  86. package/dist/v1/resources/agent_routine_runs.d.ts +33 -0
  87. package/dist/v1/resources/agent_routine_runs.d.ts.map +1 -0
  88. package/dist/v1/resources/agent_routine_runs.js +48 -0
  89. package/dist/v1/resources/agent_routine_runs.js.map +1 -0
  90. package/dist/v1/resources/agent_routines.d.ts +148 -2
  91. package/dist/v1/resources/agent_routines.d.ts.map +1 -1
  92. package/dist/v1/resources/agent_routines.js +168 -3
  93. package/dist/v1/resources/agent_routines.js.map +1 -1
  94. package/dist/v1/resources/agent_sessions.d.ts +118 -1
  95. package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
  96. package/dist/v1/resources/agent_sessions.js +134 -2
  97. package/dist/v1/resources/agent_sessions.js.map +1 -1
  98. package/dist/v1/resources/agent_skills.d.ts +83 -1
  99. package/dist/v1/resources/agent_skills.d.ts.map +1 -1
  100. package/dist/v1/resources/agent_skills.js +87 -2
  101. package/dist/v1/resources/agent_skills.js.map +1 -1
  102. package/dist/v1/resources/agent_tools.d.ts +109 -2
  103. package/dist/v1/resources/agent_tools.d.ts.map +1 -1
  104. package/dist/v1/resources/agent_tools.js +114 -2
  105. package/dist/v1/resources/agent_tools.js.map +1 -1
  106. package/dist/v1/resources/agents.d.ts +517 -9
  107. package/dist/v1/resources/agents.d.ts.map +1 -1
  108. package/dist/v1/resources/agents.js +515 -12
  109. package/dist/v1/resources/agents.js.map +1 -1
  110. package/dist/v1/resources/ai.d.ts +93 -0
  111. package/dist/v1/resources/ai.d.ts.map +1 -1
  112. package/dist/v1/resources/ai.js +89 -1
  113. package/dist/v1/resources/ai.js.map +1 -1
  114. package/dist/v1/resources/artifacts.d.ts +73 -0
  115. package/dist/v1/resources/artifacts.d.ts.map +1 -1
  116. package/dist/v1/resources/artifacts.js +74 -2
  117. package/dist/v1/resources/artifacts.js.map +1 -1
  118. package/dist/v1/resources/automation_runs.d.ts +8 -4
  119. package/dist/v1/resources/automation_runs.d.ts.map +1 -1
  120. package/dist/v1/resources/automation_runs.js +9 -5
  121. package/dist/v1/resources/automation_runs.js.map +1 -1
  122. package/dist/v1/resources/automations.d.ts +20 -0
  123. package/dist/v1/resources/automations.d.ts.map +1 -1
  124. package/dist/v1/resources/automations.js +21 -1
  125. package/dist/v1/resources/automations.js.map +1 -1
  126. package/dist/v1/resources/bug_reports.d.ts +29 -0
  127. package/dist/v1/resources/bug_reports.d.ts.map +1 -0
  128. package/dist/v1/resources/bug_reports.js +29 -0
  129. package/dist/v1/resources/bug_reports.js.map +1 -0
  130. package/dist/v1/resources/config.d.ts +429 -4
  131. package/dist/v1/resources/config.d.ts.map +1 -1
  132. package/dist/v1/resources/config.js +493 -9
  133. package/dist/v1/resources/config.js.map +1 -1
  134. package/dist/v1/resources/custom_objects.d.ts +117 -2
  135. package/dist/v1/resources/custom_objects.d.ts.map +1 -1
  136. package/dist/v1/resources/custom_objects.js +132 -3
  137. package/dist/v1/resources/custom_objects.js.map +1 -1
  138. package/dist/v1/resources/files.d.ts +62 -0
  139. package/dist/v1/resources/files.d.ts.map +1 -0
  140. package/dist/v1/resources/files.js +58 -0
  141. package/dist/v1/resources/files.js.map +1 -0
  142. package/dist/v1/resources/index.d.ts +13 -0
  143. package/dist/v1/resources/index.d.ts.map +1 -1
  144. package/dist/v1/resources/index.js +14 -1
  145. package/dist/v1/resources/index.js.map +1 -1
  146. package/dist/v1/resources/installation_sources.d.ts +12 -0
  147. package/dist/v1/resources/installation_sources.d.ts.map +1 -1
  148. package/dist/v1/resources/installation_sources.js +13 -1
  149. package/dist/v1/resources/installation_sources.js.map +1 -1
  150. package/dist/v1/resources/invites.d.ts +15 -0
  151. package/dist/v1/resources/invites.d.ts.map +1 -1
  152. package/dist/v1/resources/invites.js +16 -1
  153. package/dist/v1/resources/invites.js.map +1 -1
  154. package/dist/v1/resources/knowledge_documents.d.ts +104 -0
  155. package/dist/v1/resources/knowledge_documents.d.ts.map +1 -0
  156. package/dist/v1/resources/knowledge_documents.js +112 -0
  157. package/dist/v1/resources/knowledge_documents.js.map +1 -0
  158. package/dist/v1/resources/knowledge_sources.d.ts +190 -0
  159. package/dist/v1/resources/knowledge_sources.d.ts.map +1 -0
  160. package/dist/v1/resources/knowledge_sources.js +176 -0
  161. package/dist/v1/resources/knowledge_sources.js.map +1 -0
  162. package/dist/v1/resources/kv.d.ts +73 -0
  163. package/dist/v1/resources/kv.d.ts.map +1 -1
  164. package/dist/v1/resources/kv.js +96 -3
  165. package/dist/v1/resources/kv.js.map +1 -1
  166. package/dist/v1/resources/notification_preferences.d.ts +61 -0
  167. package/dist/v1/resources/notification_preferences.d.ts.map +1 -0
  168. package/dist/v1/resources/notification_preferences.js +65 -0
  169. package/dist/v1/resources/notification_preferences.js.map +1 -0
  170. package/dist/v1/resources/notifications.d.ts +133 -0
  171. package/dist/v1/resources/notifications.d.ts.map +1 -0
  172. package/dist/v1/resources/notifications.js +136 -0
  173. package/dist/v1/resources/notifications.js.map +1 -0
  174. package/dist/v1/resources/orgs.d.ts +18 -0
  175. package/dist/v1/resources/orgs.d.ts.map +1 -1
  176. package/dist/v1/resources/orgs.js +30 -2
  177. package/dist/v1/resources/orgs.js.map +1 -1
  178. package/dist/v1/resources/slack_channel_bindings.d.ts +101 -0
  179. package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -0
  180. package/dist/v1/resources/slack_channel_bindings.js +114 -0
  181. package/dist/v1/resources/slack_channel_bindings.js.map +1 -0
  182. package/dist/v1/resources/solution_categories.d.ts +36 -0
  183. package/dist/v1/resources/solution_categories.d.ts.map +1 -0
  184. package/dist/v1/resources/solution_categories.js +55 -0
  185. package/dist/v1/resources/solution_categories.js.map +1 -0
  186. package/dist/v1/resources/solution_tags.d.ts +37 -0
  187. package/dist/v1/resources/solution_tags.d.ts.map +1 -0
  188. package/dist/v1/resources/solution_tags.js +54 -0
  189. package/dist/v1/resources/solution_tags.js.map +1 -0
  190. package/dist/v1/resources/solutions.d.ts +309 -0
  191. package/dist/v1/resources/solutions.d.ts.map +1 -0
  192. package/dist/v1/resources/solutions.js +214 -0
  193. package/dist/v1/resources/solutions.js.map +1 -0
  194. package/dist/v1/resources/team_memberships.d.ts +31 -0
  195. package/dist/v1/resources/team_memberships.d.ts.map +1 -1
  196. package/dist/v1/resources/team_memberships.js +49 -2
  197. package/dist/v1/resources/team_memberships.js.map +1 -1
  198. package/dist/v1/resources/teams.d.ts +458 -49
  199. package/dist/v1/resources/teams.d.ts.map +1 -1
  200. package/dist/v1/resources/teams.js +319 -27
  201. package/dist/v1/resources/teams.js.map +1 -1
  202. package/dist/v1/resources/thread_messages.d.ts +70 -0
  203. package/dist/v1/resources/thread_messages.d.ts.map +1 -1
  204. package/dist/v1/resources/thread_messages.js +85 -2
  205. package/dist/v1/resources/thread_messages.js.map +1 -1
  206. package/dist/v1/resources/threads.d.ts +201 -0
  207. package/dist/v1/resources/threads.d.ts.map +1 -1
  208. package/dist/v1/resources/threads.js +220 -4
  209. package/dist/v1/resources/threads.js.map +1 -1
  210. package/dist/v1/resources/users.d.ts +213 -39
  211. package/dist/v1/resources/users.d.ts.map +1 -1
  212. package/dist/v1/resources/users.js +121 -16
  213. package/dist/v1/resources/users.js.map +1 -1
  214. package/dist/v1.d.ts +26 -0
  215. package/dist/v1.d.ts.map +1 -1
  216. package/dist/v1.js +40 -1
  217. package/dist/v1.js.map +1 -1
  218. package/package.json +4 -2
  219. package/dist/types/agents.d.ts +0 -2084
  220. package/dist/types/agents.d.ts.map +0 -1
  221. package/dist/types/agents.js +0 -203
  222. package/dist/types/agents.js.map +0 -1
  223. package/dist/types/members.d.ts +0 -99
  224. package/dist/types/members.d.ts.map +0 -1
  225. package/dist/types/members.js +0 -36
  226. package/dist/types/members.js.map +0 -1
  227. package/dist/types/orgs.d.ts +0 -193
  228. package/dist/types/orgs.d.ts.map +0 -1
  229. package/dist/types/orgs.js +0 -69
  230. package/dist/types/orgs.js.map +0 -1
  231. package/dist/types/reactions.d.ts +0 -29
  232. package/dist/types/reactions.d.ts.map +0 -1
  233. package/dist/types/reactions.js +0 -15
  234. package/dist/types/reactions.js.map +0 -1
  235. package/dist/types/schedules.d.ts +0 -32
  236. package/dist/types/schedules.d.ts.map +0 -1
  237. package/dist/types/schedules.js +0 -16
  238. package/dist/types/schedules.js.map +0 -1
  239. package/dist/types/system.d.ts +0 -23
  240. package/dist/types/system.d.ts.map +0 -1
  241. package/dist/types/system.js +0 -13
  242. package/dist/types/system.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/types/agents.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,+BAA+B;AAC/B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBtB,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,wCAAwC;AACxC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,yCAAyC;AACzC,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;;GAIG;AACH,eAAO,MAAM,i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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -1,203 +0,0 @@
1
- // Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
2
- // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
- // Content hash: 633827be1921
4
- import { z } from "zod";
5
- import { aclSchema, presetConfigSchema, workerStatusSchema } from "./common.js";
6
- import { configSchema } from "./config.js";
7
- /** API schema for an agent. */
8
- export const agentSchema = z.object({
9
- acl: aclSchema.optional(), // Access control list. Contains grants array with principal_type, principal, and actions. Null when no ACL restrictions are applied.
10
- app: z.string().optional(), // Application
11
- created_at: z.string().optional(), // Creation timestamp
12
- default_model: z.string().optional(), // Default AI model
13
- email: z.string().optional(), // Agent email
14
- id: z.string(), // Agent ID (agi_...)
15
- identity: z.string().optional(), // Identity prompt
16
- lookup_key: z.string().optional(), // Unique lookup key
17
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
18
- name: z.string().optional(), // Agent name
19
- org: z.string().optional(), // Organization
20
- phone_number: z.string().optional(), // Agent phone number
21
- sandbox: z.string().optional(), // Sandbox
22
- team: z.string().optional(), // Owning team
23
- updated_at: z.string().optional(), // Last update timestamp
24
- user: z.string().optional(), // Owning user
25
- });
26
- /** API schema for an agent computer. */
27
- export const agentComputerSchema = z.object({
28
- agent: z.string().optional(), // Owning agent
29
- app: z.string().optional(), // Application ID
30
- config: z.record(z.unknown()).optional(), // Configuration
31
- created_at: z.string().optional(), // Creation timestamp
32
- error_message: z.string().optional(), // Error message
33
- id: z.string(), // Computer ID (cmp_...)
34
- last_active_at: z.string().optional(), // Last active timestamp
35
- lookup_key: z.string().optional(), // Unique lookup key
36
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
37
- name: z.string().optional(), // Computer name
38
- region: z.string().optional(), // Region
39
- sprite_url: z.string().optional(), // Sprite URL
40
- status: z.string().optional(), // Computer status
41
- updated_at: z.string().optional(), // Last update timestamp
42
- });
43
- /** List response for agent computers. */
44
- export const agentComputerListResponseSchema = z.object({
45
- data: z.array(agentComputerSchema), // List of agent computers
46
- });
47
- /** API schema for an agent export response.
48
-
49
- Contains the reconstructed AgentTemplate and all dependent config files
50
- needed for a fully self-contained re-deploy.
51
- */
52
- export const agentExportSchema = z.object({
53
- configs: z.array(configSchema), // Dependent config files
54
- template: z.record(z.unknown()), // AgentTemplate config object
55
- });
56
- /** Paginated list response for agents. */
57
- export const agentListResponseSchema = z.object({
58
- data: z.array(agentSchema), // List of agents
59
- has_next: z.boolean().optional(), // Whether a next page exists
60
- has_prev: z.boolean().optional(), // Whether a previous page exists
61
- page: z.number().int().optional(), // Current page number
62
- page_size: z.number().int().optional(), // Results per page
63
- total_entries: z.number().int().optional(), // Total number of entries
64
- total_pages: z.number().int().optional(), // Total number of pages
65
- });
66
- /** API schema for an agent routine. */
67
- export const agentRoutineSchema = z.object({
68
- acl: aclSchema.optional(), // Access control list. Contains grants array with principal_type, principal, and actions. Null when no ACL restrictions are applied.
69
- agent: z.string().optional(), // Owning agent ID
70
- app: z.string().optional(), // Application ID
71
- config: z.string().optional(), // Config ID
72
- created_at: z.string().optional(), // Creation timestamp
73
- description: z.string().optional(), // Routine description
74
- event_config: z.record(z.unknown()).optional(), // Event configuration
75
- event_type: z.string().optional(), // Event type
76
- handler_type: z.string().optional(), // Handler type
77
- id: z.string(), // Routine ID (arn_...)
78
- lookup_key: z.string().optional(), // Unique lookup key
79
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
80
- name: z.string().optional(), // Routine name
81
- preset_config: presetConfigSchema.optional(), // Preset configuration
82
- preset_name: z.string().optional(), // Preset name
83
- schedule: z.string().optional(), // Schedule expression
84
- script: z.string().optional(), // Script content
85
- status: z.string().optional(), // Routine status
86
- steps: z.array(z.record(z.unknown())).optional(), // Ordered list of chain steps (present when handler_type is "chain"). Each step is a plain map with handler_type, optional body fields (preset_name / preset_config / script / config), and step-local plumbing (name, inputs, output_key, on_error).
87
- trigger_context: z.string().optional(), // Trigger context
88
- updated_at: z.string().optional(), // Last update timestamp
89
- });
90
- /** List response for agent routines. */
91
- export const agentRoutineListResponseSchema = z.object({
92
- data: z.array(agentRoutineSchema), // List of agent routines
93
- });
94
- /** API schema for an agent routine run. */
95
- export const agentRoutineRunSchema = z.object({
96
- acl: aclSchema.optional(), // Access control list. Contains grants array with principal_type, principal, and actions. Null when no ACL restrictions are applied.
97
- agent: z.string().optional(), // Agent
98
- app: z.string().optional(), // Application
99
- created_at: z.string().optional(), // Creation timestamp
100
- duration_ms: z.number().int().optional(), // Duration in milliseconds
101
- event_id: z.string().optional(), // Event ID
102
- id: z.string(), // Run ID (arr_...)
103
- metadata: z.record(z.unknown()).optional(), // Run metadata
104
- payload: z.record(z.unknown()).optional(), // Event payload
105
- result: z.record(z.unknown()).optional(), // Run result
106
- routine: z.string().optional(), // Routine
107
- status: z.string().optional(), // Run status
108
- structured_response: z.record(z.unknown()).optional(), // Validated structured response when the run uses an AgentMessageSchema
109
- updated_at: z.string().optional(), // Last update timestamp
110
- worker: workerStatusSchema.optional(), // Background worker status. Null when no worker job is associated.
111
- });
112
- /** Cursor-paginated list response for agent routine runs. */
113
- export const agentRoutineRunListResponseSchema = z.object({
114
- after_cursor: z.string().optional(), // Cursor for fetching items after this point
115
- before_cursor: z.string().optional(), // Cursor for fetching items before this point
116
- data: z.array(agentRoutineRunSchema), // List of routine runs
117
- });
118
- /** API schema for an agent schedule. */
119
- export const agentScheduleSchema = z.object({
120
- agent: z.string().optional(), // Owning agent ID
121
- app: z.string().optional(), // Application ID
122
- created_at: z.string().optional(), // Creation timestamp
123
- cron_expression: z.string().optional(), // Cron expression (recurring only)
124
- id: z.string(), // Schedule ID (asc_...)
125
- instructions: z.string().optional(), // Task instructions
126
- last_run_at: z.string().optional(), // Last execution time
127
- max_runs: z.number().int().optional(), // Maximum runs (recurring only)
128
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
129
- next_run_at: z.string().optional(), // Next scheduled execution
130
- run_count: z.number().int().optional(), // Number of times executed
131
- schedule_type: z.string().optional(), // Schedule type (once or recurring)
132
- scheduled_at: z.string().optional(), // One-time execution time
133
- status: z.string().optional(), // Schedule status
134
- thread: z.string().optional(), // Thread ID (if thread-bound)
135
- timezone: z.string().optional(), // Schedule timezone
136
- updated_at: z.string().optional(), // Last update timestamp
137
- });
138
- /** API schema for an agent session. */
139
- export const agentSessionSchema = z.object({
140
- agent: z.string().optional(), // Owning agent ID (agi_...)
141
- completed_at: z.string().optional(), // When the session completed
142
- created_at: z.string().optional(), // Creation timestamp
143
- error: z.string().optional(), // Error message if failed
144
- id: z.string(), // Agent session ID (ase_...)
145
- inbox: z.array(z.record(z.unknown())).optional(), // Inbox messages
146
- instructions: z.string().optional(), // Task description for the session
147
- is_system_session: z.boolean().optional(), // Whether this is a system-created session
148
- max_runs_per_turn: z.number().int().optional(), // Max tool runs per turn
149
- max_tokens: z.number().int().optional(), // Max tokens
150
- max_turns: z.number().int().optional(), // Max turns
151
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
152
- name: z.string().optional(), // Optional display name for the session
153
- result: z.record(z.unknown()).optional(), // Session result
154
- started_at: z.string().optional(), // When the session started running
155
- status: z.string().optional(), // Session status (pending, running, waiting, completed, failed, cancelled)
156
- trajectory: z.string().optional(), // Trajectory ID for the durable session transcript
157
- });
158
- /** List response for agent sessions. */
159
- export const agentSessionListResponseSchema = z.object({
160
- data: z.array(agentSessionSchema), // List of agent sessions
161
- });
162
- /** API schema for an agent skill. */
163
- export const agentSkillSchema = z.object({
164
- agent: z.string().optional(), // Owning agent ID
165
- app: z.string().optional(), // Application ID
166
- config: z.string().optional(), // Skill config ID
167
- created_at: z.string().optional(), // Creation timestamp
168
- id: z.string(), // Agent skill ID (ask_...)
169
- instruction: z.string().optional(), // Instruction override
170
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
171
- status: z.string().optional(), // Skill status
172
- updated_at: z.string().optional(), // Last update timestamp
173
- });
174
- /** API schema for agent skills list response. */
175
- export const agentSkillListSchema = z.object({
176
- data: z.array(agentSkillSchema), // List of agent skills
177
- });
178
- /** API schema for an agent tool. */
179
- export const agentToolSchema = z.object({
180
- agent: z.string().optional(), // Owning agent ID
181
- app: z.string().optional(), // Application ID
182
- builtin_tool_config: z.record(z.unknown()).optional(), // Builtin tool configuration
183
- builtin_tool_key: z.string().optional(), // Builtin tool key
184
- config: z.string().optional(), // Config ID
185
- created_at: z.string().optional(), // Creation timestamp
186
- description: z.string().optional(), // Tool description
187
- handler_type: z.string().optional(), // Handler type
188
- id: z.string(), // Tool ID (atl_...)
189
- instruction: z.string().optional(), // Tool instruction
190
- kind: z.string().optional(), // Tool kind
191
- lookup_key: z.string().optional(), // Unique lookup key
192
- metadata: z.record(z.unknown()).optional(), // Arbitrary metadata
193
- name: z.string().optional(), // Tool name
194
- parameters: z.record(z.unknown()).optional(), // Tool parameters
195
- parameters_config: z.string().optional(), // Parameters config ID
196
- status: z.string().optional(), // Tool status
197
- updated_at: z.string().optional(), // Last update timestamp
198
- });
199
- /** List response for agent tools. */
200
- export const agentToolListResponseSchema = z.object({
201
- data: z.array(agentToolSchema), // List of agent tools
202
- });
203
- //# sourceMappingURL=agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/types/agents.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,+BAA+B;AAC/B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,GAAG,EAAE,SAAS,CAAC,QAAQ,EAAE,EAA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AQ,EAAE,EAAE,YAAY;IACzC,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,kBAAkB;IAChE,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,uBAAuB;IACjE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,cAAc;IAC7C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,wBAAwB;CAC5D,CAAC,CAAC;AAGH,qCAAqC;AACrC,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,sBAAsB;CACvD,CAAC,CAAC"}
@@ -1,99 +0,0 @@
1
- import { z } from "zod";
2
- /** Associated account */
3
- export declare const memberAccountSchema: z.ZodObject<{
4
- alias: z.ZodOptional<z.ZodString>;
5
- email: z.ZodString;
6
- full_name: z.ZodOptional<z.ZodString>;
7
- id: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- email: string;
10
- id: string;
11
- alias?: string | undefined;
12
- full_name?: string | undefined;
13
- }, {
14
- email: string;
15
- id: string;
16
- alias?: string | undefined;
17
- full_name?: string | undefined;
18
- }>;
19
- export type MemberAccount = z.infer<typeof memberAccountSchema>;
20
- /** Schema for an app member (account with role on an app).
21
-
22
- Maps to serialized membership output from developer portal API.
23
- */
24
- export declare const memberSchema: z.ZodObject<{
25
- account: z.ZodObject<{
26
- alias: z.ZodOptional<z.ZodString>;
27
- email: z.ZodString;
28
- full_name: z.ZodOptional<z.ZodString>;
29
- id: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- email: string;
32
- id: string;
33
- alias?: string | undefined;
34
- full_name?: string | undefined;
35
- }, {
36
- email: string;
37
- id: string;
38
- alias?: string | undefined;
39
- full_name?: string | undefined;
40
- }>;
41
- created_at: z.ZodOptional<z.ZodString>;
42
- id: z.ZodString;
43
- role: z.ZodString;
44
- updated_at: z.ZodOptional<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- id: string;
47
- role: string;
48
- account: {
49
- email: string;
50
- id: string;
51
- alias?: string | undefined;
52
- full_name?: string | undefined;
53
- };
54
- created_at?: string | undefined;
55
- updated_at?: string | undefined;
56
- }, {
57
- id: string;
58
- role: string;
59
- account: {
60
- email: string;
61
- id: string;
62
- alias?: string | undefined;
63
- full_name?: string | undefined;
64
- };
65
- created_at?: string | undefined;
66
- updated_at?: string | undefined;
67
- }>;
68
- export type Member = z.infer<typeof memberSchema>;
69
- /** Schema for a pending member invite.
70
-
71
- Maps to serialized invite output from developer portal API.
72
- */
73
- export declare const memberInviteSchema: z.ZodObject<{
74
- email: z.ZodString;
75
- expires_at: z.ZodString;
76
- id: z.ZodString;
77
- invited_at: z.ZodString;
78
- inviter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
79
- role: z.ZodString;
80
- status: z.ZodString;
81
- }, "strip", z.ZodTypeAny, {
82
- email: string;
83
- status: string;
84
- id: string;
85
- expires_at: string;
86
- role: string;
87
- invited_at: string;
88
- inviter?: Record<string, unknown> | undefined;
89
- }, {
90
- email: string;
91
- status: string;
92
- id: string;
93
- expires_at: string;
94
- role: string;
95
- invited_at: string;
96
- inviter?: Record<string, unknown> | undefined;
97
- }>;
98
- export type MemberInvite = z.infer<typeof memberInviteSchema>;
99
- //# sourceMappingURL=members.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"members.d.ts","sourceRoot":"","sources":["../../src/types/members.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAyB;AACzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -1,36 +0,0 @@
1
- // Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
2
- // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
- // Content hash: c765510dbc8b
4
- import { z } from "zod";
5
- /** Associated account */
6
- export const memberAccountSchema = z.object({
7
- alias: z.string().optional(), // Account alias
8
- email: z.string(), // Account email
9
- full_name: z.string().optional(), // Full name
10
- id: z.string(), // Account public ID (dva_...)
11
- });
12
- /** Schema for an app member (account with role on an app).
13
-
14
- Maps to serialized membership output from developer portal API.
15
- */
16
- export const memberSchema = z.object({
17
- account: memberAccountSchema, // Associated account
18
- created_at: z.string().optional(), // Created timestamp
19
- id: z.string(), // Public ID (dar_...)
20
- role: z.string(), // Role (admin, developer)
21
- updated_at: z.string().optional(), // Updated timestamp
22
- });
23
- /** Schema for a pending member invite.
24
-
25
- Maps to serialized invite output from developer portal API.
26
- */
27
- export const memberInviteSchema = z.object({
28
- email: z.string(), // Invitee's email address
29
- expires_at: z.string(), // When the invite expires
30
- id: z.string(), // Public ID (ami_...)
31
- invited_at: z.string(), // When the invite was created
32
- inviter: z.record(z.unknown()).optional(), // Account that sent the invite
33
- role: z.string(), // Role (admin, developer)
34
- status: z.string(), // Invite status (pending or expired)
35
- });
36
- //# sourceMappingURL=members.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"members.js","sourceRoot":"","sources":["../../src/types/members.ts"],"names":[],"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C,CAAC,QAAQ,EAAE,EAAE,+BAA+B;IAC1E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,0BAA0B;IAC5C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,qCAAqC;CAC1D,CAAC,CAAC"}
@@ -1,193 +0,0 @@
1
- import { z } from "zod";
2
- /** API schema for an organization. */
3
- export declare const orgSchema: z.ZodObject<{
4
- created_at: z.ZodOptional<z.ZodString>;
5
- description: z.ZodOptional<z.ZodString>;
6
- domain: z.ZodOptional<z.ZodString>;
7
- id: z.ZodString;
8
- industry: z.ZodOptional<z.ZodString>;
9
- name: z.ZodOptional<z.ZodString>;
10
- sandbox: z.ZodOptional<z.ZodString>;
11
- slug: z.ZodOptional<z.ZodString>;
12
- status: z.ZodOptional<z.ZodString>;
13
- updated_at: z.ZodOptional<z.ZodString>;
14
- website: z.ZodOptional<z.ZodString>;
15
- }, "strip", z.ZodTypeAny, {
16
- id: string;
17
- status?: string | undefined;
18
- name?: string | undefined;
19
- sandbox?: string | undefined;
20
- created_at?: string | undefined;
21
- updated_at?: string | undefined;
22
- description?: string | undefined;
23
- slug?: string | undefined;
24
- domain?: string | undefined;
25
- industry?: string | undefined;
26
- website?: string | undefined;
27
- }, {
28
- id: string;
29
- status?: string | undefined;
30
- name?: string | undefined;
31
- sandbox?: string | undefined;
32
- created_at?: string | undefined;
33
- updated_at?: string | undefined;
34
- description?: string | undefined;
35
- slug?: string | undefined;
36
- domain?: string | undefined;
37
- industry?: string | undefined;
38
- website?: string | undefined;
39
- }>;
40
- export type Org = z.infer<typeof orgSchema>;
41
- /** Schema for org auth policy response.
42
- */
43
- export declare const orgAuthPolicySchema: z.ZodObject<{
44
- allowed_email_domains: z.ZodArray<z.ZodString, "many">;
45
- auth_method: z.ZodString;
46
- require_2fa: z.ZodBoolean;
47
- sso_providers: z.ZodArray<z.ZodString, "many">;
48
- }, "strip", z.ZodTypeAny, {
49
- allowed_email_domains: string[];
50
- auth_method: string;
51
- require_2fa: boolean;
52
- sso_providers: string[];
53
- }, {
54
- allowed_email_domains: string[];
55
- auth_method: string;
56
- require_2fa: boolean;
57
- sso_providers: string[];
58
- }>;
59
- export type OrgAuthPolicy = z.infer<typeof orgAuthPolicySchema>;
60
- /** Schema for an organization environment variable response that includes the
61
- plaintext value.
62
- */
63
- export declare const orgEnvVarSchema: z.ZodObject<{
64
- created_at: z.ZodOptional<z.ZodString>;
65
- description: z.ZodOptional<z.ZodString>;
66
- id: z.ZodString;
67
- key: z.ZodString;
68
- updated_at: z.ZodOptional<z.ZodString>;
69
- value: z.ZodString;
70
- }, "strip", z.ZodTypeAny, {
71
- key: string;
72
- value: string;
73
- id: string;
74
- created_at?: string | undefined;
75
- updated_at?: string | undefined;
76
- description?: string | undefined;
77
- }, {
78
- key: string;
79
- value: string;
80
- id: string;
81
- created_at?: string | undefined;
82
- updated_at?: string | undefined;
83
- description?: string | undefined;
84
- }>;
85
- export type OrgEnvVar = z.infer<typeof orgEnvVarSchema>;
86
- /** Schema for an organization environment variable response that masks the
87
- secret value.
88
- */
89
- export declare const orgEnvVarMaskedSchema: z.ZodObject<{
90
- created_at: z.ZodOptional<z.ZodString>;
91
- description: z.ZodOptional<z.ZodString>;
92
- id: z.ZodString;
93
- key: z.ZodString;
94
- masked_value: z.ZodString;
95
- updated_at: z.ZodOptional<z.ZodString>;
96
- }, "strip", z.ZodTypeAny, {
97
- key: string;
98
- id: string;
99
- masked_value: string;
100
- created_at?: string | undefined;
101
- updated_at?: string | undefined;
102
- description?: string | undefined;
103
- }, {
104
- key: string;
105
- id: string;
106
- masked_value: string;
107
- created_at?: string | undefined;
108
- updated_at?: string | undefined;
109
- description?: string | undefined;
110
- }>;
111
- export type OrgEnvVarMasked = z.infer<typeof orgEnvVarMaskedSchema>;
112
- /** Schema for organization environment variable list responses. */
113
- export declare const orgEnvVarMaskedListSchema: z.ZodObject<{
114
- data: z.ZodArray<z.ZodObject<{
115
- created_at: z.ZodOptional<z.ZodString>;
116
- description: z.ZodOptional<z.ZodString>;
117
- id: z.ZodString;
118
- key: z.ZodString;
119
- masked_value: z.ZodString;
120
- updated_at: z.ZodOptional<z.ZodString>;
121
- }, "strip", z.ZodTypeAny, {
122
- key: string;
123
- id: string;
124
- masked_value: string;
125
- created_at?: string | undefined;
126
- updated_at?: string | undefined;
127
- description?: string | undefined;
128
- }, {
129
- key: string;
130
- id: string;
131
- masked_value: string;
132
- created_at?: string | undefined;
133
- updated_at?: string | undefined;
134
- description?: string | undefined;
135
- }>, "many">;
136
- }, "strip", z.ZodTypeAny, {
137
- data: {
138
- key: string;
139
- id: string;
140
- masked_value: string;
141
- created_at?: string | undefined;
142
- updated_at?: string | undefined;
143
- description?: string | undefined;
144
- }[];
145
- }, {
146
- data: {
147
- key: string;
148
- id: string;
149
- masked_value: string;
150
- created_at?: string | undefined;
151
- updated_at?: string | undefined;
152
- description?: string | undefined;
153
- }[];
154
- }>;
155
- export type OrgEnvVarMaskedList = z.infer<typeof orgEnvVarMaskedListSchema>;
156
- /** Schema for SAML provider settings response.
157
-
158
- Masks certificate contents — exposes only boolean flags indicating whether
159
- a primary/secondary certificate is configured.
160
- */
161
- export declare const orgSamlSettingsSchema: z.ZodObject<{
162
- created_at: z.ZodOptional<z.ZodString>;
163
- enabled: z.ZodOptional<z.ZodBoolean>;
164
- entity_id: z.ZodString;
165
- has_certificate: z.ZodOptional<z.ZodBoolean>;
166
- has_certificate_secondary: z.ZodOptional<z.ZodBoolean>;
167
- id: z.ZodString;
168
- label: z.ZodOptional<z.ZodString>;
169
- sso_url: z.ZodString;
170
- updated_at: z.ZodOptional<z.ZodString>;
171
- }, "strip", z.ZodTypeAny, {
172
- id: string;
173
- entity_id: string;
174
- sso_url: string;
175
- created_at?: string | undefined;
176
- updated_at?: string | undefined;
177
- label?: string | undefined;
178
- enabled?: boolean | undefined;
179
- has_certificate?: boolean | undefined;
180
- has_certificate_secondary?: boolean | undefined;
181
- }, {
182
- id: string;
183
- entity_id: string;
184
- sso_url: string;
185
- created_at?: string | undefined;
186
- updated_at?: string | undefined;
187
- label?: string | undefined;
188
- enabled?: boolean | undefined;
189
- has_certificate?: boolean | undefined;
190
- has_certificate_secondary?: boolean | undefined;
191
- }>;
192
- export type OrgSamlSettings = z.infer<typeof orgSamlSettingsSchema>;
193
- //# sourceMappingURL=orgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orgs.d.ts","sourceRoot":"","sources":["../../src/types/orgs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,sCAAsC;AACtC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYpB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5C;GACG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,mEAAmE;AACnE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -1,69 +0,0 @@
1
- // Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
2
- // This file is auto-generated by @archastro/sdk-generator. Do not edit.
3
- // Content hash: cd1aadcc3d8e
4
- import { z } from "zod";
5
- /** API schema for an organization. */
6
- export const orgSchema = z.object({
7
- created_at: z.string().optional(), // Creation timestamp
8
- description: z.string().optional(), // Description
9
- domain: z.string().optional(), // Domain
10
- id: z.string(), // Organization ID (org_...)
11
- industry: z.string().optional(), // Industry
12
- name: z.string().optional(), // Organization name
13
- sandbox: z.string().optional(), // Sandbox
14
- slug: z.string().optional(), // URL slug
15
- status: z.string().optional(), // Status
16
- updated_at: z.string().optional(), // Last update timestamp
17
- website: z.string().optional(), // Website URL
18
- });
19
- /** Schema for org auth policy response.
20
- */
21
- export const orgAuthPolicySchema = z.object({
22
- allowed_email_domains: z.array(z.string()), // Allowed email domains
23
- auth_method: z.string(), // Auth method (default, sso)
24
- require_2fa: z.boolean(), // Whether 2FA is required
25
- sso_providers: z.array(z.string()), // Enabled SSO providers
26
- });
27
- /** Schema for an organization environment variable response that includes the
28
- plaintext value.
29
- */
30
- export const orgEnvVarSchema = z.object({
31
- created_at: z.string().optional(), // Created timestamp
32
- description: z.string().optional(), // Optional description
33
- id: z.string(), // Organization env var ID (oev_...)
34
- key: z.string(), // Environment variable key
35
- updated_at: z.string().optional(), // Updated timestamp
36
- value: z.string(), // Environment variable value
37
- });
38
- /** Schema for an organization environment variable response that masks the
39
- secret value.
40
- */
41
- export const orgEnvVarMaskedSchema = z.object({
42
- created_at: z.string().optional(), // Created timestamp
43
- description: z.string().optional(), // Optional description
44
- id: z.string(), // Organization env var ID (oev_...)
45
- key: z.string(), // Environment variable key
46
- masked_value: z.string(), // Masked environment variable value
47
- updated_at: z.string().optional(), // Updated timestamp
48
- });
49
- /** Schema for organization environment variable list responses. */
50
- export const orgEnvVarMaskedListSchema = z.object({
51
- data: z.array(orgEnvVarMaskedSchema), // Organization environment variables
52
- });
53
- /** Schema for SAML provider settings response.
54
-
55
- Masks certificate contents — exposes only boolean flags indicating whether
56
- a primary/secondary certificate is configured.
57
- */
58
- export const orgSamlSettingsSchema = z.object({
59
- created_at: z.string().optional(), // Created timestamp
60
- enabled: z.boolean().optional(), // Whether the provider is active
61
- entity_id: z.string(), // IdP entity ID
62
- has_certificate: z.boolean().optional(), // Whether a primary certificate is configured
63
- has_certificate_secondary: z.boolean().optional(), // Whether a secondary certificate is configured
64
- id: z.string(), // SAML provider ID (saml_...)
65
- label: z.string().optional(), // Display label for the SSO button
66
- sso_url: z.string(), // IdP SSO URL
67
- updated_at: z.string().optional(), // Updated timestamp
68
- });
69
- //# sourceMappingURL=orgs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orgs.js","sourceRoot":"","sources":["../../src/types/orgs.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,sCAAsC;AACtC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,qBAAqB;IACxD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,cAAc;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,SAAS;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,4BAA4B;IAC5C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,WAAW;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,oBAAoB;IACjD,OAAO,EAAE,CAAC,CAAC,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