@archastro/sdk 0.18.0 → 0.20.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 (108) hide show
  1. package/dist/auth.d.ts +42 -18
  2. package/dist/auth.d.ts.map +1 -1
  3. package/dist/auth.js +53 -19
  4. package/dist/auth.js.map +1 -1
  5. package/dist/channels/api_chat_channel.d.ts +11 -1
  6. package/dist/channels/api_chat_channel.d.ts.map +1 -1
  7. package/dist/channels/api_chat_channel.js +14 -2
  8. package/dist/channels/api_chat_channel.js.map +1 -1
  9. package/dist/client.d.ts +1 -1
  10. package/dist/client.d.ts.map +1 -1
  11. package/dist/client.js +3 -3
  12. package/dist/client.js.map +1 -1
  13. package/dist/effective-access.d.ts +1 -1
  14. package/dist/effective-access.d.ts.map +1 -1
  15. package/dist/effective-access.js +2 -5
  16. package/dist/effective-access.js.map +1 -1
  17. package/dist/types/ai.d.ts +310 -0
  18. package/dist/types/ai.d.ts.map +1 -1
  19. package/dist/types/ai.js +51 -1
  20. package/dist/types/ai.js.map +1 -1
  21. package/dist/types/artifacts.d.ts +14 -2
  22. package/dist/types/artifacts.d.ts.map +1 -1
  23. package/dist/types/artifacts.js +5 -1
  24. package/dist/types/artifacts.js.map +1 -1
  25. package/dist/types/chat.d.ts +271 -168
  26. package/dist/types/chat.d.ts.map +1 -1
  27. package/dist/types/chat.js +10 -3
  28. package/dist/types/chat.js.map +1 -1
  29. package/dist/types/common.d.ts +361 -128
  30. package/dist/types/common.d.ts.map +1 -1
  31. package/dist/types/common.js +39 -20
  32. package/dist/types/common.js.map +1 -1
  33. package/dist/types/config.d.ts +2 -2
  34. package/dist/types/events.d.ts +32 -32
  35. package/dist/types/extractions.d.ts +12 -12
  36. package/dist/types/tasks.d.ts +34 -8
  37. package/dist/types/tasks.d.ts.map +1 -1
  38. package/dist/types/tasks.js +12 -3
  39. package/dist/types/tasks.js.map +1 -1
  40. package/dist/types/teams.d.ts +30 -10
  41. package/dist/types/teams.d.ts.map +1 -1
  42. package/dist/types/teams.js +8 -1
  43. package/dist/types/teams.js.map +1 -1
  44. package/dist/types/threads.d.ts +32 -20
  45. package/dist/types/threads.d.ts.map +1 -1
  46. package/dist/types/threads.js +5 -5
  47. package/dist/types/threads.js.map +1 -1
  48. package/dist/v1/resources/agents.d.ts +9 -3
  49. package/dist/v1/resources/agents.d.ts.map +1 -1
  50. package/dist/v1/resources/agents.js +7 -2
  51. package/dist/v1/resources/agents.js.map +1 -1
  52. package/dist/v1/resources/ai.d.ts +92 -3
  53. package/dist/v1/resources/ai.d.ts.map +1 -1
  54. package/dist/v1/resources/ai.js +54 -1
  55. package/dist/v1/resources/ai.js.map +1 -1
  56. package/dist/v1/resources/artifacts.d.ts +53 -0
  57. package/dist/v1/resources/artifacts.d.ts.map +1 -1
  58. package/dist/v1/resources/artifacts.js +35 -1
  59. package/dist/v1/resources/artifacts.js.map +1 -1
  60. package/dist/v1/resources/custom_objects.d.ts +5 -0
  61. package/dist/v1/resources/custom_objects.d.ts.map +1 -1
  62. package/dist/v1/resources/custom_objects.js +5 -1
  63. package/dist/v1/resources/custom_objects.js.map +1 -1
  64. package/dist/v1/resources/files.d.ts +7 -0
  65. package/dist/v1/resources/files.d.ts.map +1 -1
  66. package/dist/v1/resources/files.js +8 -1
  67. package/dist/v1/resources/files.js.map +1 -1
  68. package/dist/v1/resources/index.d.ts +1 -1
  69. package/dist/v1/resources/index.d.ts.map +1 -1
  70. package/dist/v1/resources/index.js +2 -2
  71. package/dist/v1/resources/index.js.map +1 -1
  72. package/dist/v1/resources/knowledge_sources.d.ts +41 -0
  73. package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
  74. package/dist/v1/resources/knowledge_sources.js +31 -1
  75. package/dist/v1/resources/knowledge_sources.js.map +1 -1
  76. package/dist/v1/resources/orgs.d.ts +537 -0
  77. package/dist/v1/resources/orgs.d.ts.map +1 -1
  78. package/dist/v1/resources/orgs.js +100 -1
  79. package/dist/v1/resources/orgs.js.map +1 -1
  80. package/dist/v1/resources/sandboxes.d.ts +3 -2
  81. package/dist/v1/resources/sandboxes.d.ts.map +1 -1
  82. package/dist/v1/resources/sandboxes.js +4 -3
  83. package/dist/v1/resources/sandboxes.js.map +1 -1
  84. package/dist/v1/resources/scripts.d.ts +6 -2
  85. package/dist/v1/resources/scripts.d.ts.map +1 -1
  86. package/dist/v1/resources/scripts.js +5 -3
  87. package/dist/v1/resources/scripts.js.map +1 -1
  88. package/dist/v1/resources/tasks.d.ts +58 -3
  89. package/dist/v1/resources/tasks.d.ts.map +1 -1
  90. package/dist/v1/resources/tasks.js +61 -2
  91. package/dist/v1/resources/tasks.js.map +1 -1
  92. package/dist/v1/resources/teams.d.ts +56 -14
  93. package/dist/v1/resources/teams.d.ts.map +1 -1
  94. package/dist/v1/resources/teams.js +62 -13
  95. package/dist/v1/resources/teams.js.map +1 -1
  96. package/dist/v1/resources/threads.d.ts +19 -6
  97. package/dist/v1/resources/threads.d.ts.map +1 -1
  98. package/dist/v1/resources/threads.js +21 -8
  99. package/dist/v1/resources/threads.js.map +1 -1
  100. package/dist/v1/resources/users.d.ts +15 -4
  101. package/dist/v1/resources/users.d.ts.map +1 -1
  102. package/dist/v1/resources/users.js +13 -3
  103. package/dist/v1/resources/users.js.map +1 -1
  104. package/dist/v1.d.ts +1 -1
  105. package/dist/v1.d.ts.map +1 -1
  106. package/dist/v1.js +3 -3
  107. package/dist/v1.js.map +1 -1
  108. package/package.json +1 -1
@@ -1084,8 +1084,8 @@ export declare const chatMemberSchema: z.ZodObject<{
1084
1084
  user?: string | null | undefined;
1085
1085
  name?: string | undefined;
1086
1086
  email?: string | null | undefined;
1087
- team?: string | null | undefined;
1088
1087
  org?: string | null | undefined;
1088
+ team?: string | null | undefined;
1089
1089
  description?: string | null | undefined;
1090
1090
  app?: string | undefined;
1091
1091
  created_at?: string | undefined;
@@ -1262,8 +1262,8 @@ export declare const chatMemberSchema: z.ZodObject<{
1262
1262
  user?: string | null | undefined;
1263
1263
  name?: string | undefined;
1264
1264
  email?: string | null | undefined;
1265
- team?: string | null | undefined;
1266
1265
  org?: string | null | undefined;
1266
+ team?: string | null | undefined;
1267
1267
  description?: string | null | undefined;
1268
1268
  app?: string | undefined;
1269
1269
  created_at?: string | undefined;
@@ -1530,8 +1530,8 @@ export declare const chatMemberSchema: z.ZodObject<{
1530
1530
  user?: string | null | undefined;
1531
1531
  name?: string | undefined;
1532
1532
  email?: string | null | undefined;
1533
- team?: string | null | undefined;
1534
1533
  org?: string | null | undefined;
1534
+ team?: string | null | undefined;
1535
1535
  description?: string | null | undefined;
1536
1536
  app?: string | undefined;
1537
1537
  created_at?: string | undefined;
@@ -1733,8 +1733,8 @@ export declare const chatMemberSchema: z.ZodObject<{
1733
1733
  user?: string | null | undefined;
1734
1734
  name?: string | undefined;
1735
1735
  email?: string | null | undefined;
1736
- team?: string | null | undefined;
1737
1736
  org?: string | null | undefined;
1737
+ team?: string | null | undefined;
1738
1738
  description?: string | null | undefined;
1739
1739
  app?: string | undefined;
1740
1740
  created_at?: string | undefined;
@@ -3002,8 +3002,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
3002
3002
  user?: string | null | undefined;
3003
3003
  name?: string | undefined;
3004
3004
  email?: string | null | undefined;
3005
- team?: string | null | undefined;
3006
3005
  org?: string | null | undefined;
3006
+ team?: string | null | undefined;
3007
3007
  description?: string | null | undefined;
3008
3008
  app?: string | undefined;
3009
3009
  created_at?: string | undefined;
@@ -3180,8 +3180,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
3180
3180
  user?: string | null | undefined;
3181
3181
  name?: string | undefined;
3182
3182
  email?: string | null | undefined;
3183
- team?: string | null | undefined;
3184
3183
  org?: string | null | undefined;
3184
+ team?: string | null | undefined;
3185
3185
  description?: string | null | undefined;
3186
3186
  app?: string | undefined;
3187
3187
  created_at?: string | undefined;
@@ -4428,8 +4428,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
4428
4428
  user?: string | null | undefined;
4429
4429
  name?: string | undefined;
4430
4430
  email?: string | null | undefined;
4431
- team?: string | null | undefined;
4432
4431
  org?: string | null | undefined;
4432
+ team?: string | null | undefined;
4433
4433
  description?: string | null | undefined;
4434
4434
  app?: string | undefined;
4435
4435
  created_at?: string | undefined;
@@ -4606,8 +4606,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
4606
4606
  user?: string | null | undefined;
4607
4607
  name?: string | undefined;
4608
4608
  email?: string | null | undefined;
4609
- team?: string | null | undefined;
4610
4609
  org?: string | null | undefined;
4610
+ team?: string | null | undefined;
4611
4611
  description?: string | null | undefined;
4612
4612
  app?: string | undefined;
4613
4613
  created_at?: string | undefined;
@@ -4874,8 +4874,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
4874
4874
  user?: string | null | undefined;
4875
4875
  name?: string | undefined;
4876
4876
  email?: string | null | undefined;
4877
- team?: string | null | undefined;
4878
4877
  org?: string | null | undefined;
4878
+ team?: string | null | undefined;
4879
4879
  description?: string | null | undefined;
4880
4880
  app?: string | undefined;
4881
4881
  created_at?: string | undefined;
@@ -5077,8 +5077,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5077
5077
  user?: string | null | undefined;
5078
5078
  name?: string | undefined;
5079
5079
  email?: string | null | undefined;
5080
- team?: string | null | undefined;
5081
5080
  org?: string | null | undefined;
5081
+ team?: string | null | undefined;
5082
5082
  description?: string | null | undefined;
5083
5083
  app?: string | undefined;
5084
5084
  created_at?: string | undefined;
@@ -5415,6 +5415,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5415
5415
  }>>>;
5416
5416
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5417
5417
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5418
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5418
5419
  media_type: z.ZodOptional<z.ZodString>;
5419
5420
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5420
5421
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -5504,6 +5505,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5504
5505
  type: string;
5505
5506
  id: string;
5506
5507
  object?: Record<string, {} | null> | undefined;
5508
+ key?: string | null | undefined;
5507
5509
  name?: string | null | undefined;
5508
5510
  description?: string | null | undefined;
5509
5511
  height?: number | null | undefined;
@@ -5551,6 +5553,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5551
5553
  type: string;
5552
5554
  id: string;
5553
5555
  object?: Record<string, {} | null> | undefined;
5556
+ key?: string | null | undefined;
5554
5557
  name?: string | null | undefined;
5555
5558
  description?: string | null | undefined;
5556
5559
  height?: number | null | undefined;
@@ -5731,10 +5734,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5731
5734
  org_slug?: string | null | undefined;
5732
5735
  sandbox_name?: string | null | undefined;
5733
5736
  } | null | undefined;
5737
+ org?: string | null | undefined;
5734
5738
  agent?: string | null | undefined;
5735
5739
  thread?: string | undefined;
5736
5740
  team?: string | null | undefined;
5737
- org?: string | null | undefined;
5738
5741
  type?: string | null | undefined;
5739
5742
  created_at?: string | undefined;
5740
5743
  sandbox?: string | null | undefined;
@@ -5759,6 +5762,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5759
5762
  type: string;
5760
5763
  id: string;
5761
5764
  object?: Record<string, {} | null> | undefined;
5765
+ key?: string | null | undefined;
5762
5766
  name?: string | null | undefined;
5763
5767
  description?: string | null | undefined;
5764
5768
  height?: number | null | undefined;
@@ -5866,10 +5870,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5866
5870
  org_slug?: string | null | undefined;
5867
5871
  sandbox_name?: string | null | undefined;
5868
5872
  } | null | undefined;
5873
+ org?: string | null | undefined;
5869
5874
  agent?: string | null | undefined;
5870
5875
  thread?: string | undefined;
5871
5876
  team?: string | null | undefined;
5872
- org?: string | null | undefined;
5873
5877
  type?: string | null | undefined;
5874
5878
  created_at?: string | undefined;
5875
5879
  sandbox?: string | null | undefined;
@@ -5894,6 +5898,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
5894
5898
  type: string;
5895
5899
  id: string;
5896
5900
  object?: Record<string, {} | null> | undefined;
5901
+ key?: string | null | undefined;
5897
5902
  name?: string | null | undefined;
5898
5903
  description?: string | null | undefined;
5899
5904
  height?: number | null | undefined;
@@ -6361,6 +6366,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6361
6366
  }>>>;
