@archastro/sdk 0.2.0 → 0.4.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 (92) hide show
  1. package/README.md +165 -0
  2. package/dist/client.d.ts +13 -13
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +27 -27
  5. package/dist/client.js.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +2 -2
  9. package/dist/index.js.map +1 -1
  10. package/dist/runtime/http-client.d.ts +7 -0
  11. package/dist/runtime/http-client.d.ts.map +1 -1
  12. package/dist/runtime/http-client.js +55 -0
  13. package/dist/runtime/http-client.js.map +1 -1
  14. package/dist/types/agents.d.ts +200 -116
  15. package/dist/types/agents.d.ts.map +1 -1
  16. package/dist/types/agents.js +5 -1
  17. package/dist/types/agents.js.map +1 -1
  18. package/dist/types/artifacts.d.ts +18 -18
  19. package/dist/types/automations.d.ts +6 -6
  20. package/dist/types/chat.d.ts +16 -16
  21. package/dist/types/common.d.ts +2411 -1982
  22. package/dist/types/common.d.ts.map +1 -1
  23. package/dist/types/common.js +117 -46
  24. package/dist/types/common.js.map +1 -1
  25. package/dist/types/config.d.ts +12 -12
  26. package/dist/types/index.d.ts +0 -3
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/dist/types/index.js +1 -4
  29. package/dist/types/index.js.map +1 -1
  30. package/dist/types/orgs.d.ts +4 -4
  31. package/dist/types/reactions.d.ts +2 -2
  32. package/dist/types/system.d.ts +2 -2
  33. package/dist/types/teams.d.ts +66 -66
  34. package/dist/types/threads.d.ts +164 -164
  35. package/dist/types/users.d.ts +12 -12
  36. package/dist/v1/resources/agent_installations.d.ts +4 -4
  37. package/dist/v1/resources/agent_installations.d.ts.map +1 -1
  38. package/dist/v1/resources/agent_installations.js +3 -3
  39. package/dist/v1/resources/agent_installations.js.map +1 -1
  40. package/dist/v1/resources/agent_routines.d.ts +9 -14
  41. package/dist/v1/resources/agent_routines.d.ts.map +1 -1
  42. package/dist/v1/resources/agent_routines.js +11 -19
  43. package/dist/v1/resources/agent_routines.js.map +1 -1
  44. package/dist/v1/resources/agent_sessions.d.ts +1 -0
  45. package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
  46. package/dist/v1/resources/agent_sessions.js +1 -1
  47. package/dist/v1/resources/agent_sessions.js.map +1 -1
  48. package/dist/v1/resources/agent_tools.d.ts +1 -6
  49. package/dist/v1/resources/agent_tools.d.ts.map +1 -1
  50. package/dist/v1/resources/agent_tools.js +4 -12
  51. package/dist/v1/resources/agent_tools.js.map +1 -1
  52. package/dist/v1/resources/agents.d.ts +21 -36
  53. package/dist/v1/resources/agents.d.ts.map +1 -1
  54. package/dist/v1/resources/agents.js +25 -49
  55. package/dist/v1/resources/agents.js.map +1 -1
  56. package/dist/v1/resources/ai.d.ts +5 -15
  57. package/dist/v1/resources/ai.d.ts.map +1 -1
  58. package/dist/v1/resources/ai.js +6 -22
  59. package/dist/v1/resources/ai.js.map +1 -1
  60. package/dist/v1/resources/artifacts.d.ts +7 -9
  61. package/dist/v1/resources/artifacts.d.ts.map +1 -1
  62. package/dist/v1/resources/artifacts.js +5 -13
  63. package/dist/v1/resources/artifacts.js.map +1 -1
  64. package/dist/v1/resources/config.d.ts +39 -51
  65. package/dist/v1/resources/config.d.ts.map +1 -1
  66. package/dist/v1/resources/config.js +18 -42
  67. package/dist/v1/resources/config.js.map +1 -1
  68. package/dist/v1/resources/index.d.ts +13 -13
  69. package/dist/v1/resources/index.d.ts.map +1 -1
  70. package/dist/v1/resources/index.js +14 -14
  71. package/dist/v1/resources/index.js.map +1 -1
  72. package/dist/v1/resources/teams.d.ts +30 -35
  73. package/dist/v1/resources/teams.d.ts.map +1 -1
  74. package/dist/v1/resources/teams.js +18 -26
  75. package/dist/v1/resources/teams.js.map +1 -1
  76. package/dist/v1/resources/thread_messages.d.ts +3 -8
  77. package/dist/v1/resources/thread_messages.d.ts.map +1 -1
  78. package/dist/v1/resources/thread_messages.js +4 -12
  79. package/dist/v1/resources/thread_messages.js.map +1 -1
  80. package/dist/v1/resources/threads.d.ts +41 -71
  81. package/dist/v1/resources/threads.d.ts.map +1 -1
  82. package/dist/v1/resources/threads.js +20 -68
  83. package/dist/v1/resources/threads.js.map +1 -1
  84. package/dist/v1/resources/users.d.ts +17 -32
  85. package/dist/v1/resources/users.d.ts.map +1 -1
  86. package/dist/v1/resources/users.js +10 -34
  87. package/dist/v1/resources/users.js.map +1 -1
  88. package/dist/v1.d.ts +13 -13
  89. package/dist/v1.d.ts.map +1 -1
  90. package/dist/v1.js +27 -27
  91. package/dist/v1.js.map +1 -1
  92. package/package.json +1 -1
