@archastro/sdk 0.15.0 → 0.16.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/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -1
- package/dist/client.js.map +1 -1
- package/dist/effective-access.d.ts +34 -0
- package/dist/effective-access.d.ts.map +1 -0
- package/dist/effective-access.js +51 -0
- package/dist/effective-access.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ai.d.ts +109 -109
- package/dist/types/ai.js +10 -10
- package/dist/types/ai.js.map +1 -1
- package/dist/types/automations.d.ts +15 -15
- package/dist/types/automations.js +6 -6
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +2520 -2520
- package/dist/types/chat.js +3 -3
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +2545 -3272
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +204 -228
- package/dist/types/common.js.map +1 -1
- package/dist/types/config.d.ts +11 -11
- package/dist/types/config.js +3 -3
- package/dist/types/config.js.map +1 -1
- package/dist/types/events.d.ts +810 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/events.js +77 -0
- package/dist/types/events.js.map +1 -0
- package/dist/types/expressions.d.ts +66 -0
- package/dist/types/expressions.d.ts.map +1 -0
- package/dist/types/expressions.js +27 -0
- package/dist/types/expressions.js.map +1 -0
- package/dist/types/extractions.d.ts +3 -3
- package/dist/types/extractions.js +2 -2
- package/dist/types/extractions.js.map +1 -1
- package/dist/types/graph.d.ts +34 -0
- package/dist/types/graph.d.ts.map +1 -0
- package/dist/types/graph.js +16 -0
- package/dist/types/graph.js.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +6 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/notifications.d.ts +3 -3
- package/dist/types/notifications.js +2 -2
- package/dist/types/notifications.js.map +1 -1
- package/dist/types/oauth.d.ts +5 -5
- package/dist/types/scripts.d.ts +800 -0
- package/dist/types/scripts.d.ts.map +1 -0
- package/dist/types/scripts.js +112 -0
- package/dist/types/scripts.js.map +1 -0
- package/dist/types/status.d.ts +8 -8
- package/dist/types/status.js +2 -2
- package/dist/types/status.js.map +1 -1
- package/dist/types/tasks.d.ts +6 -6
- package/dist/types/tasks.js +3 -3
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +334 -334
- package/dist/types/teams.js +5 -5
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +209 -209
- package/dist/types/threads.js +6 -6
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +6 -6
- package/dist/types/users.js +3 -3
- package/dist/types/users.js.map +1 -1
- package/dist/types/workflows.d.ts +544 -0
- package/dist/types/workflows.d.ts.map +1 -0
- package/dist/types/workflows.js +91 -0
- package/dist/types/workflows.js.map +1 -0
- package/dist/v1/resources/agents.d.ts +4 -3
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +1 -1
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +2 -2
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +1 -1
- package/dist/v1/resources/event_subscriptions.d.ts +1 -1
- package/dist/v1/resources/event_subscriptions.js +1 -1
- package/dist/v1/resources/index.d.ts +2 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +3 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/scripts.d.ts +117 -0
- package/dist/v1/resources/scripts.d.ts.map +1 -0
- package/dist/v1/resources/scripts.js +116 -0
- package/dist/v1/resources/scripts.js.map +1 -0
- package/dist/v1/resources/users.d.ts +8 -3
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +9 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/work_items.d.ts +1 -1
- package/dist/v1/resources/work_items.d.ts.map +1 -1
- package/dist/v1/resources/work_items.js +1 -1
- package/dist/v1/resources/workflows.d.ts +205 -0
- package/dist/v1/resources/workflows.d.ts.map +1 -0
- package/dist/v1/resources/workflows.js +205 -0
- package/dist/v1/resources/workflows.js.map +1 -0
- package/dist/v1.d.ts +4 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +7 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
package/dist/types/threads.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
127
127
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
128
|
id: z.ZodString;
|
|
129
129
|
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
130
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
131
131
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
132
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
133
|
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -150,7 +150,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
150
150
|
created_by_team?: string | null | undefined;
|
|
151
151
|
created_by_user?: string | null | undefined;
|
|
152
152
|
is_system_user?: boolean | undefined;
|
|
153
|
-
metadata?: Record<string,
|
|
153
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
154
154
|
org_name?: string | null | undefined;
|
|
155
155
|
org_role?: string | null | undefined;
|
|
156
156
|
org_slug?: string | null | undefined;
|
|
@@ -170,7 +170,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
170
170
|
created_by_team?: string | null | undefined;
|
|
171
171
|
created_by_user?: string | null | undefined;
|
|
172
172
|
is_system_user?: boolean | undefined;
|
|
173
|
-
metadata?: Record<string,
|
|
173
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
174
174
|
org_name?: string | null | undefined;
|
|
175
175
|
org_role?: string | null | undefined;
|
|
176
176
|
org_slug?: string | null | undefined;
|
|
@@ -199,7 +199,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
199
199
|
/** Display name of the sender of the most recent message — the same message `last_message_preview` snippets. Populated on thread list endpoints; `null` when the thread has no messages or the endpoint doesn't compute activity enrichment. */
|
|
200
200
|
last_message_sender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
201
|
/** Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set. */
|
|
202
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
202
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>>;
|
|
203
203
|
/** Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery. */
|
|
204
204
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
205
205
|
/** ID of the organization this thread belongs to (`org_...`). `null` for threads outside an org context. */
|
|
@@ -368,7 +368,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
368
368
|
image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
369
369
|
media_type: z.ZodOptional<z.ZodString>;
|
|
370
370
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
|
-
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
371
|
+
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
372
372
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
373
373
|
type: z.ZodString;
|
|
374
374
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -454,7 +454,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
455
|
type: string;
|
|
456
456
|
id: string;
|
|
457
|
-
object?: Record<string,
|
|
457
|
+
object?: Record<string, {} | null> | undefined;
|
|
458
458
|
description?: string | null | undefined;
|
|
459
459
|
name?: string | null | undefined;
|
|
460
460
|
height?: number | null | undefined;
|
|
@@ -501,7 +501,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
501
501
|
}, {
|
|
502
502
|
type: string;
|
|
503
503
|
id: string;
|
|
504
|
-
object?: Record<string,
|
|
504
|
+
object?: Record<string, {} | null> | undefined;
|
|
505
505
|
description?: string | null | undefined;
|
|
506
506
|
name?: string | null | undefined;
|
|
507
507
|
height?: number | null | undefined;
|
|
@@ -549,7 +549,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
549
549
|
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
550
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
551
551
|
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
552
|
-
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
552
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
553
553
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
554
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
555
|
type: z.ZodString;
|
|
@@ -557,12 +557,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
557
557
|
type: string;
|
|
558
558
|
content?: string | null | undefined;
|
|
559
559
|
title?: string | null | undefined;
|
|
560
|
-
attributes?: Record<string,
|
|
560
|
+
attributes?: Record<string, {} | null> | undefined;
|
|
561
561
|
}, {
|
|
562
562
|
type: string;
|
|
563
563
|
content?: string | null | undefined;
|
|
564
564
|
title?: string | null | undefined;
|
|
565
|
-
attributes?: Record<string,
|
|
565
|
+
attributes?: Record<string, {} | null> | undefined;
|
|
566
566
|
}>, "many">>;
|
|
567
567
|
created_at: z.ZodOptional<z.ZodString>;
|
|
568
568
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -570,27 +570,27 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
570
570
|
idempotency_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
571
|
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
572
572
|
legacy_agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
573
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
573
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
574
574
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
575
|
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
576
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
576
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
577
577
|
type: z.ZodString;
|
|
578
578
|
user: z.ZodOptional<z.ZodString>;
|
|
579
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
580
|
type: string;
|
|
581
|
-
payload?: Record<string,
|
|
581
|
+
payload?: Record<string, {} | null> | undefined;
|
|
582
582
|
user?: string | undefined;
|
|
583
583
|
}, {
|
|
584
584
|
type: string;
|
|
585
|
-
payload?: Record<string,
|
|
585
|
+
payload?: Record<string, {} | null> | undefined;
|
|
586
586
|
user?: string | undefined;
|
|
587
587
|
}>, "many">>;
|
|
588
588
|
rendering_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
589
|
-
replies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.
|
|
589
|
+
replies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>, "many">>;
|
|
590
590
|
replies_after_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
591
|
replies_before_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
592
|
reply_count: z.ZodOptional<z.ZodNumber>;
|
|
593
|
-
reply_to: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
593
|
+
reply_to: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>>;
|
|
594
594
|
root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
595
595
|
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
596
|
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -608,7 +608,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
608
608
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
609
609
|
id: z.ZodString;
|
|
610
610
|
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
611
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
612
612
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
613
613
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
614
|
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -631,7 +631,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
631
631
|
created_by_team?: string | null | undefined;
|
|
632
632
|
created_by_user?: string | null | undefined;
|
|
633
633
|
is_system_user?: boolean | undefined;
|
|
634
|
-
metadata?: Record<string,
|
|
634
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
635
635
|
org_name?: string | null | undefined;
|
|
636
636
|
org_role?: string | null | undefined;
|
|
637
637
|
org_slug?: string | null | undefined;
|
|
@@ -651,7 +651,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
651
651
|
created_by_team?: string | null | undefined;
|
|
652
652
|
created_by_user?: string | null | undefined;
|
|
653
653
|
is_system_user?: boolean | undefined;
|
|
654
|
-
metadata?: Record<string,
|
|
654
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
655
655
|
org_name?: string | null | undefined;
|
|
656
656
|
org_role?: string | null | undefined;
|
|
657
657
|
org_slug?: string | null | undefined;
|
|
@@ -682,14 +682,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
682
682
|
created_by_team?: string | null | undefined;
|
|
683
683
|
created_by_user?: string | null | undefined;
|
|
684
684
|
is_system_user?: boolean | undefined;
|
|
685
|
-
metadata?: Record<string,
|
|
685
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
686
686
|
org_name?: string | null | undefined;
|
|
687
687
|
org_role?: string | null | undefined;
|
|
688
688
|
org_slug?: string | null | undefined;
|
|
689
689
|
sandbox_name?: string | null | undefined;
|
|
690
690
|
} | null | undefined;
|
|
691
691
|
sandbox?: string | null | undefined;
|
|
692
|
-
metadata?: Record<string,
|
|
692
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
693
693
|
acl?: {
|
|
694
694
|
add?: {
|
|
695
695
|
actions: string[];
|
|
@@ -709,7 +709,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
709
709
|
attachments?: {
|
|
710
710
|
type: string;
|
|
711
711
|
id: string;
|
|
712
|
-
object?: Record<string,
|
|
712
|
+
object?: Record<string, {} | null> | undefined;
|
|
713
713
|
description?: string | null | undefined;
|
|
714
714
|
name?: string | null | undefined;
|
|
715
715
|
height?: number | null | undefined;
|
|
@@ -759,7 +759,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
759
759
|
type: string;
|
|
760
760
|
content?: string | null | undefined;
|
|
761
761
|
title?: string | null | undefined;
|
|
762
|
-
attributes?: Record<string,
|
|
762
|
+
attributes?: Record<string, {} | null> | undefined;
|
|
763
763
|
}[] | undefined;
|
|
764
764
|
actors?: {
|
|
765
765
|
alias?: string | null | undefined;
|
|
@@ -783,15 +783,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
783
783
|
legacy_agent?: string | null | undefined;
|
|
784
784
|
reactions?: {
|
|
785
785
|
type: string;
|
|
786
|
-
payload?: Record<string,
|
|
786
|
+
payload?: Record<string, {} | null> | undefined;
|
|
787
787
|
user?: string | undefined;
|
|
788
788
|
}[] | undefined;
|
|
789
789
|
rendering_mode?: string | null | undefined;
|
|
790
|
-
replies?: Record<string,
|
|
790
|
+
replies?: Record<string, {} | null>[] | undefined;
|
|
791
791
|
replies_after_cursor?: string | null | undefined;
|
|
792
792
|
replies_before_cursor?: string | null | undefined;
|
|
793
793
|
reply_count?: number | undefined;
|
|
794
|
-
reply_to?: Record<string,
|
|
794
|
+
reply_to?: Record<string, {} | null> | null | undefined;
|
|
795
795
|
root_message_id?: string | null | undefined;
|
|
796
796
|
}, {
|
|
797
797
|
id: string;
|
|
@@ -817,14 +817,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
817
817
|
created_by_team?: string | null | undefined;
|
|
818
818
|
created_by_user?: string | null | undefined;
|
|
819
819
|
is_system_user?: boolean | undefined;
|
|
820
|
-
metadata?: Record<string,
|
|
820
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
821
821
|
org_name?: string | null | undefined;
|
|
822
822
|
org_role?: string | null | undefined;
|
|
823
823
|
org_slug?: string | null | undefined;
|
|
824
824
|
sandbox_name?: string | null | undefined;
|
|
825
825
|
} | null | undefined;
|
|
826
826
|
sandbox?: string | null | undefined;
|
|
827
|
-
metadata?: Record<string,
|
|
827
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
828
828
|
acl?: {
|
|
829
829
|
add?: {
|
|
830
830
|
actions: string[];
|
|
@@ -844,7 +844,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
844
844
|
attachments?: {
|
|
845
845
|
type: string;
|
|
846
846
|
id: string;
|
|
847
|
-
object?: Record<string,
|
|
847
|
+
object?: Record<string, {} | null> | undefined;
|
|
848
848
|
description?: string | null | undefined;
|
|
849
849
|
name?: string | null | undefined;
|
|
850
850
|
height?: number | null | undefined;
|
|
@@ -894,7 +894,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
894
894
|
type: string;
|
|
895
895
|
content?: string | null | undefined;
|
|
896
896
|
title?: string | null | undefined;
|
|
897
|
-
attributes?: Record<string,
|
|
897
|
+
attributes?: Record<string, {} | null> | undefined;
|
|
898
898
|
}[] | undefined;
|
|
899
899
|
actors?: {
|
|
900
900
|
alias?: string | null | undefined;
|
|
@@ -918,15 +918,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
918
918
|
legacy_agent?: string | null | undefined;
|
|
919
919
|
reactions?: {
|
|
920
920
|
type: string;
|
|
921
|
-
payload?: Record<string,
|
|
921
|
+
payload?: Record<string, {} | null> | undefined;
|
|
922
922
|
user?: string | undefined;
|
|
923
923
|
}[] | undefined;
|
|
924
924
|
rendering_mode?: string | null | undefined;
|
|
925
|
-
replies?: Record<string,
|
|
925
|
+
replies?: Record<string, {} | null>[] | undefined;
|
|
926
926
|
replies_after_cursor?: string | null | undefined;
|
|
927
927
|
replies_before_cursor?: string | null | undefined;
|
|
928
928
|
reply_count?: number | undefined;
|
|
929
|
-
reply_to?: Record<string,
|
|
929
|
+
reply_to?: Record<string, {} | null> | null | undefined;
|
|
930
930
|
root_message_id?: string | null | undefined;
|
|
931
931
|
}>>>;
|
|
932
932
|
/** Array of participant user IDs (`usr_...`) who are members of this thread. */
|
|
@@ -944,7 +944,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
944
944
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
945
945
|
id: z.ZodString;
|
|
946
946
|
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
947
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
947
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
948
948
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
949
949
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
950
950
|
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -967,7 +967,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
967
967
|
created_by_team?: string | null | undefined;
|
|
968
968
|
created_by_user?: string | null | undefined;
|
|
969
969
|
is_system_user?: boolean | undefined;
|
|
970
|
-
metadata?: Record<string,
|
|
970
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
971
971
|
org_name?: string | null | undefined;
|
|
972
972
|
org_role?: string | null | undefined;
|
|
973
973
|
org_slug?: string | null | undefined;
|
|
@@ -987,7 +987,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
987
987
|
created_by_team?: string | null | undefined;
|
|
988
988
|
created_by_user?: string | null | undefined;
|
|
989
989
|
is_system_user?: boolean | undefined;
|
|
990
|
-
metadata?: Record<string,
|
|
990
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
991
991
|
org_name?: string | null | undefined;
|
|
992
992
|
org_role?: string | null | undefined;
|
|
993
993
|
org_slug?: string | null | undefined;
|
|
@@ -1074,7 +1074,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1074
1074
|
identity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1075
1075
|
last_applied_template_config: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1076
1076
|
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1077
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1077
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1078
1078
|
name: z.ZodOptional<z.ZodString>;
|
|
1079
1079
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1080
1080
|
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1086,14 +1086,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1086
1086
|
category_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1087
1087
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1088
1088
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
|
-
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1089
|
+
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1090
1090
|
id: z.ZodString;
|
|
1091
1091
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1092
1092
|
kind: z.ZodString;
|
|
1093
1093
|
latest_solution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1094
1094
|
latest_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1095
1095
|
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1096
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1096
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1097
1097
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1098
1098
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1099
1099
|
org_logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1135,7 +1135,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1135
1135
|
details: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1136
1136
|
automation_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
1137
|
invoke_contract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1138
|
-
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
1138
|
+
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>>;
|
|
1139
1139
|
participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1140
1140
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1141
1141
|
name: z.ZodString;
|
|
@@ -1153,19 +1153,19 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1153
1153
|
description?: string | null | undefined;
|
|
1154
1154
|
}>, "many">>>;
|
|
1155
1155
|
prefills: z.ZodObject<{
|
|
1156
|
-
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1157
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1156
|
+
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1157
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1158
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1159
|
-
participants?: Record<string,
|
|
1160
|
-
payload?: Record<string,
|
|
1159
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1160
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1161
1161
|
}, {
|
|
1162
|
-
participants?: Record<string,
|
|
1163
|
-
payload?: Record<string,
|
|
1162
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1163
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1164
1164
|
}>;
|
|
1165
1165
|
}, "strip", z.ZodTypeAny, {
|
|
1166
1166
|
prefills: {
|
|
1167
|
-
participants?: Record<string,
|
|
1168
|
-
payload?: Record<string,
|
|
1167
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1168
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1169
1169
|
};
|
|
1170
1170
|
participants?: {
|
|
1171
1171
|
name: string;
|
|
@@ -1173,11 +1173,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1173
1173
|
type: string;
|
|
1174
1174
|
description?: string | null | undefined;
|
|
1175
1175
|
}[] | null | undefined;
|
|
1176
|
-
input_schema?: Record<string,
|
|
1176
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1177
1177
|
}, {
|
|
1178
1178
|
prefills: {
|
|
1179
|
-
participants?: Record<string,
|
|
1180
|
-
payload?: Record<string,
|
|
1179
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1180
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1181
1181
|
};
|
|
1182
1182
|
participants?: {
|
|
1183
1183
|
name: string;
|
|
@@ -1185,7 +1185,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1185
1185
|
type: string;
|
|
1186
1186
|
description?: string | null | undefined;
|
|
1187
1187
|
}[] | null | undefined;
|
|
1188
|
-
input_schema?: Record<string,
|
|
1188
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1189
1189
|
}>>>;
|
|
1190
1190
|
type: z.ZodLiteral<"automation">;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1193,8 +1193,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1193
1193
|
automation_type?: string | null | undefined;
|
|
1194
1194
|
invoke_contract?: {
|
|
1195
1195
|
prefills: {
|
|
1196
|
-
participants?: Record<string,
|
|
1197
|
-
payload?: Record<string,
|
|
1196
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1197
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1198
1198
|
};
|
|
1199
1199
|
participants?: {
|
|
1200
1200
|
name: string;
|
|
@@ -1202,15 +1202,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1202
1202
|
type: string;
|
|
1203
1203
|
description?: string | null | undefined;
|
|
1204
1204
|
}[] | null | undefined;
|
|
1205
|
-
input_schema?: Record<string,
|
|
1205
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1206
1206
|
} | null | undefined;
|
|
1207
1207
|
}, {
|
|
1208
1208
|
type: "automation";
|
|
1209
1209
|
automation_type?: string | null | undefined;
|
|
1210
1210
|
invoke_contract?: {
|
|
1211
1211
|
prefills: {
|
|
1212
|
-
participants?: Record<string,
|
|
1213
|
-
payload?: Record<string,
|
|
1212
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1213
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1214
1214
|
};
|
|
1215
1215
|
participants?: {
|
|
1216
1216
|
name: string;
|
|
@@ -1218,7 +1218,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1218
1218
|
type: string;
|
|
1219
1219
|
description?: string | null | undefined;
|
|
1220
1220
|
}[] | null | undefined;
|
|
1221
|
-
input_schema?: Record<string,
|
|
1221
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1222
1222
|
} | null | undefined;
|
|
1223
1223
|
}>]>>>;
|
|
1224
1224
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1241,8 +1241,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1241
1241
|
automation_type?: string | null | undefined;
|
|
1242
1242
|
invoke_contract?: {
|
|
1243
1243
|
prefills: {
|
|
1244
|
-
participants?: Record<string,
|
|
1245
|
-
payload?: Record<string,
|
|
1244
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1245
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1246
1246
|
};
|
|
1247
1247
|
participants?: {
|
|
1248
1248
|
name: string;
|
|
@@ -1250,7 +1250,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1250
1250
|
type: string;
|
|
1251
1251
|
description?: string | null | undefined;
|
|
1252
1252
|
}[] | null | undefined;
|
|
1253
|
-
input_schema?: Record<string,
|
|
1253
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1254
1254
|
} | null | undefined;
|
|
1255
1255
|
} | null | undefined;
|
|
1256
1256
|
display_name?: string | null | undefined;
|
|
@@ -1267,8 +1267,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1267
1267
|
automation_type?: string | null | undefined;
|
|
1268
1268
|
invoke_contract?: {
|
|
1269
1269
|
prefills: {
|
|
1270
|
-
participants?: Record<string,
|
|
1271
|
-
payload?: Record<string,
|
|
1270
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1271
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1272
1272
|
};
|
|
1273
1273
|
participants?: {
|
|
1274
1274
|
name: string;
|
|
@@ -1276,7 +1276,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1276
1276
|
type: string;
|
|
1277
1277
|
description?: string | null | undefined;
|
|
1278
1278
|
}[] | null | undefined;
|
|
1279
|
-
input_schema?: Record<string,
|
|
1279
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1280
1280
|
} | null | undefined;
|
|
1281
1281
|
} | null | undefined;
|
|
1282
1282
|
display_name?: string | null | undefined;
|
|
@@ -1301,8 +1301,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1301
1301
|
automation_type?: string | null | undefined;
|
|
1302
1302
|
invoke_contract?: {
|
|
1303
1303
|
prefills: {
|
|
1304
|
-
participants?: Record<string,
|
|
1305
|
-
payload?: Record<string,
|
|
1304
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1305
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1306
1306
|
};
|
|
1307
1307
|
participants?: {
|
|
1308
1308
|
name: string;
|
|
@@ -1310,7 +1310,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1310
1310
|
type: string;
|
|
1311
1311
|
description?: string | null | undefined;
|
|
1312
1312
|
}[] | null | undefined;
|
|
1313
|
-
input_schema?: Record<string,
|
|
1313
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1314
1314
|
} | null | undefined;
|
|
1315
1315
|
} | null | undefined;
|
|
1316
1316
|
display_name?: string | null | undefined;
|
|
@@ -1323,11 +1323,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1323
1323
|
updated_at?: string | undefined;
|
|
1324
1324
|
lookup_key?: string | null | undefined;
|
|
1325
1325
|
virtual_path?: string | null | undefined;
|
|
1326
|
-
metadata?: Record<string,
|
|
1326
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1327
1327
|
org_name?: string | null | undefined;
|
|
1328
1328
|
org_slug?: string | null | undefined;
|
|
1329
1329
|
category_keys?: string[] | undefined;
|
|
1330
|
-
events?: Record<string,
|
|
1330
|
+
events?: Record<string, {} | null> | undefined;
|
|
1331
1331
|
image_url?: string | null | undefined;
|
|
1332
1332
|
latest_solution?: string | null | undefined;
|
|
1333
1333
|
latest_version?: string | null | undefined;
|
|
@@ -1363,8 +1363,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1363
1363
|
automation_type?: string | null | undefined;
|
|
1364
1364
|
invoke_contract?: {
|
|
1365
1365
|
prefills: {
|
|
1366
|
-
participants?: Record<string,
|
|
1367
|
-
payload?: Record<string,
|
|
1366
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1367
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1368
1368
|
};
|
|
1369
1369
|
participants?: {
|
|
1370
1370
|
name: string;
|
|
@@ -1372,7 +1372,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1372
1372
|
type: string;
|
|
1373
1373
|
description?: string | null | undefined;
|
|
1374
1374
|
}[] | null | undefined;
|
|
1375
|
-
input_schema?: Record<string,
|
|
1375
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1376
1376
|
} | null | undefined;
|
|
1377
1377
|
} | null | undefined;
|
|
1378
1378
|
display_name?: string | null | undefined;
|
|
@@ -1385,11 +1385,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1385
1385
|
updated_at?: string | undefined;
|
|
1386
1386
|
lookup_key?: string | null | undefined;
|
|
1387
1387
|
virtual_path?: string | null | undefined;
|
|
1388
|
-
metadata?: Record<string,
|
|
1388
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1389
1389
|
org_name?: string | null | undefined;
|
|
1390
1390
|
org_slug?: string | null | undefined;
|
|
1391
1391
|
category_keys?: string[] | undefined;
|
|
1392
|
-
events?: Record<string,
|
|
1392
|
+
events?: Record<string, {} | null> | undefined;
|
|
1393
1393
|
image_url?: string | null | undefined;
|
|
1394
1394
|
latest_solution?: string | null | undefined;
|
|
1395
1395
|
latest_version?: string | null | undefined;
|
|
@@ -1413,14 +1413,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1413
1413
|
category_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1414
1414
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1415
1415
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1416
|
-
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1416
|
+
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1417
1417
|
id: z.ZodString;
|
|
1418
1418
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1419
1419
|
kind: z.ZodString;
|
|
1420
1420
|
latest_solution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1421
1421
|
latest_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1422
1422
|
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1423
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1424
1424
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1425
1425
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1426
1426
|
org_logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1462,7 +1462,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1462
1462
|
details: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1463
1463
|
automation_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1464
1464
|
invoke_contract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1465
|
-
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.
|
|
1465
|
+
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>>;
|
|
1466
1466
|
participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1467
1467
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1468
1468
|
name: z.ZodString;
|
|
@@ -1480,19 +1480,19 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1480
1480
|
description?: string | null | undefined;
|
|
1481
1481
|
}>, "many">>>;
|
|
1482
1482
|
prefills: z.ZodObject<{
|
|
1483
|
-
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1484
|
-
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1483
|
+
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1484
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
1485
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
participants?: Record<string,
|
|
1487
|
-
payload?: Record<string,
|
|
1486
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1487
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1488
1488
|
}, {
|
|
1489
|
-
participants?: Record<string,
|
|
1490
|
-
payload?: Record<string,
|
|
1489
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1490
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1491
1491
|
}>;
|
|
1492
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1493
|
prefills: {
|
|
1494
|
-
participants?: Record<string,
|
|
1495
|
-
payload?: Record<string,
|
|
1494
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1495
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1496
1496
|
};
|
|
1497
1497
|
participants?: {
|
|
1498
1498
|
name: string;
|
|
@@ -1500,11 +1500,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1500
1500
|
type: string;
|
|
1501
1501
|
description?: string | null | undefined;
|
|
1502
1502
|
}[] | null | undefined;
|
|
1503
|
-
input_schema?: Record<string,
|
|
1503
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1504
1504
|
}, {
|
|
1505
1505
|
prefills: {
|
|
1506
|
-
participants?: Record<string,
|
|
1507
|
-
payload?: Record<string,
|
|
1506
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1507
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1508
1508
|
};
|
|
1509
1509
|
participants?: {
|
|
1510
1510
|
name: string;
|
|
@@ -1512,7 +1512,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1512
1512
|
type: string;
|
|
1513
1513
|
description?: string | null | undefined;
|
|
1514
1514
|
}[] | null | undefined;
|
|
1515
|
-
input_schema?: Record<string,
|
|
1515
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1516
1516
|
}>>>;
|
|
1517
1517
|
type: z.ZodLiteral<"automation">;
|
|
1518
1518
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1520,8 +1520,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1520
1520
|
automation_type?: string | null | undefined;
|
|
1521
1521
|
invoke_contract?: {
|
|
1522
1522
|
prefills: {
|
|
1523
|
-
participants?: Record<string,
|
|
1524
|
-
payload?: Record<string,
|
|
1523
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1524
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1525
1525
|
};
|
|
1526
1526
|
participants?: {
|
|
1527
1527
|
name: string;
|
|
@@ -1529,15 +1529,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1529
1529
|
type: string;
|
|
1530
1530
|
description?: string | null | undefined;
|
|
1531
1531
|
}[] | null | undefined;
|
|
1532
|
-
input_schema?: Record<string,
|
|
1532
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1533
1533
|
} | null | undefined;
|
|
1534
1534
|
}, {
|
|
1535
1535
|
type: "automation";
|
|
1536
1536
|
automation_type?: string | null | undefined;
|
|
1537
1537
|
invoke_contract?: {
|
|
1538
1538
|
prefills: {
|
|
1539
|
-
participants?: Record<string,
|
|
1540
|
-
payload?: Record<string,
|
|
1539
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1540
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1541
1541
|
};
|
|
1542
1542
|
participants?: {
|
|
1543
1543
|
name: string;
|
|
@@ -1545,7 +1545,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1545
1545
|
type: string;
|
|
1546
1546
|
description?: string | null | undefined;
|
|
1547
1547
|
}[] | null | undefined;
|
|
1548
|
-
input_schema?: Record<string,
|
|
1548
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1549
1549
|
} | null | undefined;
|
|
1550
1550
|
}>]>>>;
|
|
1551
1551
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1568,8 +1568,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1568
1568
|
automation_type?: string | null | undefined;
|
|
1569
1569
|
invoke_contract?: {
|
|
1570
1570
|
prefills: {
|
|
1571
|
-
participants?: Record<string,
|
|
1572
|
-
payload?: Record<string,
|
|
1571
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1572
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1573
1573
|
};
|
|
1574
1574
|
participants?: {
|
|
1575
1575
|
name: string;
|
|
@@ -1577,7 +1577,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1577
1577
|
type: string;
|
|
1578
1578
|
description?: string | null | undefined;
|
|
1579
1579
|
}[] | null | undefined;
|
|
1580
|
-
input_schema?: Record<string,
|
|
1580
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1581
1581
|
} | null | undefined;
|
|
1582
1582
|
} | null | undefined;
|
|
1583
1583
|
display_name?: string | null | undefined;
|
|
@@ -1594,8 +1594,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1594
1594
|
automation_type?: string | null | undefined;
|
|
1595
1595
|
invoke_contract?: {
|
|
1596
1596
|
prefills: {
|
|
1597
|
-
participants?: Record<string,
|
|
1598
|
-
payload?: Record<string,
|
|
1597
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1598
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1599
1599
|
};
|
|
1600
1600
|
participants?: {
|
|
1601
1601
|
name: string;
|
|
@@ -1603,7 +1603,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1603
1603
|
type: string;
|
|
1604
1604
|
description?: string | null | undefined;
|
|
1605
1605
|
}[] | null | undefined;
|
|
1606
|
-
input_schema?: Record<string,
|
|
1606
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1607
1607
|
} | null | undefined;
|
|
1608
1608
|
} | null | undefined;
|
|
1609
1609
|
display_name?: string | null | undefined;
|
|
@@ -1628,8 +1628,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1628
1628
|
automation_type?: string | null | undefined;
|
|
1629
1629
|
invoke_contract?: {
|
|
1630
1630
|
prefills: {
|
|
1631
|
-
participants?: Record<string,
|
|
1632
|
-
payload?: Record<string,
|
|
1631
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1632
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1633
1633
|
};
|
|
1634
1634
|
participants?: {
|
|
1635
1635
|
name: string;
|
|
@@ -1637,7 +1637,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1637
1637
|
type: string;
|
|
1638
1638
|
description?: string | null | undefined;
|
|
1639
1639
|
}[] | null | undefined;
|
|
1640
|
-
input_schema?: Record<string,
|
|
1640
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1641
1641
|
} | null | undefined;
|
|
1642
1642
|
} | null | undefined;
|
|
1643
1643
|
display_name?: string | null | undefined;
|
|
@@ -1650,11 +1650,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1650
1650
|
updated_at?: string | undefined;
|
|
1651
1651
|
lookup_key?: string | null | undefined;
|
|
1652
1652
|
virtual_path?: string | null | undefined;
|
|
1653
|
-
metadata?: Record<string,
|
|
1653
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1654
1654
|
org_name?: string | null | undefined;
|
|
1655
1655
|
org_slug?: string | null | undefined;
|
|
1656
1656
|
category_keys?: string[] | undefined;
|
|
1657
|
-
events?: Record<string,
|
|
1657
|
+
events?: Record<string, {} | null> | undefined;
|
|
1658
1658
|
image_url?: string | null | undefined;
|
|
1659
1659
|
latest_solution?: string | null | undefined;
|
|
1660
1660
|
latest_version?: string | null | undefined;
|
|
@@ -1690,8 +1690,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1690
1690
|
automation_type?: string | null | undefined;
|
|
1691
1691
|
invoke_contract?: {
|
|
1692
1692
|
prefills: {
|
|
1693
|
-
participants?: Record<string,
|
|
1694
|
-
payload?: Record<string,
|
|
1693
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1694
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1695
1695
|
};
|
|
1696
1696
|
participants?: {
|
|
1697
1697
|
name: string;
|
|
@@ -1699,7 +1699,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1699
1699
|
type: string;
|
|
1700
1700
|
description?: string | null | undefined;
|
|
1701
1701
|
}[] | null | undefined;
|
|
1702
|
-
input_schema?: Record<string,
|
|
1702
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1703
1703
|
} | null | undefined;
|
|
1704
1704
|
} | null | undefined;
|
|
1705
1705
|
display_name?: string | null | undefined;
|
|
@@ -1712,11 +1712,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1712
1712
|
updated_at?: string | undefined;
|
|
1713
1713
|
lookup_key?: string | null | undefined;
|
|
1714
1714
|
virtual_path?: string | null | undefined;
|
|
1715
|
-
metadata?: Record<string,
|
|
1715
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1716
1716
|
org_name?: string | null | undefined;
|
|
1717
1717
|
org_slug?: string | null | undefined;
|
|
1718
1718
|
category_keys?: string[] | undefined;
|
|
1719
|
-
events?: Record<string,
|
|
1719
|
+
events?: Record<string, {} | null> | undefined;
|
|
1720
1720
|
image_url?: string | null | undefined;
|
|
1721
1721
|
latest_solution?: string | null | undefined;
|
|
1722
1722
|
latest_version?: string | null | undefined;
|
|
@@ -1785,8 +1785,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1785
1785
|
automation_type?: string | null | undefined;
|
|
1786
1786
|
invoke_contract?: {
|
|
1787
1787
|
prefills: {
|
|
1788
|
-
participants?: Record<string,
|
|
1789
|
-
payload?: Record<string,
|
|
1788
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1789
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1790
1790
|
};
|
|
1791
1791
|
participants?: {
|
|
1792
1792
|
name: string;
|
|
@@ -1794,7 +1794,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1794
1794
|
type: string;
|
|
1795
1795
|
description?: string | null | undefined;
|
|
1796
1796
|
}[] | null | undefined;
|
|
1797
|
-
input_schema?: Record<string,
|
|
1797
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1798
1798
|
} | null | undefined;
|
|
1799
1799
|
} | null | undefined;
|
|
1800
1800
|
display_name?: string | null | undefined;
|
|
@@ -1807,11 +1807,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1807
1807
|
updated_at?: string | undefined;
|
|
1808
1808
|
lookup_key?: string | null | undefined;
|
|
1809
1809
|
virtual_path?: string | null | undefined;
|
|
1810
|
-
metadata?: Record<string,
|
|
1810
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1811
1811
|
org_name?: string | null | undefined;
|
|
1812
1812
|
org_slug?: string | null | undefined;
|
|
1813
1813
|
category_keys?: string[] | undefined;
|
|
1814
|
-
events?: Record<string,
|
|
1814
|
+
events?: Record<string, {} | null> | undefined;
|
|
1815
1815
|
image_url?: string | null | undefined;
|
|
1816
1816
|
latest_solution?: string | null | undefined;
|
|
1817
1817
|
latest_version?: string | null | undefined;
|
|
@@ -1859,8 +1859,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1859
1859
|
automation_type?: string | null | undefined;
|
|
1860
1860
|
invoke_contract?: {
|
|
1861
1861
|
prefills: {
|
|
1862
|
-
participants?: Record<string,
|
|
1863
|
-
payload?: Record<string,
|
|
1862
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1863
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1864
1864
|
};
|
|
1865
1865
|
participants?: {
|
|
1866
1866
|
name: string;
|
|
@@ -1868,7 +1868,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1868
1868
|
type: string;
|
|
1869
1869
|
description?: string | null | undefined;
|
|
1870
1870
|
}[] | null | undefined;
|
|
1871
|
-
input_schema?: Record<string,
|
|
1871
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1872
1872
|
} | null | undefined;
|
|
1873
1873
|
} | null | undefined;
|
|
1874
1874
|
display_name?: string | null | undefined;
|
|
@@ -1881,11 +1881,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1881
1881
|
updated_at?: string | undefined;
|
|
1882
1882
|
lookup_key?: string | null | undefined;
|
|
1883
1883
|
virtual_path?: string | null | undefined;
|
|
1884
|
-
metadata?: Record<string,
|
|
1884
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1885
1885
|
org_name?: string | null | undefined;
|
|
1886
1886
|
org_slug?: string | null | undefined;
|
|
1887
1887
|
category_keys?: string[] | undefined;
|
|
1888
|
-
events?: Record<string,
|
|
1888
|
+
events?: Record<string, {} | null> | undefined;
|
|
1889
1889
|
image_url?: string | null | undefined;
|
|
1890
1890
|
latest_solution?: string | null | undefined;
|
|
1891
1891
|
latest_version?: string | null | undefined;
|
|
@@ -1923,8 +1923,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1923
1923
|
automation_type?: string | null | undefined;
|
|
1924
1924
|
invoke_contract?: {
|
|
1925
1925
|
prefills: {
|
|
1926
|
-
participants?: Record<string,
|
|
1927
|
-
payload?: Record<string,
|
|
1926
|
+
participants?: Record<string, {} | null> | undefined;
|
|
1927
|
+
payload?: Record<string, {} | null> | undefined;
|
|
1928
1928
|
};
|
|
1929
1929
|
participants?: {
|
|
1930
1930
|
name: string;
|
|
@@ -1932,7 +1932,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1932
1932
|
type: string;
|
|
1933
1933
|
description?: string | null | undefined;
|
|
1934
1934
|
}[] | null | undefined;
|
|
1935
|
-
input_schema?: Record<string,
|
|
1935
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
1936
1936
|
} | null | undefined;
|
|
1937
1937
|
} | null | undefined;
|
|
1938
1938
|
display_name?: string | null | undefined;
|
|
@@ -1945,11 +1945,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1945
1945
|
updated_at?: string | undefined;
|
|
1946
1946
|
lookup_key?: string | null | undefined;
|
|
1947
1947
|
virtual_path?: string | null | undefined;
|
|
1948
|
-
metadata?: Record<string,
|
|
1948
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
1949
1949
|
org_name?: string | null | undefined;
|
|
1950
1950
|
org_slug?: string | null | undefined;
|
|
1951
1951
|
category_keys?: string[] | undefined;
|
|
1952
|
-
events?: Record<string,
|
|
1952
|
+
events?: Record<string, {} | null> | undefined;
|
|
1953
1953
|
image_url?: string | null | undefined;
|
|
1954
1954
|
latest_solution?: string | null | undefined;
|
|
1955
1955
|
latest_version?: string | null | undefined;
|
|
@@ -1997,8 +1997,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1997
1997
|
automation_type?: string | null | undefined;
|
|
1998
1998
|
invoke_contract?: {
|
|
1999
1999
|
prefills: {
|
|
2000
|
-
participants?: Record<string,
|
|
2001
|
-
payload?: Record<string,
|
|
2000
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2001
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2002
2002
|
};
|
|
2003
2003
|
participants?: {
|
|
2004
2004
|
name: string;
|
|
@@ -2006,7 +2006,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2006
2006
|
type: string;
|
|
2007
2007
|
description?: string | null | undefined;
|
|
2008
2008
|
}[] | null | undefined;
|
|
2009
|
-
input_schema?: Record<string,
|
|
2009
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2010
2010
|
} | null | undefined;
|
|
2011
2011
|
} | null | undefined;
|
|
2012
2012
|
display_name?: string | null | undefined;
|
|
@@ -2019,11 +2019,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2019
2019
|
updated_at?: string | undefined;
|
|
2020
2020
|
lookup_key?: string | null | undefined;
|
|
2021
2021
|
virtual_path?: string | null | undefined;
|
|
2022
|
-
metadata?: Record<string,
|
|
2022
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2023
2023
|
org_name?: string | null | undefined;
|
|
2024
2024
|
org_slug?: string | null | undefined;
|
|
2025
2025
|
category_keys?: string[] | undefined;
|
|
2026
|
-
events?: Record<string,
|
|
2026
|
+
events?: Record<string, {} | null> | undefined;
|
|
2027
2027
|
image_url?: string | null | undefined;
|
|
2028
2028
|
latest_solution?: string | null | undefined;
|
|
2029
2029
|
latest_version?: string | null | undefined;
|
|
@@ -2061,7 +2061,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2061
2061
|
user?: string | null | undefined;
|
|
2062
2062
|
sandbox?: string | null | undefined;
|
|
2063
2063
|
lookup_key?: string | null | undefined;
|
|
2064
|
-
metadata?: Record<string,
|
|
2064
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2065
2065
|
org_name?: string | null | undefined;
|
|
2066
2066
|
acl?: {
|
|
2067
2067
|
add?: {
|
|
@@ -2102,8 +2102,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2102
2102
|
automation_type?: string | null | undefined;
|
|
2103
2103
|
invoke_contract?: {
|
|
2104
2104
|
prefills: {
|
|
2105
|
-
participants?: Record<string,
|
|
2106
|
-
payload?: Record<string,
|
|
2105
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2106
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2107
2107
|
};
|
|
2108
2108
|
participants?: {
|
|
2109
2109
|
name: string;
|
|
@@ -2111,7 +2111,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2111
2111
|
type: string;
|
|
2112
2112
|
description?: string | null | undefined;
|
|
2113
2113
|
}[] | null | undefined;
|
|
2114
|
-
input_schema?: Record<string,
|
|
2114
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2115
2115
|
} | null | undefined;
|
|
2116
2116
|
} | null | undefined;
|
|
2117
2117
|
display_name?: string | null | undefined;
|
|
@@ -2124,11 +2124,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2124
2124
|
updated_at?: string | undefined;
|
|
2125
2125
|
lookup_key?: string | null | undefined;
|
|
2126
2126
|
virtual_path?: string | null | undefined;
|
|
2127
|
-
metadata?: Record<string,
|
|
2127
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2128
2128
|
org_name?: string | null | undefined;
|
|
2129
2129
|
org_slug?: string | null | undefined;
|
|
2130
2130
|
category_keys?: string[] | undefined;
|
|
2131
|
-
events?: Record<string,
|
|
2131
|
+
events?: Record<string, {} | null> | undefined;
|
|
2132
2132
|
image_url?: string | null | undefined;
|
|
2133
2133
|
latest_solution?: string | null | undefined;
|
|
2134
2134
|
latest_version?: string | null | undefined;
|
|
@@ -2176,8 +2176,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2176
2176
|
automation_type?: string | null | undefined;
|
|
2177
2177
|
invoke_contract?: {
|
|
2178
2178
|
prefills: {
|
|
2179
|
-
participants?: Record<string,
|
|
2180
|
-
payload?: Record<string,
|
|
2179
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2180
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2181
2181
|
};
|
|
2182
2182
|
participants?: {
|
|
2183
2183
|
name: string;
|
|
@@ -2185,7 +2185,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2185
2185
|
type: string;
|
|
2186
2186
|
description?: string | null | undefined;
|
|
2187
2187
|
}[] | null | undefined;
|
|
2188
|
-
input_schema?: Record<string,
|
|
2188
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2189
2189
|
} | null | undefined;
|
|
2190
2190
|
} | null | undefined;
|
|
2191
2191
|
display_name?: string | null | undefined;
|
|
@@ -2198,11 +2198,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2198
2198
|
updated_at?: string | undefined;
|
|
2199
2199
|
lookup_key?: string | null | undefined;
|
|
2200
2200
|
virtual_path?: string | null | undefined;
|
|
2201
|
-
metadata?: Record<string,
|
|
2201
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2202
2202
|
org_name?: string | null | undefined;
|
|
2203
2203
|
org_slug?: string | null | undefined;
|
|
2204
2204
|
category_keys?: string[] | undefined;
|
|
2205
|
-
events?: Record<string,
|
|
2205
|
+
events?: Record<string, {} | null> | undefined;
|
|
2206
2206
|
image_url?: string | null | undefined;
|
|
2207
2207
|
latest_solution?: string | null | undefined;
|
|
2208
2208
|
latest_version?: string | null | undefined;
|
|
@@ -2237,7 +2237,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2237
2237
|
user?: string | null | undefined;
|
|
2238
2238
|
sandbox?: string | null | undefined;
|
|
2239
2239
|
lookup_key?: string | null | undefined;
|
|
2240
|
-
metadata?: Record<string,
|
|
2240
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2241
2241
|
org_name?: string | null | undefined;
|
|
2242
2242
|
acl?: {
|
|
2243
2243
|
add?: {
|
|
@@ -2278,8 +2278,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2278
2278
|
automation_type?: string | null | undefined;
|
|
2279
2279
|
invoke_contract?: {
|
|
2280
2280
|
prefills: {
|
|
2281
|
-
participants?: Record<string,
|
|
2282
|
-
payload?: Record<string,
|
|
2281
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2282
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2283
2283
|
};
|
|
2284
2284
|
participants?: {
|
|
2285
2285
|
name: string;
|
|
@@ -2287,7 +2287,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2287
2287
|
type: string;
|
|
2288
2288
|
description?: string | null | undefined;
|
|
2289
2289
|
}[] | null | undefined;
|
|
2290
|
-
input_schema?: Record<string,
|
|
2290
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2291
2291
|
} | null | undefined;
|
|
2292
2292
|
} | null | undefined;
|
|
2293
2293
|
display_name?: string | null | undefined;
|
|
@@ -2300,11 +2300,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2300
2300
|
updated_at?: string | undefined;
|
|
2301
2301
|
lookup_key?: string | null | undefined;
|
|
2302
2302
|
virtual_path?: string | null | undefined;
|
|
2303
|
-
metadata?: Record<string,
|
|
2303
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2304
2304
|
org_name?: string | null | undefined;
|
|
2305
2305
|
org_slug?: string | null | undefined;
|
|
2306
2306
|
category_keys?: string[] | undefined;
|
|
2307
|
-
events?: Record<string,
|
|
2307
|
+
events?: Record<string, {} | null> | undefined;
|
|
2308
2308
|
image_url?: string | null | undefined;
|
|
2309
2309
|
latest_solution?: string | null | undefined;
|
|
2310
2310
|
latest_version?: string | null | undefined;
|
|
@@ -2352,8 +2352,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2352
2352
|
automation_type?: string | null | undefined;
|
|
2353
2353
|
invoke_contract?: {
|
|
2354
2354
|
prefills: {
|
|
2355
|
-
participants?: Record<string,
|
|
2356
|
-
payload?: Record<string,
|
|
2355
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2356
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2357
2357
|
};
|
|
2358
2358
|
participants?: {
|
|
2359
2359
|
name: string;
|
|
@@ -2361,7 +2361,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2361
2361
|
type: string;
|
|
2362
2362
|
description?: string | null | undefined;
|
|
2363
2363
|
}[] | null | undefined;
|
|
2364
|
-
input_schema?: Record<string,
|
|
2364
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2365
2365
|
} | null | undefined;
|
|
2366
2366
|
} | null | undefined;
|
|
2367
2367
|
display_name?: string | null | undefined;
|
|
@@ -2374,11 +2374,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2374
2374
|
updated_at?: string | undefined;
|
|
2375
2375
|
lookup_key?: string | null | undefined;
|
|
2376
2376
|
virtual_path?: string | null | undefined;
|
|
2377
|
-
metadata?: Record<string,
|
|
2377
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2378
2378
|
org_name?: string | null | undefined;
|
|
2379
2379
|
org_slug?: string | null | undefined;
|
|
2380
2380
|
category_keys?: string[] | undefined;
|
|
2381
|
-
events?: Record<string,
|
|
2381
|
+
events?: Record<string, {} | null> | undefined;
|
|
2382
2382
|
image_url?: string | null | undefined;
|
|
2383
2383
|
latest_solution?: string | null | undefined;
|
|
2384
2384
|
latest_version?: string | null | undefined;
|
|
@@ -2417,7 +2417,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2417
2417
|
/** URL-safe slug for the thread, used in human-readable permalinks. `null` if not assigned. */
|
|
2418
2418
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2419
2419
|
/** Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested. */
|
|
2420
|
-
sub_threads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.
|
|
2420
|
+
sub_threads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>, "many">>>;
|
|
2421
2421
|
/** Status tags on the thread (e.g. `"blocked"`, `"needs-review"`). Edited by any thread participant via the `/threads/:thread/tags` endpoints and filterable on the thread list endpoints. Empty array if none set. */
|
|
2422
2422
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2423
2423
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
@@ -2457,7 +2457,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2457
2457
|
created_by_team?: string | null | undefined;
|
|
2458
2458
|
created_by_user?: string | null | undefined;
|
|
2459
2459
|
is_system_user?: boolean | undefined;
|
|
2460
|
-
metadata?: Record<string,
|
|
2460
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2461
2461
|
org_name?: string | null | undefined;
|
|
2462
2462
|
org_role?: string | null | undefined;
|
|
2463
2463
|
org_slug?: string | null | undefined;
|
|
@@ -2467,7 +2467,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2467
2467
|
updated_at?: string | undefined;
|
|
2468
2468
|
user?: string | null | undefined;
|
|
2469
2469
|
sandbox?: string | null | undefined;
|
|
2470
|
-
metadata?: Record<string,
|
|
2470
|
+
metadata?: Record<string, {} | null> | null | undefined;
|
|
2471
2471
|
title?: string | null | undefined;
|
|
2472
2472
|
slug?: string | null | undefined;
|
|
2473
2473
|
muted?: boolean | undefined;
|
|
@@ -2488,7 +2488,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2488
2488
|
created_by_team?: string | null | undefined;
|
|
2489
2489
|
created_by_user?: string | null | undefined;
|
|
2490
2490
|
is_system_user?: boolean | undefined;
|
|
2491
|
-
metadata?: Record<string,
|
|
2491
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2492
2492
|
org_name?: string | null | undefined;
|
|
2493
2493
|
org_role?: string | null | undefined;
|
|
2494
2494
|
org_slug?: string | null | undefined;
|
|
@@ -2525,14 +2525,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2525
2525
|
created_by_team?: string | null | undefined;
|
|
2526
2526
|
created_by_user?: string | null | undefined;
|
|
2527
2527
|
is_system_user?: boolean | undefined;
|
|
2528
|
-
metadata?: Record<string,
|
|
2528
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2529
2529
|
org_name?: string | null | undefined;
|
|
2530
2530
|
org_role?: string | null | undefined;
|
|
2531
2531
|
org_slug?: string | null | undefined;
|
|
2532
2532
|
sandbox_name?: string | null | undefined;
|
|
2533
2533
|
} | null | undefined;
|
|
2534
2534
|
sandbox?: string | null | undefined;
|
|
2535
|
-
metadata?: Record<string,
|
|
2535
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2536
2536
|
acl?: {
|
|
2537
2537
|
add?: {
|
|
2538
2538
|
actions: string[];
|
|
@@ -2552,7 +2552,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2552
2552
|
attachments?: {
|
|
2553
2553
|
type: string;
|
|
2554
2554
|
id: string;
|
|
2555
|
-
object?: Record<string,
|
|
2555
|
+
object?: Record<string, {} | null> | undefined;
|
|
2556
2556
|
description?: string | null | undefined;
|
|
2557
2557
|
name?: string | null | undefined;
|
|
2558
2558
|
height?: number | null | undefined;
|
|
@@ -2602,7 +2602,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2602
2602
|
type: string;
|
|
2603
2603
|
content?: string | null | undefined;
|
|
2604
2604
|
title?: string | null | undefined;
|
|
2605
|
-
attributes?: Record<string,
|
|
2605
|
+
attributes?: Record<string, {} | null> | undefined;
|
|
2606
2606
|
}[] | undefined;
|
|
2607
2607
|
actors?: {
|
|
2608
2608
|
alias?: string | null | undefined;
|
|
@@ -2626,15 +2626,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2626
2626
|
legacy_agent?: string | null | undefined;
|
|
2627
2627
|
reactions?: {
|
|
2628
2628
|
type: string;
|
|
2629
|
-
payload?: Record<string,
|
|
2629
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2630
2630
|
user?: string | undefined;
|
|
2631
2631
|
}[] | undefined;
|
|
2632
2632
|
rendering_mode?: string | null | undefined;
|
|
2633
|
-
replies?: Record<string,
|
|
2633
|
+
replies?: Record<string, {} | null>[] | undefined;
|
|
2634
2634
|
replies_after_cursor?: string | null | undefined;
|
|
2635
2635
|
replies_before_cursor?: string | null | undefined;
|
|
2636
2636
|
reply_count?: number | undefined;
|
|
2637
|
-
reply_to?: Record<string,
|
|
2637
|
+
reply_to?: Record<string, {} | null> | null | undefined;
|
|
2638
2638
|
root_message_id?: string | null | undefined;
|
|
2639
2639
|
} | null | undefined;
|
|
2640
2640
|
participant?: string[] | undefined;
|
|
@@ -2652,7 +2652,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2652
2652
|
user?: string | null | undefined;
|
|
2653
2653
|
sandbox?: string | null | undefined;
|
|
2654
2654
|
lookup_key?: string | null | undefined;
|
|
2655
|
-
metadata?: Record<string,
|
|
2655
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2656
2656
|
org_name?: string | null | undefined;
|
|
2657
2657
|
acl?: {
|
|
2658
2658
|
add?: {
|
|
@@ -2693,8 +2693,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2693
2693
|
automation_type?: string | null | undefined;
|
|
2694
2694
|
invoke_contract?: {
|
|
2695
2695
|
prefills: {
|
|
2696
|
-
participants?: Record<string,
|
|
2697
|
-
payload?: Record<string,
|
|
2696
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2697
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2698
2698
|
};
|
|
2699
2699
|
participants?: {
|
|
2700
2700
|
name: string;
|
|
@@ -2702,7 +2702,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2702
2702
|
type: string;
|
|
2703
2703
|
description?: string | null | undefined;
|
|
2704
2704
|
}[] | null | undefined;
|
|
2705
|
-
input_schema?: Record<string,
|
|
2705
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2706
2706
|
} | null | undefined;
|
|
2707
2707
|
} | null | undefined;
|
|
2708
2708
|
display_name?: string | null | undefined;
|
|
@@ -2715,11 +2715,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2715
2715
|
updated_at?: string | undefined;
|
|
2716
2716
|
lookup_key?: string | null | undefined;
|
|
2717
2717
|
virtual_path?: string | null | undefined;
|
|
2718
|
-
metadata?: Record<string,
|
|
2718
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2719
2719
|
org_name?: string | null | undefined;
|
|
2720
2720
|
org_slug?: string | null | undefined;
|
|
2721
2721
|
category_keys?: string[] | undefined;
|
|
2722
|
-
events?: Record<string,
|
|
2722
|
+
events?: Record<string, {} | null> | undefined;
|
|
2723
2723
|
image_url?: string | null | undefined;
|
|
2724
2724
|
latest_solution?: string | null | undefined;
|
|
2725
2725
|
latest_version?: string | null | undefined;
|
|
@@ -2767,8 +2767,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2767
2767
|
automation_type?: string | null | undefined;
|
|
2768
2768
|
invoke_contract?: {
|
|
2769
2769
|
prefills: {
|
|
2770
|
-
participants?: Record<string,
|
|
2771
|
-
payload?: Record<string,
|
|
2770
|
+
participants?: Record<string, {} | null> | undefined;
|
|
2771
|
+
payload?: Record<string, {} | null> | undefined;
|
|
2772
2772
|
};
|
|
2773
2773
|
participants?: {
|
|
2774
2774
|
name: string;
|
|
@@ -2776,7 +2776,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2776
2776
|
type: string;
|
|
2777
2777
|
description?: string | null | undefined;
|
|
2778
2778
|
}[] | null | undefined;
|
|
2779
|
-
input_schema?: Record<string,
|
|
2779
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
2780
2780
|
} | null | undefined;
|
|
2781
2781
|
} | null | undefined;
|
|
2782
2782
|
display_name?: string | null | undefined;
|
|
@@ -2789,11 +2789,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2789
2789
|
updated_at?: string | undefined;
|
|
2790
2790
|
lookup_key?: string | null | undefined;
|
|
2791
2791
|
virtual_path?: string | null | undefined;
|
|
2792
|
-
metadata?: Record<string,
|
|
2792
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2793
2793
|
org_name?: string | null | undefined;
|
|
2794
2794
|
org_slug?: string | null | undefined;
|
|
2795
2795
|
category_keys?: string[] | undefined;
|
|
2796
|
-
events?: Record<string,
|
|
2796
|
+
events?: Record<string, {} | null> | undefined;
|
|
2797
2797
|
image_url?: string | null | undefined;
|
|
2798
2798
|
latest_solution?: string | null | undefined;
|
|
2799
2799
|
latest_version?: string | null | undefined;
|
|
@@ -2819,7 +2819,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2819
2819
|
settings?: {
|
|
2820
2820
|
agent_enabled?: boolean | null | undefined;
|
|
2821
2821
|
} | undefined;
|
|
2822
|
-
sub_threads?: Record<string,
|
|
2822
|
+
sub_threads?: Record<string, {} | null>[] | null | undefined;
|
|
2823
2823
|
tags?: string[] | undefined;
|
|
2824
2824
|
ttl?: string | null | undefined;
|
|
2825
2825
|
unread_count?: number | null | undefined;
|
|
@@ -2846,7 +2846,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2846
2846
|
created_by_team?: string | null | undefined;
|
|
2847
2847
|
created_by_user?: string | null | undefined;
|
|
2848
2848
|
is_system_user?: boolean | undefined;
|
|
2849
|
-
metadata?: Record<string,
|
|
2849
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2850
2850
|
org_name?: string | null | undefined;
|
|
2851
2851
|
org_role?: string | null | undefined;
|
|
2852
2852
|
org_slug?: string | null | undefined;
|
|
@@ -2856,7 +2856,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2856
2856
|
updated_at?: string | undefined;
|
|
2857
2857
|
user?: string | null | undefined;
|
|
2858
2858
|
sandbox?: string | null | undefined;
|
|
2859
|
-
metadata?: Record<string,
|
|
2859
|
+
metadata?: Record<string, {} | null> | null | undefined;
|
|
2860
2860
|
title?: string | null | undefined;
|
|
2861
2861
|
slug?: string | null | undefined;
|
|
2862
2862
|
muted?: boolean | undefined;
|
|
@@ -2877,7 +2877,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2877
2877
|
created_by_team?: string | null | undefined;
|
|
2878
2878
|
created_by_user?: string | null | undefined;
|
|
2879
2879
|
is_system_user?: boolean | undefined;
|
|
2880
|
-
metadata?: Record<string,
|
|
2880
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2881
2881
|
org_name?: string | null | undefined;
|
|
2882
2882
|
org_role?: string | null | undefined;
|
|
2883
2883
|
org_slug?: string | null | undefined;
|
|
@@ -2914,14 +2914,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2914
2914
|
created_by_team?: string | null | undefined;
|
|
2915
2915
|
created_by_user?: string | null | undefined;
|
|
2916
2916
|
is_system_user?: boolean | undefined;
|
|
2917
|
-
metadata?: Record<string,
|
|
2917
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2918
2918
|
org_name?: string | null | undefined;
|
|
2919
2919
|
org_role?: string | null | undefined;
|
|
2920
2920
|
org_slug?: string | null | undefined;
|
|
2921
2921
|
sandbox_name?: string | null | undefined;
|
|
2922
2922
|
} | null | undefined;
|
|
2923
2923
|
sandbox?: string | null | undefined;
|
|
2924
|
-
metadata?: Record<string,
|
|
2924
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
2925
2925
|
acl?: {
|
|
2926
2926
|
add?: {
|
|
2927
2927
|
actions: string[];
|
|
@@ -2941,7 +2941,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2941
2941
|
attachments?: {
|
|
2942
2942
|
type: string;
|
|
2943
2943
|
id: string;
|
|
2944
|
-
object?: Record<string,
|
|
2944
|
+
object?: Record<string, {} | null> | undefined;
|
|
2945
2945
|
description?: string | null | undefined;
|
|
2946
2946
|
name?: string | null | undefined;
|
|
2947
2947
|
height?: number | null | undefined;
|
|
@@ -2991,7 +2991,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2991
2991
|
type: string;
|
|
2992
2992
|
content?: string | null | undefined;
|
|
2993
2993
|
title?: string | null | undefined;
|
|
2994
|
-
attributes?: Record<string,
|
|
2994
|
+
attributes?: Record<string, {} | null> | undefined;
|
|
2995
2995
|
}[] | undefined;
|
|
2996
2996
|
actors?: {
|
|
2997
2997
|
alias?: string | null | undefined;
|
|
@@ -3015,15 +3015,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3015
3015
|
legacy_agent?: string | null | undefined;
|
|
3016
3016
|
reactions?: {
|
|
3017
3017
|
type: string;
|
|
3018
|
-
payload?: Record<string,
|
|
3018
|
+
payload?: Record<string, {} | null> | undefined;
|
|
3019
3019
|
user?: string | undefined;
|
|
3020
3020
|
}[] | undefined;
|
|
3021
3021
|
rendering_mode?: string | null | undefined;
|
|
3022
|
-
replies?: Record<string,
|
|
3022
|
+
replies?: Record<string, {} | null>[] | undefined;
|
|
3023
3023
|
replies_after_cursor?: string | null | undefined;
|
|
3024
3024
|
replies_before_cursor?: string | null | undefined;
|
|
3025
3025
|
reply_count?: number | undefined;
|
|
3026
|
-
reply_to?: Record<string,
|
|
3026
|
+
reply_to?: Record<string, {} | null> | null | undefined;
|
|
3027
3027
|
root_message_id?: string | null | undefined;
|
|
3028
3028
|
} | null | undefined;
|
|
3029
3029
|
participant?: string[] | undefined;
|
|
@@ -3041,7 +3041,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3041
3041
|
user?: string | null | undefined;
|
|
3042
3042
|
sandbox?: string | null | undefined;
|
|
3043
3043
|
lookup_key?: string | null | undefined;
|
|
3044
|
-
metadata?: Record<string,
|
|
3044
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
3045
3045
|
org_name?: string | null | undefined;
|
|
3046
3046
|
acl?: {
|
|
3047
3047
|
add?: {
|
|
@@ -3082,8 +3082,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3082
3082
|
automation_type?: string | null | undefined;
|
|
3083
3083
|
invoke_contract?: {
|
|
3084
3084
|
prefills: {
|
|
3085
|
-
participants?: Record<string,
|
|
3086
|
-
payload?: Record<string,
|
|
3085
|
+
participants?: Record<string, {} | null> | undefined;
|
|
3086
|
+
payload?: Record<string, {} | null> | undefined;
|
|
3087
3087
|
};
|
|
3088
3088
|
participants?: {
|
|
3089
3089
|
name: string;
|
|
@@ -3091,7 +3091,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3091
3091
|
type: string;
|
|
3092
3092
|
description?: string | null | undefined;
|
|
3093
3093
|
}[] | null | undefined;
|
|
3094
|
-
input_schema?: Record<string,
|
|
3094
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
3095
3095
|
} | null | undefined;
|
|
3096
3096
|
} | null | undefined;
|
|
3097
3097
|
display_name?: string | null | undefined;
|
|
@@ -3104,11 +3104,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3104
3104
|
updated_at?: string | undefined;
|
|
3105
3105
|
lookup_key?: string | null | undefined;
|
|
3106
3106
|
virtual_path?: string | null | undefined;
|
|
3107
|
-
metadata?: Record<string,
|
|
3107
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
3108
3108
|
org_name?: string | null | undefined;
|
|
3109
3109
|
org_slug?: string | null | undefined;
|
|
3110
3110
|
category_keys?: string[] | undefined;
|
|
3111
|
-
events?: Record<string,
|
|
3111
|
+
events?: Record<string, {} | null> | undefined;
|
|
3112
3112
|
image_url?: string | null | undefined;
|
|
3113
3113
|
latest_solution?: string | null | undefined;
|
|
3114
3114
|
latest_version?: string | null | undefined;
|
|
@@ -3156,8 +3156,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3156
3156
|
automation_type?: string | null | undefined;
|
|
3157
3157
|
invoke_contract?: {
|
|
3158
3158
|
prefills: {
|
|
3159
|
-
participants?: Record<string,
|
|
3160
|
-
payload?: Record<string,
|
|
3159
|
+
participants?: Record<string, {} | null> | undefined;
|
|
3160
|
+
payload?: Record<string, {} | null> | undefined;
|
|
3161
3161
|
};
|
|
3162
3162
|
participants?: {
|
|
3163
3163
|
name: string;
|
|
@@ -3165,7 +3165,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3165
3165
|
type: string;
|
|
3166
3166
|
description?: string | null | undefined;
|
|
3167
3167
|
}[] | null | undefined;
|
|
3168
|
-
input_schema?: Record<string,
|
|
3168
|
+
input_schema?: Record<string, {} | null> | null | undefined;
|
|
3169
3169
|
} | null | undefined;
|
|
3170
3170
|
} | null | undefined;
|
|
3171
3171
|
display_name?: string | null | undefined;
|
|
@@ -3178,11 +3178,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3178
3178
|
updated_at?: string | undefined;
|
|
3179
3179
|
lookup_key?: string | null | undefined;
|
|
3180
3180
|
virtual_path?: string | null | undefined;
|
|
3181
|
-
metadata?: Record<string,
|
|
3181
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
3182
3182
|
org_name?: string | null | undefined;
|
|
3183
3183
|
org_slug?: string | null | undefined;
|
|
3184
3184
|
category_keys?: string[] | undefined;
|
|
3185
|
-
events?: Record<string,
|
|
3185
|
+
events?: Record<string, {} | null> | undefined;
|
|
3186
3186
|
image_url?: string | null | undefined;
|
|
3187
3187
|
latest_solution?: string | null | undefined;
|
|
3188
3188
|
latest_version?: string | null | undefined;
|
|
@@ -3208,7 +3208,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3208
3208
|
settings?: {
|
|
3209
3209
|
agent_enabled?: boolean | null | undefined;
|
|
3210
3210
|
} | undefined;
|
|
3211
|
-
sub_threads?: Record<string,
|
|
3211
|
+
sub_threads?: Record<string, {} | null>[] | null | undefined;
|
|
3212
3212
|
tags?: string[] | undefined;
|
|
3213
3213
|
ttl?: string | null | undefined;
|
|
3214
3214
|
unread_count?: number | null | undefined;
|
|
@@ -3328,7 +3328,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3328
3328
|
}[] | undefined;
|
|
3329
3329
|
}>>;
|
|
3330
3330
|
/** Admin-only diagnostic metadata for the message, including execution trajectory details. Only present in developer portal responses. */
|
|
3331
|
-
admin: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3331
|
+
admin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
3332
3332
|
/** Agent ID (`agt_...`) associated with the message. `null` if not agent-scoped. */
|
|
3333
3333
|
agent: z.ZodOptional<z.ZodString>;
|
|
3334
3334
|
/** Local agent execution mode for this message. One of `cli`, `embedded`, or `null` when the message was not created by a local agent execution path. */
|
|
@@ -3372,7 +3372,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3372
3372
|
image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3373
3373
|
media_type: z.ZodOptional<z.ZodString>;
|
|
3374
3374
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3375
|
-
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3375
|
+
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
3376
3376
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3377
3377
|
type: z.ZodString;
|
|
3378
3378
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3458,7 +3458,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3458
3458
|
}, "strip", z.ZodTypeAny, {
|
|
3459
3459
|
type: string;
|
|
3460
3460
|
id: string;
|
|
3461
|
-
object?: Record<string,
|
|
3461
|
+
object?: Record<string, {} | null> | undefined;
|
|
3462
3462
|
description?: string | null | undefined;
|
|
3463
3463
|
name?: string | null | undefined;
|
|
3464
3464
|
height?: number | null | undefined;
|
|
@@ -3505,7 +3505,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3505
3505
|
}, {
|
|
3506
3506
|
type: string;
|
|
3507
3507
|
id: string;
|
|
3508
|
-
object?: Record<string,
|
|
3508
|
+
object?: Record<string, {} | null> | undefined;
|
|
3509
3509
|
description?: string | null | undefined;
|
|
3510
3510
|
name?: string | null | undefined;
|
|
3511
3511
|
height?: number | null | undefined;
|
|
@@ -3557,7 +3557,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3557
3557
|
/** Message ID (`msg_...`). */
|
|
3558
3558
|
id: z.ZodString;
|
|
3559
3559
|
/** Key-value metadata attached to the message. Always present; defaults to an empty object. The `metadata` query parameter filters on this same object, so a caller can read back the field it selects on. */
|
|
3560
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3560
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
3561
3561
|
/** Organization ID (`org_...`) this message is scoped to. `null` if not org-scoped. */
|
|
3562
3562
|
org: z.ZodOptional<z.ZodString>;
|
|
3563
3563
|
/** ID of the root message in this reply chain (`msg_...`). `null` for a top-level message. The value is persisted when the reply is created, so callers can correlate a multi-turn session without walking parent messages. */
|
|
@@ -3589,7 +3589,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3589
3589
|
created_at?: string | undefined;
|
|
3590
3590
|
user?: string | undefined;
|
|
3591
3591
|
sandbox?: string | undefined;
|
|
3592
|
-
metadata?: Record<string,
|
|
3592
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
3593
3593
|
acl?: {
|
|
3594
3594
|
add?: {
|
|
3595
3595
|
actions: string[];
|
|
@@ -3609,7 +3609,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3609
3609
|
attachments?: {
|
|
3610
3610
|
type: string;
|
|
3611
3611
|
id: string;
|
|
3612
|
-
object?: Record<string,
|
|
3612
|
+
object?: Record<string, {} | null> | undefined;
|
|
3613
3613
|
description?: string | null | undefined;
|
|
3614
3614
|
name?: string | null | undefined;
|
|
3615
3615
|
height?: number | null | undefined;
|
|
@@ -3657,7 +3657,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3657
3657
|
visibility?: "default" | "private" | undefined;
|
|
3658
3658
|
agent_mode?: "cli" | "embedded" | undefined;
|
|
3659
3659
|
root_message_id?: string | null | undefined;
|
|
3660
|
-
admin?: Record<string,
|
|
3660
|
+
admin?: Record<string, {} | null> | undefined;
|
|
3661
3661
|
sender?: string | undefined;
|
|
3662
3662
|
sender_name?: string | undefined;
|
|
3663
3663
|
sender_type?: string | undefined;
|
|
@@ -3672,7 +3672,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3672
3672
|
created_at?: string | undefined;
|
|
3673
3673
|
user?: string | undefined;
|
|
3674
3674
|
sandbox?: string | undefined;
|
|
3675
|
-
metadata?: Record<string,
|
|
3675
|
+
metadata?: Record<string, {} | null> | undefined;
|
|
3676
3676
|
acl?: {
|
|
3677
3677
|
add?: {
|
|
3678
3678
|
actions: string[];
|
|
@@ -3692,7 +3692,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3692
3692
|
attachments?: {
|
|
3693
3693
|
type: string;
|
|
3694
3694
|
id: string;
|
|
3695
|
-
object?: Record<string,
|
|
3695
|
+
object?: Record<string, {} | null> | undefined;
|
|
3696
3696
|
description?: string | null | undefined;
|
|
3697
3697
|
name?: string | null | undefined;
|
|
3698
3698
|
height?: number | null | undefined;
|
|
@@ -3740,7 +3740,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3740
3740
|
visibility?: "default" | "private" | undefined;
|
|
3741
3741
|
agent_mode?: "cli" | "embedded" | undefined;
|
|
3742
3742
|
root_message_id?: string | null | undefined;
|
|
3743
|
-
admin?: Record<string,
|
|
3743
|
+
admin?: Record<string, {} | null> | undefined;
|
|
3744
3744
|
sender?: string | undefined;
|
|
3745
3745
|
sender_name?: string | undefined;
|
|
3746
3746
|
sender_type?: string | undefined;
|