6362
6367
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6363
6368
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6369
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6364
6370
  media_type: z.ZodOptional<z.ZodString>;
6365
6371
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6366
6372
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -6450,6 +6456,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6450
6456
  type: string;
6451
6457
  id: string;
6452
6458
  object?: Record<string, {} | null> | undefined;
6459
+ key?: string | null | undefined;
6453
6460
  name?: string | null | undefined;
6454
6461
  description?: string | null | undefined;
6455
6462
  height?: number | null | undefined;
@@ -6497,6 +6504,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6497
6504
  type: string;
6498
6505
  id: string;
6499
6506
  object?: Record<string, {} | null> | undefined;
6507
+ key?: string | null | undefined;
6500
6508
  name?: string | null | undefined;
6501
6509
  description?: string | null | undefined;
6502
6510
  height?: number | null | undefined;
@@ -6677,10 +6685,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6677
6685
  org_slug?: string | null | undefined;
6678
6686
  sandbox_name?: string | null | undefined;
6679
6687
  } | null | undefined;
6688
+ org?: string | null | undefined;
6680
6689
  agent?: string | null | undefined;
6681
6690
  thread?: string | undefined;
6682
6691
  team?: string | null | undefined;
6683
- org?: string | null | undefined;
6684
6692
  type?: string | null | undefined;
6685
6693
  created_at?: string | undefined;
6686
6694
  sandbox?: string | null | undefined;
@@ -6705,6 +6713,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6705
6713
  type: string;
6706
6714
  id: string;
6707
6715
  object?: Record<string, {} | null> | undefined;
6716
+ key?: string | null | undefined;
6708
6717
  name?: string | null | undefined;
6709
6718
  description?: string | null | undefined;
6710
6719
  height?: number | null | undefined;
@@ -6812,10 +6821,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6812
6821
  org_slug?: string | null | undefined;
6813
6822
  sandbox_name?: string | null | undefined;
6814
6823
  } | null | undefined;
6824
+ org?: string | null | undefined;
6815
6825
  agent?: string | null | undefined;
6816
6826
  thread?: string | undefined;
6817
6827
  team?: string | null | undefined;
6818
- org?: string | null | undefined;
6819
6828
  type?: string | null | undefined;
6820
6829
  created_at?: string | undefined;
6821
6830
  sandbox?: string | null | undefined;
@@ -6840,6 +6849,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
6840
6849
  type: string;
6841
6850
  id: string;
6842
6851
  object?: Record<string, {} | null> | undefined;
6852
+ key?: string | null | undefined;
6843
6853
  name?: string | null | undefined;
6844
6854
  description?: string | null | undefined;
6845
6855
  height?: number | null | undefined;
@@ -8054,8 +8064,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8054
8064
  user?: string | null | undefined;
8055
8065
  name?: string | undefined;
8056
8066
  email?: string | null | undefined;
8057
- team?: string | null | undefined;
8058
8067
  org?: string | null | undefined;
8068
+ team?: string | null | undefined;
8059
8069
  description?: string | null | undefined;
8060
8070
  app?: string | undefined;
8061
8071
  created_at?: string | undefined;
@@ -8232,8 +8242,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8232
8242
  user?: string | null | undefined;
8233
8243
  name?: string | undefined;
8234
8244
  email?: string | null | undefined;
8235
- team?: string | null | undefined;
8236
8245
  org?: string | null | undefined;
8246
+ team?: string | null | undefined;
8237
8247
  description?: string | null | undefined;
8238
8248
  app?: string | undefined;
8239
8249
  created_at?: string | undefined;
@@ -8424,15 +8434,15 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8424
8434
  unread_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8425
8435
  updated_at: z.ZodOptional<z.ZodString>;
8426
8436
  user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8427
- visibility: z.ZodEnum<["team", "restricted", "private"]>;
8437
+ visibility: z.ZodEnum<["team", "restricted", "private", "org"]>;
8428
8438
  }, "strip", z.ZodTypeAny, {
8429
8439
  id: string;
8430
- visibility: "team" | "private" | "restricted";
8440
+ visibility: "org" | "team" | "private" | "restricted";
8431
8441
  key?: string | null | undefined;
8432
8442
  user?: string | null | undefined;
8443
+ org?: string | null | undefined;
8433
8444
  kind?: string | null | undefined;
8434
8445
  team?: string | null | undefined;
8435
- org?: string | null | undefined;
8436
8446
  description?: string | null | undefined;
8437
8447
  participants?: {
8438
8448
  id: string;
@@ -8516,10 +8526,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8516
8526
  org_slug?: string | null | undefined;
8517
8527
  sandbox_name?: string | null | undefined;
8518
8528
  } | null | undefined;
8529
+ org?: string | null | undefined;
8519
8530
  agent?: string | null | undefined;
8520
8531
  thread?: string | undefined;
8521
8532
  team?: string | null | undefined;
8522
- org?: string | null | undefined;
8523
8533
  type?: string | null | undefined;
8524
8534
  created_at?: string | undefined;
8525
8535
  sandbox?: string | null | undefined;
@@ -8544,6 +8554,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8544
8554
  type: string;
8545
8555
  id: string;
8546
8556
  object?: Record<string, {} | null> | undefined;
8557
+ key?: string | null | undefined;
8547
8558
  name?: string | null | undefined;
8548
8559
  description?: string | null | undefined;
8549
8560
  height?: number | null | undefined;
@@ -8635,8 +8646,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8635
8646
  user?: string | null | undefined;
8636
8647
  name?: string | undefined;
8637
8648
  email?: string | null | undefined;
8638
- team?: string | null | undefined;
8639
8649
  org?: string | null | undefined;
8650
+ team?: string | null | undefined;
8640
8651
  description?: string | null | undefined;
8641
8652
  app?: string | undefined;
8642
8653
  created_at?: string | undefined;
@@ -8818,12 +8829,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8818
8829
  unread_count?: number | null | undefined;
8819
8830
  }, {
8820
8831
  id: string;
8821
- visibility: "team" | "private" | "restricted";
8832
+ visibility: "org" | "team" | "private" | "restricted";
8822
8833
  key?: string | null | undefined;
8823
8834
  user?: string | null | undefined;
8835
+ org?: string | null | undefined;
8824
8836
  kind?: string | null | undefined;
8825
8837
  team?: string | null | undefined;
8826
- org?: string | null | undefined;
8827
8838
  description?: string | null | undefined;
8828
8839
  participants?: {
8829
8840
  id: string;
@@ -8907,10 +8918,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8907
8918
  org_slug?: string | null | undefined;
8908
8919
  sandbox_name?: string | null | undefined;
8909
8920
  } | null | undefined;
8921
+ org?: string | null | undefined;
8910
8922
  agent?: string | null | undefined;
8911
8923
  thread?: string | undefined;
8912
8924
  team?: string | null | undefined;
8913
- org?: string | null | undefined;
8914
8925
  type?: string | null | undefined;
8915
8926
  created_at?: string | undefined;
8916
8927
  sandbox?: string | null | undefined;
@@ -8935,6 +8946,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
8935
8946
  type: string;
8936
8947
  id: string;
8937
8948
  object?: Record<string, {} | null> | undefined;
8949
+ key?: string | null | undefined;
8938
8950
  name?: string | null | undefined;
8939
8951
  description?: string | null | undefined;
8940
8952
  height?: number | null | undefined;
@@ -9026,8 +9038,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9026
9038
  user?: string | null | undefined;
9027
9039
  name?: string | undefined;
9028
9040
  email?: string | null | undefined;
9029
- team?: string | null | undefined;
9030
9041
  org?: string | null | undefined;
9042
+ team?: string | null | undefined;
9031
9043
  description?: string | null | undefined;
9032
9044
  app?: string | undefined;
9033
9045
  created_at?: string | undefined;
@@ -9211,12 +9223,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9211
9223
  }, "strip", z.ZodTypeAny, {
9212
9224
  thread: {
9213
9225
  id: string;
9214
- visibility: "team" | "private" | "restricted";
9226
+ visibility: "org" | "team" | "private" | "restricted";
9215
9227
  key?: string | null | undefined;
9216
9228
  user?: string | null | undefined;
9229
+ org?: string | null | undefined;
9217
9230
  kind?: string | null | undefined;
9218
9231
  team?: string | null | undefined;
9219
- org?: string | null | undefined;
9220
9232
  description?: string | null | undefined;
9221
9233
  participants?: {
9222
9234
  id: string;
@@ -9300,10 +9312,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9300
9312
  org_slug?: string | null | undefined;
9301
9313
  sandbox_name?: string | null | undefined;
9302
9314
  } | null | undefined;
9315
+ org?: string | null | undefined;
9303
9316
  agent?: string | null | undefined;
9304
9317
  thread?: string | undefined;
9305
9318
  team?: string | null | undefined;
9306
- org?: string | null | undefined;
9307
9319
  type?: string | null | undefined;
9308
9320
  created_at?: string | undefined;
9309
9321
  sandbox?: string | null | undefined;
@@ -9328,6 +9340,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9328
9340
  type: string;
9329
9341
  id: string;
9330
9342
  object?: Record<string, {} | null> | undefined;
9343
+ key?: string | null | undefined;
9331
9344
  name?: string | null | undefined;
9332
9345
  description?: string | null | undefined;
9333
9346
  height?: number | null | undefined;
@@ -9419,8 +9432,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9419
9432
  user?: string | null | undefined;
9420
9433
  name?: string | undefined;
9421
9434
  email?: string | null | undefined;
9422
- team?: string | null | undefined;
9423
9435
  org?: string | null | undefined;
9436
+ team?: string | null | undefined;
9424
9437
  description?: string | null | undefined;
9425
9438
  app?: string | undefined;
9426
9439
  created_at?: string | undefined;
@@ -9625,10 +9638,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9625
9638
  org_slug?: string | null | undefined;
9626
9639
  sandbox_name?: string | null | undefined;
9627
9640
  } | null | undefined;
9641
+ org?: string | null | undefined;
9628
9642
  agent?: string | null | undefined;
9629
9643
  thread?: string | undefined;
9630
9644
  team?: string | null | undefined;
9631
- org?: string | null | undefined;
9632
9645
  type?: string | null | undefined;
9633
9646
  created_at?: string | undefined;
9634
9647
  sandbox?: string | null | undefined;
@@ -9653,6 +9666,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9653
9666
  type: string;
9654
9667
  id: string;
9655
9668
  object?: Record<string, {} | null> | undefined;
9669
+ key?: string | null | undefined;
9656
9670
  name?: string | null | undefined;
9657
9671
  description?: string | null | undefined;
9658
9672
  height?: number | null | undefined;
@@ -9766,8 +9780,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9766
9780
  user?: string | null | undefined;
9767
9781
  name?: string | undefined;
9768
9782
  email?: string | null | undefined;
9769
- team?: string | null | undefined;
9770
9783
  org?: string | null | undefined;
9784
+ team?: string | null | undefined;
9771
9785
  description?: string | null | undefined;
9772
9786
  app?: string | undefined;
9773
9787
  created_at?: string | undefined;
@@ -9947,8 +9961,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
9947
9961
  user?: string | null | undefined;
9948
9962
  name?: string | undefined;
9949
9963
  email?: string | null | undefined;
9950
- team?: string | null | undefined;
9951
9964
  org?: string | null | undefined;
9965
+ team?: string | null | undefined;
9952
9966
  description?: string | null | undefined;
9953
9967
  app?: string | undefined;
9954
9968
  created_at?: string | undefined;
@@ -10157,12 +10171,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10157
10171
  }, {
10158
10172
  thread: {
10159
10173
  id: string;
10160
- visibility: "team" | "private" | "restricted";
10174
+ visibility: "org" | "team" | "private" | "restricted";
10161
10175
  key?: string | null | undefined;
10162
10176
  user?: string | null | undefined;
10177
+ org?: string | null | undefined;
10163
10178
  kind?: string | null | undefined;
10164
10179
  team?: string | null | undefined;
10165
- org?: string | null | undefined;
10166
10180
  description?: string | null | undefined;
10167
10181
  participants?: {
10168
10182
  id: string;
@@ -10246,10 +10260,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10246
10260
  org_slug?: string | null | undefined;
10247
10261
  sandbox_name?: string | null | undefined;
10248
10262
  } | null | undefined;
10263
+ org?: string | null | undefined;
10249
10264
  agent?: string | null | undefined;
10250
10265
  thread?: string | undefined;
10251
10266
  team?: string | null | undefined;
10252
- org?: string | null | undefined;
10253
10267
  type?: string | null | undefined;
10254
10268
  created_at?: string | undefined;
10255
10269
  sandbox?: string | null | undefined;
@@ -10274,6 +10288,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10274
10288
  type: string;
10275
10289
  id: string;
10276
10290
  object?: Record<string, {} | null> | undefined;
10291
+ key?: string | null | undefined;
10277
10292
  name?: string | null | undefined;
10278
10293
  description?: string | null | undefined;
10279
10294
  height?: number | null | undefined;
@@ -10365,8 +10380,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10365
10380
  user?: string | null | undefined;
10366
10381
  name?: string | undefined;
10367
10382
  email?: string | null | undefined;
10368
- team?: string | null | undefined;
10369
10383
  org?: string | null | undefined;
10384
+ team?: string | null | undefined;
10370
10385
  description?: string | null | undefined;
10371
10386
  app?: string | undefined;
10372
10387
  created_at?: string | undefined;
@@ -10571,10 +10586,10 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10571
10586
  org_slug?: string | null | undefined;
10572
10587
  sandbox_name?: string | null | undefined;
10573
10588
  } | null | undefined;
10589
+ org?: string | null | undefined;
10574
10590
  agent?: string | null | undefined;
10575
10591
  thread?: string | undefined;
10576
10592
  team?: string | null | undefined;
10577
- org?: string | null | undefined;
10578
10593
  type?: string | null | undefined;
10579
10594
  created_at?: string | undefined;
10580
10595
  sandbox?: string | null | undefined;
@@ -10599,6 +10614,7 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10599
10614
  type: string;
10600
10615
  id: string;
10601
10616
  object?: Record<string, {} | null> | undefined;
10617
+ key?: string | null | undefined;
10602
10618
  name?: string | null | undefined;
10603
10619
  description?: string | null | undefined;
10604
10620
  height?: number | null | undefined;
@@ -10712,8 +10728,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10712
10728
  user?: string | null | undefined;
10713
10729
  name?: string | undefined;
10714
10730
  email?: string | null | undefined;
10715
- team?: string | null | undefined;
10716
10731
  org?: string | null | undefined;
10732
+ team?: string | null | undefined;
10717
10733
  description?: string | null | undefined;
10718
10734
  app?: string | undefined;
10719
10735
  created_at?: string | undefined;
@@ -10893,8 +10909,8 @@ export declare const chatRoomModelSchema: z.ZodObject<{
10893
10909
  user?: string | null | undefined;
10894
10910
  name?: string | undefined;
10895
10911
  email?: string | null | undefined;
10896
- team?: string | null | undefined;
10897
10912
  org?: string | null | undefined;
10913
+ team?: string | null | undefined;
10898
10914
  description?: string | null | undefined;
10899
10915
  app?: string | undefined;
10900
10916
  created_at?: string | undefined;
@@ -12184,8 +12200,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
12184
12200
  user?: string | null | undefined;
12185
12201
  name?: string | undefined;
12186
12202
  email?: string | null | undefined;
12187
- team?: string | null | undefined;
12188
12203
  org?: string | null | undefined;
12204
+ team?: string | null | undefined;
12189
12205
  description?: string | null | undefined;
12190
12206
  app?: string | undefined;
12191
12207
  created_at?: string | undefined;
@@ -12362,8 +12378,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
12362
12378
  user?: string | null | undefined;
12363
12379
  name?: string | undefined;
12364
12380
  email?: string | null | undefined;
12365
- team?: string | null | undefined;
12366
12381
  org?: string | null | undefined;
12382
+ team?: string | null | undefined;
12367
12383
  description?: string | null | undefined;
12368
12384
  app?: string | undefined;
12369
12385
  created_at?: string | undefined;
@@ -13610,8 +13626,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
13610
13626
  user?: string | null | undefined;
13611
13627
  name?: string | undefined;
13612
13628
  email?: string | null | undefined;
13613
- team?: string | null | undefined;
13614
13629
  org?: string | null | undefined;
13630
+ team?: string | null | undefined;
13615
13631
  description?: string | null | undefined;
13616
13632
  app?: string | undefined;
13617
13633
  created_at?: string | undefined;
@@ -13788,8 +13804,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
13788
13804
  user?: string | null | undefined;
13789
13805
  name?: string | undefined;
13790
13806
  email?: string | null | undefined;
13791
- team?: string | null | undefined;
13792
13807
  org?: string | null | undefined;
13808
+ team?: string | null | undefined;
13793
13809
  description?: string | null | undefined;
13794
13810
  app?: string | undefined;
13795
13811
  created_at?: string | undefined;
@@ -14056,8 +14072,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14056
14072
  user?: string | null | undefined;
14057
14073
  name?: string | undefined;
14058
14074
  email?: string | null | undefined;
14059
- team?: string | null | undefined;
14060
14075
  org?: string | null | undefined;
14076
+ team?: string | null | undefined;
14061
14077
  description?: string | null | undefined;
14062
14078
  app?: string | undefined;
14063
14079
  created_at?: string | undefined;
@@ -14259,8 +14275,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14259
14275
  user?: string | null | undefined;
14260
14276
  name?: string | undefined;
14261
14277
  email?: string | null | undefined;
14262
- team?: string | null | undefined;
14263
14278
  org?: string | null | undefined;
14279
+ team?: string | null | undefined;
14264
14280
  description?: string | null | undefined;
14265
14281
  app?: string | undefined;
14266
14282
  created_at?: string | undefined;
@@ -14597,6 +14613,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14597
14613
  }>>>;
14598
14614
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14599
14615
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14616
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14600
14617
  media_type: z.ZodOptional<z.ZodString>;
14601
14618
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14602
14619
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -14686,6 +14703,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14686
14703
  type: string;
14687
14704
  id: string;
14688
14705
  object?: Record<string, {} | null> | undefined;
14706
+ key?: string | null | undefined;
14689
14707
  name?: string | null | undefined;
14690
14708
  description?: string | null | undefined;
14691
14709
  height?: number | null | undefined;
@@ -14733,6 +14751,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14733
14751
  type: string;
14734
14752
  id: string;
14735
14753
  object?: Record<string, {} | null> | undefined;
14754
+ key?: string | null | undefined;
14736
14755
  name?: string | null | undefined;
14737
14756
  description?: string | null | undefined;
14738
14757
  height?: number | null | undefined;
@@ -14913,10 +14932,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14913
14932
  org_slug?: string | null | undefined;
14914
14933
  sandbox_name?: string | null | undefined;
14915
14934
  } | null | undefined;