@@ -87,13 +87,13 @@ export declare const agentSchema: z.ZodObject<{
87
87
  }, "strip", z.ZodTypeAny, {
88
88
  id: string;
89
89
  email?: string | undefined;
90
- created_at?: string | undefined;
91
- updated_at?: string | undefined;
90
+ metadata?: Record<string, unknown> | undefined;
92
91
  name?: string | undefined;
93
92
  org?: string | undefined;
94
93
  sandbox?: string | undefined;
95
- metadata?: Record<string, unknown> | undefined;
94
+ created_at?: string | undefined;
96
95
  user?: string | undefined;
96
+ updated_at?: string | undefined;
97
97
  team?: string | undefined;
98
98
  lookup_key?: string | undefined;
99
99
  acl?: {
@@ -119,13 +119,13 @@ export declare const agentSchema: z.ZodObject<{
119
119
  }, {
120
120
  id: string;
121
121
  email?: string | undefined;
122
- created_at?: string | undefined;
123
- updated_at?: string | undefined;
122
+ metadata?: Record<string, unknown> | undefined;
124
123
  name?: string | undefined;
125
124
  org?: string | undefined;
126
125
  sandbox?: string | undefined;
127
- metadata?: Record<string, unknown> | undefined;
126
+ created_at?: string | undefined;
128
127
  user?: string | undefined;
128
+ updated_at?: string | undefined;
129
129
  team?: string | undefined;
130
130
  lookup_key?: string | undefined;
131
131
  acl?: {
@@ -169,17 +169,17 @@ export declare const agentExportSchema: z.ZodObject<{
169
169
  }, "strip", z.ZodTypeAny, {
170
170
  id: string;
171
171
  version_number: number;
172
- created_at?: string | undefined;
173
172
  org?: string | undefined;
174
173
  sandbox?: string | undefined;
174
+ created_at?: string | undefined;
175
175
  data?: Record<string, unknown> | undefined;
176
176
  change_description?: string | undefined;
177
177
  }, {
178
178
  id: string;
179
179
  version_number: number;
180
- created_at?: string | undefined;
181
180
  org?: string | undefined;
182
181
  sandbox?: string | undefined;
182
+ created_at?: string | undefined;
183
183
  data?: Record<string, unknown> | undefined;
184
184
  change_description?: string | undefined;
185
185
  }>>;
@@ -199,20 +199,20 @@ export declare const agentExportSchema: z.ZodObject<{
199
199
  id: string;
200
200
  kind: string;
201
201
  mime_type?: string | undefined;
202
- created_at?: string | undefined;
203
- updated_at?: string | undefined;
204
202
  org?: string | undefined;
205
203
  sandbox?: string | undefined;
204
+ created_at?: string | undefined;
206
205
  user?: string | undefined;
206
+ updated_at?: string | undefined;
207
207
  team?: string | undefined;
208
208
  lookup_key?: string | undefined;
209
209
  raw_content?: string | undefined;
210
210
  current_version?: {
211
211
  id: string;
212
212
  version_number: number;
213
- created_at?: string | undefined;
214
213
  org?: string | undefined;
215
214
  sandbox?: string | undefined;
215
+ created_at?: string | undefined;
216
216
  data?: Record<string, unknown> | undefined;
217
217
  change_description?: string | undefined;
218
218
  } | undefined;
@@ -222,20 +222,20 @@ export declare const agentExportSchema: z.ZodObject<{
222
222
  id: string;
223
223
  kind: string;
224
224
  mime_type?: string | undefined;
225
- created_at?: string | undefined;
226
- updated_at?: string | undefined;
227
225
  org?: string | undefined;
228
226
  sandbox?: string | undefined;
227
+ created_at?: string | undefined;
229
228
  user?: string | undefined;
229
+ updated_at?: string | undefined;
230
230
  team?: string | undefined;
231
231
  lookup_key?: string | undefined;
232
232
  raw_content?: string | undefined;
233
233
  current_version?: {
234
234
  id: string;
235
235
  version_number: number;
236
- created_at?: string | undefined;
237
236
  org?: string | undefined;
238
237
  sandbox?: string | undefined;
238
+ created_at?: string | undefined;
239
239
  data?: Record<string, unknown> | undefined;
240
240
  change_description?: string | undefined;
241
241
  } | undefined;
@@ -248,20 +248,20 @@ export declare const agentExportSchema: z.ZodObject<{
248
248
  id: string;
249
249
  kind: string;
250
250
  mime_type?: string | undefined;
251
- created_at?: string | undefined;
252
- updated_at?: string | undefined;
253
251
  org?: string | undefined;
254
252
  sandbox?: string | undefined;
253
+ created_at?: string | undefined;
255
254
  user?: string | undefined;
255
+ updated_at?: string | undefined;
256
256
  team?: string | undefined;
257
257
  lookup_key?: string | undefined;
258
258
  raw_content?: string | undefined;
259
259
  current_version?: {
260
260
  id: string;
261
261
  version_number: number;
262
- created_at?: string | undefined;
263
262
  org?: string | undefined;
264
263
  sandbox?: string | undefined;
264
+ created_at?: string | undefined;
265
265
  data?: Record<string, unknown> | undefined;
266
266
  change_description?: string | undefined;
267
267
  } | undefined;
@@ -274,20 +274,20 @@ export declare const agentExportSchema: z.ZodObject<{
274
274
  id: string;
275
275
  kind: string;
276
276
  mime_type?: string | undefined;
277
- created_at?: string | undefined;
278
- updated_at?: string | undefined;
279
277
  org?: string | undefined;
280
278
  sandbox?: string | undefined;
279
+ created_at?: string | undefined;
281
280
  user?: string | undefined;
281
+ updated_at?: string | undefined;
282
282
  team?: string | undefined;
283
283
  lookup_key?: string | undefined;
284
284
  raw_content?: string | undefined;
285
285
  current_version?: {
286
286
  id: string;
287
287
  version_number: number;
288
- created_at?: string | undefined;
289
288
  org?: string | undefined;
290
289
  sandbox?: string | undefined;
290
+ created_at?: string | undefined;
291
291
  data?: Record<string, unknown> | undefined;
292
292
  change_description?: string | undefined;
293
293
  } | undefined;
@@ -320,9 +320,9 @@ export declare const agentSessionSchema: z.ZodObject<{
320
320
  id: string;
321
321
  error?: string | undefined;
322
322
  status?: string | undefined;
323
- created_at?: string | undefined;
324
- name?: string | undefined;
325
323
  metadata?: Record<string, unknown> | undefined;
324
+ name?: string | undefined;
325
+ created_at?: string | undefined;
326
326
  agent?: string | undefined;
327
327
  completed_at?: string | undefined;
328
328
  started_at?: string | undefined;
@@ -338,9 +338,9 @@ export declare const agentSessionSchema: z.ZodObject<{
338
338
  id: string;
339
339
  error?: string | undefined;
340
340
  status?: string | undefined;
341
- created_at?: string | undefined;
342
- name?: string | undefined;
343
341
  metadata?: Record<string, unknown> | undefined;
342
+ name?: string | undefined;
343
+ created_at?: string | undefined;
344
344
  agent?: string | undefined;
345
345
  completed_at?: string | undefined;
346
346
  started_at?: string | undefined;
@@ -378,9 +378,9 @@ export declare const agentSessionListResponseSchema: z.ZodObject<{
378
378
  id: string;
379
379
  error?: string | undefined;
380
380
  status?: string | undefined;
381
- created_at?: string | undefined;
382
- name?: string | undefined;
383
381
  metadata?: Record<string, unknown> | undefined;
382
+ name?: string | undefined;
383
+ created_at?: string | undefined;
384
384
  agent?: string | undefined;
385
385
  completed_at?: string | undefined;
386
386
  started_at?: string | undefined;
@@ -396,9 +396,9 @@ export declare const agentSessionListResponseSchema: z.ZodObject<{
396
396
  id: string;
397
397
  error?: string | undefined;
398
398
  status?: string | undefined;
399
- created_at?: string | undefined;
400
- name?: string | undefined;
401
399
  metadata?: Record<string, unknown> | undefined;
400
+ name?: string | undefined;
401
+ created_at?: string | undefined;
402
402
  agent?: string | undefined;
403
403
  completed_at?: string | undefined;
404
404
  started_at?: string | undefined;
@@ -416,9 +416,9 @@ export declare const agentSessionListResponseSchema: z.ZodObject<{
416
416
  id: string;
417
417
  error?: string | undefined;
418
418
  status?: string | undefined;
419
- created_at?: string | undefined;
420
- name?: string | undefined;
421
419
  metadata?: Record<string, unknown> | undefined;
420
+ name?: string | undefined;
421
+ created_at?: string | undefined;
422
422
  agent?: string | undefined;
423
423
  completed_at?: string | undefined;
424
424
  started_at?: string | undefined;
@@ -436,9 +436,9 @@ export declare const agentSessionListResponseSchema: z.ZodObject<{
436
436
  id: string;
437
437
  error?: string | undefined;
438
438
  status?: string | undefined;
439
- created_at?: string | undefined;
440
- name?: string | undefined;
441
439
  metadata?: Record<string, unknown> | undefined;
440
+ name?: string | undefined;
441
+ created_at?: string | undefined;
442
442
  agent?: string | undefined;
443
443
  completed_at?: string | undefined;
444
444
  started_at?: string | undefined;
@@ -488,10 +488,10 @@ export declare const agentToolSchema: z.ZodObject<{
488
488
  }, "strip", z.ZodTypeAny, {
489
489
  id: string;
490
490
  status?: string | undefined;
491
+ metadata?: Record<string, unknown> | undefined;
492
+ name?: string | undefined;
491
493
  created_at?: string | undefined;
492
494
  updated_at?: string | undefined;
493
- name?: string | undefined;
494
- metadata?: Record<string, unknown> | undefined;
495
495
  description?: string | undefined;
496
496
  agent?: string | undefined;
497
497
  lookup_key?: string | undefined;
@@ -507,10 +507,10 @@ export declare const agentToolSchema: z.ZodObject<{
507
507
  }, {
508
508
  id: string;
509
509
  status?: string | undefined;
510
+ metadata?: Record<string, unknown> | undefined;
511
+ name?: string | undefined;
510
512
  created_at?: string | undefined;
511
513
  updated_at?: string | undefined;
512
- name?: string | undefined;
513
- metadata?: Record<string, unknown> | undefined;
514
514
  description?: string | undefined;
515
515
  agent?: string | undefined;
516
516
  lookup_key?: string | undefined;
@@ -539,9 +539,9 @@ export declare const agentSkillSchema: z.ZodObject<{
539
539
  }, "strip", z.ZodTypeAny, {
540
540
  id: string;
541
541
  status?: string | undefined;
542
+ metadata?: Record<string, unknown> | undefined;
542
543
  created_at?: string | undefined;
543
544
  updated_at?: string | undefined;
544
- metadata?: Record<string, unknown> | undefined;
545
545
  agent?: string | undefined;
546
546
  config?: string | undefined;
547
547
  app?: string | undefined;
@@ -549,9 +549,9 @@ export declare const agentSkillSchema: z.ZodObject<{
549
549
  }, {
550
550
  id: string;
551
551
  status?: string | undefined;
552
+ metadata?: Record<string, unknown> | undefined;
552
553
  created_at?: string | undefined;
553
554
  updated_at?: string | undefined;
554
- metadata?: Record<string, unknown> | undefined;
555
555
  agent?: string | undefined;
556
556
  config?: string | undefined;
557
557
  app?: string | undefined;
@@ -577,10 +577,10 @@ export declare const agentComputerSchema: z.ZodObject<{
577
577
  }, "strip", z.ZodTypeAny, {
578
578
  id: string;
579
579
  status?: string | undefined;
580
+ metadata?: Record<string, unknown> | undefined;
581
+ name?: string | undefined;
580
582
  created_at?: string | undefined;
581
583
  updated_at?: string | undefined;
582
- name?: string | undefined;
583
- metadata?: Record<string, unknown> | undefined;
584
584
  agent?: string | undefined;
585
585
  error_message?: string | undefined;
586
586
  lookup_key?: string | undefined;
@@ -592,10 +592,10 @@ export declare const agentComputerSchema: z.ZodObject<{
592
592
  }, {
593
593
  id: string;
594
594
  status?: string | undefined;
595
+ metadata?: Record<string, unknown> | undefined;
596
+ name?: string | undefined;
595
597
  created_at?: string | undefined;
596
598
  updated_at?: string | undefined;
597
- name?: string | undefined;
598
- metadata?: Record<string, unknown> | undefined;
599
599
  agent?: string | undefined;
600
600
  error_message?: string | undefined;
601
601
  lookup_key?: string | undefined;
@@ -615,21 +615,105 @@ export declare const agentConversationHistorySchema: z.ZodObject<{
615
615
  sandbox: z.ZodOptional<z.ZodString>;
616
616
  session: z.ZodOptional<z.ZodString>;
617
617
  }, "strip", z.ZodTypeAny, {
618
- created_at?: string | undefined;
619
618
  name?: string | undefined;
620
619
  org?: string | undefined;
621
620
  sandbox?: string | undefined;
621
+ created_at?: string | undefined;
622
622
  last_interaction_at?: string | undefined;
623
623
  session?: string | undefined;
624
624
  }, {
625
- created_at?: string | undefined;
626
625
  name?: string | undefined;
627
626
  org?: string | undefined;
628
627
  sandbox?: string | undefined;
628
+ created_at?: string | undefined;
629
629
  last_interaction_at?: string | undefined;
630
630
  session?: string | undefined;
631
631
  }>;
632
632
  export type AgentConversationHistory = z.infer<typeof agentConversationHistorySchema>;
633
+ /** List response for agent computers. */
634
+ export declare const agentComputerListResponseSchema: z.ZodObject<{
635
+ data: z.ZodArray<z.ZodObject<{
636
+ agent: z.ZodOptional<z.ZodString>;
637
+ app: z.ZodOptional<z.ZodString>;
638
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
639
+ created_at: z.ZodOptional<z.ZodString>;
640
+ error_message: z.ZodOptional<z.ZodString>;
641
+ id: z.ZodString;
642
+ last_active_at: z.ZodOptional<z.ZodString>;
643
+ lookup_key: z.ZodOptional<z.ZodString>;
644
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
645
+ name: z.ZodOptional<z.ZodString>;
646
+ region: z.ZodOptional<z.ZodString>;
647
+ sprite_url: z.ZodOptional<z.ZodString>;
648
+ status: z.ZodOptional<z.ZodString>;
649
+ updated_at: z.ZodOptional<z.ZodString>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ id: string;
652
+ status?: string | undefined;
653
+ metadata?: Record<string, unknown> | undefined;
654
+ name?: string | undefined;
655
+ created_at?: string | undefined;
656
+ updated_at?: string | undefined;
657
+ agent?: string | undefined;
658
+ error_message?: string | undefined;
659
+ lookup_key?: string | undefined;
660
+ config?: Record<string, unknown> | undefined;
661
+ app?: string | undefined;
662
+ last_active_at?: string | undefined;
663
+ region?: string | undefined;
664
+ sprite_url?: string | undefined;
665
+ }, {
666
+ id: string;
667
+ status?: string | undefined;
668
+ metadata?: Record<string, unknown> | undefined;
669
+ name?: string | undefined;
670
+ created_at?: string | undefined;
671
+ updated_at?: string | undefined;
672
+ agent?: string | undefined;
673
+ error_message?: string | undefined;
674
+ lookup_key?: string | undefined;
675
+ config?: Record<string, unknown> | undefined;
676
+ app?: string | undefined;
677
+ last_active_at?: string | undefined;
678
+ region?: string | undefined;
679
+ sprite_url?: string | undefined;
680
+ }>, "many">;
681
+ }, "strip", z.ZodTypeAny, {
682
+ data: {
683
+ id: string;
684
+ status?: string | undefined;
685
+ metadata?: Record<string, unknown> | undefined;
686
+ name?: string | undefined;
687
+ created_at?: string | undefined;
688
+ updated_at?: string | undefined;
689
+ agent?: string | undefined;
690
+ error_message?: string | undefined;
691
+ lookup_key?: string | undefined;
692
+ config?: Record<string, unknown> | undefined;
693
+ app?: string | undefined;
694
+ last_active_at?: string | undefined;
695
+ region?: string | undefined;
696
+ sprite_url?: string | undefined;
697
+ }[];
698
+ }, {
699
+ data: {
700
+ id: string;
701
+ status?: string | undefined;
702
+ metadata?: Record<string, unknown> | undefined;
703
+ name?: string | undefined;
704
+ created_at?: string | undefined;
705
+ updated_at?: string | undefined;
706
+ agent?: string | undefined;
707
+ error_message?: string | undefined;
708
+ lookup_key?: string | undefined;
709
+ config?: Record<string, unknown> | undefined;
710
+ app?: string | undefined;
711
+ last_active_at?: string | undefined;
712
+ region?: string | undefined;
713
+ sprite_url?: string | undefined;
714
+ }[];
715
+ }>;
716
+ export type AgentComputerListResponse = z.infer<typeof agentComputerListResponseSchema>;
633
717
  /** API schema for an agent impersonation skill file entry. */
634
718
  export declare const agentImpersonationSkillFileSchema: z.ZodObject<{
635
719
  content_type: z.ZodOptional<z.ZodString>;
@@ -796,13 +880,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
796
880
  }, "strip", z.ZodTypeAny, {
797
881
  id: string;
798
882
  email?: string | undefined;
799
- created_at?: string | undefined;
800
- updated_at?: string | undefined;
883
+ metadata?: Record<string, unknown> | undefined;
801
884
  name?: string | undefined;
802
885
  org?: string | undefined;
803
886
  sandbox?: string | undefined;
804
- metadata?: Record<string, unknown> | undefined;
887
+ created_at?: string | undefined;
805
888
  user?: string | undefined;
889
+ updated_at?: string | undefined;
806
890
  team?: string | undefined;
807
891
  lookup_key?: string | undefined;
808
892
  acl?: {
@@ -828,13 +912,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
828
912
  }, {
829
913
  id: string;
830
914
  email?: string | undefined;
831
- created_at?: string | undefined;
832
- updated_at?: string | undefined;
915
+ metadata?: Record<string, unknown> | undefined;
833
916
  name?: string | undefined;
834
917
  org?: string | undefined;
835
918
  sandbox?: string | undefined;
836
- metadata?: Record<string, unknown> | undefined;
919
+ created_at?: string | undefined;
837
920
  user?: string | undefined;
921
+ updated_at?: string | undefined;
838
922
  team?: string | undefined;
839
923
  lookup_key?: string | undefined;
840
924
  acl?: {
@@ -868,13 +952,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
868
952
  data: {
869
953
  id: string;
870
954
  email?: string | undefined;
871
- created_at?: string | undefined;
872
- updated_at?: string | undefined;
955
+ metadata?: Record<string, unknown> | undefined;
873
956
  name?: string | undefined;
874
957
  org?: string | undefined;
875
958
  sandbox?: string | undefined;
876
- metadata?: Record<string, unknown> | undefined;
959
+ created_at?: string | undefined;
877
960
  user?: string | undefined;
961
+ updated_at?: string | undefined;
878
962
  team?: string | undefined;
879
963
  lookup_key?: string | undefined;
880
964
  acl?: {
@@ -908,13 +992,13 @@ export declare const agentListResponseSchema: z.ZodObject<{
908
992
  data: {
909
993
  id: string;
910
994
  email?: string | undefined;
911
- created_at?: string | undefined;
912
- updated_at?: string | undefined;
995
+ metadata?: Record<string, unknown> | undefined;
913
996
  name?: string | undefined;
914
997
  org?: string | undefined;
915
998
  sandbox?: string | undefined;
916
- metadata?: Record<string, unknown> | undefined;
999
+ created_at?: string | undefined;
917
1000
  user?: string | undefined;
1001
+ updated_at?: string | undefined;
918
1002
  team?: string | undefined;
919
1003
  lookup_key?: string | undefined;
920
1004
  acl?: {
@@ -970,10 +1054,10 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
970
1054
  }, "strip", z.ZodTypeAny, {
971
1055
  id: string;
972
1056
  status?: string | undefined;
1057
+ metadata?: Record<string, unknown> | undefined;
1058
+ name?: string | undefined;
973
1059
  created_at?: string | undefined;
974
1060
  updated_at?: string | undefined;
975
- name?: string | undefined;
976
- metadata?: Record<string, unknown> | undefined;
977
1061
  description?: string | undefined;
978
1062
  agent?: string | undefined;
979
1063
  lookup_key?: string | undefined;
@@ -989,10 +1073,10 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
989
1073
  }, {
990
1074
  id: string;
991
1075
  status?: string | undefined;
1076
+ metadata?: Record<string, unknown> | undefined;
1077
+ name?: string | undefined;
992
1078
  created_at?: string | undefined;
993
1079
  updated_at?: string | undefined;
994
- name?: string | undefined;
995
- metadata?: Record<string, unknown> | undefined;
996
1080
  description?: string | undefined;
997
1081
  agent?: string | undefined;
998
1082
  lookup_key?: string | undefined;
@@ -1010,10 +1094,10 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
1010
1094
  data: {
1011
1095
  id: string;
1012
1096
  status?: string | undefined;
1097
+ metadata?: Record<string, unknown> | undefined;
1098
+ name?: string | undefined;
1013
1099
  created_at?: string | undefined;
1014
1100
  updated_at?: string | undefined;
1015
- name?: string | undefined;
1016
- metadata?: Record<string, unknown> | undefined;
1017
1101
  description?: string | undefined;
1018
1102
  agent?: string | undefined;
1019
1103
  lookup_key?: string | undefined;
@@ -1031,10 +1115,10 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
1031
1115
  data: {
1032
1116
  id: string;
1033
1117
  status?: string | undefined;
1118
+ metadata?: Record<string, unknown> | undefined;
1119
+ name?: string | undefined;
1034
1120
  created_at?: string | undefined;
1035
1121
  updated_at?: string | undefined;
1036
- name?: string | undefined;
1037
- metadata?: Record<string, unknown> | undefined;
1038
1122
  description?: string | undefined;
1039
1123
  agent?: string | undefined;
1040
1124
  lookup_key?: string | undefined;
@@ -1073,10 +1157,10 @@ export declare const agentScheduleSchema: z.ZodObject<{
1073
1157
  id: string;
1074
1158
  timezone?: string | undefined;
1075
1159
  status?: string | undefined;
1076
- created_at?: string | undefined;
1077
- updated_at?: string | undefined;
1078
1160
  metadata?: Record<string, unknown> | undefined;
1161
+ created_at?: string | undefined;
1079
1162
  thread?: string | undefined;
1163
+ updated_at?: string | undefined;
1080
1164
  agent?: string | undefined;
1081
1165
  app?: string | undefined;
1082
1166
  instructions?: string | undefined;
@@ -1091,10 +1175,10 @@ export declare const agentScheduleSchema: z.ZodObject<{
1091
1175
  id: string;
1092
1176
  timezone?: string | undefined;
1093
1177
  status?: string | undefined;
1094
- created_at?: string | undefined;
1095
- updated_at?: string | undefined;
1096
1178
  metadata?: Record<string, unknown> | undefined;
1179
+ created_at?: string | undefined;
1097
1180
  thread?: string | undefined;
1181
+ updated_at?: string | undefined;
1098
1182
  agent?: string | undefined;
1099
1183
  app?: string | undefined;
1100
1184
  instructions?: string | undefined;
@@ -1206,11 +1290,11 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
1206
1290
  }, "strip", z.ZodTypeAny, {
1207
1291
  id: string;
1208
1292
  status?: string | undefined;
1293
+ metadata?: Record<string, unknown> | undefined;
1209
1294
  created_at?: string | undefined;
1210
1295
  updated_at?: string | undefined;
1211
- metadata?: Record<string, unknown> | undefined;
1212
- agent?: string | undefined;
1213
1296
  payload?: Record<string, unknown> | undefined;
1297
+ agent?: string | undefined;
1214
1298
  duration_ms?: number | undefined;
1215
1299
  acl?: {
1216
1300
  add?: {
@@ -1241,11 +1325,11 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
1241
1325
  }, {
1242
1326
  id: string;
1243
1327
  status?: string | undefined;
1328
+ metadata?: Record<string, unknown> | undefined;
1244
1329
  created_at?: string | undefined;
1245
1330
  updated_at?: string | undefined;
1246
- metadata?: Record<string, unknown> | undefined;
1247
- agent?: string | undefined;
1248
1331
  payload?: Record<string, unknown> | undefined;
1332
+ agent?: string | undefined;
1249
1333
  duration_ms?: number | undefined;
1250
1334
  acl?: {
1251
1335
  add?: {
@@ -1377,11 +1461,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
1377
1461
  }, "strip", z.ZodTypeAny, {
1378
1462
  id: string;
1379
1463
  status?: string | undefined;
1464
+ metadata?: Record<string, unknown> | undefined;
1380
1465
  created_at?: string | undefined;
1381
1466
  updated_at?: string | undefined;
1382
- metadata?: Record<string, unknown> | undefined;
1383
- agent?: string | undefined;
1384
1467
  payload?: Record<string, unknown> | undefined;
1468
+ agent?: string | undefined;
1385
1469
  duration_ms?: number | undefined;
1386
1470
  acl?: {
1387
1471
  add?: {
@@ -1412,11 +1496,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
1412
1496
  }, {
1413
1497
  id: string;
1414
1498
  status?: string | undefined;
1499
+ metadata?: Record<string, unknown> | undefined;
1415
1500
  created_at?: string | undefined;
1416
1501
  updated_at?: string | undefined;
1417
- metadata?: Record<string, unknown> | undefined;
1418
- agent?: string | undefined;
1419
1502
  payload?: Record<string, unknown> | undefined;
1503
+ agent?: string | undefined;
1420
1504
  duration_ms?: number | undefined;
1421
1505
  acl?: {
1422
1506
  add?: {
@@ -1449,11 +1533,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
1449
1533
  data: {
1450
1534
  id: string;
1451
1535
  status?: string | undefined;
1536
+ metadata?: Record<string, unknown> | undefined;
1452
1537
  created_at?: string | undefined;
1453
1538
  updated_at?: string | undefined;
1454
- metadata?: Record<string, unknown> | undefined;
1455
- agent?: string | undefined;
1456
1539
  payload?: Record<string, unknown> | undefined;
1540
+ agent?: string | undefined;
1457
1541
  duration_ms?: number | undefined;
1458
1542
  acl?: {
1459
1543
  add?: {
@@ -1488,11 +1572,11 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
1488
1572
  data: {
1489
1573
  id: string;
1490
1574
  status?: string | undefined;
1575
+ metadata?: Record<string, unknown> | undefined;
1491
1576
  created_at?: string | undefined;
1492
1577
  updated_at?: string | undefined;
1493
- metadata?: Record<string, unknown> | undefined;
1494
- agent?: string | undefined;
1495
1578
  payload?: Record<string, unknown> | undefined;
1579
+ agent?: string | undefined;
1496
1580
  duration_ms?: number | undefined;
1497
1581
  acl?: {
1498
1582
  add?: {
@@ -1614,13 +1698,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1614
1698
  }, "strip", z.ZodTypeAny, {
1615
1699
  id: string;
1616
1700
  email?: string | undefined;
1617
- created_at?: string | undefined;
1618
- updated_at?: string | undefined;
1701
+ metadata?: Record<string, unknown> | undefined;
1619
1702
  name?: string | undefined;
1620
1703
  org?: string | undefined;
1621
1704
  sandbox?: string | undefined;
1622
- metadata?: Record<string, unknown> | undefined;
1705
+ created_at?: string | undefined;
1623
1706
  user?: string | undefined;
1707
+ updated_at?: string | undefined;
1624
1708
  team?: string | undefined;
1625
1709
  lookup_key?: string | undefined;
1626
1710
  acl?: {
@@ -1646,13 +1730,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1646
1730
  }, {
1647
1731
  id: string;
1648
1732
  email?: string | undefined;
1649
- created_at?: string | undefined;
1650
- updated_at?: string | undefined;
1733
+ metadata?: Record<string, unknown> | undefined;
1651
1734
  name?: string | undefined;
1652
1735
  org?: string | undefined;
1653
1736
  sandbox?: string | undefined;
1654
- metadata?: Record<string, unknown> | undefined;
1737
+ created_at?: string | undefined;
1655
1738
  user?: string | undefined;
1739
+ updated_at?: string | undefined;
1656
1740
  team?: string | undefined;
1657
1741
  lookup_key?: string | undefined;
1658
1742
  acl?: {
@@ -1714,10 +1798,10 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1714
1798
  }, "strip", z.ZodTypeAny, {
1715
1799
  id: string;
1716
1800
  status?: string | undefined;
1801
+ metadata?: Record<string, unknown> | undefined;
1802
+ name?: string | undefined;
1717
1803
  created_at?: string | undefined;
1718
1804
  updated_at?: string | undefined;
1719
- name?: string | undefined;
1720
- metadata?: Record<string, unknown> | undefined;
1721
1805
  description?: string | undefined;
1722
1806
  agent?: string | undefined;
1723
1807
  lookup_key?: string | undefined;
@@ -1733,10 +1817,10 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1733
1817
  }, {
1734
1818
  id: string;
1735
1819
  status?: string | undefined;
1820
+ metadata?: Record<string, unknown> | undefined;
1821
+ name?: string | undefined;
1736
1822
  created_at?: string | undefined;
1737
1823
  updated_at?: string | undefined;
1738
- name?: string | undefined;
1739
- metadata?: Record<string, unknown> | undefined;
1740
1824
  description?: string | undefined;
1741
1825
  agent?: string | undefined;
1742
1826
  lookup_key?: string | undefined;
@@ -1754,13 +1838,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1754
1838
  agent: {
1755
1839
  id: string;
1756
1840
  email?: string | undefined;
1757
- created_at?: string | undefined;
1758
- updated_at?: string | undefined;
1841
+ metadata?: Record<string, unknown> | undefined;
1759
1842
  name?: string | undefined;
1760
1843
  org?: string | undefined;
1761
1844
  sandbox?: string | undefined;
1762
- metadata?: Record<string, unknown> | undefined;
1845
+ created_at?: string | undefined;
1763
1846
  user?: string | undefined;
1847
+ updated_at?: string | undefined;
1764
1848
  team?: string | undefined;
1765
1849
  lookup_key?: string | undefined;
1766
1850
  acl?: {
@@ -1787,10 +1871,10 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1787
1871
  tools: {
1788
1872
  id: string;
1789
1873
  status?: string | undefined;
1874
+ metadata?: Record<string, unknown> | undefined;
1875
+ name?: string | undefined;
1790
1876
  created_at?: string | undefined;
1791
1877
  updated_at?: string | undefined;
1792
- name?: string | undefined;
1793
- metadata?: Record<string, unknown> | undefined;
1794
1878
  description?: string | undefined;
1795
1879
  agent?: string | undefined;
1796
1880
  lookup_key?: string | undefined;
@@ -1814,13 +1898,13 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1814
1898
  agent: {
1815
1899
  id: string;
1816
1900
  email?: string | undefined;
1817
- created_at?: string | undefined;
1818
- updated_at?: string | undefined;
1901
+ metadata?: Record<string, unknown> | undefined;
1819
1902
  name?: string | undefined;
1820
1903
  org?: string | undefined;
1821
1904
  sandbox?: string | undefined;
1822
- metadata?: Record<string, unknown> | undefined;
1905
+ created_at?: string | undefined;
1823
1906
  user?: string | undefined;
1907
+ updated_at?: string | undefined;
1824
1908
  team?: string | undefined;
1825
1909
  lookup_key?: string | undefined;
1826
1910
  acl?: {
@@ -1847,10 +1931,10 @@ export declare const agentImpersonationManifestSchema: z.ZodObject<{
1847
1931
  tools: {
1848
1932
  id: string;
1849
1933
  status?: string | undefined;
1934
+ metadata?: Record<string, unknown> | undefined;
1935
+ name?: string | undefined;
1850
1936
  created_at?: string | undefined;
1851
1937
  updated_at?: string | undefined;
1852
- name?: string | undefined;
1853
- metadata?: Record<string, unknown> | undefined;
1854
1938
  description?: string | undefined;
1855
1939
  agent?: string | undefined;
1856
1940
  lookup_key?: string | undefined;
@@ -1964,10 +2048,10 @@ export declare const agentRoutineSchema: z.ZodObject<{
1964
2048
  }, "strip", z.ZodTypeAny, {
1965
2049
  id: string;
1966
2050
  status?: string | undefined;
2051
+ metadata?: Record<string, unknown> | undefined;
2052
+ name?: string | undefined;
1967
2053
  created_at?: string | undefined;
1968
2054
  updated_at?: string | undefined;
1969
- name?: string | undefined;
1970
- metadata?: Record<string, unknown> | undefined;
1971
2055
  description?: string | undefined;
1972
2056
  agent?: string | undefined;
1973
2057
  event_type?: string | undefined;
@@ -2000,10 +2084,10 @@ export declare const agentRoutineSchema: z.ZodObject<{
2000
2084
  }, {
2001
2085
  id: string;
2002
2086
  status?: string | undefined;
2087
+ metadata?: Record<string, unknown> | undefined;
2088
+ name?: string | undefined;
2003
2089
  created_at?: string | undefined;
2004
2090
  updated_at?: string | undefined;
2005
- name?: string | undefined;
2006
- metadata?: Record<string, unknown> | undefined;
2007
2091
  description?: string | undefined;
2008
2092
  agent?: string | undefined;
2009
2093
  event_type?: string | undefined;
@@ -2128,10 +2212,10 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
2128
2212
  }, "strip", z.ZodTypeAny, {
2129
2213
  id: string;
2130
2214
  status?: string | undefined;
2215
+ metadata?: Record<string, unknown> | undefined;
2216
+ name?: string | undefined;
2131
2217
  created_at?: string | undefined;
2132
2218
  updated_at?: string | undefined;
2133
- name?: string | undefined;
2134
- metadata?: Record<string, unknown> | undefined;
2135
2219
  description?: string | undefined;
2136
2220
  agent?: string | undefined;
2137
2221
  event_type?: string | undefined;
@@ -2164,10 +2248,10 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
2164
2248
  }, {
2165
2249
  id: string;
2166
2250
  status?: string | undefined;
2251
+ metadata?: Record<string, unknown> | undefined;
2252
+ name?: string | undefined;
2167
2253
  created_at?: string | undefined;
2168
2254
  updated_at?: string | undefined;
2169
- name?: string | undefined;
2170
- metadata?: Record<string, unknown> | undefined;
2171
2255
  description?: string | undefined;
2172
2256
  agent?: string | undefined;
2173
2257
  event_type?: string | undefined;
@@ -2202,10 +2286,10 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
2202
2286
  data: {
2203
2287
  id: string;
2204
2288
  status?: string | undefined;
2289
+ metadata?: Record<string, unknown> | undefined;
2290
+ name?: string | undefined;
2205
2291
  created_at?: string | undefined;
2206
2292
  updated_at?: string | undefined;
2207
- name?: string | undefined;
2208
- metadata?: Record<string, unknown> | undefined;
2209
2293
  description?: string | undefined;
2210
2294
  agent?: string | undefined;
2211
2295
  event_type?: string | undefined;
@@ -2240,10 +2324,10 @@ export declare const agentRoutineListResponseSchema: z.ZodObject<{
2240
2324
  data: {
2241
2325
  id: string;
2242
2326
  status?: string | undefined;
2327
+ metadata?: Record<string, unknown> | undefined;
2328
+ name?: string | undefined;
2243
2329
  created_at?: string | undefined;
2244
2330
  updated_at?: string | undefined;
2245
- name?: string | undefined;
2246
- metadata?: Record<string, unknown> | undefined;
2247
2331
  description?: string | undefined;
2248
2332
  agent?: string | undefined;
2249
2333
  event_type?: string | undefined;
@@ -2354,9 +2438,9 @@ export declare const agentSkillListSchema: z.ZodObject<{
2354
2438
  }, "strip", z.ZodTypeAny, {
2355
2439
  id: string;
2356
2440
  status?: string | undefined;
2441
+ metadata?: Record<string, unknown> | undefined;
2357
2442
  created_at?: string | undefined;
2358
2443
  updated_at?: string | undefined;
2359
- metadata?: Record<string, unknown> | undefined;
2360
2444
  agent?: string | undefined;
2361
2445
  config?: string | undefined;
2362
2446
  app?: string | undefined;
@@ -2364,9 +2448,9 @@ export declare const agentSkillListSchema: z.ZodObject<{
2364
2448
  }, {
2365
2449
  id: string;
2366
2450
  status?: string | undefined;
2451
+ metadata?: Record<string, unknown> | undefined;
2367
2452
  created_at?: string | undefined;
2368
2453
  updated_at?: string | undefined;
2369
- metadata?: Record<string, unknown> | undefined;
2370
2454
  agent?: string | undefined;
2371
2455
  config?: string | undefined;
2372
2456
  app?: string | undefined;
@@ -2376,9 +2460,9 @@ export declare const agentSkillListSchema: z.ZodObject<{
2376
2460
  data: {
2377
2461
  id: string;
2378
2462
  status?: string | undefined;
2463
+ metadata?: Record<string, unknown> | undefined;
2379
2464
  created_at?: string | undefined;
2380
2465
  updated_at?: string | undefined;
2381
- metadata?: Record<string, unknown> | undefined;
2382
2466
  agent?: string | undefined;
2383
2467
  config?: string | undefined;
2384
2468
  app?: string | undefined;
@@ -2388,9 +2472,9 @@ export declare const agentSkillListSchema: z.ZodObject<{
2388
2472
  data: {
2389
2473
  id: string;
2390
2474
  status?: string | undefined;
2475
+ metadata?: Record<string, unknown> | undefined;
2391
2476
  created_at?: string | undefined;
2392
2477
  updated_at?: string | undefined;
2393
- metadata?: Record<string, unknown> | undefined;
2394
2478
  agent?: string | undefined;
2395
2479
  config?: string | undefined;
2396
2480
  app?: string | undefined;