@archastro/sdk 0.9.0 → 0.10.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/types/chat.d.ts +81 -20
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +367 -364
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +20 -62
- package/dist/types/common.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/tasks.d.ts +347 -0
- package/dist/types/tasks.d.ts.map +1 -0
- package/dist/types/tasks.js +67 -0
- package/dist/types/tasks.js.map +1 -0
- package/dist/types/threads.d.ts +540 -3
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +45 -2
- package/dist/types/threads.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +2 -2
- package/dist/v1/resources/agents.js +3 -3
- package/dist/v1/resources/custom_objects.d.ts +55 -4
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +7 -4
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.d.ts +37 -0
- package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.js +31 -1
- package/dist/v1/resources/slack_channel_bindings.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +2 -0
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +2 -1
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +76 -0
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +58 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +19 -0
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +21 -1
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +1 -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 +1 -0
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +1 -1
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -5688,6 +5688,8 @@ export interface Message {
|
|
|
5688
5688
|
reply_count?: number | undefined;
|
|
5689
5689
|
/** The parent message this message is a reply to, expanded as a full message object when loaded. `null` if this is a top-level message or the association is not preloaded. */
|
|
5690
5690
|
reply_to?: Record<string, unknown> | undefined;
|
|
5691
|
+
/** 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. */
|
|
5692
|
+
root_message_id?: string | null | undefined;
|
|
5691
5693
|
/** ID of the developer sandbox this message belongs to (`dsb_...`). `null` for non-sandbox messages. */
|
|
5692
5694
|
sandbox?: string | undefined;
|
|
5693
5695
|
/** ID of the team this message is scoped to (`tem_...`). `null` if the message is not team-scoped. */
|
|
@@ -6141,6 +6143,8 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
6141
6143
|
reply_count: z.ZodOptional<z.ZodNumber>;
|
|
6142
6144
|
/** The parent message this message is a reply to, expanded as a full message object when loaded. `null` if this is a top-level message or the association is not preloaded. */
|
|
6143
6145
|
reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6146
|
+
/** 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. */
|
|
6147
|
+
root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6144
6148
|
/** ID of the developer sandbox this message belongs to (`dsb_...`). `null` for non-sandbox messages. */
|
|
6145
6149
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
6146
6150
|
/** ID of the team this message is scoped to (`tem_...`). `null` if the message is not team-scoped. */
|
|
@@ -6261,6 +6265,7 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
6261
6265
|
replies_before_cursor?: string | undefined;
|
|
6262
6266
|
reply_count?: number | undefined;
|
|
6263
6267
|
reply_to?: Record<string, unknown> | undefined;
|
|
6268
|
+
root_message_id?: string | null | undefined;
|
|
6264
6269
|
}, {
|
|
6265
6270
|
id: string;
|
|
6266
6271
|
content?: string | undefined;
|
|
@@ -6369,6 +6374,7 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
6369
6374
|
replies_before_cursor?: string | undefined;
|
|
6370
6375
|
reply_count?: number | undefined;
|
|
6371
6376
|
reply_to?: Record<string, unknown> | undefined;
|
|
6377
|
+
root_message_id?: string | null | undefined;
|
|
6372
6378
|
}>;
|
|
6373
6379
|
/** The result of executing a shell command on an agent's computer environment. Contains the captured output and the process exit code. */
|
|
6374
6380
|
export interface ComputerExecResult {
|
|
@@ -6644,6 +6650,8 @@ export declare const contextIngestionSchema: z.ZodObject<{
|
|
|
6644
6650
|
}>;
|
|
6645
6651
|
/** A custom object belonging to an organization. Custom objects store arbitrary structured data defined by a schema type and are scoped to an org, team, or user. */
|
|
6646
6652
|
export interface CustomObject {
|
|
6653
|
+
/** Access control list governing read and write access to this custom object. Only returned to resource owners and privileged or organization-admin viewers; `null` for everyone else. */
|
|
6654
|
+
acl?: Acl | undefined;
|
|
6647
6655
|
/** When the custom object was created (ISO 8601). */
|
|
6648
6656
|
created_at?: string | undefined;
|
|
6649
6657
|
/** Map of field names to their current values as defined by the object's schema type. */
|
|
@@ -6669,6 +6677,86 @@ export interface CustomObject {
|
|
|
6669
6677
|
}
|
|
6670
6678
|
/** Runtime validator for {@link CustomObject}. */
|
|
6671
6679
|
export declare const customObjectSchema: z.ZodObject<{
|
|
6680
|
+
/** Access control list governing read and write access to this custom object. Only returned to resource owners and privileged or organization-admin viewers; `null` for everyone else. */
|
|
6681
|
+
acl: z.ZodOptional<z.ZodObject<{
|
|
6682
|
+
/** Patch mode: grants to add or merge into the existing list. Cannot be combined with `grants`. */
|
|
6683
|
+
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6684
|
+
/** Array of action strings the principal is permitted to perform, e.g. `["read", "write"]`. Must contain at least one entry. */
|
|
6685
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
6686
|
+
/** The identifier of the principal. A string ID for `"user"`, `"team"`, `"org"`, and `"agent"` types; one of `"admin"`, `"member"`, or `"viewer"` for `"org_role"`; omit entirely when `principal_type` is `"everyone"`. */
|
|
6687
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
6688
|
+
/** The kind of principal receiving the grant. One of `"user"`, `"team"`, `"org"`, `"org_role"`, `"agent"`, or `"everyone"`. */
|
|
6689
|
+
principal_type: z.ZodString;
|
|
6690
|
+
}, "strip", z.ZodTypeAny, {
|
|
6691
|
+
actions: string[];
|
|
6692
|
+
principal_type: string;
|
|
6693
|
+
principal?: string | undefined;
|
|
6694
|
+
}, {
|
|
6695
|
+
actions: string[];
|
|
6696
|
+
principal_type: string;
|
|
6697
|
+
principal?: string | undefined;
|
|
6698
|
+
}>, "many">>;
|
|
6699
|
+
/** Replace mode: the complete new list of grants that replaces all existing entries. Send an empty array (`[]`) to clear all grants. Cannot be combined with `add` or `remove`. */
|
|
6700
|
+
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6701
|
+
/** Array of action strings the principal is permitted to perform, e.g. `["read", "write"]`. Must contain at least one entry. */
|
|
6702
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
6703
|
+
/** The identifier of the principal. A string ID for `"user"`, `"team"`, `"org"`, and `"agent"` types; one of `"admin"`, `"member"`, or `"viewer"` for `"org_role"`; omit entirely when `principal_type` is `"everyone"`. */
|
|
6704
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
6705
|
+
/** The kind of principal receiving the grant. One of `"user"`, `"team"`, `"org"`, `"org_role"`, `"agent"`, or `"everyone"`. */
|
|
6706
|
+
principal_type: z.ZodString;
|
|
6707
|
+
}, "strip", z.ZodTypeAny, {
|
|
6708
|
+
actions: string[];
|
|
6709
|
+
principal_type: string;
|
|
6710
|
+
principal?: string | undefined;
|
|
6711
|
+
}, {
|
|
6712
|
+
actions: string[];
|
|
6713
|
+
principal_type: string;
|
|
6714
|
+
principal?: string | undefined;
|
|
6715
|
+
}>, "many">>;
|
|
6716
|
+
/** Patch mode: principals whose grants should be removed from the existing list. Cannot be combined with `grants`. */
|
|
6717
|
+
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6718
|
+
/** The identifier of the principal to remove. A string ID for `"user"`, `"team"`, `"org"`, and `"agent"` types; one of `"admin"`, `"member"`, or `"viewer"` for `"org_role"`. Omit when `principal_type` is `"everyone"`. */
|
|
6719
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
6720
|
+
/** The kind of principal to remove. One of `"user"`, `"team"`, `"org"`, `"org_role"`, `"agent"`, or `"everyone"`. */
|
|
6721
|
+
principal_type: z.ZodString;
|
|
6722
|
+
}, "strip", z.ZodTypeAny, {
|
|
6723
|
+
principal_type: string;
|
|
6724
|
+
principal?: string | undefined;
|
|
6725
|
+
}, {
|
|
6726
|
+
principal_type: string;
|
|
6727
|
+
principal?: string | undefined;
|
|
6728
|
+
}>, "many">>;
|
|
6729
|
+
}, "strip", z.ZodTypeAny, {
|
|
6730
|
+
add?: {
|
|
6731
|
+
actions: string[];
|
|
6732
|
+
principal_type: string;
|
|
6733
|
+
principal?: string | undefined;
|
|
6734
|
+
}[] | undefined;
|
|
6735
|
+
grants?: {
|
|
6736
|
+
actions: string[];
|
|
6737
|
+
principal_type: string;
|
|
6738
|
+
principal?: string | undefined;
|
|
6739
|
+
}[] | undefined;
|
|
6740
|
+
remove?: {
|
|
6741
|
+
principal_type: string;
|
|
6742
|
+
principal?: string | undefined;
|
|
6743
|
+
}[] | undefined;
|
|
6744
|
+
}, {
|
|
6745
|
+
add?: {
|
|
6746
|
+
actions: string[];
|
|
6747
|
+
principal_type: string;
|
|
6748
|
+
principal?: string | undefined;
|
|
6749
|
+
}[] | undefined;
|
|
6750
|
+
grants?: {
|
|
6751
|
+
actions: string[];
|
|
6752
|
+
principal_type: string;
|
|
6753
|
+
principal?: string | undefined;
|
|
6754
|
+
}[] | undefined;
|
|
6755
|
+
remove?: {
|
|
6756
|
+
principal_type: string;
|
|
6757
|
+
principal?: string | undefined;
|
|
6758
|
+
}[] | undefined;
|
|
6759
|
+
}>>;
|
|
6672
6760
|
/** When the custom object was created (ISO 8601). */
|
|
6673
6761
|
created_at: z.ZodOptional<z.ZodString>;
|
|
6674
6762
|
/** Map of field names to their current values as defined by the object's schema type. */
|
|
@@ -6699,6 +6787,22 @@ export declare const customObjectSchema: z.ZodObject<{
|
|
|
6699
6787
|
updated_at?: string | undefined;
|
|
6700
6788
|
user?: string | undefined;
|
|
6701
6789
|
sandbox?: string | undefined;
|
|
6790
|
+
acl?: {
|
|
6791
|
+
add?: {
|
|
6792
|
+
actions: string[];
|
|
6793
|
+
principal_type: string;
|
|
6794
|
+
principal?: string | undefined;
|
|
6795
|
+
}[] | undefined;
|
|
6796
|
+
grants?: {
|
|
6797
|
+
actions: string[];
|
|
6798
|
+
principal_type: string;
|
|
6799
|
+
principal?: string | undefined;
|
|
6800
|
+
}[] | undefined;
|
|
6801
|
+
remove?: {
|
|
6802
|
+
principal_type: string;
|
|
6803
|
+
principal?: string | undefined;
|
|
6804
|
+
}[] | undefined;
|
|
6805
|
+
} | undefined;
|
|
6702
6806
|
version?: number | undefined;
|
|
6703
6807
|
fields?: Record<string, unknown> | undefined;
|
|
6704
6808
|
row_key?: string | undefined;
|
|
@@ -6711,6 +6815,22 @@ export declare const customObjectSchema: z.ZodObject<{
|
|
|
6711
6815
|
updated_at?: string | undefined;
|
|
6712
6816
|
user?: string | undefined;
|
|
6713
6817
|
sandbox?: string | undefined;
|
|
6818
|
+
acl?: {
|
|
6819
|
+
add?: {
|
|
6820
|
+
actions: string[];
|
|
6821
|
+
principal_type: string;
|
|
6822
|
+
principal?: string | undefined;
|
|
6823
|
+
}[] | undefined;
|
|
6824
|
+
grants?: {
|
|
6825
|
+
actions: string[];
|
|
6826
|
+
principal_type: string;
|
|
6827
|
+
principal?: string | undefined;
|
|
6828
|
+
}[] | undefined;
|
|
6829
|
+
remove?: {
|
|
6830
|
+
principal_type: string;
|
|
6831
|
+
principal?: string | undefined;
|
|
6832
|
+
}[] | undefined;
|
|
6833
|
+
} | undefined;
|
|
6714
6834
|
version?: number | undefined;
|
|
6715
6835
|
fields?: Record<string, unknown> | undefined;
|
|
6716
6836
|
row_key?: string | undefined;
|
|
@@ -6775,6 +6895,86 @@ export interface CustomObjectListResponse {
|
|
|
6775
6895
|
export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
6776
6896
|
/** Array of custom objects for the current page. */
|
|
6777
6897
|
data: z.ZodArray<z.ZodObject<{
|
|
6898
|
+
/** Access control list governing read and write access to this custom object. Only returned to resource owners and privileged or organization-admin viewers; `null` for everyone else. */
|
|
6899
|
+
acl: z.ZodOptional<z.ZodObject<{
|
|
6900
|
+
/** Patch mode: grants to add or merge into the existing list. Cannot be combined with `grants`. */
|
|
6901
|
+
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6902
|
+
/** Array of action strings the principal is permitted to perform, e.g. `["read", "write"]`. Must contain at least one entry. */
|
|
6903
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
6904
|
+
/** The identifier of the principal. A string ID for `"user"`, `"team"`, `"org"`, and `"agent"` types; one of `"admin"`, `"member"`, or `"viewer"` for `"org_role"`; omit entirely when `principal_type` is `"everyone"`. */
|
|
6905
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
6906
|
+
/** The kind of principal receiving the grant. One of `"user"`, `"team"`, `"org"`, `"org_role"`, `"agent"`, or `"everyone"`. */
|
|
6907
|
+
principal_type: z.ZodString;
|
|
6908
|
+
}, "strip", z.ZodTypeAny, {
|
|
6909
|
+
actions: string[];
|
|
6910
|
+
principal_type: string;
|
|
6911
|
+
principal?: string | undefined;
|
|
6912
|
+
}, {
|
|
6913
|
+
actions: string[];
|
|
6914
|
+
principal_type: string;
|
|
6915
|
+
principal?: string | undefined;
|
|
6916
|
+
}>, "many">>;
|
|
6917
|
+
/** Replace mode: the complete new list of grants that replaces all existing entries. Send an empty array (`[]`) to clear all grants. Cannot be combined with `add` or `remove`. */
|
|
6918
|
+
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6919
|
+
/** Array of action strings the principal is permitted to perform, e.g. `["read", "write"]`. Must contain at least one entry. */
|
|
6920
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
6921
|
+
/** The identifier of the principal. A string ID for `"user"`, `"team"`, `"org"`, and `"agent"` types; one of `"admin"`, `"member"`, or `"viewer"` for `"org_role"`; omit entirely when `principal_type` is `"everyone"`. */
|
|
6922
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
6923
|
+
/** The kind of principal receiving the grant. One of `"user"`, `"team"`, `"org"`, `"org_role"`, `"agent"`, or `"everyone"`. */
|
|
6924
|
+
principal_type: z.ZodString;
|
|
6925
|
+
}, "strip", z.ZodTypeAny, {
|
|
6926
|
+
actions: string[];
|
|
6927
|
+
principal_type: string;
|
|
6928
|
+
principal?: string | undefined;
|
|
6929
|
+
}, {
|
|
6930
|
+
actions: string[];
|
|
6931
|
+
principal_type: string;
|
|
6932
|
+
principal?: string | undefined;
|
|
6933
|
+
}>, "many">>;
|
|
6934
|
+
/** Patch mode: principals whose grants should be removed from the existing list. Cannot be combined with `grants`. */
|
|
6935
|
+
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6936
|
+
/** The identifier of the principal to remove. A string ID for `"user"`, `"team"`, `"org"`, and `"agent"` types; one of `"admin"`, `"member"`, or `"viewer"` for `"org_role"`. Omit when `principal_type` is `"everyone"`. */
|
|
6937
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
6938
|
+
/** The kind of principal to remove. One of `"user"`, `"team"`, `"org"`, `"org_role"`, `"agent"`, or `"everyone"`. */
|
|
6939
|
+
principal_type: z.ZodString;
|
|
6940
|
+
}, "strip", z.ZodTypeAny, {
|
|
6941
|
+
principal_type: string;
|
|
6942
|
+
principal?: string | undefined;
|
|
6943
|
+
}, {
|
|
6944
|
+
principal_type: string;
|
|
6945
|
+
principal?: string | undefined;
|
|
6946
|
+
}>, "many">>;
|
|
6947
|
+
}, "strip", z.ZodTypeAny, {
|
|
6948
|
+
add?: {
|
|
6949
|
+
actions: string[];
|
|
6950
|
+
principal_type: string;
|
|
6951
|
+
principal?: string | undefined;
|
|
6952
|
+
}[] | undefined;
|
|
6953
|
+
grants?: {
|
|
6954
|
+
actions: string[];
|
|
6955
|
+
principal_type: string;
|
|
6956
|
+
principal?: string | undefined;
|
|
6957
|
+
}[] | undefined;
|
|
6958
|
+
remove?: {
|
|
6959
|
+
principal_type: string;
|
|
6960
|
+
principal?: string | undefined;
|
|
6961
|
+
}[] | undefined;
|
|
6962
|
+
}, {
|
|
6963
|
+
add?: {
|
|
6964
|
+
actions: string[];
|
|
6965
|
+
principal_type: string;
|
|
6966
|
+
principal?: string | undefined;
|
|
6967
|
+
}[] | undefined;
|
|
6968
|
+
grants?: {
|
|
6969
|
+
actions: string[];
|
|
6970
|
+
principal_type: string;
|
|
6971
|
+
principal?: string | undefined;
|
|
6972
|
+
}[] | undefined;
|
|
6973
|
+
remove?: {
|
|
6974
|
+
principal_type: string;
|
|
6975
|
+
principal?: string | undefined;
|
|
6976
|
+
}[] | undefined;
|
|
6977
|
+
}>>;
|
|
6778
6978
|
/** When the custom object was created (ISO 8601). */
|
|
6779
6979
|
created_at: z.ZodOptional<z.ZodString>;
|
|
6780
6980
|
/** Map of field names to their current values as defined by the object's schema type. */
|
|
@@ -6805,6 +7005,22 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
6805
7005
|
updated_at?: string | undefined;
|
|
6806
7006
|
user?: string | undefined;
|
|
6807
7007
|
sandbox?: string | undefined;
|
|
7008
|
+
acl?: {
|
|
7009
|
+
add?: {
|
|
7010
|
+
actions: string[];
|
|
7011
|
+
principal_type: string;
|
|
7012
|
+
principal?: string | undefined;
|
|
7013
|
+
}[] | undefined;
|
|
7014
|
+
grants?: {
|
|
7015
|
+
actions: string[];
|
|
7016
|
+
principal_type: string;
|
|
7017
|
+
principal?: string | undefined;
|
|
7018
|
+
}[] | undefined;
|
|
7019
|
+
remove?: {
|
|
7020
|
+
principal_type: string;
|
|
7021
|
+
principal?: string | undefined;
|
|
7022
|
+
}[] | undefined;
|
|
7023
|
+
} | undefined;
|
|
6808
7024
|
version?: number | undefined;
|
|
6809
7025
|
fields?: Record<string, unknown> | undefined;
|
|
6810
7026
|
row_key?: string | undefined;
|
|
@@ -6817,6 +7033,22 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
6817
7033
|
updated_at?: string | undefined;
|
|
6818
7034
|
user?: string | undefined;
|
|
6819
7035
|
sandbox?: string | undefined;
|
|
7036
|
+
acl?: {
|
|
7037
|
+
add?: {
|
|
7038
|
+
actions: string[];
|
|
7039
|
+
principal_type: string;
|
|
7040
|
+
principal?: string | undefined;
|
|
7041
|
+
}[] | undefined;
|
|
7042
|
+
grants?: {
|
|
7043
|
+
actions: string[];
|
|
7044
|
+
principal_type: string;
|
|
7045
|
+
principal?: string | undefined;
|
|
7046
|
+
}[] | undefined;
|
|
7047
|
+
remove?: {
|
|
7048
|
+
principal_type: string;
|
|
7049
|
+
principal?: string | undefined;
|
|
7050
|
+
}[] | undefined;
|
|
7051
|
+
} | undefined;
|
|
6820
7052
|
version?: number | undefined;
|
|
6821
7053
|
fields?: Record<string, unknown> | undefined;
|
|
6822
7054
|
row_key?: string | undefined;
|
|
@@ -6843,6 +7075,22 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
6843
7075
|
updated_at?: string | undefined;
|
|
6844
7076
|
user?: string | undefined;
|
|
6845
7077
|
sandbox?: string | undefined;
|
|
7078
|
+
acl?: {
|
|
7079
|
+
add?: {
|
|
7080
|
+
actions: string[];
|
|
7081
|
+
principal_type: string;
|
|
7082
|
+
principal?: string | undefined;
|
|
7083
|
+
}[] | undefined;
|
|
7084
|
+
grants?: {
|
|
7085
|
+
actions: string[];
|
|
7086
|
+
principal_type: string;
|
|
7087
|
+
principal?: string | undefined;
|
|
7088
|
+
}[] | undefined;
|
|
7089
|
+
remove?: {
|
|
7090
|
+
principal_type: string;
|
|
7091
|
+
principal?: string | undefined;
|
|
7092
|
+
}[] | undefined;
|
|
7093
|
+
} | undefined;
|
|
6846
7094
|
version?: number | undefined;
|
|
6847
7095
|
fields?: Record<string, unknown> | undefined;
|
|
6848
7096
|
row_key?: string | undefined;
|
|
@@ -6863,6 +7111,22 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
6863
7111
|
updated_at?: string | undefined;
|
|
6864
7112
|
user?: string | undefined;
|
|
6865
7113
|
sandbox?: string | undefined;
|
|
7114
|
+
acl?: {
|
|
7115
|
+
add?: {
|
|
7116
|
+
actions: string[];
|
|
7117
|
+
principal_type: string;
|
|
7118
|
+
principal?: string | undefined;
|
|
7119
|
+
}[] | undefined;
|
|
7120
|
+
grants?: {
|
|
7121
|
+
actions: string[];
|
|
7122
|
+
principal_type: string;
|
|
7123
|
+
principal?: string | undefined;
|
|
7124
|
+
}[] | undefined;
|
|
7125
|
+
remove?: {
|
|
7126
|
+
principal_type: string;
|
|
7127
|
+
principal?: string | undefined;
|
|
7128
|
+
}[] | undefined;
|
|
7129
|
+
} | undefined;
|
|
6866
7130
|
version?: number | undefined;
|
|
6867
7131
|
fields?: Record<string, unknown> | undefined;
|
|
6868
7132
|
row_key?: string | undefined;
|
|
@@ -8546,6 +8810,8 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
8546
8810
|
reply_count: z.ZodOptional<z.ZodNumber>;
|
|
8547
8811
|
/** The parent message this message is a reply to, expanded as a full message object when loaded. `null` if this is a top-level message or the association is not preloaded. */
|
|
8548
8812
|
reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8813
|
+
/** 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. */
|
|
8814
|
+
root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8549
8815
|
/** ID of the developer sandbox this message belongs to (`dsb_...`). `null` for non-sandbox messages. */
|
|
8550
8816
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
8551
8817
|
/** ID of the team this message is scoped to (`tem_...`). `null` if the message is not team-scoped. */
|
|
@@ -8666,6 +8932,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
8666
8932
|
replies_before_cursor?: string | undefined;
|
|
8667
8933
|
reply_count?: number | undefined;
|
|
8668
8934
|
reply_to?: Record<string, unknown> | undefined;
|
|
8935
|
+
root_message_id?: string | null | undefined;
|
|
8669
8936
|
}, {
|
|
8670
8937
|
id: string;
|
|
8671
8938
|
content?: string | undefined;
|
|
@@ -8774,6 +9041,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
8774
9041
|
replies_before_cursor?: string | undefined;
|
|
8775
9042
|
reply_count?: number | undefined;
|
|
8776
9043
|
reply_to?: Record<string, unknown> | undefined;
|
|
9044
|
+
root_message_id?: string | null | undefined;
|
|
8777
9045
|
}>, "many">;
|
|
8778
9046
|
/** Total number of replies in the thread across all pages. */
|
|
8779
9047
|
total_count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8886,6 +9154,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
8886
9154
|
replies_before_cursor?: string | undefined;
|
|
8887
9155
|
reply_count?: number | undefined;
|
|
8888
9156
|
reply_to?: Record<string, unknown> | undefined;
|
|
9157
|
+
root_message_id?: string | null | undefined;
|
|
8889
9158
|
}[];
|
|
8890
9159
|
before_cursor?: string | undefined;
|
|
8891
9160
|
after_cursor?: string | undefined;
|
|
@@ -9000,6 +9269,7 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
9000
9269
|
replies_before_cursor?: string | undefined;
|
|
9001
9270
|
reply_count?: number | undefined;
|
|
9002
9271
|
reply_to?: Record<string, unknown> | undefined;
|
|
9272
|
+
root_message_id?: string | null | undefined;
|
|
9003
9273
|
}[];
|
|
9004
9274
|
before_cursor?: string | undefined;
|
|
9005
9275
|
after_cursor?: string | undefined;
|
|
@@ -9312,6 +9582,8 @@ export interface SlackChannelBinding {
|
|
|
9312
9582
|
customer_label?: string | undefined;
|
|
9313
9583
|
/** Staging thread the deposit pipe copies this channel's mirror content into (`thr_…` public ID). `null` when the pipe is off for this binding. */
|
|
9314
9584
|
deposit_thread?: string | undefined;
|
|
9585
|
+
/** Slack Connect lifecycle: `pending` while the customer has not accepted the invite (nothing mirrors), `posted` once the AI disclosure is in the channel and the channel is live, `suppressed` when relay is stopped. `null` for a binding that never went through Connect provisioning. */
|
|
9586
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9315
9587
|
/** Unique identifier for this Slack channel binding. */
|
|
9316
9588
|
id: string;
|
|
9317
9589
|
/** ID of the Slack integration that owns this binding. */
|
|
@@ -9330,8 +9602,12 @@ export interface SlackChannelBinding {
|
|
|
9330
9602
|
resident_agent?: string | undefined;
|
|
9331
9603
|
/** Effective Slack ingress route: `fda` for a team-bound resident, `resident` for an unbound resident, or `concierge` when no non-concierge agent is attached. */
|
|
9332
9604
|
route_kind: "fda" | "resident" | "concierge";
|
|
9605
|
+
/** The customer key this channel's agent is locked to, written when adding the customer finishes. A `posted` binding whose `scope_key` is still null has been accepted but not finished — the addition is either in flight or was refused. */
|
|
9606
|
+
scope_key?: string | undefined;
|
|
9333
9607
|
/** ID of the ArchAstro team this channel is bound to. */
|
|
9334
9608
|
team?: string | undefined;
|
|
9609
|
+
/** Whether the admin who added this customer ended up inside a Connect channel we created for them: `invited` (we put them in), `already_member` (they were in it already), `no_slack_user` (their account email is not a Slack account in your workspace, so nobody was invited), or `failed` (Slack refused). A created Connect channel is private and has no self-join, so the last two mean the channel has no human from your side until someone already in it adds one. `null` when nobody was added: the channel was adopted rather than created (an existing channel already has its own members), the binding never went through Connect provisioning, or the call had no admin behind it. */
|
|
9610
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9335
9611
|
}
|
|
9336
9612
|
/** Runtime validator for {@link SlackChannelBinding}. */
|
|
9337
9613
|
export declare const slackChannelBindingSchema: z.ZodObject<{
|
|
@@ -9345,6 +9621,8 @@ export declare const slackChannelBindingSchema: z.ZodObject<{
|
|
|
9345
9621
|
customer_label: z.ZodOptional<z.ZodString>;
|
|
9346
9622
|
/** Staging thread the deposit pipe copies this channel's mirror content into (`thr_…` public ID). `null` when the pipe is off for this binding. */
|
|
9347
9623
|
deposit_thread: z.ZodOptional<z.ZodString>;
|
|
9624
|
+
/** Slack Connect lifecycle: `pending` while the customer has not accepted the invite (nothing mirrors), `posted` once the AI disclosure is in the channel and the channel is live, `suppressed` when relay is stopped. `null` for a binding that never went through Connect provisioning. */
|
|
9625
|
+
disclosure_state: z.ZodOptional<z.ZodEnum<["pending", "posted", "suppressed"]>>;
|
|
9348
9626
|
/** Unique identifier for this Slack channel binding. */
|
|
9349
9627
|
id: z.ZodString;
|
|
9350
9628
|
/** ID of the Slack integration that owns this binding. */
|
|
@@ -9363,8 +9641,12 @@ export declare const slackChannelBindingSchema: z.ZodObject<{
|
|
|
9363
9641
|
resident_agent: z.ZodOptional<z.ZodString>;
|
|
9364
9642
|
/** Effective Slack ingress route: `fda` for a team-bound resident, `resident` for an unbound resident, or `concierge` when no non-concierge agent is attached. */
|
|
9365
9643
|
route_kind: z.ZodEnum<["fda", "resident", "concierge"]>;
|
|
9644
|
+
/** The customer key this channel's agent is locked to, written when adding the customer finishes. A `posted` binding whose `scope_key` is still null has been accepted but not finished — the addition is either in flight or was refused. */
|
|
9645
|
+
scope_key: z.ZodOptional<z.ZodString>;
|
|
9366
9646
|
/** ID of the ArchAstro team this channel is bound to. */
|
|
9367
9647
|
team: z.ZodOptional<z.ZodString>;
|
|
9648
|
+
/** Whether the admin who added this customer ended up inside a Connect channel we created for them: `invited` (we put them in), `already_member` (they were in it already), `no_slack_user` (their account email is not a Slack account in your workspace, so nobody was invited), or `failed` (Slack refused). A created Connect channel is private and has no self-join, so the last two mean the channel has no human from your side until someone already in it adds one. `null` when nobody was added: the channel was adopted rather than created (an existing channel already has its own members), the binding never went through Connect provisioning, or the call had no admin behind it. */
|
|
9649
|
+
vendor_admin_channel_access: z.ZodOptional<z.ZodEnum<["invited", "already_member", "no_slack_user", "failed"]>>;
|
|
9368
9650
|
}, "strip", z.ZodTypeAny, {
|
|
9369
9651
|
id: string;
|
|
9370
9652
|
allow_bot_conversations: boolean;
|
|
@@ -9376,11 +9658,14 @@ export declare const slackChannelBindingSchema: z.ZodObject<{
|
|
|
9376
9658
|
channel?: string | undefined;
|
|
9377
9659
|
customer_label?: string | undefined;
|
|
9378
9660
|
deposit_thread?: string | undefined;
|
|
9661
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9379
9662
|
integration?: string | undefined;
|
|
9380
9663
|
is_ext_shared_cached?: boolean | undefined;
|
|
9381
9664
|
is_private_cached?: boolean | undefined;
|
|
9382
9665
|
muted_until?: string | undefined;
|
|
9383
9666
|
resident_agent?: string | undefined;
|
|
9667
|
+
scope_key?: string | undefined;
|
|
9668
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9384
9669
|
}, {
|
|
9385
9670
|
id: string;
|
|
9386
9671
|
allow_bot_conversations: boolean;
|
|
@@ -9392,11 +9677,14 @@ export declare const slackChannelBindingSchema: z.ZodObject<{
|
|
|
9392
9677
|
channel?: string | undefined;
|
|
9393
9678
|
customer_label?: string | undefined;
|
|
9394
9679
|
deposit_thread?: string | undefined;
|
|
9680
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9395
9681
|
integration?: string | undefined;
|
|
9396
9682
|
is_ext_shared_cached?: boolean | undefined;
|
|
9397
9683
|
is_private_cached?: boolean | undefined;
|
|
9398
9684
|
muted_until?: string | undefined;
|
|
9399
9685
|
resident_agent?: string | undefined;
|
|
9686
|
+
scope_key?: string | undefined;
|
|
9687
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9400
9688
|
}>;
|
|
9401
9689
|
/** Paginated list of Slack channel bindings for the requested integration or team. Use the `page` and `per_page` fields to navigate pages of results. */
|
|
9402
9690
|
export interface SlackChannelBindingListResponse {
|
|
@@ -9425,6 +9713,8 @@ export declare const slackChannelBindingListResponseSchema: z.ZodObject<{
|
|
|
9425
9713
|
customer_label: z.ZodOptional<z.ZodString>;
|
|
9426
9714
|
/** Staging thread the deposit pipe copies this channel's mirror content into (`thr_…` public ID). `null` when the pipe is off for this binding. */
|
|
9427
9715
|
deposit_thread: z.ZodOptional<z.ZodString>;
|
|
9716
|
+
/** Slack Connect lifecycle: `pending` while the customer has not accepted the invite (nothing mirrors), `posted` once the AI disclosure is in the channel and the channel is live, `suppressed` when relay is stopped. `null` for a binding that never went through Connect provisioning. */
|
|
9717
|
+
disclosure_state: z.ZodOptional<z.ZodEnum<["pending", "posted", "suppressed"]>>;
|
|
9428
9718
|
/** Unique identifier for this Slack channel binding. */
|
|
9429
9719
|
id: z.ZodString;
|
|
9430
9720
|
/** ID of the Slack integration that owns this binding. */
|
|
@@ -9443,8 +9733,12 @@ export declare const slackChannelBindingListResponseSchema: z.ZodObject<{
|
|
|
9443
9733
|
resident_agent: z.ZodOptional<z.ZodString>;
|
|
9444
9734
|
/** Effective Slack ingress route: `fda` for a team-bound resident, `resident` for an unbound resident, or `concierge` when no non-concierge agent is attached. */
|
|
9445
9735
|
route_kind: z.ZodEnum<["fda", "resident", "concierge"]>;
|
|
9736
|
+
/** The customer key this channel's agent is locked to, written when adding the customer finishes. A `posted` binding whose `scope_key` is still null has been accepted but not finished — the addition is either in flight or was refused. */
|
|
9737
|
+
scope_key: z.ZodOptional<z.ZodString>;
|
|
9446
9738
|
/** ID of the ArchAstro team this channel is bound to. */
|
|
9447
9739
|
team: z.ZodOptional<z.ZodString>;
|
|
9740
|
+
/** Whether the admin who added this customer ended up inside a Connect channel we created for them: `invited` (we put them in), `already_member` (they were in it already), `no_slack_user` (their account email is not a Slack account in your workspace, so nobody was invited), or `failed` (Slack refused). A created Connect channel is private and has no self-join, so the last two mean the channel has no human from your side until someone already in it adds one. `null` when nobody was added: the channel was adopted rather than created (an existing channel already has its own members), the binding never went through Connect provisioning, or the call had no admin behind it. */
|
|
9741
|
+
vendor_admin_channel_access: z.ZodOptional<z.ZodEnum<["invited", "already_member", "no_slack_user", "failed"]>>;
|
|
9448
9742
|
}, "strip", z.ZodTypeAny, {
|
|
9449
9743
|
id: string;
|
|
9450
9744
|
allow_bot_conversations: boolean;
|
|
@@ -9456,11 +9750,14 @@ export declare const slackChannelBindingListResponseSchema: z.ZodObject<{
|
|
|
9456
9750
|
channel?: string | undefined;
|
|
9457
9751
|
customer_label?: string | undefined;
|
|
9458
9752
|
deposit_thread?: string | undefined;
|
|
9753
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9459
9754
|
integration?: string | undefined;
|
|
9460
9755
|
is_ext_shared_cached?: boolean | undefined;
|
|
9461
9756
|
is_private_cached?: boolean | undefined;
|
|
9462
9757
|
muted_until?: string | undefined;
|
|
9463
9758
|
resident_agent?: string | undefined;
|
|
9759
|
+
scope_key?: string | undefined;
|
|
9760
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9464
9761
|
}, {
|
|
9465
9762
|
id: string;
|
|
9466
9763
|
allow_bot_conversations: boolean;
|
|
@@ -9472,11 +9769,14 @@ export declare const slackChannelBindingListResponseSchema: z.ZodObject<{
|
|
|
9472
9769
|
channel?: string | undefined;
|
|
9473
9770
|
customer_label?: string | undefined;
|
|
9474
9771
|
deposit_thread?: string | undefined;
|
|
9772
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9475
9773
|
integration?: string | undefined;
|
|
9476
9774
|
is_ext_shared_cached?: boolean | undefined;
|
|
9477
9775
|
is_private_cached?: boolean | undefined;
|
|
9478
9776
|
muted_until?: string | undefined;
|
|
9479
9777
|
resident_agent?: string | undefined;
|
|
9778
|
+
scope_key?: string | undefined;
|
|
9779
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9480
9780
|
}>, "many">;
|
|
9481
9781
|
/** Current page number (1-indexed). */
|
|
9482
9782
|
page: z.ZodNumber;
|
|
@@ -9498,11 +9798,14 @@ export declare const slackChannelBindingListResponseSchema: z.ZodObject<{
|
|
|
9498
9798
|
channel?: string | undefined;
|
|
9499
9799
|
customer_label?: string | undefined;
|
|
9500
9800
|
deposit_thread?: string | undefined;
|
|
9801
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9501
9802
|
integration?: string | undefined;
|
|
9502
9803
|
is_ext_shared_cached?: boolean | undefined;
|
|
9503
9804
|
is_private_cached?: boolean | undefined;
|
|
9504
9805
|
muted_until?: string | undefined;
|
|
9505
9806
|
resident_agent?: string | undefined;
|
|
9807
|
+
scope_key?: string | undefined;
|
|
9808
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9506
9809
|
}[];
|
|
9507
9810
|
page: number;
|
|
9508
9811
|
total_pages: number;
|
|
@@ -9520,369 +9823,20 @@ export declare const slackChannelBindingListResponseSchema: z.ZodObject<{
|
|
|
9520
9823
|
channel?: string | undefined;
|
|
9521
9824
|
customer_label?: string | undefined;
|
|
9522
9825
|
deposit_thread?: string | undefined;
|
|
9826
|
+
disclosure_state?: "pending" | "posted" | "suppressed" | undefined;
|
|
9523
9827
|
integration?: string | undefined;
|
|
9524
9828
|
is_ext_shared_cached?: boolean | undefined;
|
|
9525
9829
|
is_private_cached?: boolean | undefined;
|
|
9526
9830
|
muted_until?: string | undefined;
|
|
9527
9831
|
resident_agent?: string | undefined;
|
|
9832
|
+
scope_key?: string | undefined;
|
|
9833
|
+
vendor_admin_channel_access?: "invited" | "already_member" | "no_slack_user" | "failed" | undefined;
|
|
9528
9834
|
}[];
|
|
9529
9835
|
page: number;
|
|
9530
9836
|
total_pages: number;
|
|
9531
9837
|
total_count: number;
|
|
9532
9838
|
per_page: number;
|
|
9533
9839
|
}>;
|
|
9534
|
-
/** A task representing a unit of work, optionally assignable to a user or agent. */
|
|
9535
|
-
export interface Task {
|
|
9536
|
-
/** ID of the agent that owns this task (`agi_...`). `null` if the task is scoped to a team or user. */
|
|
9537
|
-
agent?: string | undefined;
|
|
9538
|
-
/** Number of tasks marked as blocking this task, whether or not they are done (see `GET /tasks/{task}/blockers`). Computed on list/show reads; create/update responses may lag one read behind. */
|
|
9539
|
-
blocked_by_count?: number | undefined;
|
|
9540
|
-
/** When the task was marked as done or otherwise closed (ISO 8601). `null` if the task is still open. */
|
|
9541
|
-
closed_at?: string | undefined;
|
|
9542
|
-
/** Total number of comments posted on this task. */
|
|
9543
|
-
comments_count?: number | undefined;
|
|
9544
|
-
/** When the task was created (ISO 8601). */
|
|
9545
|
-
created_at?: string | undefined;
|
|
9546
|
-
/** Resolved creator details including `id`, `name`, `alias`, and `profile_picture`. `null` if no creator is set or the creator cannot be resolved (e.g. creating agent was deleted). */
|
|
9547
|
-
created_by_actor?: Actor | undefined;
|
|
9548
|
-
/** ID of the agent that created this task (`agi_...`). `null` if the task was created by a human user, or if the creating agent was later deleted. */
|
|
9549
|
-
created_by_agent?: string | undefined;
|
|
9550
|
-
/** ID of the user who created this task (`usr_...`). `null` if the task was created by an agent, or if creator provenance was cleared after the creator was deleted. */
|
|
9551
|
-
created_by_user?: string | undefined;
|
|
9552
|
-
/** Long-form description or notes for the task. `null` if no description has been provided. */
|
|
9553
|
-
description?: string | undefined;
|
|
9554
|
-
/** Date and time by which the task should be completed (ISO 8601). `null` if no due date is set. */
|
|
9555
|
-
due_date?: string | undefined;
|
|
9556
|
-
/** Task ID (`tsk_...`). */
|
|
9557
|
-
id: string;
|
|
9558
|
-
/** `true` while at least one blocking task is not yet done. Informational only — a blocked task can still change status — and derived at read time, so the task un-blocks automatically when its last open blocker completes. Computed on list/show reads; create/update responses report `false` until the next read. */
|
|
9559
|
-
is_blocked?: boolean | undefined;
|
|
9560
|
-
/** Key-value map of named URLs or references associated with the task. Returns an empty object when no links have been set. */
|
|
9561
|
-
links?: Record<string, unknown> | undefined;
|
|
9562
|
-
/** Arbitrary key-value map of application-specific data stored alongside the task. Returns an empty object when no metadata has been set. */
|
|
9563
|
-
metadata?: Record<string, unknown> | undefined;
|
|
9564
|
-
/** Human-readable title of the task. */
|
|
9565
|
-
name: string;
|
|
9566
|
-
/** ID of the organization this task belongs to (`org_...`). `null` for tasks outside an org context. */
|
|
9567
|
-
org?: string | undefined;
|
|
9568
|
-
/** Resolved owner details including `id`, `name`, `alias`, and `profile_picture`. `null` if the task is unassigned or the owner cannot be resolved (e.g. assigned agent was deleted). */
|
|
9569
|
-
owner_actor?: Actor | undefined;
|
|
9570
|
-
/** ID of the agent assigned as owner (`agi_...`). `null` if the owner is a human user, the task is unassigned, or the assigned agent was deleted. */
|
|
9571
|
-
owner_agent?: string | undefined;
|
|
9572
|
-
/** ID of the user assigned as owner (`usr_...`). `null` if the owner is an agent, the task is unassigned, or the assigned agent was deleted. */
|
|
9573
|
-
owner_user?: string | undefined;
|
|
9574
|
-
/** ID of the parent task when this task is a subtask (`tsk_...`). `null` for top-level tasks. Subtasks nest exactly one level. */
|
|
9575
|
-
parent?: string | undefined;
|
|
9576
|
-
/** Priority level of the task from `0` (highest) to `4` (lowest). Defaults to `2` (medium) when not explicitly set. */
|
|
9577
|
-
priority?: number | undefined;
|
|
9578
|
-
/** ID of the developer sandbox this task is scoped to (`dsb_...`). `null` for tasks outside a sandbox environment. */
|
|
9579
|
-
sandbox?: string | undefined;
|
|
9580
|
-
/** Current status of the task. One of `"open"`, `"in_progress"`, or `"done"`. */
|
|
9581
|
-
status: string;
|
|
9582
|
-
/** Number of subtasks under this task. Computed on list/show reads; create/update responses may report 0 until the next read. Always 0 for subtasks. */
|
|
9583
|
-
subtasks_count?: number | undefined;
|
|
9584
|
-
/** Labels for grouping and filtering, stored lowercase and de-duplicated. Empty array when untagged. */
|
|
9585
|
-
tags?: string[] | undefined;
|
|
9586
|
-
/** ID of the team that owns this task (`tem_...`). `null` if the task is not scoped to a team. */
|
|
9587
|
-
team?: string | undefined;
|
|
9588
|
-
/** ID of the thread this task is bound to (`thr_...`) — the conversation it was filed from, or the thread passed at creation. `null` for tasks not tied to a thread. */
|
|
9589
|
-
thread?: string | undefined;
|
|
9590
|
-
/** When the task was last modified (ISO 8601). */
|
|
9591
|
-
updated_at?: string | undefined;
|
|
9592
|
-
/** ID of the user that owns this task (`usr_...`). `null` if the task is scoped to a team. */
|
|
9593
|
-
user?: string | undefined;
|
|
9594
|
-
}
|
|
9595
|
-
/** Runtime validator for {@link Task}. */
|
|
9596
|
-
export declare const taskSchema: z.ZodObject<{
|
|
9597
|
-
/** ID of the agent that owns this task (`agi_...`). `null` if the task is scoped to a team or user. */
|
|
9598
|
-
agent: z.ZodOptional<z.ZodString>;
|
|
9599
|
-
/** Number of tasks marked as blocking this task, whether or not they are done (see `GET /tasks/{task}/blockers`). Computed on list/show reads; create/update responses may lag one read behind. */
|
|
9600
|
-
blocked_by_count: z.ZodOptional<z.ZodNumber>;
|
|
9601
|
-
/** When the task was marked as done or otherwise closed (ISO 8601). `null` if the task is still open. */
|
|
9602
|
-
closed_at: z.ZodOptional<z.ZodString>;
|
|
9603
|
-
/** Total number of comments posted on this task. */
|
|
9604
|
-
comments_count: z.ZodOptional<z.ZodNumber>;
|
|
9605
|
-
/** When the task was created (ISO 8601). */
|
|
9606
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
9607
|
-
/** Resolved creator details including `id`, `name`, `alias`, and `profile_picture`. `null` if no creator is set or the creator cannot be resolved (e.g. creating agent was deleted). */
|
|
9608
|
-
created_by_actor: z.ZodOptional<z.ZodObject<{
|
|
9609
|
-
/** Short handle or alias for the actor, used as an alternate display identifier. `null` if not configured. */
|
|
9610
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
9611
|
-
/** Composite actor identifier. Format is `"user-<usr_...>"` for human users or `"agent-<agi_...>"` for agents. */
|
|
9612
|
-
id: z.ZodOptional<z.ZodString>;
|
|
9613
|
-
/** Display name of the actor shown in the UI. `null` if no name is set. */
|
|
9614
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9615
|
-
/** Profile picture for the actor. `null` if the actor has no profile picture. */
|
|
9616
|
-
profile_picture: z.ZodOptional<z.ZodObject<{
|
|
9617
|
-
file: z.ZodOptional<z.ZodString>;
|
|
9618
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
9619
|
-
media: z.ZodOptional<z.ZodString>;
|
|
9620
|
-
mime_type: z.ZodOptional<z.ZodString>;
|
|
9621
|
-
refresh_url: z.ZodOptional<z.ZodString>;
|
|
9622
|
-
url: z.ZodOptional<z.ZodString>;
|
|
9623
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
9624
|
-
}, "strip", z.ZodTypeAny, {
|
|
9625
|
-
mime_type?: string | undefined;
|
|
9626
|
-
file?: string | undefined;
|
|
9627
|
-
height?: number | undefined;
|
|
9628
|
-
media?: string | undefined;
|
|
9629
|
-
refresh_url?: string | undefined;
|
|
9630
|
-
url?: string | undefined;
|
|
9631
|
-
width?: number | undefined;
|
|
9632
|
-
}, {
|
|
9633
|
-
mime_type?: string | undefined;
|
|
9634
|
-
file?: string | undefined;
|
|
9635
|
-
height?: number | undefined;
|
|
9636
|
-
media?: string | undefined;
|
|
9637
|
-
refresh_url?: string | undefined;
|
|
9638
|
-
url?: string | undefined;
|
|
9639
|
-
width?: number | undefined;
|
|
9640
|
-
}>>;
|
|
9641
|
-
}, "strip", z.ZodTypeAny, {
|
|
9642
|
-
alias?: string | undefined;
|
|
9643
|
-
name?: string | undefined;
|
|
9644
|
-
id?: string | undefined;
|
|
9645
|
-
profile_picture?: {
|
|
9646
|
-
mime_type?: string | undefined;
|
|
9647
|
-
file?: string | undefined;
|
|
9648
|
-
height?: number | undefined;
|
|
9649
|
-
media?: string | undefined;
|
|
9650
|
-
refresh_url?: string | undefined;
|
|
9651
|
-
url?: string | undefined;
|
|
9652
|
-
width?: number | undefined;
|
|
9653
|
-
} | undefined;
|
|
9654
|
-
}, {
|
|
9655
|
-
alias?: string | undefined;
|
|
9656
|
-
name?: string | undefined;
|
|
9657
|
-
id?: string | undefined;
|
|
9658
|
-
profile_picture?: {
|
|
9659
|
-
mime_type?: string | undefined;
|
|
9660
|
-
file?: string | undefined;
|
|
9661
|
-
height?: number | undefined;
|
|
9662
|
-
media?: string | undefined;
|
|
9663
|
-
refresh_url?: string | undefined;
|
|
9664
|
-
url?: string | undefined;
|
|
9665
|
-
width?: number | undefined;
|
|
9666
|
-
} | undefined;
|
|
9667
|
-
}>>;
|
|
9668
|
-
/** ID of the agent that created this task (`agi_...`). `null` if the task was created by a human user, or if the creating agent was later deleted. */
|
|
9669
|
-
created_by_agent: z.ZodOptional<z.ZodString>;
|
|
9670
|
-
/** ID of the user who created this task (`usr_...`). `null` if the task was created by an agent, or if creator provenance was cleared after the creator was deleted. */
|
|
9671
|
-
created_by_user: z.ZodOptional<z.ZodString>;
|
|
9672
|
-
/** Long-form description or notes for the task. `null` if no description has been provided. */
|
|
9673
|
-
description: z.ZodOptional<z.ZodString>;
|
|
9674
|
-
/** Date and time by which the task should be completed (ISO 8601). `null` if no due date is set. */
|
|
9675
|
-
due_date: z.ZodOptional<z.ZodString>;
|
|
9676
|
-
/** Task ID (`tsk_...`). */
|
|
9677
|
-
id: z.ZodString;
|
|
9678
|
-
/** `true` while at least one blocking task is not yet done. Informational only — a blocked task can still change status — and derived at read time, so the task un-blocks automatically when its last open blocker completes. Computed on list/show reads; create/update responses report `false` until the next read. */
|
|
9679
|
-
is_blocked: z.ZodOptional<z.ZodBoolean>;
|
|
9680
|
-
/** Key-value map of named URLs or references associated with the task. Returns an empty object when no links have been set. */
|
|
9681
|
-
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9682
|
-
/** Arbitrary key-value map of application-specific data stored alongside the task. Returns an empty object when no metadata has been set. */
|
|
9683
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9684
|
-
/** Human-readable title of the task. */
|
|
9685
|
-
name: z.ZodString;
|
|
9686
|
-
/** ID of the organization this task belongs to (`org_...`). `null` for tasks outside an org context. */
|
|
9687
|
-
org: z.ZodOptional<z.ZodString>;
|
|
9688
|
-
/** Resolved owner details including `id`, `name`, `alias`, and `profile_picture`. `null` if the task is unassigned or the owner cannot be resolved (e.g. assigned agent was deleted). */
|
|
9689
|
-
owner_actor: z.ZodOptional<z.ZodObject<{
|
|
9690
|
-
/** Short handle or alias for the actor, used as an alternate display identifier. `null` if not configured. */
|
|
9691
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
9692
|
-
/** Composite actor identifier. Format is `"user-<usr_...>"` for human users or `"agent-<agi_...>"` for agents. */
|
|
9693
|
-
id: z.ZodOptional<z.ZodString>;
|
|
9694
|
-
/** Display name of the actor shown in the UI. `null` if no name is set. */
|
|
9695
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9696
|
-
/** Profile picture for the actor. `null` if the actor has no profile picture. */
|
|
9697
|
-
profile_picture: z.ZodOptional<z.ZodObject<{
|
|
9698
|
-
file: z.ZodOptional<z.ZodString>;
|
|
9699
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
9700
|
-
media: z.ZodOptional<z.ZodString>;
|
|
9701
|
-
mime_type: z.ZodOptional<z.ZodString>;
|
|
9702
|
-
refresh_url: z.ZodOptional<z.ZodString>;
|
|
9703
|
-
url: z.ZodOptional<z.ZodString>;
|
|
9704
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
9705
|
-
}, "strip", z.ZodTypeAny, {
|
|
9706
|
-
mime_type?: string | undefined;
|
|
9707
|
-
file?: string | undefined;
|
|
9708
|
-
height?: number | undefined;
|
|
9709
|
-
media?: string | undefined;
|
|
9710
|
-
refresh_url?: string | undefined;
|
|
9711
|
-
url?: string | undefined;
|
|
9712
|
-
width?: number | undefined;
|
|
9713
|
-
}, {
|
|
9714
|
-
mime_type?: string | undefined;
|
|
9715
|
-
file?: string | undefined;
|
|
9716
|
-
height?: number | undefined;
|
|
9717
|
-
media?: string | undefined;
|
|
9718
|
-
refresh_url?: string | undefined;
|
|
9719
|
-
url?: string | undefined;
|
|
9720
|
-
width?: number | undefined;
|
|
9721
|
-
}>>;
|
|
9722
|
-
}, "strip", z.ZodTypeAny, {
|
|
9723
|
-
alias?: string | undefined;
|
|
9724
|
-
name?: string | undefined;
|
|
9725
|
-
id?: string | undefined;
|
|
9726
|
-
profile_picture?: {
|
|
9727
|
-
mime_type?: string | undefined;
|
|
9728
|
-
file?: string | undefined;
|
|
9729
|
-
height?: number | undefined;
|
|
9730
|
-
media?: string | undefined;
|
|
9731
|
-
refresh_url?: string | undefined;
|
|
9732
|
-
url?: string | undefined;
|
|
9733
|
-
width?: number | undefined;
|
|
9734
|
-
} | undefined;
|
|
9735
|
-
}, {
|
|
9736
|
-
alias?: string | undefined;
|
|
9737
|
-
name?: string | undefined;
|
|
9738
|
-
id?: string | undefined;
|
|
9739
|
-
profile_picture?: {
|
|
9740
|
-
mime_type?: string | undefined;
|
|
9741
|
-
file?: string | undefined;
|
|
9742
|
-
height?: number | undefined;
|
|
9743
|
-
media?: string | undefined;
|
|
9744
|
-
refresh_url?: string | undefined;
|
|
9745
|
-
url?: string | undefined;
|
|
9746
|
-
width?: number | undefined;
|
|
9747
|
-
} | undefined;
|
|
9748
|
-
}>>;
|
|
9749
|
-
/** ID of the agent assigned as owner (`agi_...`). `null` if the owner is a human user, the task is unassigned, or the assigned agent was deleted. */
|
|
9750
|
-
owner_agent: z.ZodOptional<z.ZodString>;
|
|
9751
|
-
/** ID of the user assigned as owner (`usr_...`). `null` if the owner is an agent, the task is unassigned, or the assigned agent was deleted. */
|
|
9752
|
-
owner_user: z.ZodOptional<z.ZodString>;
|
|
9753
|
-
/** ID of the parent task when this task is a subtask (`tsk_...`). `null` for top-level tasks. Subtasks nest exactly one level. */
|
|
9754
|
-
parent: z.ZodOptional<z.ZodString>;
|
|
9755
|
-
/** Priority level of the task from `0` (highest) to `4` (lowest). Defaults to `2` (medium) when not explicitly set. */
|
|
9756
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
9757
|
-
/** ID of the developer sandbox this task is scoped to (`dsb_...`). `null` for tasks outside a sandbox environment. */
|
|
9758
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
9759
|
-
/** Current status of the task. One of `"open"`, `"in_progress"`, or `"done"`. */
|
|
9760
|
-
status: z.ZodString;
|
|
9761
|
-
/** Number of subtasks under this task. Computed on list/show reads; create/update responses may report 0 until the next read. Always 0 for subtasks. */
|
|
9762
|
-
subtasks_count: z.ZodOptional<z.ZodNumber>;
|
|
9763
|
-
/** Labels for grouping and filtering, stored lowercase and de-duplicated. Empty array when untagged. */
|
|
9764
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9765
|
-
/** ID of the team that owns this task (`tem_...`). `null` if the task is not scoped to a team. */
|
|
9766
|
-
team: z.ZodOptional<z.ZodString>;
|
|
9767
|
-
/** ID of the thread this task is bound to (`thr_...`) — the conversation it was filed from, or the thread passed at creation. `null` for tasks not tied to a thread. */
|
|
9768
|
-
thread: z.ZodOptional<z.ZodString>;
|
|
9769
|
-
/** When the task was last modified (ISO 8601). */
|
|
9770
|
-
updated_at: z.ZodOptional<z.ZodString>;
|
|
9771
|
-
/** ID of the user that owns this task (`usr_...`). `null` if the task is scoped to a team. */
|
|
9772
|
-
user: z.ZodOptional<z.ZodString>;
|
|
9773
|
-
}, "strip", z.ZodTypeAny, {
|
|
9774
|
-
name: string;
|
|
9775
|
-
status: string;
|
|
9776
|
-
id: string;
|
|
9777
|
-
agent?: string | undefined;
|
|
9778
|
-
thread?: string | undefined;
|
|
9779
|
-
team?: string | undefined;
|
|
9780
|
-
org?: string | undefined;
|
|
9781
|
-
description?: string | undefined;
|
|
9782
|
-
created_at?: string | undefined;
|
|
9783
|
-
updated_at?: string | undefined;
|
|
9784
|
-
user?: string | undefined;
|
|
9785
|
-
sandbox?: string | undefined;
|
|
9786
|
-
parent?: string | undefined;
|
|
9787
|
-
metadata?: Record<string, unknown> | undefined;
|
|
9788
|
-
blocked_by_count?: number | undefined;
|
|
9789
|
-
closed_at?: string | undefined;
|
|
9790
|
-
comments_count?: number | undefined;
|
|
9791
|
-
created_by_actor?: {
|
|
9792
|
-
alias?: string | undefined;
|
|
9793
|
-
name?: string | undefined;
|
|
9794
|
-
id?: string | undefined;
|
|
9795
|
-
profile_picture?: {
|
|
9796
|
-
mime_type?: string | undefined;
|
|
9797
|
-
file?: string | undefined;
|
|
9798
|
-
height?: number | undefined;
|
|
9799
|
-
media?: string | undefined;
|
|
9800
|
-
refresh_url?: string | undefined;
|
|
9801
|
-
url?: string | undefined;
|
|
9802
|
-
width?: number | undefined;
|
|
9803
|
-
} | undefined;
|
|
9804
|
-
} | undefined;
|
|
9805
|
-
created_by_agent?: string | undefined;
|
|
9806
|
-
created_by_user?: string | undefined;
|
|
9807
|
-
due_date?: string | undefined;
|
|
9808
|
-
is_blocked?: boolean | undefined;
|
|
9809
|
-
links?: Record<string, unknown> | undefined;
|
|
9810
|
-
owner_actor?: {
|
|
9811
|
-
alias?: string | undefined;
|
|
9812
|
-
name?: string | undefined;
|
|
9813
|
-
id?: string | undefined;
|
|
9814
|
-
profile_picture?: {
|
|
9815
|
-
mime_type?: string | undefined;
|
|
9816
|
-
file?: string | undefined;
|
|
9817
|
-
height?: number | undefined;
|
|
9818
|
-
media?: string | undefined;
|
|
9819
|
-
refresh_url?: string | undefined;
|
|
9820
|
-
url?: string | undefined;
|
|
9821
|
-
width?: number | undefined;
|
|
9822
|
-
} | undefined;
|
|
9823
|
-
} | undefined;
|
|
9824
|
-
owner_agent?: string | undefined;
|
|
9825
|
-
owner_user?: string | undefined;
|
|
9826
|
-
priority?: number | undefined;
|
|
9827
|
-
subtasks_count?: number | undefined;
|
|
9828
|
-
tags?: string[] | undefined;
|
|
9829
|
-
}, {
|
|
9830
|
-
name: string;
|
|
9831
|
-
status: string;
|
|
9832
|
-
id: string;
|
|
9833
|
-
agent?: string | undefined;
|
|
9834
|
-
thread?: string | undefined;
|
|
9835
|
-
team?: string | undefined;
|
|
9836
|
-
org?: string | undefined;
|
|
9837
|
-
description?: string | undefined;
|
|
9838
|
-
created_at?: string | undefined;
|
|
9839
|
-
updated_at?: string | undefined;
|
|
9840
|
-
user?: string | undefined;
|
|
9841
|
-
sandbox?: string | undefined;
|
|
9842
|
-
parent?: string | undefined;
|
|
9843
|
-
metadata?: Record<string, unknown> | undefined;
|
|
9844
|
-
blocked_by_count?: number | undefined;
|
|
9845
|
-
closed_at?: string | undefined;
|
|
9846
|
-
comments_count?: number | undefined;
|
|
9847
|
-
created_by_actor?: {
|
|
9848
|
-
alias?: string | undefined;
|
|
9849
|
-
name?: string | undefined;
|
|
9850
|
-
id?: string | undefined;
|
|
9851
|
-
profile_picture?: {
|
|
9852
|
-
mime_type?: string | undefined;
|
|
9853
|
-
file?: string | undefined;
|
|
9854
|
-
height?: number | undefined;
|
|
9855
|
-
media?: string | undefined;
|
|
9856
|
-
refresh_url?: string | undefined;
|
|
9857
|
-
url?: string | undefined;
|
|
9858
|
-
width?: number | undefined;
|
|
9859
|
-
} | undefined;
|
|
9860
|
-
} | undefined;
|
|
9861
|
-
created_by_agent?: string | undefined;
|
|
9862
|
-
created_by_user?: string | undefined;
|
|
9863
|
-
due_date?: string | undefined;
|
|
9864
|
-
is_blocked?: boolean | undefined;
|
|
9865
|
-
links?: Record<string, unknown> | undefined;
|
|
9866
|
-
owner_actor?: {
|
|
9867
|
-
alias?: string | undefined;
|
|
9868
|
-
name?: string | undefined;
|
|
9869
|
-
id?: string | undefined;
|
|
9870
|
-
profile_picture?: {
|
|
9871
|
-
mime_type?: string | undefined;
|
|
9872
|
-
file?: string | undefined;
|
|
9873
|
-
height?: number | undefined;
|
|
9874
|
-
media?: string | undefined;
|
|
9875
|
-
refresh_url?: string | undefined;
|
|
9876
|
-
url?: string | undefined;
|
|
9877
|
-
width?: number | undefined;
|
|
9878
|
-
} | undefined;
|
|
9879
|
-
} | undefined;
|
|
9880
|
-
owner_agent?: string | undefined;
|
|
9881
|
-
owner_user?: string | undefined;
|
|
9882
|
-
priority?: number | undefined;
|
|
9883
|
-
subtasks_count?: number | undefined;
|
|
9884
|
-
tags?: string[] | undefined;
|
|
9885
|
-
}>;
|
|
9886
9840
|
/** The result of a configuration validation check, indicating whether the config is valid and listing any errors or warnings. */
|
|
9887
9841
|
export interface ValidationResult {
|
|
9888
9842
|
/** List of human-readable error messages describing why validation failed. Empty or absent when `valid` is `true`. */
|
|
@@ -19533,7 +19487,7 @@ export declare const agentRoutineRunDeliverySchema: z.ZodObject<{
|
|
|
19533
19487
|
type: z.ZodEnum<["none", "thread", "reply"]>;
|
|
19534
19488
|
}, "strip", z.ZodTypeAny, {
|
|
19535
19489
|
type: "thread" | "none" | "reply";
|
|
19536
|
-
status: "
|
|
19490
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19537
19491
|
message?: string | undefined;
|
|
19538
19492
|
thread?: string | undefined;
|
|
19539
19493
|
delivered_at?: string | undefined;
|
|
@@ -19541,7 +19495,7 @@ export declare const agentRoutineRunDeliverySchema: z.ZodObject<{
|
|
|
19541
19495
|
last_error?: string | undefined;
|
|
19542
19496
|
}, {
|
|
19543
19497
|
type: "thread" | "none" | "reply";
|
|
19544
|
-
status: "
|
|
19498
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19545
19499
|
message?: string | undefined;
|
|
19546
19500
|
thread?: string | undefined;
|
|
19547
19501
|
delivered_at?: string | undefined;
|
|
@@ -19691,7 +19645,7 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
19691
19645
|
type: z.ZodEnum<["none", "thread", "reply"]>;
|
|
19692
19646
|
}, "strip", z.ZodTypeAny, {
|
|
19693
19647
|
type: "thread" | "none" | "reply";
|
|
19694
|
-
status: "
|
|
19648
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19695
19649
|
message?: string | undefined;
|
|
19696
19650
|
thread?: string | undefined;
|
|
19697
19651
|
delivered_at?: string | undefined;
|
|
@@ -19699,7 +19653,7 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
19699
19653
|
last_error?: string | undefined;
|
|
19700
19654
|
}, {
|
|
19701
19655
|
type: "thread" | "none" | "reply";
|
|
19702
|
-
status: "
|
|
19656
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19703
19657
|
message?: string | undefined;
|
|
19704
19658
|
thread?: string | undefined;
|
|
19705
19659
|
delivered_at?: string | undefined;
|
|
@@ -19775,7 +19729,7 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
19775
19729
|
} | undefined;
|
|
19776
19730
|
delivery?: {
|
|
19777
19731
|
type: "thread" | "none" | "reply";
|
|
19778
|
-
status: "
|
|
19732
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19779
19733
|
message?: string | undefined;
|
|
19780
19734
|
thread?: string | undefined;
|
|
19781
19735
|
delivered_at?: string | undefined;
|
|
@@ -19820,7 +19774,7 @@ export declare const agentRoutineRunSchema: z.ZodObject<{
|
|
|
19820
19774
|
} | undefined;
|
|
19821
19775
|
delivery?: {
|
|
19822
19776
|
type: "thread" | "none" | "reply";
|
|
19823
|
-
status: "
|
|
19777
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19824
19778
|
message?: string | undefined;
|
|
19825
19779
|
thread?: string | undefined;
|
|
19826
19780
|
delivered_at?: string | undefined;
|
|
@@ -19957,7 +19911,7 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
19957
19911
|
type: z.ZodEnum<["none", "thread", "reply"]>;
|
|
19958
19912
|
}, "strip", z.ZodTypeAny, {
|
|
19959
19913
|
type: "thread" | "none" | "reply";
|
|
19960
|
-
status: "
|
|
19914
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19961
19915
|
message?: string | undefined;
|
|
19962
19916
|
thread?: string | undefined;
|
|
19963
19917
|
delivered_at?: string | undefined;
|
|
@@ -19965,7 +19919,7 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
19965
19919
|
last_error?: string | undefined;
|
|
19966
19920
|
}, {
|
|
19967
19921
|
type: "thread" | "none" | "reply";
|
|
19968
|
-
status: "
|
|
19922
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
19969
19923
|
message?: string | undefined;
|
|
19970
19924
|
thread?: string | undefined;
|
|
19971
19925
|
delivered_at?: string | undefined;
|
|
@@ -20041,7 +19995,7 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
20041
19995
|
} | undefined;
|
|
20042
19996
|
delivery?: {
|
|
20043
19997
|
type: "thread" | "none" | "reply";
|
|
20044
|
-
status: "
|
|
19998
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
20045
19999
|
message?: string | undefined;
|
|
20046
20000
|
thread?: string | undefined;
|
|
20047
20001
|
delivered_at?: string | undefined;
|
|
@@ -20086,7 +20040,7 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
20086
20040
|
} | undefined;
|
|
20087
20041
|
delivery?: {
|
|
20088
20042
|
type: "thread" | "none" | "reply";
|
|
20089
|
-
status: "
|
|
20043
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
20090
20044
|
message?: string | undefined;
|
|
20091
20045
|
thread?: string | undefined;
|
|
20092
20046
|
delivered_at?: string | undefined;
|
|
@@ -20133,7 +20087,7 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
20133
20087
|
} | undefined;
|
|
20134
20088
|
delivery?: {
|
|
20135
20089
|
type: "thread" | "none" | "reply";
|
|
20136
|
-
status: "
|
|
20090
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
20137
20091
|
message?: string | undefined;
|
|
20138
20092
|
thread?: string | undefined;
|
|
20139
20093
|
delivered_at?: string | undefined;
|
|
@@ -20182,7 +20136,7 @@ export declare const agentRoutineRunListResponseSchema: z.ZodObject<{
|
|
|
20182
20136
|
} | undefined;
|
|
20183
20137
|
delivery?: {
|
|
20184
20138
|
type: "thread" | "none" | "reply";
|
|
20185
|
-
status: "
|
|
20139
|
+
status: "pending" | "failed" | "not_requested" | "delivered";
|
|
20186
20140
|
message?: string | undefined;
|
|
20187
20141
|
thread?: string | undefined;
|
|
20188
20142
|
delivered_at?: string | undefined;
|
|
@@ -25742,6 +25696,22 @@ export declare const solutionImportResponseSchema: z.ZodObject<{
|
|
|
25742
25696
|
lookup_key?: string | undefined;
|
|
25743
25697
|
}[] | undefined;
|
|
25744
25698
|
}>;
|
|
25699
|
+
/** One-time connection details for a webhook-auth Automation install. */
|
|
25700
|
+
export interface SolutionInstallResponseWebhook {
|
|
25701
|
+
signing_secret: string;
|
|
25702
|
+
url: string;
|
|
25703
|
+
}
|
|
25704
|
+
/** Runtime validator for {@link SolutionInstallResponseWebhook}. */
|
|
25705
|
+
export declare const solutionInstallResponseWebhookSchema: z.ZodObject<{
|
|
25706
|
+
signing_secret: z.ZodString;
|
|
25707
|
+
url: z.ZodString;
|
|
25708
|
+
}, "strip", z.ZodTypeAny, {
|
|
25709
|
+
url: string;
|
|
25710
|
+
signing_secret: string;
|
|
25711
|
+
}, {
|
|
25712
|
+
url: string;
|
|
25713
|
+
signing_secret: string;
|
|
25714
|
+
}>;
|
|
25745
25715
|
/** The runtime resource provisioned by installing a Solution, along with a reference back to the source Solution config. */
|
|
25746
25716
|
export interface SolutionInstallResponse {
|
|
25747
25717
|
/** Public ID of the provisioned resource. The prefix reflects the resource kind: `agi_...` for Agent, `aut_...` for Automation, `art_...` for AgentRoutine, `att_...` for AgentTool, `ask_...` for AgentSkill, `cmp_...` for AgentComputer. */
|
|
@@ -25752,6 +25722,8 @@ export interface SolutionInstallResponse {
|
|
|
25752
25722
|
lookup_key?: string | undefined;
|
|
25753
25723
|
/** Solution config ID (`cfg_...`) that was used as the source for this install. */
|
|
25754
25724
|
solution: string;
|
|
25725
|
+
/** One-time connection details for a webhook-auth Automation install. */
|
|
25726
|
+
webhook?: SolutionInstallResponseWebhook | undefined;
|
|
25755
25727
|
}
|
|
25756
25728
|
/** Runtime validator for {@link SolutionInstallResponse}. */
|
|
25757
25729
|
export declare const solutionInstallResponseSchema: z.ZodObject<{
|
|
@@ -25763,21 +25735,42 @@ export declare const solutionInstallResponseSchema: z.ZodObject<{
|
|
|
25763
25735
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
25764
25736
|
/** Solution config ID (`cfg_...`) that was used as the source for this install. */
|
|
25765
25737
|
solution: z.ZodString;
|
|
25738
|
+
/** One-time connection details for a webhook-auth Automation install. */
|
|
25739
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
25740
|
+
signing_secret: z.ZodString;
|
|
25741
|
+
url: z.ZodString;
|
|
25742
|
+
}, "strip", z.ZodTypeAny, {
|
|
25743
|
+
url: string;
|
|
25744
|
+
signing_secret: string;
|
|
25745
|
+
}, {
|
|
25746
|
+
url: string;
|
|
25747
|
+
signing_secret: string;
|
|
25748
|
+
}>>;
|
|
25766
25749
|
}, "strip", z.ZodTypeAny, {
|
|
25767
25750
|
kind: string;
|
|
25768
25751
|
id: string;
|
|
25769
25752
|
solution: string;
|
|
25770
25753
|
lookup_key?: string | undefined;
|
|
25754
|
+
webhook?: {
|
|
25755
|
+
url: string;
|
|
25756
|
+
signing_secret: string;
|
|
25757
|
+
} | undefined;
|
|
25771
25758
|
}, {
|
|
25772
25759
|
kind: string;
|
|
25773
25760
|
id: string;
|
|
25774
25761
|
solution: string;
|
|
25775
25762
|
lookup_key?: string | undefined;
|
|
25763
|
+
webhook?: {
|
|
25764
|
+
url: string;
|
|
25765
|
+
signing_secret: string;
|
|
25766
|
+
} | undefined;
|
|
25776
25767
|
}>;
|
|
25777
25768
|
/** A customer-keyed instance stamped from an installed solution template. */
|
|
25778
25769
|
export interface SolutionInstance {
|
|
25779
25770
|
/** Materialized agent for this customer (`agi_...`). `null` for a row without an agent. */
|
|
25780
25771
|
agent?: string | undefined;
|
|
25772
|
+
/** Human-readable display name of the materialized agent. `null` when no agent is visible. */
|
|
25773
|
+
agent_name?: string | undefined;
|
|
25781
25774
|
/** Opaque tagged reference to the deployment target. Consumers interpret its kind. */
|
|
25782
25775
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25783
25776
|
/** When this instance was stamped. */
|
|
@@ -25805,6 +25798,8 @@ export interface SolutionInstance {
|
|
|
25805
25798
|
export declare const solutionInstanceSchema: z.ZodObject<{
|
|
25806
25799
|
/** Materialized agent for this customer (`agi_...`). `null` for a row without an agent. */
|
|
25807
25800
|
agent: z.ZodOptional<z.ZodString>;
|
|
25801
|
+
/** Human-readable display name of the materialized agent. `null` when no agent is visible. */
|
|
25802
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
25808
25803
|
/** Opaque tagged reference to the deployment target. Consumers interpret its kind. */
|
|
25809
25804
|
attachment_ref: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25810
25805
|
/** When this instance was stamped. */
|
|
@@ -25836,6 +25831,7 @@ export declare const solutionInstanceSchema: z.ZodObject<{
|
|
|
25836
25831
|
solution_template_config: string;
|
|
25837
25832
|
agent?: string | undefined;
|
|
25838
25833
|
customer_label?: string | undefined;
|
|
25834
|
+
agent_name?: string | undefined;
|
|
25839
25835
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25840
25836
|
local_edit_count?: number | undefined;
|
|
25841
25837
|
pinned_template_version?: string | undefined;
|
|
@@ -25849,6 +25845,7 @@ export declare const solutionInstanceSchema: z.ZodObject<{
|
|
|
25849
25845
|
solution_template_config: string;
|
|
25850
25846
|
agent?: string | undefined;
|
|
25851
25847
|
customer_label?: string | undefined;
|
|
25848
|
+
agent_name?: string | undefined;
|
|
25852
25849
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25853
25850
|
local_edit_count?: number | undefined;
|
|
25854
25851
|
pinned_template_version?: string | undefined;
|
|
@@ -25875,6 +25872,8 @@ export declare const solutionInstanceListResponseSchema: z.ZodObject<{
|
|
|
25875
25872
|
data: z.ZodArray<z.ZodObject<{
|
|
25876
25873
|
/** Materialized agent for this customer (`agi_...`). `null` for a row without an agent. */
|
|
25877
25874
|
agent: z.ZodOptional<z.ZodString>;
|
|
25875
|
+
/** Human-readable display name of the materialized agent. `null` when no agent is visible. */
|
|
25876
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
25878
25877
|
/** Opaque tagged reference to the deployment target. Consumers interpret its kind. */
|
|
25879
25878
|
attachment_ref: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25880
25879
|
/** When this instance was stamped. */
|
|
@@ -25906,6 +25905,7 @@ export declare const solutionInstanceListResponseSchema: z.ZodObject<{
|
|
|
25906
25905
|
solution_template_config: string;
|
|
25907
25906
|
agent?: string | undefined;
|
|
25908
25907
|
customer_label?: string | undefined;
|
|
25908
|
+
agent_name?: string | undefined;
|
|
25909
25909
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25910
25910
|
local_edit_count?: number | undefined;
|
|
25911
25911
|
pinned_template_version?: string | undefined;
|
|
@@ -25919,6 +25919,7 @@ export declare const solutionInstanceListResponseSchema: z.ZodObject<{
|
|
|
25919
25919
|
solution_template_config: string;
|
|
25920
25920
|
agent?: string | undefined;
|
|
25921
25921
|
customer_label?: string | undefined;
|
|
25922
|
+
agent_name?: string | undefined;
|
|
25922
25923
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25923
25924
|
local_edit_count?: number | undefined;
|
|
25924
25925
|
pinned_template_version?: string | undefined;
|
|
@@ -25936,6 +25937,7 @@ export declare const solutionInstanceListResponseSchema: z.ZodObject<{
|
|
|
25936
25937
|
solution_template_config: string;
|
|
25937
25938
|
agent?: string | undefined;
|
|
25938
25939
|
customer_label?: string | undefined;
|
|
25940
|
+
agent_name?: string | undefined;
|
|
25939
25941
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25940
25942
|
local_edit_count?: number | undefined;
|
|
25941
25943
|
pinned_template_version?: string | undefined;
|
|
@@ -25954,6 +25956,7 @@ export declare const solutionInstanceListResponseSchema: z.ZodObject<{
|
|
|
25954
25956
|
solution_template_config: string;
|
|
25955
25957
|
agent?: string | undefined;
|
|
25956
25958
|
customer_label?: string | undefined;
|
|
25959
|
+
agent_name?: string | undefined;
|
|
25957
25960
|
attachment_ref?: Record<string, unknown> | undefined;
|
|
25958
25961
|
local_edit_count?: number | undefined;
|
|
25959
25962
|
pinned_template_version?: string | undefined;
|