14935
+ org?: string | null | undefined;
14916
14936
  agent?: string | null | undefined;
14917
14937
  thread?: string | undefined;
14918
14938
  team?: string | null | undefined;
14919
- org?: string | null | undefined;
14920
14939
  type?: string | null | undefined;
14921
14940
  created_at?: string | undefined;
14922
14941
  sandbox?: string | null | undefined;
@@ -14941,6 +14960,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
14941
14960
  type: string;
14942
14961
  id: string;
14943
14962
  object?: Record<string, {} | null> | undefined;
14963
+ key?: string | null | undefined;
14944
14964
  name?: string | null | undefined;
14945
14965
  description?: string | null | undefined;
14946
14966
  height?: number | null | undefined;
@@ -15048,10 +15068,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15048
15068
  org_slug?: string | null | undefined;
15049
15069
  sandbox_name?: string | null | undefined;
15050
15070
  } | null | undefined;
15071
+ org?: string | null | undefined;
15051
15072
  agent?: string | null | undefined;
15052
15073
  thread?: string | undefined;
15053
15074
  team?: string | null | undefined;
15054
- org?: string | null | undefined;
15055
15075
  type?: string | null | undefined;
15056
15076
  created_at?: string | undefined;
15057
15077
  sandbox?: string | null | undefined;
@@ -15076,6 +15096,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15076
15096
  type: string;
15077
15097
  id: string;
15078
15098
  object?: Record<string, {} | null> | undefined;
15099
+ key?: string | null | undefined;
15079
15100
  name?: string | null | undefined;
15080
15101
  description?: string | null | undefined;
15081
15102
  height?: number | null | undefined;
@@ -15543,6 +15564,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15543
15564
  }>>>;
15544
15565
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15545
15566
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15567
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15546
15568
  media_type: z.ZodOptional<z.ZodString>;
15547
15569
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15548
15570
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -15632,6 +15654,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15632
15654
  type: string;
15633
15655
  id: string;
15634
15656
  object?: Record<string, {} | null> | undefined;
15657
+ key?: string | null | undefined;
15635
15658
  name?: string | null | undefined;
15636
15659
  description?: string | null | undefined;
15637
15660
  height?: number | null | undefined;
@@ -15679,6 +15702,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15679
15702
  type: string;
15680
15703
  id: string;
15681
15704
  object?: Record<string, {} | null> | undefined;
15705
+ key?: string | null | undefined;
15682
15706
  name?: string | null | undefined;
15683
15707
  description?: string | null | undefined;
15684
15708
  height?: number | null | undefined;
@@ -15859,10 +15883,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15859
15883
  org_slug?: string | null | undefined;
15860
15884
  sandbox_name?: string | null | undefined;
15861
15885
  } | null | undefined;
15886
+ org?: string | null | undefined;
15862
15887
  agent?: string | null | undefined;
15863
15888
  thread?: string | undefined;
15864
15889
  team?: string | null | undefined;
15865
- org?: string | null | undefined;
15866
15890
  type?: string | null | undefined;
15867
15891
  created_at?: string | undefined;
15868
15892
  sandbox?: string | null | undefined;
@@ -15887,6 +15911,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15887
15911
  type: string;
15888
15912
  id: string;
15889
15913
  object?: Record<string, {} | null> | undefined;
15914
+ key?: string | null | undefined;
15890
15915
  name?: string | null | undefined;
15891
15916
  description?: string | null | undefined;
15892
15917
  height?: number | null | undefined;
@@ -15994,10 +16019,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
15994
16019
  org_slug?: string | null | undefined;
15995
16020
  sandbox_name?: string | null | undefined;
15996
16021
  } | null | undefined;
16022
+ org?: string | null | undefined;
15997
16023
  agent?: string | null | undefined;
15998
16024
  thread?: string | undefined;
15999
16025
  team?: string | null | undefined;
16000
- org?: string | null | undefined;
16001
16026
  type?: string | null | undefined;
16002
16027
  created_at?: string | undefined;
16003
16028
  sandbox?: string | null | undefined;
@@ -16022,6 +16047,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
16022
16047
  type: string;
16023
16048
  id: string;
16024
16049
  object?: Record<string, {} | null> | undefined;
16050
+ key?: string | null | undefined;
16025
16051
  name?: string | null | undefined;
16026
16052
  description?: string | null | undefined;
16027
16053
  height?: number | null | undefined;
@@ -17236,8 +17262,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17236
17262
  user?: string | null | undefined;
17237
17263
  name?: string | undefined;
17238
17264
  email?: string | null | undefined;
17239
- team?: string | null | undefined;
17240
17265
  org?: string | null | undefined;
17266
+ team?: string | null | undefined;
17241
17267
  description?: string | null | undefined;
17242
17268
  app?: string | undefined;
17243
17269
  created_at?: string | undefined;
@@ -17414,8 +17440,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17414
17440
  user?: string | null | undefined;
17415
17441
  name?: string | undefined;
17416
17442
  email?: string | null | undefined;
17417
- team?: string | null | undefined;
17418
17443
  org?: string | null | undefined;
17444
+ team?: string | null | undefined;
17419
17445
  description?: string | null | undefined;
17420
17446
  app?: string | undefined;
17421
17447
  created_at?: string | undefined;
@@ -17606,15 +17632,15 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17606
17632
  unread_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17607
17633
  updated_at: z.ZodOptional<z.ZodString>;
17608
17634
  user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17609
