@archastro/sdk 0.14.0 → 0.15.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.
- package/dist/channels/api_chat_channel.d.ts +8 -0
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +17 -1
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -1
- package/dist/client.js.map +1 -1
- package/dist/types/chat.d.ts +572 -1
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +21 -3
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +184 -8
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +33 -1
- package/dist/types/common.js.map +1 -1
- package/dist/types/system.d.ts +2 -2
- package/dist/types/tasks.d.ts +6 -0
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +3 -1
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/threads.d.ts +40 -0
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/users.d.ts +44 -0
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +16 -1
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/index.d.ts +1 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +2 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/ssh_keys.d.ts +13 -0
- package/dist/v1/resources/ssh_keys.d.ts.map +1 -0
- package/dist/v1/resources/ssh_keys.js +19 -0
- package/dist/v1/resources/ssh_keys.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +7 -0
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +4 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +10 -0
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +1 -1
- package/dist/v1/resources/threads.d.ts +6 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +1 -1
- package/dist/v1/resources/users.d.ts +58 -1
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +44 -1
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1.d.ts +2 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +4 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
package/dist/types/chat.d.ts
CHANGED
|
@@ -5547,6 +5547,22 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
5547
5547
|
}>, "many">>;
|
|
5548
5548
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5549
5549
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5550
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5551
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5552
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5553
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5554
|
+
type: z.ZodString;
|
|
5555
|
+
}, "strip", z.ZodTypeAny, {
|
|
5556
|
+
type: string;
|
|
5557
|
+
content?: string | null | undefined;
|
|
5558
|
+
title?: string | null | undefined;
|
|
5559
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5560
|
+
}, {
|
|
5561
|
+
type: string;
|
|
5562
|
+
content?: string | null | undefined;
|
|
5563
|
+
title?: string | null | undefined;
|
|
5564
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5565
|
+
}>, "many">>;
|
|
5550
5566
|
created_at: z.ZodOptional<z.ZodString>;
|
|
5551
5567
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
5552
5568
|
id: z.ZodString;
|
|
@@ -5738,6 +5754,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
5738
5754
|
version?: number | null | undefined;
|
|
5739
5755
|
}[] | undefined;
|
|
5740
5756
|
visibility?: "default" | "private" | undefined;
|
|
5757
|
+
context?: {
|
|
5758
|
+
type: string;
|
|
5759
|
+
content?: string | null | undefined;
|
|
5760
|
+
title?: string | null | undefined;
|
|
5761
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5762
|
+
}[] | undefined;
|
|
5741
5763
|
actors?: {
|
|
5742
5764
|
alias?: string | null | undefined;
|
|
5743
5765
|
name?: string | null | undefined;
|
|
@@ -5867,6 +5889,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
5867
5889
|
version?: number | null | undefined;
|
|
5868
5890
|
}[] | undefined;
|
|
5869
5891
|
visibility?: "default" | "private" | undefined;
|
|
5892
|
+
context?: {
|
|
5893
|
+
type: string;
|
|
5894
|
+
content?: string | null | undefined;
|
|
5895
|
+
title?: string | null | undefined;
|
|
5896
|
+
attributes?: Record<string, unknown> | undefined;
|
|
5897
|
+
}[] | undefined;
|
|
5870
5898
|
actors?: {
|
|
5871
5899
|
alias?: string | null | undefined;
|
|
5872
5900
|
name?: string | null | undefined;
|
|
@@ -6465,6 +6493,22 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
6465
6493
|
}>, "many">>;
|
|
6466
6494
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6467
6495
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6496
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6497
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6498
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6499
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6500
|
+
type: z.ZodString;
|
|
6501
|
+
}, "strip", z.ZodTypeAny, {
|
|
6502
|
+
type: string;
|
|
6503
|
+
content?: string | null | undefined;
|
|
6504
|
+
title?: string | null | undefined;
|
|
6505
|
+
attributes?: Record<string, unknown> | undefined;
|
|
6506
|
+
}, {
|
|
6507
|
+
type: string;
|
|
6508
|
+
content?: string | null | undefined;
|
|
6509
|
+
title?: string | null | undefined;
|
|
6510
|
+
attributes?: Record<string, unknown> | undefined;
|
|
6511
|
+
}>, "many">>;
|
|
6468
6512
|
created_at: z.ZodOptional<z.ZodString>;
|
|
6469
6513
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
6470
6514
|
id: z.ZodString;
|
|
@@ -6656,6 +6700,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
6656
6700
|
version?: number | null | undefined;
|
|
6657
6701
|
}[] | undefined;
|
|
6658
6702
|
visibility?: "default" | "private" | undefined;
|
|
6703
|
+
context?: {
|
|
6704
|
+
type: string;
|
|
6705
|
+
content?: string | null | undefined;
|
|
6706
|
+
title?: string | null | undefined;
|
|
6707
|
+
attributes?: Record<string, unknown> | undefined;
|
|
6708
|
+
}[] | undefined;
|
|
6659
6709
|
actors?: {
|
|
6660
6710
|
alias?: string | null | undefined;
|
|
6661
6711
|
name?: string | null | undefined;
|
|
@@ -6785,6 +6835,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
6785
6835
|
version?: number | null | undefined;
|
|
6786
6836
|
}[] | undefined;
|
|
6787
6837
|
visibility?: "default" | "private" | undefined;
|
|
6838
|
+
context?: {
|
|
6839
|
+
type: string;
|
|
6840
|
+
content?: string | null | undefined;
|
|
6841
|
+
title?: string | null | undefined;
|
|
6842
|
+
attributes?: Record<string, unknown> | undefined;
|
|
6843
|
+
}[] | undefined;
|
|
6788
6844
|
actors?: {
|
|
6789
6845
|
alias?: string | null | undefined;
|
|
6790
6846
|
name?: string | null | undefined;
|
|
@@ -8469,6 +8525,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
8469
8525
|
version?: number | null | undefined;
|
|
8470
8526
|
}[] | undefined;
|
|
8471
8527
|
visibility?: "default" | "private" | undefined;
|
|
8528
|
+
context?: {
|
|
8529
|
+
type: string;
|
|
8530
|
+
content?: string | null | undefined;
|
|
8531
|
+
title?: string | null | undefined;
|
|
8532
|
+
attributes?: Record<string, unknown> | undefined;
|
|
8533
|
+
}[] | undefined;
|
|
8472
8534
|
actors?: {
|
|
8473
8535
|
alias?: string | null | undefined;
|
|
8474
8536
|
name?: string | null | undefined;
|
|
@@ -8852,6 +8914,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
8852
8914
|
version?: number | null | undefined;
|
|
8853
8915
|
}[] | undefined;
|
|
8854
8916
|
visibility?: "default" | "private" | undefined;
|
|
8917
|
+
context?: {
|
|
8918
|
+
type: string;
|
|
8919
|
+
content?: string | null | undefined;
|
|
8920
|
+
title?: string | null | undefined;
|
|
8921
|
+
attributes?: Record<string, unknown> | undefined;
|
|
8922
|
+
}[] | undefined;
|
|
8855
8923
|
actors?: {
|
|
8856
8924
|
alias?: string | null | undefined;
|
|
8857
8925
|
name?: string | null | undefined;
|
|
@@ -9237,6 +9305,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
9237
9305
|
version?: number | null | undefined;
|
|
9238
9306
|
}[] | undefined;
|
|
9239
9307
|
visibility?: "default" | "private" | undefined;
|
|
9308
|
+
context?: {
|
|
9309
|
+
type: string;
|
|
9310
|
+
content?: string | null | undefined;
|
|
9311
|
+
title?: string | null | undefined;
|
|
9312
|
+
attributes?: Record<string, unknown> | undefined;
|
|
9313
|
+
}[] | undefined;
|
|
9240
9314
|
actors?: {
|
|
9241
9315
|
alias?: string | null | undefined;
|
|
9242
9316
|
name?: string | null | undefined;
|
|
@@ -9554,6 +9628,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
9554
9628
|
version?: number | null | undefined;
|
|
9555
9629
|
}[] | undefined;
|
|
9556
9630
|
visibility?: "default" | "private" | undefined;
|
|
9631
|
+
context?: {
|
|
9632
|
+
type: string;
|
|
9633
|
+
content?: string | null | undefined;
|
|
9634
|
+
title?: string | null | undefined;
|
|
9635
|
+
attributes?: Record<string, unknown> | undefined;
|
|
9636
|
+
}[] | undefined;
|
|
9557
9637
|
actors?: {
|
|
9558
9638
|
alias?: string | null | undefined;
|
|
9559
9639
|
name?: string | null | undefined;
|
|
@@ -10165,6 +10245,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
10165
10245
|
version?: number | null | undefined;
|
|
10166
10246
|
}[] | undefined;
|
|
10167
10247
|
visibility?: "default" | "private" | undefined;
|
|
10248
|
+
context?: {
|
|
10249
|
+
type: string;
|
|
10250
|
+
content?: string | null | undefined;
|
|
10251
|
+
title?: string | null | undefined;
|
|
10252
|
+
attributes?: Record<string, unknown> | undefined;
|
|
10253
|
+
}[] | undefined;
|
|
10168
10254
|
actors?: {
|
|
10169
10255
|
alias?: string | null | undefined;
|
|
10170
10256
|
name?: string | null | undefined;
|
|
@@ -10482,6 +10568,12 @@ export declare const chatRoomModelSchema: z.ZodObject<{
|
|
|
10482
10568
|
version?: number | null | undefined;
|
|
10483
10569
|
}[] | undefined;
|
|
10484
10570
|
visibility?: "default" | "private" | undefined;
|
|
10571
|
+
context?: {
|
|
10572
|
+
type: string;
|
|
10573
|
+
content?: string | null | undefined;
|
|
10574
|
+
title?: string | null | undefined;
|
|
10575
|
+
attributes?: Record<string, unknown> | undefined;
|
|
10576
|
+
}[] | undefined;
|
|
10485
10577
|
actors?: {
|
|
10486
10578
|
alias?: string | null | undefined;
|
|
10487
10579
|
name?: string | null | undefined;
|
|
@@ -14575,6 +14667,22 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
14575
14667
|
}>, "many">>;
|
|
14576
14668
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14577
14669
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14670
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14671
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14672
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14673
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14674
|
+
type: z.ZodString;
|
|
14675
|
+
}, "strip", z.ZodTypeAny, {
|
|
14676
|
+
type: string;
|
|
14677
|
+
content?: string | null | undefined;
|
|
14678
|
+
title?: string | null | undefined;
|
|
14679
|
+
attributes?: Record<string, unknown> | undefined;
|
|
14680
|
+
}, {
|
|
14681
|
+
type: string;
|
|
14682
|
+
content?: string | null | undefined;
|
|
14683
|
+
title?: string | null | undefined;
|
|
14684
|
+
attributes?: Record<string, unknown> | undefined;
|
|
14685
|
+
}>, "many">>;
|
|
14578
14686
|
created_at: z.ZodOptional<z.ZodString>;
|
|
14579
14687
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
14580
14688
|
id: z.ZodString;
|
|
@@ -14766,6 +14874,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
14766
14874
|
version?: number | null | undefined;
|
|
14767
14875
|
}[] | undefined;
|
|
14768
14876
|
visibility?: "default" | "private" | undefined;
|
|
14877
|
+
context?: {
|
|
14878
|
+
type: string;
|
|
14879
|
+
content?: string | null | undefined;
|
|
14880
|
+
title?: string | null | undefined;
|
|
14881
|
+
attributes?: Record<string, unknown> | undefined;
|
|
14882
|
+
}[] | undefined;
|
|
14769
14883
|
actors?: {
|
|
14770
14884
|
alias?: string | null | undefined;
|
|
14771
14885
|
name?: string | null | undefined;
|
|
@@ -14895,6 +15009,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
14895
15009
|
version?: number | null | undefined;
|
|
14896
15010
|
}[] | undefined;
|
|
14897
15011
|
visibility?: "default" | "private" | undefined;
|
|
15012
|
+
context?: {
|
|
15013
|
+
type: string;
|
|
15014
|
+
content?: string | null | undefined;
|
|
15015
|
+
title?: string | null | undefined;
|
|
15016
|
+
attributes?: Record<string, unknown> | undefined;
|
|
15017
|
+
}[] | undefined;
|
|
14898
15018
|
actors?: {
|
|
14899
15019
|
alias?: string | null | undefined;
|
|
14900
15020
|
name?: string | null | undefined;
|
|
@@ -15493,6 +15613,22 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
15493
15613
|
}>, "many">>;
|
|
15494
15614
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15495
15615
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15616
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15617
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15618
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15619
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15620
|
+
type: z.ZodString;
|
|
15621
|
+
}, "strip", z.ZodTypeAny, {
|
|
15622
|
+
type: string;
|
|
15623
|
+
content?: string | null | undefined;
|
|
15624
|
+
title?: string | null | undefined;
|
|
15625
|
+
attributes?: Record<string, unknown> | undefined;
|
|
15626
|
+
}, {
|
|
15627
|
+
type: string;
|
|
15628
|
+
content?: string | null | undefined;
|
|
15629
|
+
title?: string | null | undefined;
|
|
15630
|
+
attributes?: Record<string, unknown> | undefined;
|
|
15631
|
+
}>, "many">>;
|
|
15496
15632
|
created_at: z.ZodOptional<z.ZodString>;
|
|
15497
15633
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
15498
15634
|
id: z.ZodString;
|
|
@@ -15684,6 +15820,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
15684
15820
|
version?: number | null | undefined;
|
|
15685
15821
|
}[] | undefined;
|
|
15686
15822
|
visibility?: "default" | "private" | undefined;
|
|
15823
|
+
context?: {
|
|
15824
|
+
type: string;
|
|
15825
|
+
content?: string | null | undefined;
|
|
15826
|
+
title?: string | null | undefined;
|
|
15827
|
+
attributes?: Record<string, unknown> | undefined;
|
|
15828
|
+
}[] | undefined;
|
|
15687
15829
|
actors?: {
|
|
15688
15830
|
alias?: string | null | undefined;
|
|
15689
15831
|
name?: string | null | undefined;
|
|
@@ -15813,6 +15955,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
15813
15955
|
version?: number | null | undefined;
|
|
15814
15956
|
}[] | undefined;
|
|
15815
15957
|
visibility?: "default" | "private" | undefined;
|
|
15958
|
+
context?: {
|
|
15959
|
+
type: string;
|
|
15960
|
+
content?: string | null | undefined;
|
|
15961
|
+
title?: string | null | undefined;
|
|
15962
|
+
attributes?: Record<string, unknown> | undefined;
|
|
15963
|
+
}[] | undefined;
|
|
15816
15964
|
actors?: {
|
|
15817
15965
|
alias?: string | null | undefined;
|
|
15818
15966
|
name?: string | null | undefined;
|
|
@@ -17497,6 +17645,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
17497
17645
|
version?: number | null | undefined;
|
|
17498
17646
|
}[] | undefined;
|
|
17499
17647
|
visibility?: "default" | "private" | undefined;
|
|
17648
|
+
context?: {
|
|
17649
|
+
type: string;
|
|
17650
|
+
content?: string | null | undefined;
|
|
17651
|
+
title?: string | null | undefined;
|
|
17652
|
+
attributes?: Record<string, unknown> | undefined;
|
|
17653
|
+
}[] | undefined;
|
|
17500
17654
|
actors?: {
|
|
17501
17655
|
alias?: string | null | undefined;
|
|
17502
17656
|
name?: string | null | undefined;
|
|
@@ -17880,6 +18034,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
17880
18034
|
version?: number | null | undefined;
|
|
17881
18035
|
}[] | undefined;
|
|
17882
18036
|
visibility?: "default" | "private" | undefined;
|
|
18037
|
+
context?: {
|
|
18038
|
+
type: string;
|
|
18039
|
+
content?: string | null | undefined;
|
|
18040
|
+
title?: string | null | undefined;
|
|
18041
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18042
|
+
}[] | undefined;
|
|
17883
18043
|
actors?: {
|
|
17884
18044
|
alias?: string | null | undefined;
|
|
17885
18045
|
name?: string | null | undefined;
|
|
@@ -18265,6 +18425,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
18265
18425
|
version?: number | null | undefined;
|
|
18266
18426
|
}[] | undefined;
|
|
18267
18427
|
visibility?: "default" | "private" | undefined;
|
|
18428
|
+
context?: {
|
|
18429
|
+
type: string;
|
|
18430
|
+
content?: string | null | undefined;
|
|
18431
|
+
title?: string | null | undefined;
|
|
18432
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18433
|
+
}[] | undefined;
|
|
18268
18434
|
actors?: {
|
|
18269
18435
|
alias?: string | null | undefined;
|
|
18270
18436
|
name?: string | null | undefined;
|
|
@@ -18582,6 +18748,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
18582
18748
|
version?: number | null | undefined;
|
|
18583
18749
|
}[] | undefined;
|
|
18584
18750
|
visibility?: "default" | "private" | undefined;
|
|
18751
|
+
context?: {
|
|
18752
|
+
type: string;
|
|
18753
|
+
content?: string | null | undefined;
|
|
18754
|
+
title?: string | null | undefined;
|
|
18755
|
+
attributes?: Record<string, unknown> | undefined;
|
|
18756
|
+
}[] | undefined;
|
|
18585
18757
|
actors?: {
|
|
18586
18758
|
alias?: string | null | undefined;
|
|
18587
18759
|
name?: string | null | undefined;
|
|
@@ -19193,6 +19365,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
19193
19365
|
version?: number | null | undefined;
|
|
19194
19366
|
}[] | undefined;
|
|
19195
19367
|
visibility?: "default" | "private" | undefined;
|
|
19368
|
+
context?: {
|
|
19369
|
+
type: string;
|
|
19370
|
+
content?: string | null | undefined;
|
|
19371
|
+
title?: string | null | undefined;
|
|
19372
|
+
attributes?: Record<string, unknown> | undefined;
|
|
19373
|
+
}[] | undefined;
|
|
19196
19374
|
actors?: {
|
|
19197
19375
|
alias?: string | null | undefined;
|
|
19198
19376
|
name?: string | null | undefined;
|
|
@@ -19510,6 +19688,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
19510
19688
|
version?: number | null | undefined;
|
|
19511
19689
|
}[] | undefined;
|
|
19512
19690
|
visibility?: "default" | "private" | undefined;
|
|
19691
|
+
context?: {
|
|
19692
|
+
type: string;
|
|
19693
|
+
content?: string | null | undefined;
|
|
19694
|
+
title?: string | null | undefined;
|
|
19695
|
+
attributes?: Record<string, unknown> | undefined;
|
|
19696
|
+
}[] | undefined;
|
|
19513
19697
|
actors?: {
|
|
19514
19698
|
alias?: string | null | undefined;
|
|
19515
19699
|
name?: string | null | undefined;
|
|
@@ -20520,6 +20704,22 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
20520
20704
|
}>, "many">>;
|
|
20521
20705
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20522
20706
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20707
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20708
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20709
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20710
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20711
|
+
type: z.ZodString;
|
|
20712
|
+
}, "strip", z.ZodTypeAny, {
|
|
20713
|
+
type: string;
|
|
20714
|
+
content?: string | null | undefined;
|
|
20715
|
+
title?: string | null | undefined;
|
|
20716
|
+
attributes?: Record<string, unknown> | undefined;
|
|
20717
|
+
}, {
|
|
20718
|
+
type: string;
|
|
20719
|
+
content?: string | null | undefined;
|
|
20720
|
+
title?: string | null | undefined;
|
|
20721
|
+
attributes?: Record<string, unknown> | undefined;
|
|
20722
|
+
}>, "many">>;
|
|
20523
20723
|
created_at: z.ZodOptional<z.ZodString>;
|
|
20524
20724
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
20525
20725
|
id: z.ZodString;
|
|
@@ -20711,6 +20911,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
20711
20911
|
version?: number | null | undefined;
|
|
20712
20912
|
}[] | undefined;
|
|
20713
20913
|
visibility?: "default" | "private" | undefined;
|
|
20914
|
+
context?: {
|
|
20915
|
+
type: string;
|
|
20916
|
+
content?: string | null | undefined;
|
|
20917
|
+
title?: string | null | undefined;
|
|
20918
|
+
attributes?: Record<string, unknown> | undefined;
|
|
20919
|
+
}[] | undefined;
|
|
20714
20920
|
actors?: {
|
|
20715
20921
|
alias?: string | null | undefined;
|
|
20716
20922
|
name?: string | null | undefined;
|
|
@@ -20840,6 +21046,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
20840
21046
|
version?: number | null | undefined;
|
|
20841
21047
|
}[] | undefined;
|
|
20842
21048
|
visibility?: "default" | "private" | undefined;
|
|
21049
|
+
context?: {
|
|
21050
|
+
type: string;
|
|
21051
|
+
content?: string | null | undefined;
|
|
21052
|
+
title?: string | null | undefined;
|
|
21053
|
+
attributes?: Record<string, unknown> | undefined;
|
|
21054
|
+
}[] | undefined;
|
|
20843
21055
|
actors?: {
|
|
20844
21056
|
alias?: string | null | undefined;
|
|
20845
21057
|
name?: string | null | undefined;
|
|
@@ -22524,6 +22736,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
22524
22736
|
version?: number | null | undefined;
|
|
22525
22737
|
}[] | undefined;
|
|
22526
22738
|
visibility?: "default" | "private" | undefined;
|
|
22739
|
+
context?: {
|
|
22740
|
+
type: string;
|
|
22741
|
+
content?: string | null | undefined;
|
|
22742
|
+
title?: string | null | undefined;
|
|
22743
|
+
attributes?: Record<string, unknown> | undefined;
|
|
22744
|
+
}[] | undefined;
|
|
22527
22745
|
actors?: {
|
|
22528
22746
|
alias?: string | null | undefined;
|
|
22529
22747
|
name?: string | null | undefined;
|
|
@@ -22907,6 +23125,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
22907
23125
|
version?: number | null | undefined;
|
|
22908
23126
|
}[] | undefined;
|
|
22909
23127
|
visibility?: "default" | "private" | undefined;
|
|
23128
|
+
context?: {
|
|
23129
|
+
type: string;
|
|
23130
|
+
content?: string | null | undefined;
|
|
23131
|
+
title?: string | null | undefined;
|
|
23132
|
+
attributes?: Record<string, unknown> | undefined;
|
|
23133
|
+
}[] | undefined;
|
|
22910
23134
|
actors?: {
|
|
22911
23135
|
alias?: string | null | undefined;
|
|
22912
23136
|
name?: string | null | undefined;
|
|
@@ -23292,6 +23516,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
23292
23516
|
version?: number | null | undefined;
|
|
23293
23517
|
}[] | undefined;
|
|
23294
23518
|
visibility?: "default" | "private" | undefined;
|
|
23519
|
+
context?: {
|
|
23520
|
+
type: string;
|
|
23521
|
+
content?: string | null | undefined;
|
|
23522
|
+
title?: string | null | undefined;
|
|
23523
|
+
attributes?: Record<string, unknown> | undefined;
|
|
23524
|
+
}[] | undefined;
|
|
23295
23525
|
actors?: {
|
|
23296
23526
|
alias?: string | null | undefined;
|
|
23297
23527
|
name?: string | null | undefined;
|
|
@@ -23707,6 +23937,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
23707
23937
|
version?: number | null | undefined;
|
|
23708
23938
|
}[] | undefined;
|
|
23709
23939
|
visibility?: "default" | "private" | undefined;
|
|
23940
|
+
context?: {
|
|
23941
|
+
type: string;
|
|
23942
|
+
content?: string | null | undefined;
|
|
23943
|
+
title?: string | null | undefined;
|
|
23944
|
+
attributes?: Record<string, unknown> | undefined;
|
|
23945
|
+
}[] | undefined;
|
|
23710
23946
|
actors?: {
|
|
23711
23947
|
alias?: string | null | undefined;
|
|
23712
23948
|
name?: string | null | undefined;
|
|
@@ -24024,6 +24260,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
24024
24260
|
version?: number | null | undefined;
|
|
24025
24261
|
}[] | undefined;
|
|
24026
24262
|
visibility?: "default" | "private" | undefined;
|
|
24263
|
+
context?: {
|
|
24264
|
+
type: string;
|
|
24265
|
+
content?: string | null | undefined;
|
|
24266
|
+
title?: string | null | undefined;
|
|
24267
|
+
attributes?: Record<string, unknown> | undefined;
|
|
24268
|
+
}[] | undefined;
|
|
24027
24269
|
actors?: {
|
|
24028
24270
|
alias?: string | null | undefined;
|
|
24029
24271
|
name?: string | null | undefined;
|
|
@@ -24636,6 +24878,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
24636
24878
|
version?: number | null | undefined;
|
|
24637
24879
|
}[] | undefined;
|
|
24638
24880
|
visibility?: "default" | "private" | undefined;
|
|
24881
|
+
context?: {
|
|
24882
|
+
type: string;
|
|
24883
|
+
content?: string | null | undefined;
|
|
24884
|
+
title?: string | null | undefined;
|
|
24885
|
+
attributes?: Record<string, unknown> | undefined;
|
|
24886
|
+
}[] | undefined;
|
|
24639
24887
|
actors?: {
|
|
24640
24888
|
alias?: string | null | undefined;
|
|
24641
24889
|
name?: string | null | undefined;
|
|
@@ -25051,6 +25299,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
25051
25299
|
version?: number | null | undefined;
|
|
25052
25300
|
}[] | undefined;
|
|
25053
25301
|
visibility?: "default" | "private" | undefined;
|
|
25302
|
+
context?: {
|
|
25303
|
+
type: string;
|
|
25304
|
+
content?: string | null | undefined;
|
|
25305
|
+
title?: string | null | undefined;
|
|
25306
|
+
attributes?: Record<string, unknown> | undefined;
|
|
25307
|
+
}[] | undefined;
|
|
25054
25308
|
actors?: {
|
|
25055
25309
|
alias?: string | null | undefined;
|
|
25056
25310
|
name?: string | null | undefined;
|
|
@@ -25368,6 +25622,12 @@ export declare const chatForkThreadResponseSchema: z.ZodObject<{
|
|
|
25368
25622
|
version?: number | null | undefined;
|
|
25369
25623
|
}[] | undefined;
|
|
25370
25624
|
visibility?: "default" | "private" | undefined;
|
|
25625
|
+
context?: {
|
|
25626
|
+
type: string;
|
|
25627
|
+
content?: string | null | undefined;
|
|
25628
|
+
title?: string | null | undefined;
|
|
25629
|
+
attributes?: Record<string, unknown> | undefined;
|
|
25630
|
+
}[] | undefined;
|
|
25371
25631
|
actors?: {
|
|
25372
25632
|
alias?: string | null | undefined;
|
|
25373
25633
|
name?: string | null | undefined;
|
|
@@ -29458,6 +29718,22 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
29458
29718
|
}>, "many">>;
|
|
29459
29719
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29460
29720
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29721
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29722
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29723
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29724
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29725
|
+
type: z.ZodString;
|
|
29726
|
+
}, "strip", z.ZodTypeAny, {
|
|
29727
|
+
type: string;
|
|
29728
|
+
content?: string | null | undefined;
|
|
29729
|
+
title?: string | null | undefined;
|
|
29730
|
+
attributes?: Record<string, unknown> | undefined;
|
|
29731
|
+
}, {
|
|
29732
|
+
type: string;
|
|
29733
|
+
content?: string | null | undefined;
|
|
29734
|
+
title?: string | null | undefined;
|
|
29735
|
+
attributes?: Record<string, unknown> | undefined;
|
|
29736
|
+
}>, "many">>;
|
|
29461
29737
|
created_at: z.ZodOptional<z.ZodString>;
|
|
29462
29738
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
29463
29739
|
id: z.ZodString;
|
|
@@ -29649,6 +29925,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
29649
29925
|
version?: number | null | undefined;
|
|
29650
29926
|
}[] | undefined;
|
|
29651
29927
|
visibility?: "default" | "private" | undefined;
|
|
29928
|
+
context?: {
|
|
29929
|
+
type: string;
|
|
29930
|
+
content?: string | null | undefined;
|
|
29931
|
+
title?: string | null | undefined;
|
|
29932
|
+
attributes?: Record<string, unknown> | undefined;
|
|
29933
|
+
}[] | undefined;
|
|
29652
29934
|
actors?: {
|
|
29653
29935
|
alias?: string | null | undefined;
|
|
29654
29936
|
name?: string | null | undefined;
|
|
@@ -29778,6 +30060,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
29778
30060
|
version?: number | null | undefined;
|
|
29779
30061
|
}[] | undefined;
|
|
29780
30062
|
visibility?: "default" | "private" | undefined;
|
|
30063
|
+
context?: {
|
|
30064
|
+
type: string;
|
|
30065
|
+
content?: string | null | undefined;
|
|
30066
|
+
title?: string | null | undefined;
|
|
30067
|
+
attributes?: Record<string, unknown> | undefined;
|
|
30068
|
+
}[] | undefined;
|
|
29781
30069
|
actors?: {
|
|
29782
30070
|
alias?: string | null | undefined;
|
|
29783
30071
|
name?: string | null | undefined;
|
|
@@ -30376,6 +30664,22 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
30376
30664
|
}>, "many">>;
|
|
30377
30665
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30378
30666
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30667
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30668
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
30669
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30670
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30671
|
+
type: z.ZodString;
|
|
30672
|
+
}, "strip", z.ZodTypeAny, {
|
|
30673
|
+
type: string;
|
|
30674
|
+
content?: string | null | undefined;
|
|
30675
|
+
title?: string | null | undefined;
|
|
30676
|
+
attributes?: Record<string, unknown> | undefined;
|
|
30677
|
+
}, {
|
|
30678
|
+
type: string;
|
|
30679
|
+
content?: string | null | undefined;
|
|
30680
|
+
title?: string | null | undefined;
|
|
30681
|
+
attributes?: Record<string, unknown> | undefined;
|
|
30682
|
+
}>, "many">>;
|
|
30379
30683
|
created_at: z.ZodOptional<z.ZodString>;
|
|
30380
30684
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
30381
30685
|
id: z.ZodString;
|
|
@@ -30567,6 +30871,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
30567
30871
|
version?: number | null | undefined;
|
|
30568
30872
|
}[] | undefined;
|
|
30569
30873
|
visibility?: "default" | "private" | undefined;
|
|
30874
|
+
context?: {
|
|
30875
|
+
type: string;
|
|
30876
|
+
content?: string | null | undefined;
|
|
30877
|
+
title?: string | null | undefined;
|
|
30878
|
+
attributes?: Record<string, unknown> | undefined;
|
|
30879
|
+
}[] | undefined;
|
|
30570
30880
|
actors?: {
|
|
30571
30881
|
alias?: string | null | undefined;
|
|
30572
30882
|
name?: string | null | undefined;
|
|
@@ -30696,6 +31006,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
30696
31006
|
version?: number | null | undefined;
|
|
30697
31007
|
}[] | undefined;
|
|
30698
31008
|
visibility?: "default" | "private" | undefined;
|
|
31009
|
+
context?: {
|
|
31010
|
+
type: string;
|
|
31011
|
+
content?: string | null | undefined;
|
|
31012
|
+
title?: string | null | undefined;
|
|
31013
|
+
attributes?: Record<string, unknown> | undefined;
|
|
31014
|
+
}[] | undefined;
|
|
30699
31015
|
actors?: {
|
|
30700
31016
|
alias?: string | null | undefined;
|
|
30701
31017
|
name?: string | null | undefined;
|
|
@@ -32380,6 +32696,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
32380
32696
|
version?: number | null | undefined;
|
|
32381
32697
|
}[] | undefined;
|
|
32382
32698
|
visibility?: "default" | "private" | undefined;
|
|
32699
|
+
context?: {
|
|
32700
|
+
type: string;
|
|
32701
|
+
content?: string | null | undefined;
|
|
32702
|
+
title?: string | null | undefined;
|
|
32703
|
+
attributes?: Record<string, unknown> | undefined;
|
|
32704
|
+
}[] | undefined;
|
|
32383
32705
|
actors?: {
|
|
32384
32706
|
alias?: string | null | undefined;
|
|
32385
32707
|
name?: string | null | undefined;
|
|
@@ -32763,6 +33085,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
32763
33085
|
version?: number | null | undefined;
|
|
32764
33086
|
}[] | undefined;
|
|
32765
33087
|
visibility?: "default" | "private" | undefined;
|
|
33088
|
+
context?: {
|
|
33089
|
+
type: string;
|
|
33090
|
+
content?: string | null | undefined;
|
|
33091
|
+
title?: string | null | undefined;
|
|
33092
|
+
attributes?: Record<string, unknown> | undefined;
|
|
33093
|
+
}[] | undefined;
|
|
32766
33094
|
actors?: {
|
|
32767
33095
|
alias?: string | null | undefined;
|
|
32768
33096
|
name?: string | null | undefined;
|
|
@@ -33148,6 +33476,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
33148
33476
|
version?: number | null | undefined;
|
|
33149
33477
|
}[] | undefined;
|
|
33150
33478
|
visibility?: "default" | "private" | undefined;
|
|
33479
|
+
context?: {
|
|
33480
|
+
type: string;
|
|
33481
|
+
content?: string | null | undefined;
|
|
33482
|
+
title?: string | null | undefined;
|
|
33483
|
+
attributes?: Record<string, unknown> | undefined;
|
|
33484
|
+
}[] | undefined;
|
|
33151
33485
|
actors?: {
|
|
33152
33486
|
alias?: string | null | undefined;
|
|
33153
33487
|
name?: string | null | undefined;
|
|
@@ -33465,6 +33799,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
33465
33799
|
version?: number | null | undefined;
|
|
33466
33800
|
}[] | undefined;
|
|
33467
33801
|
visibility?: "default" | "private" | undefined;
|
|
33802
|
+
context?: {
|
|
33803
|
+
type: string;
|
|
33804
|
+
content?: string | null | undefined;
|
|
33805
|
+
title?: string | null | undefined;
|
|
33806
|
+
attributes?: Record<string, unknown> | undefined;
|
|
33807
|
+
}[] | undefined;
|
|
33468
33808
|
actors?: {
|
|
33469
33809
|
alias?: string | null | undefined;
|
|
33470
33810
|
name?: string | null | undefined;
|
|
@@ -34076,6 +34416,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
34076
34416
|
version?: number | null | undefined;
|
|
34077
34417
|
}[] | undefined;
|
|
34078
34418
|
visibility?: "default" | "private" | undefined;
|
|
34419
|
+
context?: {
|
|
34420
|
+
type: string;
|
|
34421
|
+
content?: string | null | undefined;
|
|
34422
|
+
title?: string | null | undefined;
|
|
34423
|
+
attributes?: Record<string, unknown> | undefined;
|
|
34424
|
+
}[] | undefined;
|
|
34079
34425
|
actors?: {
|
|
34080
34426
|
alias?: string | null | undefined;
|
|
34081
34427
|
name?: string | null | undefined;
|
|
@@ -34393,6 +34739,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
34393
34739
|
version?: number | null | undefined;
|
|
34394
34740
|
}[] | undefined;
|
|
34395
34741
|
visibility?: "default" | "private" | undefined;
|
|
34742
|
+
context?: {
|
|
34743
|
+
type: string;
|
|
34744
|
+
content?: string | null | undefined;
|
|
34745
|
+
title?: string | null | undefined;
|
|
34746
|
+
attributes?: Record<string, unknown> | undefined;
|
|
34747
|
+
}[] | undefined;
|
|
34396
34748
|
actors?: {
|
|
34397
34749
|
alias?: string | null | undefined;
|
|
34398
34750
|
name?: string | null | undefined;
|
|
@@ -35006,6 +35358,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
35006
35358
|
version?: number | null | undefined;
|
|
35007
35359
|
}[] | undefined;
|
|
35008
35360
|
visibility?: "default" | "private" | undefined;
|
|
35361
|
+
context?: {
|
|
35362
|
+
type: string;
|
|
35363
|
+
content?: string | null | undefined;
|
|
35364
|
+
title?: string | null | undefined;
|
|
35365
|
+
attributes?: Record<string, unknown> | undefined;
|
|
35366
|
+
}[] | undefined;
|
|
35009
35367
|
actors?: {
|
|
35010
35368
|
alias?: string | null | undefined;
|
|
35011
35369
|
name?: string | null | undefined;
|
|
@@ -35323,6 +35681,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
35323
35681
|
version?: number | null | undefined;
|
|
35324
35682
|
}[] | undefined;
|
|
35325
35683
|
visibility?: "default" | "private" | undefined;
|
|
35684
|
+
context?: {
|
|
35685
|
+
type: string;
|
|
35686
|
+
content?: string | null | undefined;
|
|
35687
|
+
title?: string | null | undefined;
|
|
35688
|
+
attributes?: Record<string, unknown> | undefined;
|
|
35689
|
+
}[] | undefined;
|
|
35326
35690
|
actors?: {
|
|
35327
35691
|
alias?: string | null | undefined;
|
|
35328
35692
|
name?: string | null | undefined;
|
|
@@ -35936,6 +36300,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
35936
36300
|
version?: number | null | undefined;
|
|
35937
36301
|
}[] | undefined;
|
|
35938
36302
|
visibility?: "default" | "private" | undefined;
|
|
36303
|
+
context?: {
|
|
36304
|
+
type: string;
|
|
36305
|
+
content?: string | null | undefined;
|
|
36306
|
+
title?: string | null | undefined;
|
|
36307
|
+
attributes?: Record<string, unknown> | undefined;
|
|
36308
|
+
}[] | undefined;
|
|
35939
36309
|
actors?: {
|
|
35940
36310
|
alias?: string | null | undefined;
|
|
35941
36311
|
name?: string | null | undefined;
|
|
@@ -36253,6 +36623,12 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
36253
36623
|
version?: number | null | undefined;
|
|
36254
36624
|
}[] | undefined;
|
|
36255
36625
|
visibility?: "default" | "private" | undefined;
|
|
36626
|
+
context?: {
|
|
36627
|
+
type: string;
|
|
36628
|
+
content?: string | null | undefined;
|
|
36629
|
+
title?: string | null | undefined;
|
|
36630
|
+
attributes?: Record<string, unknown> | undefined;
|
|
36631
|
+
}[] | undefined;
|
|
36256
36632
|
actors?: {
|
|
36257
36633
|
alias?: string | null | undefined;
|
|
36258
36634
|
name?: string | null | undefined;
|
|
@@ -36701,6 +37077,26 @@ export declare const chatLoadMoreMessagesResponseSchema: z.ZodObject<{
|
|
|
36701
37077
|
messages_loaded_on_last_update?: number | undefined;
|
|
36702
37078
|
};
|
|
36703
37079
|
}>;
|
|
37080
|
+
/** One local function invocation requested by the model. */
|
|
37081
|
+
export interface ChatLocalToolCall {
|
|
37082
|
+
arguments: Record<string, unknown>;
|
|
37083
|
+
id: string;
|
|
37084
|
+
name: string;
|
|
37085
|
+
}
|
|
37086
|
+
/** Runtime validator for {@link ChatLocalToolCall}. */
|
|
37087
|
+
export declare const chatLocalToolCallSchema: z.ZodObject<{
|
|
37088
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
37089
|
+
id: z.ZodString;
|
|
37090
|
+
name: z.ZodString;
|
|
37091
|
+
}, "strip", z.ZodTypeAny, {
|
|
37092
|
+
name: string;
|
|
37093
|
+
id: string;
|
|
37094
|
+
arguments: Record<string, unknown>;
|
|
37095
|
+
}, {
|
|
37096
|
+
name: string;
|
|
37097
|
+
id: string;
|
|
37098
|
+
arguments: Record<string, unknown>;
|
|
37099
|
+
}>;
|
|
36704
37100
|
/** A function implemented by the client connected to a personal thread. */
|
|
36705
37101
|
export interface ChatLocalToolFunction {
|
|
36706
37102
|
description: string;
|
|
@@ -36721,7 +37117,7 @@ export declare const chatLocalToolFunctionSchema: z.ZodObject<{
|
|
|
36721
37117
|
name: string;
|
|
36722
37118
|
parameters: Record<string, unknown>;
|
|
36723
37119
|
}>;
|
|
36724
|
-
/** An OpenAI-compatible local function definition
|
|
37120
|
+
/** An OpenAI-compatible local function definition advertised by a personal-thread connection. */
|
|
36725
37121
|
export interface ChatLocalToolDefinition {
|
|
36726
37122
|
function: ChatLocalToolFunction;
|
|
36727
37123
|
type: "function";
|
|
@@ -36757,6 +37153,101 @@ export declare const chatLocalToolDefinitionSchema: z.ZodObject<{
|
|
|
36757
37153
|
};
|
|
36758
37154
|
type: "function";
|
|
36759
37155
|
}>;
|
|
37156
|
+
/** Server-issued identity for the local-tool set currently advertised by this connection. */
|
|
37157
|
+
export interface ChatLocalToolProvider {
|
|
37158
|
+
generation: number;
|
|
37159
|
+
provider_id: string;
|
|
37160
|
+
}
|
|
37161
|
+
/** Runtime validator for {@link ChatLocalToolProvider}. */
|
|
37162
|
+
export declare const chatLocalToolProviderSchema: z.ZodObject<{
|
|
37163
|
+
generation: z.ZodNumber;
|
|
37164
|
+
provider_id: z.ZodString;
|
|
37165
|
+
}, "strip", z.ZodTypeAny, {
|
|
37166
|
+
generation: number;
|
|
37167
|
+
provider_id: string;
|
|
37168
|
+
}, {
|
|
37169
|
+
generation: number;
|
|
37170
|
+
provider_id: string;
|
|
37171
|
+
}>;
|
|
37172
|
+
/** A correlated batch of local function calls targeted to one connection. */
|
|
37173
|
+
export interface ChatLocalToolRequest {
|
|
37174
|
+
calls: ChatLocalToolCall[];
|
|
37175
|
+
id: string;
|
|
37176
|
+
}
|
|
37177
|
+
/** Runtime validator for {@link ChatLocalToolRequest}. */
|
|
37178
|
+
export declare const chatLocalToolRequestSchema: z.ZodObject<{
|
|
37179
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
37180
|
+
arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
37181
|
+
id: z.ZodString;
|
|
37182
|
+
name: z.ZodString;
|
|
37183
|
+
}, "strip", z.ZodTypeAny, {
|
|
37184
|
+
name: string;
|
|
37185
|
+
id: string;
|
|
37186
|
+
arguments: Record<string, unknown>;
|
|
37187
|
+
}, {
|
|
37188
|
+
name: string;
|
|
37189
|
+
id: string;
|
|
37190
|
+
arguments: Record<string, unknown>;
|
|
37191
|
+
}>, "many">;
|
|
37192
|
+
id: z.ZodString;
|
|
37193
|
+
}, "strip", z.ZodTypeAny, {
|
|
37194
|
+
id: string;
|
|
37195
|
+
calls: {
|
|
37196
|
+
name: string;
|
|
37197
|
+
id: string;
|
|
37198
|
+
arguments: Record<string, unknown>;
|
|
37199
|
+
}[];
|
|
37200
|
+
}, {
|
|
37201
|
+
id: string;
|
|
37202
|
+
calls: {
|
|
37203
|
+
name: string;
|
|
37204
|
+
id: string;
|
|
37205
|
+
arguments: Record<string, unknown>;
|
|
37206
|
+
}[];
|
|
37207
|
+
}>;
|
|
37208
|
+
/** One terminal local-tool outcome returned by the owning client connection. */
|
|
37209
|
+
export declare const chatLocalToolResultSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
37210
|
+
call_id: z.ZodString;
|
|
37211
|
+
content: z.ZodString;
|
|
37212
|
+
status: z.ZodLiteral<"ok">;
|
|
37213
|
+
}, "strip", z.ZodTypeAny, {
|
|
37214
|
+
content: string;
|
|
37215
|
+
status: "ok";
|
|
37216
|
+
call_id: string;
|
|
37217
|
+
}, {
|
|
37218
|
+
content: string;
|
|
37219
|
+
status: "ok";
|
|
37220
|
+
call_id: string;
|
|
37221
|
+
}>, z.ZodObject<{
|
|
37222
|
+
call_id: z.ZodString;
|
|
37223
|
+
code: z.ZodString;
|
|
37224
|
+
message: z.ZodString;
|
|
37225
|
+
status: z.ZodLiteral<"error">;
|
|
37226
|
+
}, "strip", z.ZodTypeAny, {
|
|
37227
|
+
message: string;
|
|
37228
|
+
code: string;
|
|
37229
|
+
status: "error";
|
|
37230
|
+
call_id: string;
|
|
37231
|
+
}, {
|
|
37232
|
+
message: string;
|
|
37233
|
+
code: string;
|
|
37234
|
+
status: "error";
|
|
37235
|
+
call_id: string;
|
|
37236
|
+
}>, z.ZodObject<{
|
|
37237
|
+
call_id: z.ZodString;
|
|
37238
|
+
reason: z.ZodString;
|
|
37239
|
+
status: z.ZodLiteral<"cancelled">;
|
|
37240
|
+
}, "strip", z.ZodTypeAny, {
|
|
37241
|
+
status: "cancelled";
|
|
37242
|
+
call_id: string;
|
|
37243
|
+
reason: string;
|
|
37244
|
+
}, {
|
|
37245
|
+
status: "cancelled";
|
|
37246
|
+
call_id: string;
|
|
37247
|
+
reason: string;
|
|
37248
|
+
}>]>;
|
|
37249
|
+
/** One terminal local-tool outcome returned by the owning client connection. */
|
|
37250
|
+
export type ChatLocalToolResult = z.infer<typeof chatLocalToolResultSchema>;
|
|
36760
37251
|
/** Response returned after marking a chat thread as read. Confirms that the read marker was successfully recorded for the authenticated user. */
|
|
36761
37252
|
export interface ChatMarkThreadReadResponse {
|
|
36762
37253
|
/** Indicates whether the read marker was successfully applied. Always `true` on success; errors are returned as channel error replies rather than a `false` value here. */
|
|
@@ -37122,6 +37613,22 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
|
|
|
37122
37613
|
}>, "many">>;
|
|
37123
37614
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37124
37615
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37616
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37617
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
37618
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37619
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37620
|
+
type: z.ZodString;
|
|
37621
|
+
}, "strip", z.ZodTypeAny, {
|
|
37622
|
+
type: string;
|
|
37623
|
+
content?: string | null | undefined;
|
|
37624
|
+
title?: string | null | undefined;
|
|
37625
|
+
attributes?: Record<string, unknown> | undefined;
|
|
37626
|
+
}, {
|
|
37627
|
+
type: string;
|
|
37628
|
+
content?: string | null | undefined;
|
|
37629
|
+
title?: string | null | undefined;
|
|
37630
|
+
attributes?: Record<string, unknown> | undefined;
|
|
37631
|
+
}>, "many">>;
|
|
37125
37632
|
created_at: z.ZodOptional<z.ZodString>;
|
|
37126
37633
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
37127
37634
|
id: z.ZodString;
|
|
@@ -37313,6 +37820,12 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
|
|
|
37313
37820
|
version?: number | null | undefined;
|
|
37314
37821
|
}[] | undefined;
|
|
37315
37822
|
visibility?: "default" | "private" | undefined;
|
|
37823
|
+
context?: {
|
|
37824
|
+
type: string;
|
|
37825
|
+
content?: string | null | undefined;
|
|
37826
|
+
title?: string | null | undefined;
|
|
37827
|
+
attributes?: Record<string, unknown> | undefined;
|
|
37828
|
+
}[] | undefined;
|
|
37316
37829
|
actors?: {
|
|
37317
37830
|
alias?: string | null | undefined;
|
|
37318
37831
|
name?: string | null | undefined;
|
|
@@ -37442,6 +37955,12 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
|
|
|
37442
37955
|
version?: number | null | undefined;
|
|
37443
37956
|
}[] | undefined;
|
|
37444
37957
|
visibility?: "default" | "private" | undefined;
|
|
37958
|
+
context?: {
|
|
37959
|
+
type: string;
|
|
37960
|
+
content?: string | null | undefined;
|
|
37961
|
+
title?: string | null | undefined;
|
|
37962
|
+
attributes?: Record<string, unknown> | undefined;
|
|
37963
|
+
}[] | undefined;
|
|
37445
37964
|
actors?: {
|
|
37446
37965
|
alias?: string | null | undefined;
|
|
37447
37966
|
name?: string | null | undefined;
|
|
@@ -37573,6 +38092,12 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
|
|
|
37573
38092
|
version?: number | null | undefined;
|
|
37574
38093
|
}[] | undefined;
|
|
37575
38094
|
visibility?: "default" | "private" | undefined;
|
|
38095
|
+
context?: {
|
|
38096
|
+
type: string;
|
|
38097
|
+
content?: string | null | undefined;
|
|
38098
|
+
title?: string | null | undefined;
|
|
38099
|
+
attributes?: Record<string, unknown> | undefined;
|
|
38100
|
+
}[] | undefined;
|
|
37576
38101
|
actors?: {
|
|
37577
38102
|
alias?: string | null | undefined;
|
|
37578
38103
|
name?: string | null | undefined;
|
|
@@ -37704,6 +38229,12 @@ export declare const chatMessageListResponseSchema: z.ZodObject<{
|
|
|
37704
38229
|
version?: number | null | undefined;
|
|
37705
38230
|
}[] | undefined;
|
|
37706
38231
|
visibility?: "default" | "private" | undefined;
|
|
38232
|
+
context?: {
|
|
38233
|
+
type: string;
|
|
38234
|
+
content?: string | null | undefined;
|
|
38235
|
+
title?: string | null | undefined;
|
|
38236
|
+
attributes?: Record<string, unknown> | undefined;
|
|
38237
|
+
}[] | undefined;
|
|
37707
38238
|
actors?: {
|
|
37708
38239
|
alias?: string | null | undefined;
|
|
37709
38240
|
name?: string | null | undefined;
|
|
@@ -38089,6 +38620,22 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
|
|
|
38089
38620
|
}>, "many">>;
|
|
38090
38621
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38091
38622
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38623
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38624
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38625
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38626
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38627
|
+
type: z.ZodString;
|
|
38628
|
+
}, "strip", z.ZodTypeAny, {
|
|
38629
|
+
type: string;
|
|
38630
|
+
content?: string | null | undefined;
|
|
38631
|
+
title?: string | null | undefined;
|
|
38632
|
+
attributes?: Record<string, unknown> | undefined;
|
|
38633
|
+
}, {
|
|
38634
|
+
type: string;
|
|
38635
|
+
content?: string | null | undefined;
|
|
38636
|
+
title?: string | null | undefined;
|
|
38637
|
+
attributes?: Record<string, unknown> | undefined;
|
|
38638
|
+
}>, "many">>;
|
|
38092
38639
|
created_at: z.ZodOptional<z.ZodString>;
|
|
38093
38640
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
38094
38641
|
id: z.ZodString;
|
|
@@ -38280,6 +38827,12 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
|
|
|
38280
38827
|
version?: number | null | undefined;
|
|
38281
38828
|
}[] | undefined;
|
|
38282
38829
|
visibility?: "default" | "private" | undefined;
|
|
38830
|
+
context?: {
|
|
38831
|
+
type: string;
|
|
38832
|
+
content?: string | null | undefined;
|
|
38833
|
+
title?: string | null | undefined;
|
|
38834
|
+
attributes?: Record<string, unknown> | undefined;
|
|
38835
|
+
}[] | undefined;
|
|
38283
38836
|
actors?: {
|
|
38284
38837
|
alias?: string | null | undefined;
|
|
38285
38838
|
name?: string | null | undefined;
|
|
@@ -38409,6 +38962,12 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
|
|
|
38409
38962
|
version?: number | null | undefined;
|
|
38410
38963
|
}[] | undefined;
|
|
38411
38964
|
visibility?: "default" | "private" | undefined;
|
|
38965
|
+
context?: {
|
|
38966
|
+
type: string;
|
|
38967
|
+
content?: string | null | undefined;
|
|
38968
|
+
title?: string | null | undefined;
|
|
38969
|
+
attributes?: Record<string, unknown> | undefined;
|
|
38970
|
+
}[] | undefined;
|
|
38412
38971
|
actors?: {
|
|
38413
38972
|
alias?: string | null | undefined;
|
|
38414
38973
|
name?: string | null | undefined;
|
|
@@ -38540,6 +39099,12 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
|
|
|
38540
39099
|
version?: number | null | undefined;
|
|
38541
39100
|
}[] | undefined;
|
|
38542
39101
|
visibility?: "default" | "private" | undefined;
|
|
39102
|
+
context?: {
|
|
39103
|
+
type: string;
|
|
39104
|
+
content?: string | null | undefined;
|
|
39105
|
+
title?: string | null | undefined;
|
|
39106
|
+
attributes?: Record<string, unknown> | undefined;
|
|
39107
|
+
}[] | undefined;
|
|
38543
39108
|
actors?: {
|
|
38544
39109
|
alias?: string | null | undefined;
|
|
38545
39110
|
name?: string | null | undefined;
|
|
@@ -38671,6 +39236,12 @@ export declare const chatPostMessageResponseSchema: z.ZodObject<{
|
|
|
38671
39236
|
version?: number | null | undefined;
|
|
38672
39237
|
}[] | undefined;
|
|
38673
39238
|
visibility?: "default" | "private" | undefined;
|
|
39239
|
+
context?: {
|
|
39240
|
+
type: string;
|
|
39241
|
+
content?: string | null | undefined;
|
|
39242
|
+
title?: string | null | undefined;
|
|
39243
|
+
attributes?: Record<string, unknown> | undefined;
|
|
39244
|
+
}[] | undefined;
|
|
38674
39245
|
actors?: {
|
|
38675
39246
|
alias?: string | null | undefined;
|
|
38676
39247
|
name?: string | null | undefined;
|