- visibility: z.ZodEnum<["team", "restricted", "private"]>;
17635
+ visibility: z.ZodEnum<["team", "restricted", "private", "org"]>;
17610
17636
  }, "strip", z.ZodTypeAny, {
17611
17637
  id: string;
17612
- visibility: "team" | "private" | "restricted";
17638
+ visibility: "org" | "team" | "private" | "restricted";
17613
17639
  key?: string | null | undefined;
17614
17640
  user?: string | null | undefined;
17641
+ org?: string | null | undefined;
17615
17642
  kind?: string | null | undefined;
17616
17643
  team?: string | null | undefined;
17617
- org?: string | null | undefined;
17618
17644
  description?: string | null | undefined;
17619
17645
  participants?: {
17620
17646
  id: string;
@@ -17698,10 +17724,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17698
17724
  org_slug?: string | null | undefined;
17699
17725
  sandbox_name?: string | null | undefined;
17700
17726
  } | null | undefined;
17727
+ org?: string | null | undefined;
17701
17728
  agent?: string | null | undefined;
17702
17729
  thread?: string | undefined;
17703
17730
  team?: string | null | undefined;
17704
- org?: string | null | undefined;
17705
17731
  type?: string | null | undefined;
17706
17732
  created_at?: string | undefined;
17707
17733
  sandbox?: string | null | undefined;
@@ -17726,6 +17752,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17726
17752
  type: string;
17727
17753
  id: string;
17728
17754
  object?: Record<string, {} | null> | undefined;
17755
+ key?: string | null | undefined;
17729
17756
  name?: string | null | undefined;
17730
17757
  description?: string | null | undefined;
17731
17758
  height?: number | null | undefined;
@@ -17817,8 +17844,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
17817
17844
  user?: string | null | undefined;
17818
17845
  name?: string | undefined;
17819
17846
  email?: string | null | undefined;
17820
- team?: string | null | undefined;
17821
17847
  org?: string | null | undefined;
17848
+ team?: string | null | undefined;
17822
17849
  description?: string | null | undefined;
17823
17850
  app?: string | undefined;
17824
17851
  created_at?: string | undefined;
@@ -18000,12 +18027,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18000
18027
  unread_count?: number | null | undefined;
18001
18028
  }, {
18002
18029
  id: string;
18003
- visibility: "team" | "private" | "restricted";
18030
+ visibility: "org" | "team" | "private" | "restricted";
18004
18031
  key?: string | null | undefined;
18005
18032
  user?: string | null | undefined;
18033
+ org?: string | null | undefined;
18006
18034
  kind?: string | null | undefined;
18007
18035
  team?: string | null | undefined;
18008
- org?: string | null | undefined;
18009
18036
  description?: string | null | undefined;
18010
18037
  participants?: {
18011
18038
  id: string;
@@ -18089,10 +18116,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18089
18116
  org_slug?: string | null | undefined;
18090
18117
  sandbox_name?: string | null | undefined;
18091
18118
  } | null | undefined;
18119
+ org?: string | null | undefined;
18092
18120
  agent?: string | null | undefined;
18093
18121
  thread?: string | undefined;
18094
18122
  team?: string | null | undefined;
18095
- org?: string | null | undefined;
18096
18123
  type?: string | null | undefined;
18097
18124
  created_at?: string | undefined;
18098
18125
  sandbox?: string | null | undefined;
@@ -18117,6 +18144,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18117
18144
  type: string;
18118
18145
  id: string;
18119
18146
  object?: Record<string, {} | null> | undefined;
18147
+ key?: string | null | undefined;
18120
18148
  name?: string | null | undefined;
18121
18149
  description?: string | null | undefined;
18122
18150
  height?: number | null | undefined;
@@ -18208,8 +18236,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18208
18236
  user?: string | null | undefined;
18209
18237
  name?: string | undefined;
18210
18238
  email?: string | null | undefined;
18211
- team?: string | null | undefined;
18212
18239
  org?: string | null | undefined;
18240
+ team?: string | null | undefined;
18213
18241
  description?: string | null | undefined;
18214
18242
  app?: string | undefined;
18215
18243
  created_at?: string | undefined;
@@ -18393,12 +18421,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18393
18421
  }, "strip", z.ZodTypeAny, {
18394
18422
  thread: {
18395
18423
  id: string;
18396
- visibility: "team" | "private" | "restricted";
18424
+ visibility: "org" | "team" | "private" | "restricted";
18397
18425
  key?: string | null | undefined;
18398
18426
  user?: string | null | undefined;
18427
+ org?: string | null | undefined;
18399
18428
  kind?: string | null | undefined;
18400
18429
  team?: string | null | undefined;
18401
- org?: string | null | undefined;
18402
18430
  description?: string | null | undefined;
18403
18431
  participants?: {
18404
18432
  id: string;
@@ -18482,10 +18510,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18482
18510
  org_slug?: string | null | undefined;
18483
18511
  sandbox_name?: string | null | undefined;
18484
18512
  } | null | undefined;
18513
+ org?: string | null | undefined;
18485
18514
  agent?: string | null | undefined;
18486
18515
  thread?: string | undefined;
18487
18516
  team?: string | null | undefined;
18488
- org?: string | null | undefined;
18489
18517
  type?: string | null | undefined;
18490
18518
  created_at?: string | undefined;
18491
18519
  sandbox?: string | null | undefined;
@@ -18510,6 +18538,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18510
18538
  type: string;
18511
18539
  id: string;
18512
18540
  object?: Record<string, {} | null> | undefined;
18541
+ key?: string | null | undefined;
18513
18542
  name?: string | null | undefined;
18514
18543
  description?: string | null | undefined;
18515
18544
  height?: number | null | undefined;
@@ -18601,8 +18630,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18601
18630
  user?: string | null | undefined;
18602
18631
  name?: string | undefined;
18603
18632
  email?: string | null | undefined;
18604
- team?: string | null | undefined;
18605
18633
  org?: string | null | undefined;
18634
+ team?: string | null | undefined;
18606
18635
  description?: string | null | undefined;
18607
18636
  app?: string | undefined;
18608
18637
  created_at?: string | undefined;
@@ -18807,10 +18836,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18807
18836
  org_slug?: string | null | undefined;
18808
18837
  sandbox_name?: string | null | undefined;
18809
18838
  } | null | undefined;
18839
+ org?: string | null | undefined;
18810
18840
  agent?: string | null | undefined;
18811
18841
  thread?: string | undefined;
18812
18842
  team?: string | null | undefined;
18813
- org?: string | null | undefined;
18814
18843
  type?: string | null | undefined;
18815
18844
  created_at?: string | undefined;
18816
18845
  sandbox?: string | null | undefined;
@@ -18835,6 +18864,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18835
18864
  type: string;
18836
18865
  id: string;
18837
18866
  object?: Record<string, {} | null> | undefined;
18867
+ key?: string | null | undefined;
18838
18868
  name?: string | null | undefined;
18839
18869
  description?: string | null | undefined;
18840
18870
  height?: number | null | undefined;
@@ -18948,8 +18978,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
18948
18978
  user?: string | null | undefined;
18949
18979
  name?: string | undefined;
18950
18980
  email?: string | null | undefined;
18951
- team?: string | null | undefined;
18952
18981
  org?: string | null | undefined;
18982
+ team?: string | null | undefined;
18953
18983
  description?: string | null | undefined;
18954
18984
  app?: string | undefined;
18955
18985
  created_at?: string | undefined;
@@ -19129,8 +19159,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19129
19159
  user?: string | null | undefined;
19130
19160
  name?: string | undefined;
19131
19161
  email?: string | null | undefined;
19132
- team?: string | null | undefined;
19133
19162
  org?: string | null | undefined;
19163
+ team?: string | null | undefined;
19134
19164
  description?: string | null | undefined;
19135
19165
  app?: string | undefined;
19136
19166
  created_at?: string | undefined;
@@ -19339,12 +19369,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19339
19369
  }, {
19340
19370
  thread: {
19341
19371
  id: string;
19342
- visibility: "team" | "private" | "restricted";
19372
+ visibility: "org" | "team" | "private" | "restricted";
19343
19373
  key?: string | null | undefined;
19344
19374
  user?: string | null | undefined;
19375
+ org?: string | null | undefined;
19345
19376
  kind?: string | null | undefined;
19346
19377
  team?: string | null | undefined;
19347
- org?: string | null | undefined;
19348
19378
  description?: string | null | undefined;
19349
19379
  participants?: {
19350
19380
  id: string;
@@ -19428,10 +19458,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19428
19458
  org_slug?: string | null | undefined;
19429
19459
  sandbox_name?: string | null | undefined;
19430
19460
  } | null | undefined;
19461
+ org?: string | null | undefined;
19431
19462
  agent?: string | null | undefined;
19432
19463
  thread?: string | undefined;
19433
19464
  team?: string | null | undefined;
19434
- org?: string | null | undefined;
19435
19465
  type?: string | null | undefined;
19436
19466
  created_at?: string | undefined;
19437
19467
  sandbox?: string | null | undefined;
@@ -19456,6 +19486,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19456
19486
  type: string;
19457
19487
  id: string;
19458
19488
  object?: Record<string, {} | null> | undefined;
19489
+ key?: string | null | undefined;
19459
19490
  name?: string | null | undefined;
19460
19491
  description?: string | null | undefined;
19461
19492
  height?: number | null | undefined;
@@ -19547,8 +19578,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19547
19578
  user?: string | null | undefined;
19548
19579
  name?: string | undefined;
19549
19580
  email?: string | null | undefined;
19550
- team?: string | null | undefined;
19551
19581
  org?: string | null | undefined;
19582
+ team?: string | null | undefined;
19552
19583
  description?: string | null | undefined;
19553
19584
  app?: string | undefined;
19554
19585
  created_at?: string | undefined;
@@ -19753,10 +19784,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19753
19784
  org_slug?: string | null | undefined;
19754
19785
  sandbox_name?: string | null | undefined;
19755
19786
  } | null | undefined;
19787
+ org?: string | null | undefined;
19756
19788
  agent?: string | null | undefined;
19757
19789
  thread?: string | undefined;
19758
19790
  team?: string | null | undefined;
19759
- org?: string | null | undefined;
19760
19791
  type?: string | null | undefined;
19761
19792
  created_at?: string | undefined;
19762
19793
  sandbox?: string | null | undefined;
@@ -19781,6 +19812,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19781
19812
  type: string;
19782
19813
  id: string;
19783
19814
  object?: Record<string, {} | null> | undefined;
19815
+ key?: string | null | undefined;
19784
19816
  name?: string | null | undefined;
19785
19817
  description?: string | null | undefined;
19786
19818
  height?: number | null | undefined;
@@ -19894,8 +19926,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
19894
19926
  user?: string | null | undefined;
19895
19927
  name?: string | undefined;
19896
19928
  email?: string | null | undefined;
19897
- team?: string | null | undefined;
19898
19929
  org?: string | null | undefined;
19930
+ team?: string | null | undefined;
19899
19931
  description?: string | null | undefined;
19900
19932
  app?: string | undefined;
19901
19933
  created_at?: string | undefined;
@@ -20075,8 +20107,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
20075
20107
  user?: string | null | undefined;
20076
20108
  name?: string | undefined;
20077
20109
  email?: string | null | undefined;
20078
- team?: string | null | undefined;
20079
20110
  org?: string | null | undefined;
20111
+ team?: string | null | undefined;
20080
20112
  description?: string | null | undefined;
20081
20113
  app?: string | undefined;
20082
20114
  created_at?: string | undefined;
@@ -20664,6 +20696,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
20664
20696
  }>>>;
20665
20697
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20666
20698
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20699
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20667
20700
  media_type: z.ZodOptional<z.ZodString>;
20668
20701
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20669
20702
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -20753,6 +20786,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
20753
20786
  type: string;
20754
20787
  id: string;
20755
20788
  object?: Record<string, {} | null> | undefined;
20789
+ key?: string | null | undefined;
20756
20790
  name?: string | null | undefined;
20757
20791
  description?: string | null | undefined;
20758
20792
  height?: number | null | undefined;
@@ -20800,6 +20834,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
20800
20834
  type: string;
20801
20835
  id: string;
20802
20836
  object?: Record<string, {} | null> | undefined;
20837
+ key?: string | null | undefined;
20803
20838
  name?: string | null | undefined;
20804
20839
  description?: string | null | undefined;
20805
20840
  height?: number | null | undefined;
@@ -20980,10 +21015,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
20980
21015
  org_slug?: string | null | undefined;
20981
21016
  sandbox_name?: string | null | undefined;
20982
21017
  } | null | undefined;
21018
+ org?: string | null | undefined;
20983
21019
  agent?: string | null | undefined;
20984
21020
  thread?: string | undefined;
20985
21021
  team?: string | null | undefined;
20986
- org?: string | null | undefined;
20987
21022
  type?: string | null | undefined;
20988
21023
  created_at?: string | undefined;
20989
21024
  sandbox?: string | null | undefined;
@@ -21008,6 +21043,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21008
21043
  type: string;
21009
21044
  id: string;
21010
21045
  object?: Record<string, {} | null> | undefined;
21046
+ key?: string | null | undefined;
21011
21047
  name?: string | null | undefined;
21012
21048
  description?: string | null | undefined;
21013
21049
  height?: number | null | undefined;
@@ -21115,10 +21151,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21115
21151
  org_slug?: string | null | undefined;
21116
21152
  sandbox_name?: string | null | undefined;
21117
21153
  } | null | undefined;
21154
+ org?: string | null | undefined;
21118
21155
  agent?: string | null | undefined;
21119
21156
  thread?: string | undefined;
21120
21157
  team?: string | null | undefined;
21121
- org?: string | null | undefined;
21122
21158
  type?: string | null | undefined;
21123
21159
  created_at?: string | undefined;
21124
21160
  sandbox?: string | null | undefined;
@@ -21143,6 +21179,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
21143
21179
  type: string;
21144
21180
  id: string;
21145
21181
  object?: Record<string, {} | null> | undefined;
21182
+ key?: string | null | undefined;
21146
21183
  name?: string | null | undefined;
21147
21184
  description?: string | null | undefined;
21148
21185
  height?: number | null | undefined;
@@ -22357,8 +22394,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22357
22394
  user?: string | null | undefined;
22358
22395
  name?: string | undefined;
22359
22396
  email?: string | null | undefined;
22360
- team?: string | null | undefined;
22361
22397
  org?: string | null | undefined;
22398
+ team?: string | null | undefined;
22362
22399
  description?: string | null | undefined;
22363
22400
  app?: string | undefined;
22364
22401
  created_at?: string | undefined;
@@ -22535,8 +22572,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22535
22572
  user?: string | null | undefined;
22536
22573
  name?: string | undefined;
22537
22574
  email?: string | null | undefined;
22538
- team?: string | null | undefined;
22539
22575
  org?: string | null | undefined;
22576
+ team?: string | null | undefined;
22540
22577
  description?: string | null | undefined;
22541
22578
  app?: string | undefined;
22542
22579
  created_at?: string | undefined;
@@ -22727,15 +22764,15 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22727
22764
  unread_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22728
22765
  updated_at: z.ZodOptional<z.ZodString>;
22729
22766
  user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22730
- visibility: z.ZodEnum<["team", "restricted", "private"]>;
22767
+ visibility: z.ZodEnum<["team", "restricted", "private", "org"]>;
22731
22768
  }, "strip", z.ZodTypeAny, {
22732
22769
  id: string;
22733
- visibility: "team" | "private" | "restricted";
22770
+ visibility: "org" | "team" | "private" | "restricted";
22734
22771
  key?: string | null | undefined;
22735
22772
  user?: string | null | undefined;
22773
+ org?: string | null | undefined;
22736
22774
  kind?: string | null | undefined;
22737
22775
  team?: string | null | undefined;
22738
- org?: string | null | undefined;
22739
22776
  description?: string | null | undefined;
22740
22777
  participants?: {
22741
22778
  id: string;
@@ -22819,10 +22856,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22819
22856
  org_slug?: string | null | undefined;
22820
22857
  sandbox_name?: string | null | undefined;
22821
22858
  } | null | undefined;
22859
+ org?: string | null | undefined;
22822
22860
  agent?: string | null | undefined;
22823
22861
  thread?: string | undefined;
22824
22862
  team?: string | null | undefined;
22825
- org?: string | null | undefined;
22826
22863
  type?: string | null | undefined;
22827
22864
  created_at?: string | undefined;
22828
22865
  sandbox?: string | null | undefined;
@@ -22847,6 +22884,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22847
22884
  type: string;
22848
22885
  id: string;
22849
22886
  object?: Record<string, {} | null> | undefined;
22887
+ key?: string | null | undefined;
22850
22888
  name?: string | null | undefined;
22851
22889
  description?: string | null | undefined;
22852
22890
  height?: number | null | undefined;
@@ -22938,8 +22976,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
22938
22976
  user?: string | null | undefined;
22939
22977
  name?: string | undefined;
22940
22978
  email?: string | null | undefined;
22941
- team?: string | null | undefined;
22942
22979
  org?: string | null | undefined;
22980
+ team?: string | null | undefined;
22943
22981
  description?: string | null | undefined;
22944
22982
  app?: string | undefined;
22945
22983
  created_at?: string | undefined;
@@ -23121,12 +23159,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23121
23159
  unread_count?: number | null | undefined;
23122
23160
  }, {
23123
23161
  id: string;
23124
- visibility: "team" | "private" | "restricted";
23162
+ visibility: "org" | "team" | "private" | "restricted";
23125
23163
  key?: string | null | undefined;
23126
23164
  user?: string | null | undefined;
23165
+ org?: string | null | undefined;
23127
23166
  kind?: string | null | undefined;
23128
23167
  team?: string | null | undefined;
23129
- org?: string | null | undefined;
23130
23168
  description?: string | null | undefined;
23131
23169
  participants?: {
23132
23170
  id: string;
@@ -23210,10 +23248,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23210
23248
  org_slug?: string | null | undefined;
23211
23249
  sandbox_name?: string | null | undefined;
23212
23250
  } | null | undefined;
23251
+ org?: string | null | undefined;
23213
23252
  agent?: string | null | undefined;
23214
23253
  thread?: string | undefined;
23215
23254
  team?: string | null | undefined;
23216
- org?: string | null | undefined;
23217
23255
  type?: string | null | undefined;
23218
23256
  created_at?: string | undefined;
23219
23257
  sandbox?: string | null | undefined;
@@ -23238,6 +23276,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23238
23276
  type: string;
23239
23277
  id: string;
23240
23278
  object?: Record<string, {} | null> | undefined;
23279
+ key?: string | null | undefined;
23241
23280
  name?: string | null | undefined;
23242
23281
  description?: string | null | undefined;
23243
23282
  height?: number | null | undefined;
@@ -23329,8 +23368,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23329
23368
  user?: string | null | undefined;
23330
23369
  name?: string | undefined;
23331
23370
  email?: string | null | undefined;
23332
- team?: string | null | undefined;
23333
23371
  org?: string | null | undefined;
23372
+ team?: string | null | undefined;
23334
23373
  description?: string | null | undefined;
23335
23374
  app?: string | undefined;
23336
23375
  created_at?: string | undefined;
@@ -23514,12 +23553,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23514
23553
  }, "strip", z.ZodTypeAny, {
23515
23554
  thread: {
23516
23555
  id: string;
23517
- visibility: "team" | "private" | "restricted";
23556
+ visibility: "org" | "team" | "private" | "restricted";
23518
23557
  key?: string | null | undefined;
23519
23558
  user?: string | null | undefined;
23559
+ org?: string | null | undefined;
23520
23560
  kind?: string | null | undefined;
23521
23561
  team?: string | null | undefined;
23522
- org?: string | null | undefined;
23523
23562
  description?: string | null | undefined;
23524
23563
  participants?: {
23525
23564
  id: string;
@@ -23603,10 +23642,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23603
23642
  org_slug?: string | null | undefined;
23604
23643
  sandbox_name?: string | null | undefined;
23605
23644
  } | null | undefined;
23645
+ org?: string | null | undefined;
23606
23646
  agent?: string | null | undefined;
23607
23647
  thread?: string | undefined;
23608
23648
  team?: string | null | undefined;
23609
- org?: string | null | undefined;
23610
23649
  type?: string | null | undefined;
23611
23650
  created_at?: string | undefined;
23612
23651
  sandbox?: string | null | undefined;
@@ -23631,6 +23670,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23631
23670
  type: string;
23632
23671
  id: string;
23633
23672
  object?: Record<string, {} | null> | undefined;
23673
+ key?: string | null | undefined;
23634
23674
  name?: string | null | undefined;
23635
23675
  description?: string | null | undefined;
23636
23676
  height?: number | null | undefined;
@@ -23722,8 +23762,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23722
23762
  user?: string | null | undefined;
23723
23763
  name?: string | undefined;
23724
23764
  email?: string | null | undefined;
23725
- team?: string | null | undefined;
23726
23765
  org?: string | null | undefined;
23766
+ team?: string | null | undefined;
23727
23767
  description?: string | null | undefined;
23728
23768
  app?: string | undefined;
23729
23769
  created_at?: string | undefined;
@@ -23937,12 +23977,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
23937
23977
  chat_model?: {
23938
23978
  thread: {
23939
23979
  id: string;
23940
- visibility: "team" | "private" | "restricted";
23980
+ visibility: "org" | "team" | "private" | "restricted";
23941
23981
  key?: string | null | undefined;
23942
23982
  user?: string | null | undefined;
23983
+ org?: string | null | undefined;
23943
23984
  kind?: string | null | undefined;
23944
23985
  team?: string | null | undefined;
23945
- org?: string | null | undefined;
23946
23986
  description?: string | null | undefined;
23947
23987
  participants?: {
23948
23988
  id: string;
@@ -24026,10 +24066,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24026
24066
  org_slug?: string | null | undefined;
24027
24067
  sandbox_name?: string | null | undefined;
24028
24068
  } | null | undefined;
24069
+ org?: string | null | undefined;
24029
24070
  agent?: string | null | undefined;
24030
24071
  thread?: string | undefined;
24031
24072
  team?: string | null | undefined;
24032
- org?: string | null | undefined;
24033
24073
  type?: string | null | undefined;
24034
24074
  created_at?: string | undefined;
24035
24075
  sandbox?: string | null | undefined;
@@ -24054,6 +24094,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24054
24094
  type: string;
24055
24095
  id: string;
24056
24096
  object?: Record<string, {} | null> | undefined;
24097
+ key?: string | null | undefined;
24057
24098
  name?: string | null | undefined;
24058
24099
  description?: string | null | undefined;
24059
24100
  height?: number | null | undefined;
@@ -24145,8 +24186,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24145
24186
  user?: string | null | undefined;
24146
24187
  name?: string | undefined;
24147
24188
  email?: string | null | undefined;
24148
- team?: string | null | undefined;
24149
24189
  org?: string | null | undefined;
24190
+ team?: string | null | undefined;
24150
24191
  description?: string | null | undefined;
24151
24192
  app?: string | undefined;
24152
24193
  created_at?: string | undefined;
@@ -24351,10 +24392,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24351
24392
  org_slug?: string | null | undefined;
24352
24393
  sandbox_name?: string | null | undefined;
24353
24394
  } | null | undefined;
24395
+ org?: string | null | undefined;
24354
24396
  agent?: string | null | undefined;
24355
24397
  thread?: string | undefined;
24356
24398
  team?: string | null | undefined;
24357
- org?: string | null | undefined;
24358
24399
  type?: string | null | undefined;
24359
24400
  created_at?: string | undefined;
24360
24401
  sandbox?: string | null | undefined;
@@ -24379,6 +24420,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24379
24420
  type: string;
24380
24421
  id: string;
24381
24422
  object?: Record<string, {} | null> | undefined;
24423
+ key?: string | null | undefined;
24382
24424
  name?: string | null | undefined;
24383
24425
  description?: string | null | undefined;
24384
24426
  height?: number | null | undefined;
@@ -24492,8 +24534,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24492
24534
  user?: string | null | undefined;
24493
24535
  name?: string | undefined;
24494
24536
  email?: string | null | undefined;
24495
- team?: string | null | undefined;
24496
24537
  org?: string | null | undefined;
24538
+ team?: string | null | undefined;
24497
24539
  description?: string | null | undefined;
24498
24540
  app?: string | undefined;
24499
24541
  created_at?: string | undefined;
@@ -24673,8 +24715,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24673
24715
  user?: string | null | undefined;
24674
24716
  name?: string | undefined;
24675
24717
  email?: string | null | undefined;
24676
- team?: string | null | undefined;
24677
24718
  org?: string | null | undefined;
24719
+ team?: string | null | undefined;
24678
24720
  description?: string | null | undefined;
24679
24721
  app?: string | undefined;
24680
24722
  created_at?: string | undefined;
@@ -24884,12 +24926,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24884
24926
  }, {
24885
24927
  thread: {
24886
24928
  id: string;
24887
- visibility: "team" | "private" | "restricted";
24929
+ visibility: "org" | "team" | "private" | "restricted";
24888
24930
  key?: string | null | undefined;
24889
24931
  user?: string | null | undefined;
24932
+ org?: string | null | undefined;
24890
24933
  kind?: string | null | undefined;
24891
24934
  team?: string | null | undefined;
24892
- org?: string | null | undefined;
24893
24935
  description?: string | null | undefined;
24894
24936
  participants?: {
24895
24937
  id: string;
@@ -24973,10 +25015,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
24973
25015
  org_slug?: string | null | undefined;
24974
25016
  sandbox_name?: string | null | undefined;
24975
25017
  } | null | undefined;
25018
+ org?: string | null | undefined;
24976
25019
  agent?: string | null | undefined;
24977
25020
  thread?: string | undefined;
24978
25021
  team?: string | null | undefined;
24979
- org?: string | null | undefined;
24980
25022
  type?: string | null | undefined;
24981
25023
  created_at?: string | undefined;
24982
25024
  sandbox?: string | null | undefined;
@@ -25001,6 +25043,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25001
25043
  type: string;
25002
25044
  id: string;
25003
25045
  object?: Record<string, {} | null> | undefined;
25046
+ key?: string | null | undefined;
25004
25047
  name?: string | null | undefined;
25005
25048
  description?: string | null | undefined;
25006
25049
  height?: number | null | undefined;
@@ -25092,8 +25135,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25092
25135
  user?: string | null | undefined;
25093
25136
  name?: string | undefined;
25094
25137
  email?: string | null | undefined;
25095
- team?: string | null | undefined;
25096
25138
  org?: string | null | undefined;
25139
+ team?: string | null | undefined;
25097
25140
  description?: string | null | undefined;
25098
25141
  app?: string | undefined;
25099
25142
  created_at?: string | undefined;
@@ -25307,12 +25350,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25307
25350
  chat_model?: {
25308
25351
  thread: {
25309
25352
  id: string;
25310
- visibility: "team" | "private" | "restricted";
25353
+ visibility: "org" | "team" | "private" | "restricted";
25311
25354
  key?: string | null | undefined;
25312
25355
  user?: string | null | undefined;
25356
+ org?: string | null | undefined;
25313
25357
  kind?: string | null | undefined;
25314
25358
  team?: string | null | undefined;
25315
- org?: string | null | undefined;
25316
25359
  description?: string | null | undefined;
25317
25360
  participants?: {
25318
25361
  id: string;
@@ -25396,10 +25439,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25396
25439
  org_slug?: string | null | undefined;
25397
25440
  sandbox_name?: string | null | undefined;
25398
25441
  } | null | undefined;
25442
+ org?: string | null | undefined;
25399
25443
  agent?: string | null | undefined;
25400
25444
  thread?: string | undefined;
25401
25445
  team?: string | null | undefined;
25402
- org?: string | null | undefined;
25403
25446
  type?: string | null | undefined;
25404
25447
  created_at?: string | undefined;
25405
25448
  sandbox?: string | null | undefined;
@@ -25424,6 +25467,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25424
25467
  type: string;
25425
25468
  id: string;
25426
25469
  object?: Record<string, {} | null> | undefined;
25470
+ key?: string | null | undefined;
25427
25471
  name?: string | null | undefined;
25428
25472
  description?: string | null | undefined;
25429
25473
  height?: number | null | undefined;
@@ -25515,8 +25559,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25515
25559
  user?: string | null | undefined;
25516
25560
  name?: string | undefined;
25517
25561
  email?: string | null | undefined;
25518
- team?: string | null | undefined;
25519
25562
  org?: string | null | undefined;
25563
+ team?: string | null | undefined;
25520
25564
  description?: string | null | undefined;
25521
25565
  app?: string | undefined;
25522
25566
  created_at?: string | undefined;
@@ -25721,10 +25765,10 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25721
25765
  org_slug?: string | null | undefined;
25722
25766
  sandbox_name?: string | null | undefined;
25723
25767
  } | null | undefined;
25768
+ org?: string | null | undefined;
25724
25769
  agent?: string | null | undefined;
25725
25770
  thread?: string | undefined;
25726
25771
  team?: string | null | undefined;
25727
- org?: string | null | undefined;
25728
25772
  type?: string | null | undefined;
25729
25773
  created_at?: string | undefined;
25730
25774
  sandbox?: string | null | undefined;
@@ -25749,6 +25793,7 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25749
25793
  type: string;
25750
25794
  id: string;
25751
25795
  object?: Record<string, {} | null> | undefined;
25796
+ key?: string | null | undefined;
25752
25797
  name?: string | null | undefined;
25753
25798
  description?: string | null | undefined;
25754
25799
  height?: number | null | undefined;
@@ -25862,8 +25907,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
25862
25907
  user?: string | null | undefined;
25863
25908
  name?: string | undefined;
25864
25909
  email?: string | null | undefined;
25865
- team?: string | null | undefined;
25866
25910
  org?: string | null | undefined;
25911
+ team?: string | null | undefined;
25867
25912
  description?: string | null | undefined;
25868
25913
  app?: string | undefined;
25869
25914
  created_at?: string | undefined;
@@ -26043,8 +26088,8 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
26043
26088
  user?: string | null | undefined;
26044
26089
  name?: string | undefined;
26045
26090
  email?: string | null | undefined;
26046
- team?: string | null | undefined;
26047
26091
  org?: string | null | undefined;
26092
+ team?: string | null | undefined;
26048
26093
  description?: string | null | undefined;
26049
26094
  app?: string | undefined;
26050
26095
  created_at?: string | undefined;
@@ -27331,8 +27376,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
27331
27376
  user?: string | null | undefined;
27332
27377
  name?: string | undefined;
27333
27378
  email?: string | null | undefined;
27334
- team?: string | null | undefined;
27335
27379
  org?: string | null | undefined;
27380
+ team?: string | null | undefined;
27336
27381
  description?: string | null | undefined;
27337
27382
  app?: string | undefined;
27338
27383
  created_at?: string | undefined;
@@ -27509,8 +27554,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
27509
27554
  user?: string | null | undefined;
27510
27555
  name?: string | undefined;
27511
27556
  email?: string | null | undefined;
27512
- team?: string | null | undefined;
27513
27557
  org?: string | null | undefined;
27558
+ team?: string | null | undefined;
27514
27559
  description?: string | null | undefined;
27515
27560
  app?: string | undefined;
27516
27561
  created_at?: string | undefined;
@@ -28757,8 +28802,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
28757
28802
  user?: string | null | undefined;
28758
28803
  name?: string | undefined;
28759
28804
  email?: string | null | undefined;
28760
- team?: string | null | undefined;
28761
28805
  org?: string | null | undefined;
28806
+ team?: string | null | undefined;
28762
28807
  description?: string | null | undefined;
28763
28808
  app?: string | undefined;
28764
28809
  created_at?: string | undefined;
@@ -28935,8 +28980,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
28935
28980
  user?: string | null | undefined;
28936
28981
  name?: string | undefined;
28937
28982
  email?: string | null | undefined;
28938
- team?: string | null | undefined;
28939
28983
  org?: string | null | undefined;
28984
+ team?: string | null | undefined;
28940
28985
  description?: string | null | undefined;
28941
28986
  app?: string | undefined;
28942
28987
  created_at?: string | undefined;
@@ -29203,8 +29248,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29203
29248
  user?: string | null | undefined;
29204
29249
  name?: string | undefined;
29205
29250
  email?: string | null | undefined;
29206
- team?: string | null | undefined;
29207
29251
  org?: string | null | undefined;
29252
+ team?: string | null | undefined;
29208
29253
  description?: string | null | undefined;
29209
29254
  app?: string | undefined;
29210
29255
  created_at?: string | undefined;
@@ -29406,8 +29451,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29406
29451
  user?: string | null | undefined;
29407
29452
  name?: string | undefined;
29408
29453
  email?: string | null | undefined;
29409
- team?: string | null | undefined;
29410
29454
  org?: string | null | undefined;
29455
+ team?: string | null | undefined;
29411
29456
  description?: string | null | undefined;
29412
29457
  app?: string | undefined;
29413
29458
  created_at?: string | undefined;
@@ -29744,6 +29789,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29744
29789
  }>>>;
29745
29790
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29746
29791
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29792
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29747
29793
  media_type: z.ZodOptional<z.ZodString>;
29748
29794
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29749
29795
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -29833,6 +29879,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29833
29879
  type: string;
29834
29880
  id: string;
29835
29881
  object?: Record<string, {} | null> | undefined;
29882
+ key?: string | null | undefined;
29836
29883
  name?: string | null | undefined;
29837
29884
  description?: string | null | undefined;
29838
29885
  height?: number | null | undefined;
@@ -29880,6 +29927,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
29880
29927
  type: string;
29881
29928
  id: string;
29882
29929
  object?: Record<string, {} | null> | undefined;
29930
+ key?: string | null | undefined;
29883
29931
  name?: string | null | undefined;
29884
29932
  description?: string | null | undefined;
29885
29933
  height?: number | null | undefined;
@@ -30060,10 +30108,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30060
30108
  org_slug?: string | null | undefined;
30061
30109
  sandbox_name?: string | null | undefined;
30062
30110
  } | null | undefined;
30111
+ org?: string | null | undefined;
30063
30112
  agent?: string | null | undefined;
30064
30113
  thread?: string | undefined;
30065
30114
  team?: string | null | undefined;
30066
- org?: string | null | undefined;
30067
30115
  type?: string | null | undefined;
30068
30116
  created_at?: string | undefined;
30069
30117
  sandbox?: string | null | undefined;
@@ -30088,6 +30136,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30088
30136
  type: string;
30089
30137
  id: string;
30090
30138
  object?: Record<string, {} | null> | undefined;
30139
+ key?: string | null | undefined;
30091
30140
  name?: string | null | undefined;
30092
30141
  description?: string | null | undefined;
30093
30142
  height?: number | null | undefined;
@@ -30195,10 +30244,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30195
30244
  org_slug?: string | null | undefined;
30196
30245
  sandbox_name?: string | null | undefined;
30197
30246
  } | null | undefined;
30247
+ org?: string | null | undefined;
30198
30248
  agent?: string | null | undefined;
30199
30249
  thread?: string | undefined;
30200
30250
  team?: string | null | undefined;
30201
- org?: string | null | undefined;
30202
30251
  type?: string | null | undefined;
30203
30252
  created_at?: string | undefined;
30204
30253
  sandbox?: string | null | undefined;
@@ -30223,6 +30272,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30223
30272
  type: string;
30224
30273
  id: string;
30225
30274
  object?: Record<string, {} | null> | undefined;
30275
+ key?: string | null | undefined;
30226
30276
  name?: string | null | undefined;
30227
30277
  description?: string | null | undefined;
30228
30278
  height?: number | null | undefined;
@@ -30690,6 +30740,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30690
30740
  }>>>;
30691
30741
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30692
30742
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30743
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30693
30744
  media_type: z.ZodOptional<z.ZodString>;
30694
30745
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30695
30746
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -30779,6 +30830,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30779
30830
  type: string;
30780
30831
  id: string;
30781
30832
  object?: Record<string, {} | null> | undefined;
30833
+ key?: string | null | undefined;
30782
30834
  name?: string | null | undefined;
30783
30835
  description?: string | null | undefined;
30784
30836
  height?: number | null | undefined;
@@ -30826,6 +30878,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
30826
30878
  type: string;
30827
30879
  id: string;
30828
30880
  object?: Record<string, {} | null> | undefined;
30881
+ key?: string | null | undefined;
30829
30882
  name?: string | null | undefined;
30830
30883
  description?: string | null | undefined;
30831
30884
  height?: number | null | undefined;
@@ -31006,10 +31059,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31006
31059
  org_slug?: string | null | undefined;
31007
31060
  sandbox_name?: string | null | undefined;
31008
31061
  } | null | undefined;
31062
+ org?: string | null | undefined;
31009
31063
  agent?: string | null | undefined;
31010
31064
  thread?: string | undefined;
31011
31065
  team?: string | null | undefined;
31012
- org?: string | null | undefined;
31013
31066
  type?: string | null | undefined;
31014
31067
  created_at?: string | undefined;
31015
31068
  sandbox?: string | null | undefined;
@@ -31034,6 +31087,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31034
31087
  type: string;
31035
31088
  id: string;
31036
31089
  object?: Record<string, {} | null> | undefined;
31090
+ key?: string | null | undefined;
31037
31091
  name?: string | null | undefined;
31038
31092
  description?: string | null | undefined;
31039
31093
  height?: number | null | undefined;
@@ -31141,10 +31195,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31141
31195
  org_slug?: string | null | undefined;
31142
31196
  sandbox_name?: string | null | undefined;
31143
31197
  } | null | undefined;
31198
+ org?: string | null | undefined;
31144
31199
  agent?: string | null | undefined;
31145
31200
  thread?: string | undefined;
31146
31201
  team?: string | null | undefined;
31147
- org?: string | null | undefined;
31148
31202
  type?: string | null | undefined;
31149
31203
  created_at?: string | undefined;
31150
31204
  sandbox?: string | null | undefined;
@@ -31169,6 +31223,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
31169
31223
  type: string;
31170
31224
  id: string;
31171
31225
  object?: Record<string, {} | null> | undefined;
31226
+ key?: string | null | undefined;
31172
31227
  name?: string | null | undefined;
31173
31228
  description?: string | null | undefined;
31174
31229
  height?: number | null | undefined;
@@ -32383,8 +32438,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32383
32438
  user?: string | null | undefined;
32384
32439
  name?: string | undefined;
32385
32440
  email?: string | null | undefined;
32386
- team?: string | null | undefined;
32387
32441
  org?: string | null | undefined;
32442
+ team?: string | null | undefined;
32388
32443
  description?: string | null | undefined;
32389
32444
  app?: string | undefined;
32390
32445
  created_at?: string | undefined;
@@ -32561,8 +32616,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32561
32616
  user?: string | null | undefined;
32562
32617
  name?: string | undefined;
32563
32618
  email?: string | null | undefined;
32564
- team?: string | null | undefined;
32565
32619
  org?: string | null | undefined;
32620
+ team?: string | null | undefined;
32566
32621
  description?: string | null | undefined;
32567
32622
  app?: string | undefined;
32568
32623
  created_at?: string | undefined;
@@ -32753,15 +32808,15 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32753
32808
  unread_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32754
32809
  updated_at: z.ZodOptional<z.ZodString>;
32755
32810
  user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32756
- visibility: z.ZodEnum<["team", "restricted", "private"]>;
32811
+ visibility: z.ZodEnum<["team", "restricted", "private", "org"]>;
32757
32812
  }, "strip", z.ZodTypeAny, {
32758
32813
  id: string;
32759
- visibility: "team" | "private" | "restricted";
32814
+ visibility: "org" | "team" | "private" | "restricted";
32760
32815
  key?: string | null | undefined;
32761
32816
  user?: string | null | undefined;
32817
+ org?: string | null | undefined;
32762
32818
  kind?: string | null | undefined;
32763
32819
  team?: string | null | undefined;
32764
- org?: string | null | undefined;
32765
32820
  description?: string | null | undefined;
32766
32821
  participants?: {
32767
32822
  id: string;
@@ -32845,10 +32900,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32845
32900
  org_slug?: string | null | undefined;
32846
32901
  sandbox_name?: string | null | undefined;
32847
32902
  } | null | undefined;
32903
+ org?: string | null | undefined;
32848
32904
  agent?: string | null | undefined;
32849
32905
  thread?: string | undefined;
32850
32906
  team?: string | null | undefined;
32851
- org?: string | null | undefined;
32852
32907
  type?: string | null | undefined;
32853
32908
  created_at?: string | undefined;
32854
32909
  sandbox?: string | null | undefined;
@@ -32873,6 +32928,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32873
32928
  type: string;
32874
32929
  id: string;
32875
32930
  object?: Record<string, {} | null> | undefined;
32931
+ key?: string | null | undefined;
32876
32932
  name?: string | null | undefined;
32877
32933
  description?: string | null | undefined;
32878
32934
  height?: number | null | undefined;
@@ -32964,8 +33020,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
32964
33020
  user?: string | null | undefined;
32965
33021
  name?: string | undefined;
32966
33022
  email?: string | null | undefined;
32967
- team?: string | null | undefined;
32968
33023
  org?: string | null | undefined;
33024
+ team?: string | null | undefined;
32969
33025
  description?: string | null | undefined;
32970
33026
  app?: string | undefined;
32971
33027
  created_at?: string | undefined;
@@ -33147,12 +33203,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33147
33203
  unread_count?: number | null | undefined;
33148
33204
  }, {
33149
33205
  id: string;
33150
- visibility: "team" | "private" | "restricted";
33206
+ visibility: "org" | "team" | "private" | "restricted";
33151
33207
  key?: string | null | undefined;
33152
33208
  user?: string | null | undefined;
33209
+ org?: string | null | undefined;
33153
33210
  kind?: string | null | undefined;
33154
33211
  team?: string | null | undefined;
33155
- org?: string | null | undefined;
33156
33212
  description?: string | null | undefined;
33157
33213
  participants?: {
33158
33214
  id: string;
@@ -33236,10 +33292,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33236
33292
  org_slug?: string | null | undefined;
33237
33293
  sandbox_name?: string | null | undefined;
33238
33294
  } | null | undefined;
33295
+ org?: string | null | undefined;
33239
33296
  agent?: string | null | undefined;
33240
33297
  thread?: string | undefined;
33241
33298
  team?: string | null | undefined;
33242
- org?: string | null | undefined;
33243
33299
  type?: string | null | undefined;
33244
33300
  created_at?: string | undefined;
33245
33301
  sandbox?: string | null | undefined;
@@ -33264,6 +33320,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33264
33320
  type: string;
33265
33321
  id: string;
33266
33322
  object?: Record<string, {} | null> | undefined;
33323
+ key?: string | null | undefined;
33267
33324
  name?: string | null | undefined;
33268
33325
  description?: string | null | undefined;
33269
33326
  height?: number | null | undefined;
@@ -33355,8 +33412,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33355
33412
  user?: string | null | undefined;
33356
33413
  name?: string | undefined;
33357
33414
  email?: string | null | undefined;
33358
- team?: string | null | undefined;
33359
33415
  org?: string | null | undefined;
33416
+ team?: string | null | undefined;
33360
33417
  description?: string | null | undefined;
33361
33418
  app?: string | undefined;
33362
33419
  created_at?: string | undefined;
@@ -33540,12 +33597,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33540
33597
  }, "strip", z.ZodTypeAny, {
33541
33598
  thread: {
33542
33599
  id: string;
33543
- visibility: "team" | "private" | "restricted";
33600
+ visibility: "org" | "team" | "private" | "restricted";
33544
33601
  key?: string | null | undefined;
33545
33602
  user?: string | null | undefined;
33603
+ org?: string | null | undefined;
33546
33604
  kind?: string | null | undefined;
33547
33605
  team?: string | null | undefined;
33548
- org?: string | null | undefined;
33549
33606
  description?: string | null | undefined;
33550
33607
  participants?: {
33551
33608
  id: string;
@@ -33629,10 +33686,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33629
33686
  org_slug?: string | null | undefined;
33630
33687
  sandbox_name?: string | null | undefined;
33631
33688
  } | null | undefined;
33689
+ org?: string | null | undefined;
33632
33690
  agent?: string | null | undefined;
33633
33691
  thread?: string | undefined;
33634
33692
  team?: string | null | undefined;
33635
- org?: string | null | undefined;
33636
33693
  type?: string | null | undefined;
33637
33694
  created_at?: string | undefined;
33638
33695
  sandbox?: string | null | undefined;
@@ -33657,6 +33714,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33657
33714
  type: string;
33658
33715
  id: string;
33659
33716
  object?: Record<string, {} | null> | undefined;
33717
+ key?: string | null | undefined;
33660
33718
  name?: string | null | undefined;
33661
33719
  description?: string | null | undefined;
33662
33720
  height?: number | null | undefined;
@@ -33748,8 +33806,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33748
33806
  user?: string | null | undefined;
33749
33807
  name?: string | undefined;
33750
33808
  email?: string | null | undefined;
33751
- team?: string | null | undefined;
33752
33809
  org?: string | null | undefined;
33810
+ team?: string | null | undefined;
33753
33811
  description?: string | null | undefined;
33754
33812
  app?: string | undefined;
33755
33813
  created_at?: string | undefined;
@@ -33954,10 +34012,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33954
34012
  org_slug?: string | null | undefined;
33955
34013
  sandbox_name?: string | null | undefined;
33956
34014
  } | null | undefined;
34015
+ org?: string | null | undefined;
33957
34016
  agent?: string | null | undefined;
33958
34017
  thread?: string | undefined;
33959
34018
  team?: string | null | undefined;
33960
- org?: string | null | undefined;
33961
34019
  type?: string | null | undefined;
33962
34020
  created_at?: string | undefined;
33963
34021
  sandbox?: string | null | undefined;
@@ -33982,6 +34040,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
33982
34040
  type: string;
33983
34041
  id: string;
33984
34042
  object?: Record<string, {} | null> | undefined;
34043
+ key?: string | null | undefined;
33985
34044
  name?: string | null | undefined;
33986
34045
  description?: string | null | undefined;
33987
34046
  height?: number | null | undefined;
@@ -34095,8 +34154,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34095
34154
  user?: string | null | undefined;
34096
34155
  name?: string | undefined;
34097
34156
  email?: string | null | undefined;
34098
- team?: string | null | undefined;
34099
34157
  org?: string | null | undefined;
34158
+ team?: string | null | undefined;
34100
34159
  description?: string | null | undefined;
34101
34160
  app?: string | undefined;
34102
34161
  created_at?: string | undefined;
@@ -34276,8 +34335,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34276
34335
  user?: string | null | undefined;
34277
34336
  name?: string | undefined;
34278
34337
  email?: string | null | undefined;
34279
- team?: string | null | undefined;
34280
34338
  org?: string | null | undefined;
34339
+ team?: string | null | undefined;
34281
34340
  description?: string | null | undefined;
34282
34341
  app?: string | undefined;
34283
34342
  created_at?: string | undefined;
@@ -34486,12 +34545,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34486
34545
  }, {
34487
34546
  thread: {
34488
34547
  id: string;
34489
- visibility: "team" | "private" | "restricted";
34548
+ visibility: "org" | "team" | "private" | "restricted";
34490
34549
  key?: string | null | undefined;
34491
34550
  user?: string | null | undefined;
34551
+ org?: string | null | undefined;
34492
34552
  kind?: string | null | undefined;
34493
34553
  team?: string | null | undefined;
34494
- org?: string | null | undefined;
34495
34554
  description?: string | null | undefined;
34496
34555
  participants?: {
34497
34556
  id: string;
@@ -34575,10 +34634,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34575
34634
  org_slug?: string | null | undefined;
34576
34635
  sandbox_name?: string | null | undefined;
34577
34636
  } | null | undefined;
34637
+ org?: string | null | undefined;
34578
34638
  agent?: string | null | undefined;
34579
34639
  thread?: string | undefined;
34580
34640
  team?: string | null | undefined;
34581
- org?: string | null | undefined;
34582
34641
  type?: string | null | undefined;
34583
34642
  created_at?: string | undefined;
34584
34643
  sandbox?: string | null | undefined;
@@ -34603,6 +34662,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34603
34662
  type: string;
34604
34663
  id: string;
34605
34664
  object?: Record<string, {} | null> | undefined;
34665
+ key?: string | null | undefined;
34606
34666
  name?: string | null | undefined;
34607
34667
  description?: string | null | undefined;
34608
34668
  height?: number | null | undefined;
@@ -34694,8 +34754,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34694
34754
  user?: string | null | undefined;
34695
34755
  name?: string | undefined;
34696
34756
  email?: string | null | undefined;
34697
- team?: string | null | undefined;
34698
34757
  org?: string | null | undefined;
34758
+ team?: string | null | undefined;
34699
34759
  description?: string | null | undefined;
34700
34760
  app?: string | undefined;
34701
34761
  created_at?: string | undefined;
@@ -34900,10 +34960,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34900
34960
  org_slug?: string | null | undefined;
34901
34961
  sandbox_name?: string | null | undefined;
34902
34962
  } | null | undefined;
34963
+ org?: string | null | undefined;
34903
34964
  agent?: string | null | undefined;
34904
34965
  thread?: string | undefined;
34905
34966
  team?: string | null | undefined;
34906
- org?: string | null | undefined;
34907
34967
  type?: string | null | undefined;
34908
34968
  created_at?: string | undefined;
34909
34969
  sandbox?: string | null | undefined;
@@ -34928,6 +34988,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
34928
34988
  type: string;
34929
34989
  id: string;
34930
34990
  object?: Record<string, {} | null> | undefined;
34991
+ key?: string | null | undefined;
34931
34992
  name?: string | null | undefined;
34932
34993
  description?: string | null | undefined;
34933
34994
  height?: number | null | undefined;
@@ -35041,8 +35102,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35041
35102
  user?: string | null | undefined;
35042
35103
  name?: string | undefined;
35043
35104
  email?: string | null | undefined;
35044
- team?: string | null | undefined;
35045
35105
  org?: string | null | undefined;
35106
+ team?: string | null | undefined;
35046
35107
  description?: string | null | undefined;
35047
35108
  app?: string | undefined;
35048
35109
  created_at?: string | undefined;
@@ -35222,8 +35283,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35222
35283
  user?: string | null | undefined;
35223
35284
  name?: string | undefined;
35224
35285
  email?: string | null | undefined;
35225
- team?: string | null | undefined;
35226
35286
  org?: string | null | undefined;
35287
+ team?: string | null | undefined;
35227
35288
  description?: string | null | undefined;
35228
35289
  app?: string | undefined;
35229
35290
  created_at?: string | undefined;
@@ -35434,12 +35495,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35434
35495
  data: {
35435
35496
  thread: {
35436
35497
  id: string;
35437
- visibility: "team" | "private" | "restricted";
35498
+ visibility: "org" | "team" | "private" | "restricted";
35438
35499
  key?: string | null | undefined;
35439
35500
  user?: string | null | undefined;
35501
+ org?: string | null | undefined;
35440
35502
  kind?: string | null | undefined;
35441
35503
  team?: string | null | undefined;
35442
- org?: string | null | undefined;
35443
35504
  description?: string | null | undefined;
35444
35505
  participants?: {
35445
35506
  id: string;
@@ -35523,10 +35584,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35523
35584
  org_slug?: string | null | undefined;
35524
35585
  sandbox_name?: string | null | undefined;
35525
35586
  } | null | undefined;
35587
+ org?: string | null | undefined;
35526
35588
  agent?: string | null | undefined;
35527
35589
  thread?: string | undefined;
35528
35590
  team?: string | null | undefined;
35529
- org?: string | null | undefined;
35530
35591
  type?: string | null | undefined;
35531
35592
  created_at?: string | undefined;
35532
35593
  sandbox?: string | null | undefined;
@@ -35551,6 +35612,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35551
35612
  type: string;
35552
35613
  id: string;
35553
35614
  object?: Record<string, {} | null> | undefined;
35615
+ key?: string | null | undefined;
35554
35616
  name?: string | null | undefined;
35555
35617
  description?: string | null | undefined;
35556
35618
  height?: number | null | undefined;
@@ -35642,8 +35704,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35642
35704
  user?: string | null | undefined;
35643
35705
  name?: string | undefined;
35644
35706
  email?: string | null | undefined;
35645
- team?: string | null | undefined;
35646
35707
  org?: string | null | undefined;
35708
+ team?: string | null | undefined;
35647
35709
  description?: string | null | undefined;
35648
35710
  app?: string | undefined;
35649
35711
  created_at?: string | undefined;
@@ -35848,10 +35910,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35848
35910
  org_slug?: string | null | undefined;
35849
35911
  sandbox_name?: string | null | undefined;
35850
35912
  } | null | undefined;
35913
+ org?: string | null | undefined;
35851
35914
  agent?: string | null | undefined;
35852
35915
  thread?: string | undefined;
35853
35916
  team?: string | null | undefined;
35854
- org?: string | null | undefined;
35855
35917
  type?: string | null | undefined;
35856
35918
  created_at?: string | undefined;
35857
35919
  sandbox?: string | null | undefined;
@@ -35876,6 +35938,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35876
35938
  type: string;
35877
35939
  id: string;
35878
35940
  object?: Record<string, {} | null> | undefined;
35941
+ key?: string | null | undefined;
35879
35942
  name?: string | null | undefined;
35880
35943
  description?: string | null | undefined;
35881
35944
  height?: number | null | undefined;
@@ -35989,8 +36052,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
35989
36052
  user?: string | null | undefined;
35990
36053
  name?: string | undefined;
35991
36054
  email?: string | null | undefined;
35992
- team?: string | null | undefined;
35993
36055
  org?: string | null | undefined;
36056
+ team?: string | null | undefined;
35994
36057
  description?: string | null | undefined;
35995
36058
  app?: string | undefined;
35996
36059
  created_at?: string | undefined;
@@ -36170,8 +36233,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36170
36233
  user?: string | null | undefined;
36171
36234
  name?: string | undefined;
36172
36235
  email?: string | null | undefined;
36173
- team?: string | null | undefined;
36174
36236
  org?: string | null | undefined;
36237
+ team?: string | null | undefined;
36175
36238
  description?: string | null | undefined;
36176
36239
  app?: string | undefined;
36177
36240
  created_at?: string | undefined;
@@ -36382,12 +36445,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36382
36445
  data: {
36383
36446
  thread: {
36384
36447
  id: string;
36385
- visibility: "team" | "private" | "restricted";
36448
+ visibility: "org" | "team" | "private" | "restricted";
36386
36449
  key?: string | null | undefined;
36387
36450
  user?: string | null | undefined;
36451
+ org?: string | null | undefined;
36388
36452
  kind?: string | null | undefined;
36389
36453
  team?: string | null | undefined;
36390
- org?: string | null | undefined;
36391
36454
  description?: string | null | undefined;
36392
36455
  participants?: {
36393
36456
  id: string;
@@ -36471,10 +36534,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36471
36534
  org_slug?: string | null | undefined;
36472
36535
  sandbox_name?: string | null | undefined;
36473
36536
  } | null | undefined;
36537
+ org?: string | null | undefined;
36474
36538
  agent?: string | null | undefined;
36475
36539
  thread?: string | undefined;
36476
36540
  team?: string | null | undefined;
36477
- org?: string | null | undefined;
36478
36541
  type?: string | null | undefined;
36479
36542
  created_at?: string | undefined;
36480
36543
  sandbox?: string | null | undefined;
@@ -36499,6 +36562,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36499
36562
  type: string;
36500
36563
  id: string;
36501
36564
  object?: Record<string, {} | null> | undefined;
36565
+ key?: string | null | undefined;
36502
36566
  name?: string | null | undefined;
36503
36567
  description?: string | null | undefined;
36504
36568
  height?: number | null | undefined;
@@ -36590,8 +36654,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36590
36654
  user?: string | null | undefined;
36591
36655
  name?: string | undefined;
36592
36656
  email?: string | null | undefined;
36593
- team?: string | null | undefined;
36594
36657
  org?: string | null | undefined;
36658
+ team?: string | null | undefined;
36595
36659
  description?: string | null | undefined;
36596
36660
  app?: string | undefined;
36597
36661
  created_at?: string | undefined;
@@ -36796,10 +36860,10 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36796
36860
  org_slug?: string | null | undefined;
36797
36861
  sandbox_name?: string | null | undefined;
36798
36862
  } | null | undefined;
36863
+ org?: string | null | undefined;
36799
36864
  agent?: string | null | undefined;
36800
36865
  thread?: string | undefined;
36801
36866
  team?: string | null | undefined;
36802
- org?: string | null | undefined;
36803
36867
  type?: string | null | undefined;
36804
36868
  created_at?: string | undefined;
36805
36869
  sandbox?: string | null | undefined;
@@ -36824,6 +36888,7 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36824
36888
  type: string;
36825
36889
  id: string;
36826
36890
  object?: Record<string, {} | null> | undefined;
36891
+ key?: string | null | undefined;
36827
36892
  name?: string | null | undefined;
36828
36893
  description?: string | null | undefined;
36829
36894
  height?: number | null | undefined;
@@ -36937,8 +37002,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
36937
37002
  user?: string | null | undefined;
36938
37003
  name?: string | undefined;
36939
37004
  email?: string | null | undefined;
36940
- team?: string | null | undefined;
36941
37005
  org?: string | null | undefined;
37006
+ team?: string | null | undefined;
36942
37007
  description?: string | null | undefined;
36943
37008
  app?: string | undefined;
36944
37009
  created_at?: string | undefined;
@@ -37118,8 +37183,8 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
37118
37183
  user?: string | null | undefined;
37119
37184
  name?: string | undefined;
37120
37185
  email?: string | null | undefined;
37121
- team?: string | null | undefined;
37122
37186
  org?: string | null | undefined;
37187
+ team?: string | null | undefined;
37123
37188
  description?: string | null | undefined;
37124
37189
  app?: string | undefined;
37125
37190
  created_at?: string | undefined;
@@ -37455,6 +37520,30 @@ export declare const chatLocalToolRequestSchema: z.ZodObject<{
37455
37520
  id: string;
37456
37521
  }[];
37457
37522
  }>;
37523
+ /** A failed local-tool outcome. */
37524
+ export interface ChatLocalToolResultError {
37525
+ call_id: string;
37526
+ code: string;
37527
+ message: string;
37528
+ status: "error";
37529
+ }
37530
+ /** Runtime validator for {@link ChatLocalToolResultError}. */
37531
+ export declare const chatLocalToolResultErrorSchema: z.ZodObject<{
37532
+ call_id: z.ZodString;
37533
+ code: z.ZodString;
37534
+ message: z.ZodString;
37535
+ status: z.ZodLiteral<"error">;
37536
+ }, "strip", z.ZodTypeAny, {
37537
+ message: string;
37538
+ code: string;
37539
+ status: "error";
37540
+ call_id: string;
37541
+ }, {
37542
+ message: string;
37543
+ code: string;
37544
+ status: "error";
37545
+ call_id: string;
37546
+ }>;
37458
37547
  /** One terminal local-tool outcome returned by the owning client connection. */
37459
37548
  export declare const chatLocalToolResultSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
37460
37549
  call_id: z.ZodString;
@@ -37489,12 +37578,12 @@ export declare const chatLocalToolResultSchema: z.ZodDiscriminatedUnion<"status"
37489
37578
  status: z.ZodLiteral<"cancelled">;
37490
37579
  }, "strip", z.ZodTypeAny, {
37491
37580
  status: "cancelled";
37492
- call_id: string;
37493
37581
  reason: string;
37582
+ call_id: string;
37494
37583
  }, {
37495
37584
  status: "cancelled";
37496
- call_id: string;
37497
37585
  reason: string;
37586
+ call_id: string;
37498
37587
  }>]>;
37499
37588
  /** One terminal local-tool outcome returned by the owning client connection. */
37500
37589
  export type ChatLocalToolResult = z.infer<typeof chatLocalToolResultSchema>;
@@ -37681,6 +37770,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
37681
37770
  }>>>;
37682
37771
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37683
37772
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37773
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37684
37774
  media_type: z.ZodOptional<z.ZodString>;
37685
37775
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37686
37776
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -37770,6 +37860,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
37770
37860
  type: string;
37771
37861
  id: string;
37772
37862
  object?: Record<string, {} | null> | undefined;
37863
+ key?: string | null | undefined;
37773
37864
  name?: string | null | undefined;
37774
37865
  description?: string | null | undefined;
37775
37866
  height?: number | null | undefined;
@@ -37817,6 +37908,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
37817
37908
  type: string;
37818
37909
  id: string;
37819
37910
  object?: Record<string, {} | null> | undefined;
37911
+ key?: string | null | undefined;
37820
37912
  name?: string | null | undefined;
37821
37913
  description?: string | null | undefined;
37822
37914
  height?: number | null | undefined;
@@ -37997,10 +38089,10 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
37997
38089
  org_slug?: string | null | undefined;
37998
38090
  sandbox_name?: string | null | undefined;
37999
38091
  } | null | undefined;
38092
+ org?: string | null | undefined;
38000
38093
  agent?: string | null | undefined;
38001
38094
  thread?: string | undefined;
38002
38095
  team?: string | null | undefined;
38003
- org?: string | null | undefined;
38004
38096
  type?: string | null | undefined;
38005
38097
  created_at?: string | undefined;
38006
38098
  sandbox?: string | null | undefined;
@@ -38025,6 +38117,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38025
38117
  type: string;
38026
38118
  id: string;
38027
38119
  object?: Record<string, {} | null> | undefined;
38120
+ key?: string | null | undefined;
38028
38121
  name?: string | null | undefined;
38029
38122
  description?: string | null | undefined;
38030
38123
  height?: number | null | undefined;
@@ -38132,10 +38225,10 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38132
38225
  org_slug?: string | null | undefined;
38133
38226
  sandbox_name?: string | null | undefined;
38134
38227
  } | null | undefined;
38228
+ org?: string | null | undefined;
38135
38229
  agent?: string | null | undefined;
38136
38230
  thread?: string | undefined;
38137
38231
  team?: string | null | undefined;
38138
- org?: string | null | undefined;
38139
38232
  type?: string | null | undefined;
38140
38233
  created_at?: string | undefined;
38141
38234
  sandbox?: string | null | undefined;
@@ -38160,6 +38253,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38160
38253
  type: string;
38161
38254
  id: string;
38162
38255
  object?: Record<string, {} | null> | undefined;
38256
+ key?: string | null | undefined;
38163
38257
  name?: string | null | undefined;
38164
38258
  description?: string | null | undefined;
38165
38259
  height?: number | null | undefined;
@@ -38269,10 +38363,10 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38269
38363
  org_slug?: string | null | undefined;
38270
38364
  sandbox_name?: string | null | undefined;
38271
38365
  } | null | undefined;
38366
+ org?: string | null | undefined;
38272
38367
  agent?: string | null | undefined;
38273
38368
  thread?: string | undefined;
38274
38369
  team?: string | null | undefined;
38275
- org?: string | null | undefined;
38276
38370
  type?: string | null | undefined;
38277
38371
  created_at?: string | undefined;
38278
38372
  sandbox?: string | null | undefined;
@@ -38297,6 +38391,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38297
38391
  type: string;
38298
38392
  id: string;
38299
38393
  object?: Record<string, {} | null> | undefined;
38394
+ key?: string | null | undefined;
38300
38395
  name?: string | null | undefined;
38301
38396
  description?: string | null | undefined;
38302
38397
  height?: number | null | undefined;
@@ -38406,10 +38501,10 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38406
38501
  org_slug?: string | null | undefined;
38407
38502
  sandbox_name?: string | null | undefined;
38408
38503
  } | null | undefined;
38504
+ org?: string | null | undefined;
38409
38505
  agent?: string | null | undefined;
38410
38506
  thread?: string | undefined;
38411
38507
  team?: string | null | undefined;
38412
- org?: string | null | undefined;
38413
38508
  type?: string | null | undefined;
38414
38509
  created_at?: string | undefined;
38415
38510
  sandbox?: string | null | undefined;
@@ -38434,6 +38529,7 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
38434
38529
  type: string;
38435
38530
  id: string;
38436
38531
  object?: Record<string, {} | null> | undefined;
38532
+ key?: string | null | undefined;
38437
38533
  name?: string | null | undefined;
38438
38534
  description?: string | null | undefined;
38439
38535
  height?: number | null | undefined;
@@ -38688,6 +38784,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
38688
38784
  }>>>;
38689
38785
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38690
38786
  image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38787
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38691
38788
  media_type: z.ZodOptional<z.ZodString>;
38692
38789
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38693
38790
  object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
@@ -38777,6 +38874,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
38777
38874
  type: string;
38778
38875
  id: string;
38779
38876
  object?: Record<string, {} | null> | undefined;
38877
+ key?: string | null | undefined;
38780
38878
  name?: string | null | undefined;
38781
38879
  description?: string | null | undefined;
38782
38880
  height?: number | null | undefined;
@@ -38824,6 +38922,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
38824
38922
  type: string;
38825
38923
  id: string;
38826
38924
  object?: Record<string, {} | null> | undefined;
38925
+ key?: string | null | undefined;
38827
38926
  name?: string | null | undefined;
38828
38927
  description?: string | null | undefined;
38829
38928
  height?: number | null | undefined;
@@ -39004,10 +39103,10 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39004
39103
  org_slug?: string | null | undefined;
39005
39104
  sandbox_name?: string | null | undefined;
39006
39105
  } | null | undefined;
39106
+ org?: string | null | undefined;
39007
39107
  agent?: string | null | undefined;
39008
39108
  thread?: string | undefined;
39009
39109
  team?: string | null | undefined;
39010
- org?: string | null | undefined;
39011
39110
  type?: string | null | undefined;
39012
39111
  created_at?: string | undefined;
39013
39112
  sandbox?: string | null | undefined;
@@ -39032,6 +39131,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39032
39131
  type: string;
39033
39132
  id: string;
39034
39133
  object?: Record<string, {} | null> | undefined;
39134
+ key?: string | null | undefined;
39035
39135
  name?: string | null | undefined;
39036
39136
  description?: string | null | undefined;
39037
39137
  height?: number | null | undefined;
@@ -39139,10 +39239,10 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39139
39239
  org_slug?: string | null | undefined;
39140
39240
  sandbox_name?: string | null | undefined;
39141
39241
  } | null | undefined;
39242
+ org?: string | null | undefined;
39142
39243
  agent?: string | null | undefined;
39143
39244
  thread?: string | undefined;
39144
39245
  team?: string | null | undefined;
39145
- org?: string | null | undefined;
39146
39246
  type?: string | null | undefined;
39147
39247
  created_at?: string | undefined;
39148
39248
  sandbox?: string | null | undefined;
@@ -39167,6 +39267,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39167
39267
  type: string;
39168
39268
  id: string;
39169
39269
  object?: Record<string, {} | null> | undefined;
39270
+ key?: string | null | undefined;
39170
39271
  name?: string | null | undefined;
39171
39272
  description?: string | null | undefined;
39172
39273
  height?: number | null | undefined;
@@ -39276,10 +39377,10 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39276
39377
  org_slug?: string | null | undefined;
39277
39378
  sandbox_name?: string | null | undefined;
39278
39379
  } | null | undefined;
39380
+ org?: string | null | undefined;
39279
39381
  agent?: string | null | undefined;
39280
39382
  thread?: string | undefined;
39281
39383
  team?: string | null | undefined;
39282
- org?: string | null | undefined;
39283
39384
  type?: string | null | undefined;
39284
39385
  created_at?: string | undefined;
39285
39386
  sandbox?: string | null | undefined;
@@ -39304,6 +39405,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39304
39405
  type: string;
39305
39406
  id: string;
39306
39407
  object?: Record<string, {} | null> | undefined;
39408
+ key?: string | null | undefined;
39307
39409
  name?: string | null | undefined;
39308
39410
  description?: string | null | undefined;
39309
39411
  height?: number | null | undefined;
@@ -39413,10 +39515,10 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39413
39515
  org_slug?: string | null | undefined;
39414
39516
  sandbox_name?: string | null | undefined;
39415
39517
  } | null | undefined;
39518
+ org?: string | null | undefined;
39416
39519
  agent?: string | null | undefined;
39417
39520
  thread?: string | undefined;
39418
39521
  team?: string | null | undefined;
39419
- org?: string | null | undefined;
39420
39522
  type?: string | null | undefined;
39421
39523
  created_at?: string | undefined;
39422
39524
  sandbox?: string | null | undefined;
@@ -39441,6 +39543,7 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
39441
39543
  type: string;
39442
39544
  id: string;
39443
39545
  object?: Record<string, {} | null> | undefined;
39546
+ key?: string | null | undefined;
39444
39547
  name?: string | null | undefined;
39445
39548
  description?: string | null | undefined;
39446
39549
  height?: number | null | undefined;