@archastro/sdk 0.18.0 → 0.19.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/auth.d.ts +42 -18
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +53 -19
- package/dist/auth.js.map +1 -1
- package/dist/channels/api_chat_channel.d.ts +11 -1
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +14 -2
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/effective-access.d.ts +1 -1
- package/dist/effective-access.d.ts.map +1 -1
- package/dist/effective-access.js +2 -5
- package/dist/effective-access.js.map +1 -1
- package/dist/types/ai.d.ts +310 -0
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +51 -1
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +14 -2
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/artifacts.js +5 -1
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/chat.d.ts +192 -168
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +10 -3
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +341 -128
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +37 -20
- package/dist/types/common.js.map +1 -1
- package/dist/types/config.d.ts +2 -2
- package/dist/types/events.d.ts +32 -32
- package/dist/types/extractions.d.ts +12 -12
- package/dist/types/tasks.d.ts +34 -8
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +12 -3
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +10 -10
- package/dist/types/threads.d.ts +18 -18
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +3 -3
- package/dist/types/threads.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +8 -2
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +7 -2
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +72 -1
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +44 -1
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +52 -0
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +35 -1
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/files.d.ts +7 -0
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +8 -1
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/knowledge_sources.d.ts +41 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +31 -1
- package/dist/v1/resources/knowledge_sources.js.map +1 -1
- package/dist/v1/resources/orgs.d.ts +506 -0
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +71 -1
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/sandboxes.d.ts +3 -2
- package/dist/v1/resources/sandboxes.d.ts.map +1 -1
- package/dist/v1/resources/sandboxes.js +4 -3
- package/dist/v1/resources/sandboxes.js.map +1 -1
- package/dist/v1/resources/scripts.d.ts +6 -2
- package/dist/v1/resources/scripts.d.ts.map +1 -1
- package/dist/v1/resources/scripts.js +5 -3
- package/dist/v1/resources/scripts.js.map +1 -1
- package/dist/v1/resources/tasks.d.ts +58 -3
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +61 -2
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +46 -14
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +54 -16
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +16 -6
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +19 -8
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +13 -3
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +13 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -1450,8 +1450,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
1450
1450
|
user?: string | null | undefined;
|
|
1451
1451
|
name?: string | undefined;
|
|
1452
1452
|
email?: string | null | undefined;
|
|
1453
|
-
team?: string | null | undefined;
|
|
1454
1453
|
org?: string | null | undefined;
|
|
1454
|
+
team?: string | null | undefined;
|
|
1455
1455
|
description?: string | null | undefined;
|
|
1456
1456
|
app?: string | undefined;
|
|
1457
1457
|
created_at?: string | undefined;
|
|
@@ -1628,8 +1628,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
1628
1628
|
user?: string | null | undefined;
|
|
1629
1629
|
name?: string | undefined;
|
|
1630
1630
|
email?: string | null | undefined;
|
|
1631
|
-
team?: string | null | undefined;
|
|
1632
1631
|
org?: string | null | undefined;
|
|
1632
|
+
team?: string | null | undefined;
|
|
1633
1633
|
description?: string | null | undefined;
|
|
1634
1634
|
app?: string | undefined;
|
|
1635
1635
|
created_at?: string | undefined;
|
|
@@ -1924,6 +1924,7 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
1924
1924
|
org_slug?: string | null | undefined;
|
|
1925
1925
|
sandbox_name?: string | null | undefined;
|
|
1926
1926
|
} | undefined;
|
|
1927
|
+
org?: string | undefined;
|
|
1927
1928
|
kind?: string | undefined;
|
|
1928
1929
|
level?: string | undefined;
|
|
1929
1930
|
agent?: string | {
|
|
@@ -1931,8 +1932,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
1931
1932
|
user?: string | null | undefined;
|
|
1932
1933
|
name?: string | undefined;
|
|
1933
1934
|
email?: string | null | undefined;
|
|
1934
|
-
team?: string | null | undefined;
|
|
1935
1935
|
org?: string | null | undefined;
|
|
1936
|
+
team?: string | null | undefined;
|
|
1936
1937
|
description?: string | null | undefined;
|
|
1937
1938
|
app?: string | undefined;
|
|
1938
1939
|
created_at?: string | undefined;
|
|
@@ -2107,7 +2108,6 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
2107
2108
|
} | undefined;
|
|
2108
2109
|
thread?: string | undefined;
|
|
2109
2110
|
team?: string | undefined;
|
|
2110
|
-
org?: string | undefined;
|
|
2111
2111
|
correlation_id?: string | undefined;
|
|
2112
2112
|
app?: string | undefined;
|
|
2113
2113
|
created_at?: string | undefined;
|
|
@@ -2143,6 +2143,7 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
2143
2143
|
org_slug?: string | null | undefined;
|
|
2144
2144
|
sandbox_name?: string | null | undefined;
|
|
2145
2145
|
} | undefined;
|
|
2146
|
+
org?: string | undefined;
|
|
2146
2147
|
kind?: string | undefined;
|
|
2147
2148
|
level?: string | undefined;
|
|
2148
2149
|
agent?: string | {
|
|
@@ -2150,8 +2151,8 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
2150
2151
|
user?: string | null | undefined;
|
|
2151
2152
|
name?: string | undefined;
|
|
2152
2153
|
email?: string | null | undefined;
|
|
2153
|
-
team?: string | null | undefined;
|
|
2154
2154
|
org?: string | null | undefined;
|
|
2155
|
+
team?: string | null | undefined;
|
|
2155
2156
|
description?: string | null | undefined;
|
|
2156
2157
|
app?: string | undefined;
|
|
2157
2158
|
created_at?: string | undefined;
|
|
@@ -2326,7 +2327,6 @@ export declare const activityFeedEntrySchema: z.ZodObject<{
|
|
|
2326
2327
|
} | undefined;
|
|
2327
2328
|
thread?: string | undefined;
|
|
2328
2329
|
team?: string | undefined;
|
|
2329
|
-
org?: string | undefined;
|
|
2330
2330
|
correlation_id?: string | undefined;
|
|
2331
2331
|
app?: string | undefined;
|
|
2332
2332
|
created_at?: string | undefined;
|
|
@@ -3426,8 +3426,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
3426
3426
|
user?: string | null | undefined;
|
|
3427
3427
|
name?: string | undefined;
|
|
3428
3428
|
email?: string | null | undefined;
|
|
3429
|
-
team?: string | null | undefined;
|
|
3430
3429
|
org?: string | null | undefined;
|
|
3430
|
+
team?: string | null | undefined;
|
|
3431
3431
|
description?: string | null | undefined;
|
|
3432
3432
|
app?: string | undefined;
|
|
3433
3433
|
created_at?: string | undefined;
|
|
@@ -3604,8 +3604,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
3604
3604
|
user?: string | null | undefined;
|
|
3605
3605
|
name?: string | undefined;
|
|
3606
3606
|
email?: string | null | undefined;
|
|
3607
|
-
team?: string | null | undefined;
|
|
3608
3607
|
org?: string | null | undefined;
|
|
3608
|
+
team?: string | null | undefined;
|
|
3609
3609
|
description?: string | null | undefined;
|
|
3610
3610
|
app?: string | undefined;
|
|
3611
3611
|
created_at?: string | undefined;
|
|
@@ -3900,6 +3900,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
3900
3900
|
org_slug?: string | null | undefined;
|
|
3901
3901
|
sandbox_name?: string | null | undefined;
|
|
3902
3902
|
} | undefined;
|
|
3903
|
+
org?: string | undefined;
|
|
3903
3904
|
kind?: string | undefined;
|
|
3904
3905
|
level?: string | undefined;
|
|
3905
3906
|
agent?: string | {
|
|
@@ -3907,8 +3908,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
3907
3908
|
user?: string | null | undefined;
|
|
3908
3909
|
name?: string | undefined;
|
|
3909
3910
|
email?: string | null | undefined;
|
|
3910
|
-
team?: string | null | undefined;
|
|
3911
3911
|
org?: string | null | undefined;
|
|
3912
|
+
team?: string | null | undefined;
|
|
3912
3913
|
description?: string | null | undefined;
|
|
3913
3914
|
app?: string | undefined;
|
|
3914
3915
|
created_at?: string | undefined;
|
|
@@ -4083,7 +4084,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4083
4084
|
} | undefined;
|
|
4084
4085
|
thread?: string | undefined;
|
|
4085
4086
|
team?: string | undefined;
|
|
4086
|
-
org?: string | undefined;
|
|
4087
4087
|
correlation_id?: string | undefined;
|
|
4088
4088
|
app?: string | undefined;
|
|
4089
4089
|
created_at?: string | undefined;
|
|
@@ -4119,6 +4119,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4119
4119
|
org_slug?: string | null | undefined;
|
|
4120
4120
|
sandbox_name?: string | null | undefined;
|
|
4121
4121
|
} | undefined;
|
|
4122
|
+
org?: string | undefined;
|
|
4122
4123
|
kind?: string | undefined;
|
|
4123
4124
|
level?: string | undefined;
|
|
4124
4125
|
agent?: string | {
|
|
@@ -4126,8 +4127,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4126
4127
|
user?: string | null | undefined;
|
|
4127
4128
|
name?: string | undefined;
|
|
4128
4129
|
email?: string | null | undefined;
|
|
4129
|
-
team?: string | null | undefined;
|
|
4130
4130
|
org?: string | null | undefined;
|
|
4131
|
+
team?: string | null | undefined;
|
|
4131
4132
|
description?: string | null | undefined;
|
|
4132
4133
|
app?: string | undefined;
|
|
4133
4134
|
created_at?: string | undefined;
|
|
@@ -4302,7 +4303,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4302
4303
|
} | undefined;
|
|
4303
4304
|
thread?: string | undefined;
|
|
4304
4305
|
team?: string | undefined;
|
|
4305
|
-
org?: string | undefined;
|
|
4306
4306
|
correlation_id?: string | undefined;
|
|
4307
4307
|
app?: string | undefined;
|
|
4308
4308
|
created_at?: string | undefined;
|
|
@@ -4342,6 +4342,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4342
4342
|
org_slug?: string | null | undefined;
|
|
4343
4343
|
sandbox_name?: string | null | undefined;
|
|
4344
4344
|
} | undefined;
|
|
4345
|
+
org?: string | undefined;
|
|
4345
4346
|
kind?: string | undefined;
|
|
4346
4347
|
level?: string | undefined;
|
|
4347
4348
|
agent?: string | {
|
|
@@ -4349,8 +4350,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4349
4350
|
user?: string | null | undefined;
|
|
4350
4351
|
name?: string | undefined;
|
|
4351
4352
|
email?: string | null | undefined;
|
|
4352
|
-
team?: string | null | undefined;
|
|
4353
4353
|
org?: string | null | undefined;
|
|
4354
|
+
team?: string | null | undefined;
|
|
4354
4355
|
description?: string | null | undefined;
|
|
4355
4356
|
app?: string | undefined;
|
|
4356
4357
|
created_at?: string | undefined;
|
|
@@ -4525,7 +4526,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4525
4526
|
} | undefined;
|
|
4526
4527
|
thread?: string | undefined;
|
|
4527
4528
|
team?: string | undefined;
|
|
4528
|
-
org?: string | undefined;
|
|
4529
4529
|
correlation_id?: string | undefined;
|
|
4530
4530
|
app?: string | undefined;
|
|
4531
4531
|
created_at?: string | undefined;
|
|
@@ -4566,6 +4566,7 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4566
4566
|
org_slug?: string | null | undefined;
|
|
4567
4567
|
sandbox_name?: string | null | undefined;
|
|
4568
4568
|
} | undefined;
|
|
4569
|
+
org?: string | undefined;
|
|
4569
4570
|
kind?: string | undefined;
|
|
4570
4571
|
level?: string | undefined;
|
|
4571
4572
|
agent?: string | {
|
|
@@ -4573,8 +4574,8 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4573
4574
|
user?: string | null | undefined;
|
|
4574
4575
|
name?: string | undefined;
|
|
4575
4576
|
email?: string | null | undefined;
|
|
4576
|
-
team?: string | null | undefined;
|
|
4577
4577
|
org?: string | null | undefined;
|
|
4578
|
+
team?: string | null | undefined;
|
|
4578
4579
|
description?: string | null | undefined;
|
|
4579
4580
|
app?: string | undefined;
|
|
4580
4581
|
created_at?: string | undefined;
|
|
@@ -4749,7 +4750,6 @@ export declare const activityFeedEntryListResponseSchema: z.ZodObject<{
|
|
|
4749
4750
|
} | undefined;
|
|
4750
4751
|
thread?: string | undefined;
|
|
4751
4752
|
team?: string | undefined;
|
|
4752
|
-
org?: string | undefined;
|
|
4753
4753
|
correlation_id?: string | undefined;
|
|
4754
4754
|
app?: string | undefined;
|
|
4755
4755
|
created_at?: string | undefined;
|
|
@@ -5041,6 +5041,32 @@ export declare const workerStatusSchema: z.ZodObject<{
|
|
|
5041
5041
|
attempt: number;
|
|
5042
5042
|
max_attempts: number;
|
|
5043
5043
|
}>;
|
|
5044
|
+
/** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
|
|
5045
|
+
export interface Setup {
|
|
5046
|
+
/** Recommended next step for MCP setup. */
|
|
5047
|
+
next_action: string;
|
|
5048
|
+
/** MCP protocol health is not checked by this assessment. */
|
|
5049
|
+
protocol_status: "not_checked";
|
|
5050
|
+
/** Reason for the current MCP setup state. */
|
|
5051
|
+
reason: string;
|
|
5052
|
+
}
|
|
5053
|
+
/** Runtime validator for {@link Setup}. */
|
|
5054
|
+
export declare const setupSchema: z.ZodObject<{
|
|
5055
|
+
/** Recommended next step for MCP setup. */
|
|
5056
|
+
next_action: z.ZodString;
|
|
5057
|
+
/** MCP protocol health is not checked by this assessment. */
|
|
5058
|
+
protocol_status: z.ZodLiteral<"not_checked">;
|
|
5059
|
+
/** Reason for the current MCP setup state. */
|
|
5060
|
+
reason: z.ZodString;
|
|
5061
|
+
}, "strip", z.ZodTypeAny, {
|
|
5062
|
+
next_action: string;
|
|
5063
|
+
protocol_status: "not_checked";
|
|
5064
|
+
reason: string;
|
|
5065
|
+
}, {
|
|
5066
|
+
next_action: string;
|
|
5067
|
+
protocol_status: "not_checked";
|
|
5068
|
+
reason: string;
|
|
5069
|
+
}>;
|
|
5044
5070
|
/** A processed variant of a media item, such as the original upload or a resized thumbnail, including a signed download URL resolved at request time. */
|
|
5045
5071
|
export interface MediaVariant {
|
|
5046
5072
|
/** MIME type of this variant's file (e.g., `"image/jpeg"`, `"video/mp4"`). `null` if the file is not loaded. */
|
|
@@ -5179,11 +5205,11 @@ export interface Attachment {
|
|
|
5179
5205
|
media_type?: string | undefined;
|
|
5180
5206
|
/** Display name of the media item. Present on `media` type only. `null` otherwise. */
|
|
5181
5207
|
name?: string | null | undefined;
|
|
5182
|
-
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
|
|
5208
|
+
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
|
|
5183
5209
|
object?: Record<string, unknown> | undefined;
|
|
5184
5210
|
/** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
|
|
5185
5211
|
title?: string | null | undefined;
|
|
5186
|
-
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"
|
|
5212
|
+
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
|
|
5187
5213
|
type: string;
|
|
5188
5214
|
/** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
|
|
5189
5215
|
url?: string | null | undefined;
|
|
@@ -5242,11 +5268,11 @@ export declare const attachmentSchema: z.ZodObject<{
|
|
|
5242
5268
|
media_type: z.ZodOptional<z.ZodString>;
|
|
5243
5269
|
/** Display name of the media item. Present on `media` type only. `null` otherwise. */
|
|
5244
5270
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5245
|
-
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
|
|
5271
|
+
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
|
|
5246
5272
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
5247
5273
|
/** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
|
|
5248
5274
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5249
|
-
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"
|
|
5275
|
+
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
|
|
5250
5276
|
type: z.ZodString;
|
|
5251
5277
|
/** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
|
|
5252
5278
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5440,6 +5466,8 @@ export declare const attachmentSchema: z.ZodObject<{
|
|
|
5440
5466
|
}>;
|
|
5441
5467
|
/** Credential bundle returned after a successful authentication exchange. Contains the access token, refresh token, and the authenticated user. */
|
|
5442
5468
|
export interface AuthTokens {
|
|
5469
|
+
/** `true` when this request created the account (the same moment the platform records the signup), `false` for a returning sign-in or a token refresh. Registration always returns `true`; password login and refresh always return `false`. */
|
|
5470
|
+
account_created: boolean;
|
|
5443
5471
|
/** Number of seconds until `token` expires. After this period, use `refresh_token` to obtain a new access token. */
|
|
5444
5472
|
expires_in: number;
|
|
5445
5473
|
/** Optional auxiliary data associated with this authentication event, such as `onboarding_job_id` when the user is completing onboarding. `null` when no extra context is present. */
|
|
@@ -5455,6 +5483,8 @@ export interface AuthTokens {
|
|
|
5455
5483
|
}
|
|
5456
5484
|
/** Runtime validator for {@link AuthTokens}. */
|
|
5457
5485
|
export declare const authTokensSchema: z.ZodObject<{
|
|
5486
|
+
/** `true` when this request created the account (the same moment the platform records the signup), `false` for a returning sign-in or a token refresh. Registration always returns `true`; password login and refresh always return `false`. */
|
|
5487
|
+
account_created: z.ZodBoolean;
|
|
5458
5488
|
/** Number of seconds until `token` expires. After this period, use `refresh_token` to obtain a new access token. */
|
|
5459
5489
|
expires_in: z.ZodNumber;
|
|
5460
5490
|
/** Optional auxiliary data associated with this authentication event, such as `onboarding_job_id` when the user is completing onboarding. `null` when no extra context is present. */
|
|
@@ -5552,6 +5582,7 @@ export declare const authTokensSchema: z.ZodObject<{
|
|
|
5552
5582
|
expires_in: number;
|
|
5553
5583
|
refresh_token: string;
|
|
5554
5584
|
token: string;
|
|
5585
|
+
account_created: boolean;
|
|
5555
5586
|
token_type: string;
|
|
5556
5587
|
metadata?: Record<string, {} | null> | undefined;
|
|
5557
5588
|
}, {
|
|
@@ -5579,6 +5610,7 @@ export declare const authTokensSchema: z.ZodObject<{
|
|
|
5579
5610
|
expires_in: number;
|
|
5580
5611
|
refresh_token: string;
|
|
5581
5612
|
token: string;
|
|
5613
|
+
account_created: boolean;
|
|
5582
5614
|
token_type: string;
|
|
5583
5615
|
metadata?: Record<string, {} | null> | undefined;
|
|
5584
5616
|
}>;
|
|
@@ -5636,8 +5668,8 @@ export declare const bugReportSchema: z.ZodObject<{
|
|
|
5636
5668
|
id: string;
|
|
5637
5669
|
client: string;
|
|
5638
5670
|
client_version: string;
|
|
5639
|
-
team?: string | undefined;
|
|
5640
5671
|
org?: string | undefined;
|
|
5672
|
+
team?: string | undefined;
|
|
5641
5673
|
app?: string | undefined;
|
|
5642
5674
|
created_at?: string | undefined;
|
|
5643
5675
|
updated_at?: string | undefined;
|
|
@@ -5648,8 +5680,8 @@ export declare const bugReportSchema: z.ZodObject<{
|
|
|
5648
5680
|
id: string;
|
|
5649
5681
|
client: string;
|
|
5650
5682
|
client_version: string;
|
|
5651
|
-
team?: string | undefined;
|
|
5652
5683
|
org?: string | undefined;
|
|
5684
|
+
team?: string | undefined;
|
|
5653
5685
|
app?: string | undefined;
|
|
5654
5686
|
created_at?: string | undefined;
|
|
5655
5687
|
updated_at?: string | undefined;
|
|
@@ -5774,12 +5806,12 @@ export declare const cancelledSchema: z.ZodObject<{
|
|
|
5774
5806
|
status: z.ZodLiteral<"cancelled">;
|
|
5775
5807
|
}, "strip", z.ZodTypeAny, {
|
|
5776
5808
|
status: "cancelled";
|
|
5777
|
-
call_id: string;
|
|
5778
5809
|
reason: string;
|
|
5810
|
+
call_id: string;
|
|
5779
5811
|
}, {
|
|
5780
5812
|
status: "cancelled";
|
|
5781
|
-
call_id: string;
|
|
5782
5813
|
reason: string;
|
|
5814
|
+
call_id: string;
|
|
5783
5815
|
}>;
|
|
5784
5816
|
/** Empty acknowledgement payload returned by channel message handlers that produce no data. The wire envelope is `{"status": "ok", "response": {}}`. */
|
|
5785
5817
|
export interface ChannelAck {
|
|
@@ -6123,11 +6155,11 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
6123
6155
|
media_type: z.ZodOptional<z.ZodString>;
|
|
6124
6156
|
/** Display name of the media item. Present on `media` type only. `null` otherwise. */
|
|
6125
6157
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6126
|
-
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
|
|
6158
|
+
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
|
|
6127
6159
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
6128
6160
|
/** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
|
|
6129
6161
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6130
|
-
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"
|
|
6162
|
+
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
|
|
6131
6163
|
type: z.ZodString;
|
|
6132
6164
|
/** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
|
|
6133
6165
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6487,10 +6519,10 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
6487
6519
|
org_slug?: string | null | undefined;
|
|
6488
6520
|
sandbox_name?: string | null | undefined;
|
|
6489
6521
|
} | null | undefined;
|
|
6522
|
+
org?: string | null | undefined;
|
|
6490
6523
|
agent?: string | null | undefined;
|
|
6491
6524
|
thread?: string | undefined;
|
|
6492
6525
|
team?: string | null | undefined;
|
|
6493
|
-
org?: string | null | undefined;
|
|
6494
6526
|
type?: string | null | undefined;
|
|
6495
6527
|
created_at?: string | undefined;
|
|
6496
6528
|
sandbox?: string | null | undefined;
|
|
@@ -6622,10 +6654,10 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
6622
6654
|
org_slug?: string | null | undefined;
|
|
6623
6655
|
sandbox_name?: string | null | undefined;
|
|
6624
6656
|
} | null | undefined;
|
|
6657
|
+
org?: string | null | undefined;
|
|
6625
6658
|
agent?: string | null | undefined;
|
|
6626
6659
|
thread?: string | undefined;
|
|
6627
6660
|
team?: string | null | undefined;
|
|
6628
|
-
org?: string | null | undefined;
|
|
6629
6661
|
type?: string | null | undefined;
|
|
6630
6662
|
created_at?: string | undefined;
|
|
6631
6663
|
sandbox?: string | null | undefined;
|
|
@@ -6754,30 +6786,6 @@ export declare const okSchema: z.ZodObject<{
|
|
|
6754
6786
|
status: "ok";
|
|
6755
6787
|
call_id: string;
|
|
6756
6788
|
}>;
|
|
6757
|
-
/** A failed local-tool outcome. */
|
|
6758
|
-
export interface Error {
|
|
6759
|
-
call_id: string;
|
|
6760
|
-
code: string;
|
|
6761
|
-
message: string;
|
|
6762
|
-
status: "error";
|
|
6763
|
-
}
|
|
6764
|
-
/** Runtime validator for {@link Error}. */
|
|
6765
|
-
export declare const errorSchema: z.ZodObject<{
|
|
6766
|
-
call_id: z.ZodString;
|
|
6767
|
-
code: z.ZodString;
|
|
6768
|
-
message: z.ZodString;
|
|
6769
|
-
status: z.ZodLiteral<"error">;
|
|
6770
|
-
}, "strip", z.ZodTypeAny, {
|
|
6771
|
-
message: string;
|
|
6772
|
-
code: string;
|
|
6773
|
-
status: "error";
|
|
6774
|
-
call_id: string;
|
|
6775
|
-
}, {
|
|
6776
|
-
message: string;
|
|
6777
|
-
code: string;
|
|
6778
|
-
status: "error";
|
|
6779
|
-
call_id: string;
|
|
6780
|
-
}>;
|
|
6781
6789
|
/** A workflow command that a workflow node can invoke, including its identifier, human-readable name, and JSON schemas for its inputs and outputs. */
|
|
6782
6790
|
export interface Command {
|
|
6783
6791
|
/** Human-readable description of what the command does, shown alongside the name in the workflow builder. */
|
|
@@ -7129,23 +7137,78 @@ export declare const createdPrivateServiceEnrollmentSchema: z.ZodObject<{
|
|
|
7129
7137
|
generation: number;
|
|
7130
7138
|
private_service: string;
|
|
7131
7139
|
}>;
|
|
7132
|
-
/**
|
|
7140
|
+
/** Privacy-safe current trial state for one Viewer-derived billing principal. */
|
|
7141
|
+
export interface EffectiveAccessBillingTrial {
|
|
7142
|
+
/** Effective trial end: the earlier of its accepted boundary and enrollment end. */
|
|
7143
|
+
ends_at: string;
|
|
7144
|
+
/** Whether a provider webhook has confirmed a stored payment method. */
|
|
7145
|
+
payment_method_stored: boolean;
|
|
7146
|
+
/** Catalog plan whose trial is active. */
|
|
7147
|
+
plan: string;
|
|
7148
|
+
}
|
|
7149
|
+
/** Runtime validator for {@link EffectiveAccessBillingTrial}. */
|
|
7150
|
+
export declare const effectiveAccessBillingTrialSchema: z.ZodObject<{
|
|
7151
|
+
/** Effective trial end: the earlier of its accepted boundary and enrollment end. */
|
|
7152
|
+
ends_at: z.ZodString;
|
|
7153
|
+
/** Whether a provider webhook has confirmed a stored payment method. */
|
|
7154
|
+
payment_method_stored: z.ZodBoolean;
|
|
7155
|
+
/** Catalog plan whose trial is active. */
|
|
7156
|
+
plan: z.ZodString;
|
|
7157
|
+
}, "strip", z.ZodTypeAny, {
|
|
7158
|
+
ends_at: string;
|
|
7159
|
+
payment_method_stored: boolean;
|
|
7160
|
+
plan: string;
|
|
7161
|
+
}, {
|
|
7162
|
+
ends_at: string;
|
|
7163
|
+
payment_method_stored: boolean;
|
|
7164
|
+
plan: string;
|
|
7165
|
+
}>;
|
|
7166
|
+
/** Billing authority and relevant active trials for one Viewer-derived principal kind. */
|
|
7133
7167
|
export interface EffectiveAccessBillingPrincipal {
|
|
7134
7168
|
/** Whether the authenticated user may administer this principal's billing account. */
|
|
7135
7169
|
administrator: boolean;
|
|
7136
7170
|
principal_type: "user" | "org";
|
|
7171
|
+
/** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
|
|
7172
|
+
trials: EffectiveAccessBillingTrial[];
|
|
7137
7173
|
}
|
|
7138
7174
|
/** Runtime validator for {@link EffectiveAccessBillingPrincipal}. */
|
|
7139
7175
|
export declare const effectiveAccessBillingPrincipalSchema: z.ZodObject<{
|
|
7140
7176
|
/** Whether the authenticated user may administer this principal's billing account. */
|
|
7141
7177
|
administrator: z.ZodBoolean;
|
|
7142
7178
|
principal_type: z.ZodEnum<["user", "org"]>;
|
|
7179
|
+
/** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
|
|
7180
|
+
trials: z.ZodArray<z.ZodObject<{
|
|
7181
|
+
/** Effective trial end: the earlier of its accepted boundary and enrollment end. */
|
|
7182
|
+
ends_at: z.ZodString;
|
|
7183
|
+
/** Whether a provider webhook has confirmed a stored payment method. */
|
|
7184
|
+
payment_method_stored: z.ZodBoolean;
|
|
7185
|
+
/** Catalog plan whose trial is active. */
|
|
7186
|
+
plan: z.ZodString;
|
|
7187
|
+
}, "strip", z.ZodTypeAny, {
|
|
7188
|
+
ends_at: string;
|
|
7189
|
+
payment_method_stored: boolean;
|
|
7190
|
+
plan: string;
|
|
7191
|
+
}, {
|
|
7192
|
+
ends_at: string;
|
|
7193
|
+
payment_method_stored: boolean;
|
|
7194
|
+
plan: string;
|
|
7195
|
+
}>, "many">;
|
|
7143
7196
|
}, "strip", z.ZodTypeAny, {
|
|
7144
7197
|
principal_type: "user" | "org";
|
|
7145
7198
|
administrator: boolean;
|
|
7199
|
+
trials: {
|
|
7200
|
+
ends_at: string;
|
|
7201
|
+
payment_method_stored: boolean;
|
|
7202
|
+
plan: string;
|
|
7203
|
+
}[];
|
|
7146
7204
|
}, {
|
|
7147
7205
|
principal_type: "user" | "org";
|
|
7148
7206
|
administrator: boolean;
|
|
7207
|
+
trials: {
|
|
7208
|
+
ends_at: string;
|
|
7209
|
+
payment_method_stored: boolean;
|
|
7210
|
+
plan: string;
|
|
7211
|
+
}[];
|
|
7149
7212
|
}>;
|
|
7150
7213
|
/** A billing-derived effective entitlement for the authenticated user. */
|
|
7151
7214
|
export interface EffectiveAccessEntitlement {
|
|
@@ -7185,26 +7248,53 @@ export declare const effectiveAccessEntitlementSchema: z.ZodObject<{
|
|
|
7185
7248
|
value_type: "boolean";
|
|
7186
7249
|
value?: boolean | null | undefined;
|
|
7187
7250
|
}>;
|
|
7188
|
-
/** Live effective access
|
|
7251
|
+
/** Live effective access, billing authority, and relevant trials for the authenticated user. */
|
|
7189
7252
|
export interface EffectiveAccess {
|
|
7190
|
-
/** Administration authority for the personal and current-organization principals. */
|
|
7253
|
+
/** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
|
|
7191
7254
|
billing: EffectiveAccessBillingPrincipal[];
|
|
7192
7255
|
/** Requested catalog entitlements in request order. */
|
|
7193
7256
|
entitlements: EffectiveAccessEntitlement[];
|
|
7194
7257
|
}
|
|
7195
7258
|
/** Runtime validator for {@link EffectiveAccess}. */
|
|
7196
7259
|
export declare const effectiveAccessSchema: z.ZodObject<{
|
|
7197
|
-
/** Administration authority for the personal and current-organization principals. */
|
|
7260
|
+
/** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
|
|
7198
7261
|
billing: z.ZodArray<z.ZodObject<{
|
|
7199
7262
|
/** Whether the authenticated user may administer this principal's billing account. */
|
|
7200
7263
|
administrator: z.ZodBoolean;
|
|
7201
7264
|
principal_type: z.ZodEnum<["user", "org"]>;
|
|
7265
|
+
/** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
|
|
7266
|
+
trials: z.ZodArray<z.ZodObject<{
|
|
7267
|
+
/** Effective trial end: the earlier of its accepted boundary and enrollment end. */
|
|
7268
|
+
ends_at: z.ZodString;
|
|
7269
|
+
/** Whether a provider webhook has confirmed a stored payment method. */
|
|
7270
|
+
payment_method_stored: z.ZodBoolean;
|
|
7271
|
+
/** Catalog plan whose trial is active. */
|
|
7272
|
+
plan: z.ZodString;
|
|
7273
|
+
}, "strip", z.ZodTypeAny, {
|
|
7274
|
+
ends_at: string;
|
|
7275
|
+
payment_method_stored: boolean;
|
|
7276
|
+
plan: string;
|
|
7277
|
+
}, {
|
|
7278
|
+
ends_at: string;
|
|
7279
|
+
payment_method_stored: boolean;
|
|
7280
|
+
plan: string;
|
|
7281
|
+
}>, "many">;
|
|
7202
7282
|
}, "strip", z.ZodTypeAny, {
|
|
7203
7283
|
principal_type: "user" | "org";
|
|
7204
7284
|
administrator: boolean;
|
|
7285
|
+
trials: {
|
|
7286
|
+
ends_at: string;
|
|
7287
|
+
payment_method_stored: boolean;
|
|
7288
|
+
plan: string;
|
|
7289
|
+
}[];
|
|
7205
7290
|
}, {
|
|
7206
7291
|
principal_type: "user" | "org";
|
|
7207
7292
|
administrator: boolean;
|
|
7293
|
+
trials: {
|
|
7294
|
+
ends_at: string;
|
|
7295
|
+
payment_method_stored: boolean;
|
|
7296
|
+
plan: string;
|
|
7297
|
+
}[];
|
|
7208
7298
|
}>, "many">;
|
|
7209
7299
|
/** Requested catalog entitlements in request order. */
|
|
7210
7300
|
entitlements: z.ZodArray<z.ZodObject<{
|
|
@@ -7235,6 +7325,11 @@ export declare const effectiveAccessSchema: z.ZodObject<{
|
|
|
7235
7325
|
billing: {
|
|
7236
7326
|
principal_type: "user" | "org";
|
|
7237
7327
|
administrator: boolean;
|
|
7328
|
+
trials: {
|
|
7329
|
+
ends_at: string;
|
|
7330
|
+
payment_method_stored: boolean;
|
|
7331
|
+
plan: string;
|
|
7332
|
+
}[];
|
|
7238
7333
|
}[];
|
|
7239
7334
|
entitlements: {
|
|
7240
7335
|
key: string;
|
|
@@ -7247,6 +7342,11 @@ export declare const effectiveAccessSchema: z.ZodObject<{
|
|
|
7247
7342
|
billing: {
|
|
7248
7343
|
principal_type: "user" | "org";
|
|
7249
7344
|
administrator: boolean;
|
|
7345
|
+
trials: {
|
|
7346
|
+
ends_at: string;
|
|
7347
|
+
payment_method_stored: boolean;
|
|
7348
|
+
plan: string;
|
|
7349
|
+
}[];
|
|
7250
7350
|
}[];
|
|
7251
7351
|
entitlements: {
|
|
7252
7352
|
key: string;
|
|
@@ -7307,17 +7407,44 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7307
7407
|
app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7308
7408
|
/** Present only when the request supplies one or more `entitlement[]` values. */
|
|
7309
7409
|
effective_access: z.ZodOptional<z.ZodObject<{
|
|
7310
|
-
/** Administration authority for the personal and current-organization principals. */
|
|
7410
|
+
/** Administration authority and requested-entitlement-relevant trials for the personal and current-organization principals. */
|
|
7311
7411
|
billing: z.ZodArray<z.ZodObject<{
|
|
7312
7412
|
/** Whether the authenticated user may administer this principal's billing account. */
|
|
7313
7413
|
administrator: z.ZodBoolean;
|
|
7314
7414
|
principal_type: z.ZodEnum<["user", "org"]>;
|
|
7415
|
+
/** Currently active trials for this Viewer-derived principal. Contains no billing-account or provider identifiers. */
|
|
7416
|
+
trials: z.ZodArray<z.ZodObject<{
|
|
7417
|
+
/** Effective trial end: the earlier of its accepted boundary and enrollment end. */
|
|
7418
|
+
ends_at: z.ZodString;
|
|
7419
|
+
/** Whether a provider webhook has confirmed a stored payment method. */
|
|
7420
|
+
payment_method_stored: z.ZodBoolean;
|
|
7421
|
+
/** Catalog plan whose trial is active. */
|
|
7422
|
+
plan: z.ZodString;
|
|
7423
|
+
}, "strip", z.ZodTypeAny, {
|
|
7424
|
+
ends_at: string;
|
|
7425
|
+
payment_method_stored: boolean;
|
|
7426
|
+
plan: string;
|
|
7427
|
+
}, {
|
|
7428
|
+
ends_at: string;
|
|
7429
|
+
payment_method_stored: boolean;
|
|
7430
|
+
plan: string;
|
|
7431
|
+
}>, "many">;
|
|
7315
7432
|
}, "strip", z.ZodTypeAny, {
|
|
7316
7433
|
principal_type: "user" | "org";
|
|
7317
7434
|
administrator: boolean;
|
|
7435
|
+
trials: {
|
|
7436
|
+
ends_at: string;
|
|
7437
|
+
payment_method_stored: boolean;
|
|
7438
|
+
plan: string;
|
|
7439
|
+
}[];
|
|
7318
7440
|
}, {
|
|
7319
7441
|
principal_type: "user" | "org";
|
|
7320
7442
|
administrator: boolean;
|
|
7443
|
+
trials: {
|
|
7444
|
+
ends_at: string;
|
|
7445
|
+
payment_method_stored: boolean;
|
|
7446
|
+
plan: string;
|
|
7447
|
+
}[];
|
|
7321
7448
|
}>, "many">;
|
|
7322
7449
|
/** Requested catalog entitlements in request order. */
|
|
7323
7450
|
entitlements: z.ZodArray<z.ZodObject<{
|
|
@@ -7348,6 +7475,11 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7348
7475
|
billing: {
|
|
7349
7476
|
principal_type: "user" | "org";
|
|
7350
7477
|
administrator: boolean;
|
|
7478
|
+
trials: {
|
|
7479
|
+
ends_at: string;
|
|
7480
|
+
payment_method_stored: boolean;
|
|
7481
|
+
plan: string;
|
|
7482
|
+
}[];
|
|
7351
7483
|
}[];
|
|
7352
7484
|
entitlements: {
|
|
7353
7485
|
key: string;
|
|
@@ -7360,6 +7492,11 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7360
7492
|
billing: {
|
|
7361
7493
|
principal_type: "user" | "org";
|
|
7362
7494
|
administrator: boolean;
|
|
7495
|
+
trials: {
|
|
7496
|
+
ends_at: string;
|
|
7497
|
+
payment_method_stored: boolean;
|
|
7498
|
+
plan: string;
|
|
7499
|
+
}[];
|
|
7363
7500
|
}[];
|
|
7364
7501
|
entitlements: {
|
|
7365
7502
|
key: string;
|
|
@@ -7453,6 +7590,11 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7453
7590
|
billing: {
|
|
7454
7591
|
principal_type: "user" | "org";
|
|
7455
7592
|
administrator: boolean;
|
|
7593
|
+
trials: {
|
|
7594
|
+
ends_at: string;
|
|
7595
|
+
payment_method_stored: boolean;
|
|
7596
|
+
plan: string;
|
|
7597
|
+
}[];
|
|
7456
7598
|
}[];
|
|
7457
7599
|
entitlements: {
|
|
7458
7600
|
key: string;
|
|
@@ -7493,6 +7635,11 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7493
7635
|
billing: {
|
|
7494
7636
|
principal_type: "user" | "org";
|
|
7495
7637
|
administrator: boolean;
|
|
7638
|
+
trials: {
|
|
7639
|
+
ends_at: string;
|
|
7640
|
+
payment_method_stored: boolean;
|
|
7641
|
+
plan: string;
|
|
7642
|
+
}[];
|
|
7496
7643
|
}[];
|
|
7497
7644
|
entitlements: {
|
|
7498
7645
|
key: string;
|
|
@@ -7638,8 +7785,8 @@ export declare const customObjectSchema: z.ZodObject<{
|
|
|
7638
7785
|
}, "strip", z.ZodTypeAny, {
|
|
7639
7786
|
id: string;
|
|
7640
7787
|
user?: string | undefined;
|
|
7641
|
-
team?: string | undefined;
|
|
7642
7788
|
org?: string | undefined;
|
|
7789
|
+
team?: string | undefined;
|
|
7643
7790
|
created_at?: string | undefined;
|
|
7644
7791
|
updated_at?: string | undefined;
|
|
7645
7792
|
sandbox?: string | undefined;
|
|
@@ -7666,8 +7813,8 @@ export declare const customObjectSchema: z.ZodObject<{
|
|
|
7666
7813
|
}, {
|
|
7667
7814
|
id: string;
|
|
7668
7815
|
user?: string | undefined;
|
|
7669
|
-
team?: string | undefined;
|
|
7670
7816
|
org?: string | undefined;
|
|
7817
|
+
team?: string | undefined;
|
|
7671
7818
|
created_at?: string | undefined;
|
|
7672
7819
|
updated_at?: string | undefined;
|
|
7673
7820
|
sandbox?: string | undefined;
|
|
@@ -7856,8 +8003,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
7856
8003
|
}, "strip", z.ZodTypeAny, {
|
|
7857
8004
|
id: string;
|
|
7858
8005
|
user?: string | undefined;
|
|
7859
|
-
team?: string | undefined;
|
|
7860
8006
|
org?: string | undefined;
|
|
8007
|
+
team?: string | undefined;
|
|
7861
8008
|
created_at?: string | undefined;
|
|
7862
8009
|
updated_at?: string | undefined;
|
|
7863
8010
|
sandbox?: string | undefined;
|
|
@@ -7884,8 +8031,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
7884
8031
|
}, {
|
|
7885
8032
|
id: string;
|
|
7886
8033
|
user?: string | undefined;
|
|
7887
|
-
team?: string | undefined;
|
|
7888
8034
|
org?: string | undefined;
|
|
8035
|
+
team?: string | undefined;
|
|
7889
8036
|
created_at?: string | undefined;
|
|
7890
8037
|
updated_at?: string | undefined;
|
|
7891
8038
|
sandbox?: string | undefined;
|
|
@@ -7926,8 +8073,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
7926
8073
|
data: {
|
|
7927
8074
|
id: string;
|
|
7928
8075
|
user?: string | undefined;
|
|
7929
|
-
team?: string | undefined;
|
|
7930
8076
|
org?: string | undefined;
|
|
8077
|
+
team?: string | undefined;
|
|
7931
8078
|
created_at?: string | undefined;
|
|
7932
8079
|
updated_at?: string | undefined;
|
|
7933
8080
|
sandbox?: string | undefined;
|
|
@@ -7962,8 +8109,8 @@ export declare const customObjectListResponseSchema: z.ZodObject<{
|
|
|
7962
8109
|
data: {
|
|
7963
8110
|
id: string;
|
|
7964
8111
|
user?: string | undefined;
|
|
7965
|
-
team?: string | undefined;
|
|
7966
8112
|
org?: string | undefined;
|
|
8113
|
+
team?: string | undefined;
|
|
7967
8114
|
created_at?: string | undefined;
|
|
7968
8115
|
updated_at?: string | undefined;
|
|
7969
8116
|
sandbox?: string | undefined;
|
|
@@ -8204,9 +8351,9 @@ export declare const domainEventSchema: z.ZodObject<{
|
|
|
8204
8351
|
id: string;
|
|
8205
8352
|
event_name: string;
|
|
8206
8353
|
user?: string | undefined;
|
|
8354
|
+
org?: string | undefined;
|
|
8207
8355
|
agent?: string | undefined;
|
|
8208
8356
|
team?: string | undefined;
|
|
8209
|
-
org?: string | undefined;
|
|
8210
8357
|
sandbox?: string | undefined;
|
|
8211
8358
|
idempotency_key?: string | undefined;
|
|
8212
8359
|
}, {
|
|
@@ -8215,9 +8362,9 @@ export declare const domainEventSchema: z.ZodObject<{
|
|
|
8215
8362
|
id: string;
|
|
8216
8363
|
event_name: string;
|
|
8217
8364
|
user?: string | undefined;
|
|
8365
|
+
org?: string | undefined;
|
|
8218
8366
|
agent?: string | undefined;
|
|
8219
8367
|
team?: string | undefined;
|
|
8220
|
-
org?: string | undefined;
|
|
8221
8368
|
sandbox?: string | undefined;
|
|
8222
8369
|
idempotency_key?: string | undefined;
|
|
8223
8370
|
}>;
|
|
@@ -8310,9 +8457,9 @@ export declare const externalObjectSchema: z.ZodObject<{
|
|
|
8310
8457
|
integration: string;
|
|
8311
8458
|
service: "cloudflare";
|
|
8312
8459
|
user?: string | undefined;
|
|
8460
|
+
org?: string | undefined;
|
|
8313
8461
|
agent?: string | undefined;
|
|
8314
8462
|
team?: string | undefined;
|
|
8315
|
-
org?: string | undefined;
|
|
8316
8463
|
}, {
|
|
8317
8464
|
object: {
|
|
8318
8465
|
name: string;
|
|
@@ -8333,9 +8480,9 @@ export declare const externalObjectSchema: z.ZodObject<{
|
|
|
8333
8480
|
integration: string;
|
|
8334
8481
|
service: "cloudflare";
|
|
8335
8482
|
user?: string | undefined;
|
|
8483
|
+
org?: string | undefined;
|
|
8336
8484
|
agent?: string | undefined;
|
|
8337
8485
|
team?: string | undefined;
|
|
8338
|
-
org?: string | undefined;
|
|
8339
8486
|
}>;
|
|
8340
8487
|
/** A file stored in the platform's object storage, with metadata and a signed URL for downloading its contents. */
|
|
8341
8488
|
export interface StorageFile {
|
|
@@ -8425,8 +8572,8 @@ export declare const storageFileSchema: z.ZodObject<{
|
|
|
8425
8572
|
}, "strip", z.ZodTypeAny, {
|
|
8426
8573
|
id: string;
|
|
8427
8574
|
user?: string | undefined;
|
|
8428
|
-
team?: string | undefined;
|
|
8429
8575
|
org?: string | undefined;
|
|
8576
|
+
team?: string | undefined;
|
|
8430
8577
|
app?: string | undefined;
|
|
8431
8578
|
created_at?: string | undefined;
|
|
8432
8579
|
updated_at?: string | undefined;
|
|
@@ -8448,8 +8595,8 @@ export declare const storageFileSchema: z.ZodObject<{
|
|
|
8448
8595
|
}, {
|
|
8449
8596
|
id: string;
|
|
8450
8597
|
user?: string | undefined;
|
|
8451
|
-
team?: string | undefined;
|
|
8452
8598
|
org?: string | undefined;
|
|
8599
|
+
team?: string | undefined;
|
|
8453
8600
|
app?: string | undefined;
|
|
8454
8601
|
created_at?: string | undefined;
|
|
8455
8602
|
updated_at?: string | undefined;
|
|
@@ -8554,8 +8701,8 @@ export declare const agentHealthActionSchema: z.ZodObject<{
|
|
|
8554
8701
|
title: string;
|
|
8555
8702
|
source: string;
|
|
8556
8703
|
sort_order: number;
|
|
8557
|
-
agent?: string | undefined;
|
|
8558
8704
|
org?: string | undefined;
|
|
8705
|
+
agent?: string | undefined;
|
|
8559
8706
|
description?: string | undefined;
|
|
8560
8707
|
params?: Record<string, {} | null> | undefined;
|
|
8561
8708
|
app?: string | undefined;
|
|
@@ -8573,8 +8720,8 @@ export declare const agentHealthActionSchema: z.ZodObject<{
|
|
|
8573
8720
|
title: string;
|
|
8574
8721
|
source: string;
|
|
8575
8722
|
sort_order: number;
|
|
8576
|
-
agent?: string | undefined;
|
|
8577
8723
|
org?: string | undefined;
|
|
8724
|
+
agent?: string | undefined;
|
|
8578
8725
|
description?: string | undefined;
|
|
8579
8726
|
params?: Record<string, {} | null> | undefined;
|
|
8580
8727
|
app?: string | undefined;
|
|
@@ -8638,8 +8785,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
|
|
|
8638
8785
|
title: string;
|
|
8639
8786
|
source: string;
|
|
8640
8787
|
sort_order: number;
|
|
8641
|
-
agent?: string | undefined;
|
|
8642
8788
|
org?: string | undefined;
|
|
8789
|
+
agent?: string | undefined;
|
|
8643
8790
|
description?: string | undefined;
|
|
8644
8791
|
params?: Record<string, {} | null> | undefined;
|
|
8645
8792
|
app?: string | undefined;
|
|
@@ -8657,8 +8804,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
|
|
|
8657
8804
|
title: string;
|
|
8658
8805
|
source: string;
|
|
8659
8806
|
sort_order: number;
|
|
8660
|
-
agent?: string | undefined;
|
|
8661
8807
|
org?: string | undefined;
|
|
8808
|
+
agent?: string | undefined;
|
|
8662
8809
|
description?: string | undefined;
|
|
8663
8810
|
params?: Record<string, {} | null> | undefined;
|
|
8664
8811
|
app?: string | undefined;
|
|
@@ -8678,8 +8825,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
|
|
|
8678
8825
|
title: string;
|
|
8679
8826
|
source: string;
|
|
8680
8827
|
sort_order: number;
|
|
8681
|
-
agent?: string | undefined;
|
|
8682
8828
|
org?: string | undefined;
|
|
8829
|
+
agent?: string | undefined;
|
|
8683
8830
|
description?: string | undefined;
|
|
8684
8831
|
params?: Record<string, {} | null> | undefined;
|
|
8685
8832
|
app?: string | undefined;
|
|
@@ -8699,8 +8846,8 @@ export declare const healthActionListResponseSchema: z.ZodObject<{
|
|
|
8699
8846
|
title: string;
|
|
8700
8847
|
source: string;
|
|
8701
8848
|
sort_order: number;
|
|
8702
|
-
agent?: string | undefined;
|
|
8703
8849
|
org?: string | undefined;
|
|
8850
|
+
agent?: string | undefined;
|
|
8704
8851
|
description?: string | undefined;
|
|
8705
8852
|
params?: Record<string, {} | null> | undefined;
|
|
8706
8853
|
app?: string | undefined;
|
|
@@ -9420,10 +9567,10 @@ export declare const knowledgeSourceSchema: z.ZodObject<{
|
|
|
9420
9567
|
id: string;
|
|
9421
9568
|
state: string;
|
|
9422
9569
|
user?: string | undefined;
|
|
9570
|
+
org?: string | undefined;
|
|
9423
9571
|
agent?: string | undefined;
|
|
9424
9572
|
thread?: string | undefined;
|
|
9425
9573
|
team?: string | undefined;
|
|
9426
|
-
org?: string | undefined;
|
|
9427
9574
|
payload?: Record<string, {} | null> | undefined;
|
|
9428
9575
|
created_at?: string | undefined;
|
|
9429
9576
|
updated_at?: string | undefined;
|
|
@@ -9436,10 +9583,10 @@ export declare const knowledgeSourceSchema: z.ZodObject<{
|
|
|
9436
9583
|
id: string;
|
|
9437
9584
|
state: string;
|
|
9438
9585
|
user?: string | undefined;
|
|
9586
|
+
org?: string | undefined;
|
|
9439
9587
|
agent?: string | undefined;
|
|
9440
9588
|
thread?: string | undefined;
|
|
9441
9589
|
team?: string | undefined;
|
|
9442
|
-
org?: string | undefined;
|
|
9443
9590
|
payload?: Record<string, {} | null> | undefined;
|
|
9444
9591
|
created_at?: string | undefined;
|
|
9445
9592
|
updated_at?: string | undefined;
|
|
@@ -9892,11 +10039,11 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
9892
10039
|
media_type: z.ZodOptional<z.ZodString>;
|
|
9893
10040
|
/** Display name of the media item. Present on `media` type only. `null` otherwise. */
|
|
9894
10041
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9895
|
-
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. Omitted on other types. */
|
|
10042
|
+
/** The full embedded object payload. For `task` type, contains the task record. For `action` type, contains the action definition. For `chart` type, contains the chart with its inline `spec`. For `structured_data` type, contains the inline `data` and the `schema_url` or `schema_config` naming its JSON Schema. Omitted on other types. */
|
|
9896
10043
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
9897
10044
|
/** Display title. The page title for `scraped_link`, the artifact name for `artifact`, and the task title for `task` types. `null` on other types. */
|
|
9898
10045
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9899
|
-
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, or `"
|
|
10046
|
+
/** The attachment type. One of `"file"`, `"scraped_link"`, `"artifact"`, `"task"`, `"media"`, `"action"`, `"chart"`, or `"structured_data"`. Determines which additional fields are present. */
|
|
9900
10047
|
type: z.ZodString;
|
|
9901
10048
|
/** URL to access the resource. A signed download URL for `file` and `artifact` types; the original URL for `scraped_link`; a media playback URL for `media`. `null` on `task` and `action` types. */
|
|
9902
10049
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10256,10 +10403,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
10256
10403
|
org_slug?: string | null | undefined;
|
|
10257
10404
|
sandbox_name?: string | null | undefined;
|
|
10258
10405
|
} | null | undefined;
|
|
10406
|
+
org?: string | null | undefined;
|
|
10259
10407
|
agent?: string | null | undefined;
|
|
10260
10408
|
thread?: string | undefined;
|
|
10261
10409
|
team?: string | null | undefined;
|
|
10262
|
-
org?: string | null | undefined;
|
|
10263
10410
|
type?: string | null | undefined;
|
|
10264
10411
|
created_at?: string | undefined;
|
|
10265
10412
|
sandbox?: string | null | undefined;
|
|
@@ -10391,10 +10538,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
10391
10538
|
org_slug?: string | null | undefined;
|
|
10392
10539
|
sandbox_name?: string | null | undefined;
|
|
10393
10540
|
} | null | undefined;
|
|
10541
|
+
org?: string | null | undefined;
|
|
10394
10542
|
agent?: string | null | undefined;
|
|
10395
10543
|
thread?: string | undefined;
|
|
10396
10544
|
team?: string | null | undefined;
|
|
10397
|
-
org?: string | null | undefined;
|
|
10398
10545
|
type?: string | null | undefined;
|
|
10399
10546
|
created_at?: string | undefined;
|
|
10400
10547
|
sandbox?: string | null | undefined;
|
|
@@ -10530,10 +10677,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
10530
10677
|
org_slug?: string | null | undefined;
|
|
10531
10678
|
sandbox_name?: string | null | undefined;
|
|
10532
10679
|
} | null | undefined;
|
|
10680
|
+
org?: string | null | undefined;
|
|
10533
10681
|
agent?: string | null | undefined;
|
|
10534
10682
|
thread?: string | undefined;
|
|
10535
10683
|
team?: string | null | undefined;
|
|
10536
|
-
org?: string | null | undefined;
|
|
10537
10684
|
type?: string | null | undefined;
|
|
10538
10685
|
created_at?: string | undefined;
|
|
10539
10686
|
sandbox?: string | null | undefined;
|
|
@@ -10671,10 +10818,10 @@ export declare const paginatedRepliesSchema: z.ZodObject<{
|
|
|
10671
10818
|
org_slug?: string | null | undefined;
|
|
10672
10819
|
sandbox_name?: string | null | undefined;
|
|
10673
10820
|
} | null | undefined;
|
|
10821
|
+
org?: string | null | undefined;
|
|
10674
10822
|
agent?: string | null | undefined;
|
|
10675
10823
|
thread?: string | undefined;
|
|
10676
10824
|
team?: string | null | undefined;
|
|
10677
|
-
org?: string | null | undefined;
|
|
10678
10825
|
type?: string | null | undefined;
|
|
10679
10826
|
created_at?: string | undefined;
|
|
10680
10827
|
sandbox?: string | null | undefined;
|
|
@@ -12128,8 +12275,8 @@ export declare const trajectorySchema: z.ZodObject<{
|
|
|
12128
12275
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
12129
12276
|
}, "strip", z.ZodTypeAny, {
|
|
12130
12277
|
id: string;
|
|
12131
|
-
team?: string | null | undefined;
|
|
12132
12278
|
org?: string | null | undefined;
|
|
12279
|
+
team?: string | null | undefined;
|
|
12133
12280
|
created_at?: string | undefined;
|
|
12134
12281
|
updated_at?: string | undefined;
|
|
12135
12282
|
sandbox?: string | null | undefined;
|
|
@@ -12137,8 +12284,8 @@ export declare const trajectorySchema: z.ZodObject<{
|
|
|
12137
12284
|
messages?: Record<string, {} | null>[] | undefined;
|
|
12138
12285
|
}, {
|
|
12139
12286
|
id: string;
|
|
12140
|
-
team?: string | null | undefined;
|
|
12141
12287
|
org?: string | null | undefined;
|
|
12288
|
+
team?: string | null | undefined;
|
|
12142
12289
|
created_at?: string | undefined;
|
|
12143
12290
|
updated_at?: string | undefined;
|
|
12144
12291
|
sandbox?: string | null | undefined;
|
|
@@ -12787,7 +12934,7 @@ export interface SolutionSummary {
|
|
|
12787
12934
|
events?: Record<string, unknown> | undefined;
|
|
12788
12935
|
/** Solution config ID (`cfg_...`). */
|
|
12789
12936
|
id: string;
|
|
12790
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
12937
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
12791
12938
|
image_url?: string | null | undefined;
|
|
12792
12939
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
12793
12940
|
installed_config_ids: string[];
|
|
@@ -12846,7 +12993,7 @@ export declare const solutionSummarySchema: z.ZodObject<{
|
|
|
12846
12993
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
12847
12994
|
/** Solution config ID (`cfg_...`). */
|
|
12848
12995
|
id: z.ZodString;
|
|
12849
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
12996
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
12850
12997
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12851
12998
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
12852
12999
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -13234,7 +13381,7 @@ export declare const agentSourceSolutionSchema: z.ZodObject<{
|
|
|
13234
13381
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
13235
13382
|
/** Solution config ID (`cfg_...`). */
|
|
13236
13383
|
id: z.ZodString;
|
|
13237
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
13384
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
13238
13385
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13239
13386
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
13240
13387
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -13608,7 +13755,7 @@ export declare const agentSourceSolutionSchema: z.ZodObject<{
|
|
|
13608
13755
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
13609
13756
|
/** Solution config ID (`cfg_...`). */
|
|
13610
13757
|
id: z.ZodString;
|
|
13611
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
13758
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
13612
13759
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13613
13760
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
13614
13761
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -14467,7 +14614,7 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
14467
14614
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
14468
14615
|
/** Solution config ID (`cfg_...`). */
|
|
14469
14616
|
id: z.ZodString;
|
|
14470
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
14617
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
14471
14618
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14472
14619
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
14473
14620
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -14841,7 +14988,7 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
14841
14988
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
14842
14989
|
/** Solution config ID (`cfg_...`). */
|
|
14843
14990
|
id: z.ZodString;
|
|
14844
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
14991
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
14845
14992
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14846
14993
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
14847
14994
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -15538,8 +15685,8 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
15538
15685
|
user?: string | null | undefined;
|
|
15539
15686
|
name?: string | undefined;
|
|
15540
15687
|
email?: string | null | undefined;
|
|
15541
|
-
team?: string | null | undefined;
|
|
15542
15688
|
org?: string | null | undefined;
|
|
15689
|
+
team?: string | null | undefined;
|
|
15543
15690
|
description?: string | null | undefined;
|
|
15544
15691
|
app?: string | undefined;
|
|
15545
15692
|
created_at?: string | undefined;
|
|
@@ -15716,8 +15863,8 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
15716
15863
|
user?: string | null | undefined;
|
|
15717
15864
|
name?: string | undefined;
|
|
15718
15865
|
email?: string | null | undefined;
|
|
15719
|
-
team?: string | null | undefined;
|
|
15720
15866
|
org?: string | null | undefined;
|
|
15867
|
+
team?: string | null | undefined;
|
|
15721
15868
|
description?: string | null | undefined;
|
|
15722
15869
|
app?: string | undefined;
|
|
15723
15870
|
created_at?: string | undefined;
|
|
@@ -16276,8 +16423,8 @@ export declare const agentCreateResponseSchema: z.ZodObject<{
|
|
|
16276
16423
|
user?: string | null | undefined;
|
|
16277
16424
|
name?: string | undefined;
|
|
16278
16425
|
email?: string | null | undefined;
|
|
16279
|
-
team?: string | null | undefined;
|
|
16280
16426
|
org?: string | null | undefined;
|
|
16427
|
+
team?: string | null | undefined;
|
|
16281
16428
|
app?: string | undefined;
|
|
16282
16429
|
created_at?: string | undefined;
|
|
16283
16430
|
updated_at?: string | undefined;
|
|
@@ -16315,8 +16462,8 @@ export declare const agentCreateResponseSchema: z.ZodObject<{
|
|
|
16315
16462
|
user?: string | null | undefined;
|
|
16316
16463
|
name?: string | undefined;
|
|
16317
16464
|
email?: string | null | undefined;
|
|
16318
|
-
team?: string | null | undefined;
|
|
16319
16465
|
org?: string | null | undefined;
|
|
16466
|
+
team?: string | null | undefined;
|
|
16320
16467
|
app?: string | undefined;
|
|
16321
16468
|
created_at?: string | undefined;
|
|
16322
16469
|
updated_at?: string | undefined;
|
|
@@ -16524,9 +16671,9 @@ export declare const agentExportSchema: z.ZodObject<{
|
|
|
16524
16671
|
kind: string;
|
|
16525
16672
|
id: string;
|
|
16526
16673
|
user?: string | undefined;
|
|
16674
|
+
org?: string | undefined;
|
|
16527
16675
|
agent?: string | undefined;
|
|
16528
16676
|
team?: string | undefined;
|
|
16529
|
-
org?: string | undefined;
|
|
16530
16677
|
created_at?: string | undefined;
|
|
16531
16678
|
updated_at?: string | undefined;
|
|
16532
16679
|
sandbox?: string | undefined;
|
|
@@ -16553,9 +16700,9 @@ export declare const agentExportSchema: z.ZodObject<{
|
|
|
16553
16700
|
kind: string;
|
|
16554
16701
|
id: string;
|
|
16555
16702
|
user?: string | undefined;
|
|
16703
|
+
org?: string | undefined;
|
|
16556
16704
|
agent?: string | undefined;
|
|
16557
16705
|
team?: string | undefined;
|
|
16558
|
-
org?: string | undefined;
|
|
16559
16706
|
created_at?: string | undefined;
|
|
16560
16707
|
updated_at?: string | undefined;
|
|
16561
16708
|
sandbox?: string | undefined;
|
|
@@ -16587,9 +16734,9 @@ export declare const agentExportSchema: z.ZodObject<{
|
|
|
16587
16734
|
kind: string;
|
|
16588
16735
|
id: string;
|
|
16589
16736
|
user?: string | undefined;
|
|
16737
|
+
org?: string | undefined;
|
|
16590
16738
|
agent?: string | undefined;
|
|
16591
16739
|
team?: string | undefined;
|
|
16592
|
-
org?: string | undefined;
|
|
16593
16740
|
created_at?: string | undefined;
|
|
16594
16741
|
updated_at?: string | undefined;
|
|
16595
16742
|
sandbox?: string | undefined;
|
|
@@ -16619,9 +16766,9 @@ export declare const agentExportSchema: z.ZodObject<{
|
|
|
16619
16766
|
kind: string;
|
|
16620
16767
|
id: string;
|
|
16621
16768
|
user?: string | undefined;
|
|
16769
|
+
org?: string | undefined;
|
|
16622
16770
|
agent?: string | undefined;
|
|
16623
16771
|
team?: string | undefined;
|
|
16624
|
-
org?: string | undefined;
|
|
16625
16772
|
created_at?: string | undefined;
|
|
16626
16773
|
updated_at?: string | undefined;
|
|
16627
16774
|
sandbox?: string | undefined;
|
|
@@ -16799,7 +16946,7 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
16799
16946
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
16800
16947
|
/** Solution config ID (`cfg_...`). */
|
|
16801
16948
|
id: z.ZodString;
|
|
16802
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
16949
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
16803
16950
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16804
16951
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
16805
16952
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -17173,7 +17320,7 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
17173
17320
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
17174
17321
|
/** Solution config ID (`cfg_...`). */
|
|
17175
17322
|
id: z.ZodString;
|
|
17176
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
17323
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
17177
17324
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17178
17325
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
17179
17326
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -17870,8 +18017,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
17870
18017
|
user?: string | null | undefined;
|
|
17871
18018
|
name?: string | undefined;
|
|
17872
18019
|
email?: string | null | undefined;
|
|
17873
|
-
team?: string | null | undefined;
|
|
17874
18020
|
org?: string | null | undefined;
|
|
18021
|
+
team?: string | null | undefined;
|
|
17875
18022
|
description?: string | null | undefined;
|
|
17876
18023
|
app?: string | undefined;
|
|
17877
18024
|
created_at?: string | undefined;
|
|
@@ -18048,8 +18195,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18048
18195
|
user?: string | null | undefined;
|
|
18049
18196
|
name?: string | undefined;
|
|
18050
18197
|
email?: string | null | undefined;
|
|
18051
|
-
team?: string | null | undefined;
|
|
18052
18198
|
org?: string | null | undefined;
|
|
18199
|
+
team?: string | null | undefined;
|
|
18053
18200
|
description?: string | null | undefined;
|
|
18054
18201
|
app?: string | undefined;
|
|
18055
18202
|
created_at?: string | undefined;
|
|
@@ -18274,8 +18421,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18274
18421
|
title: string;
|
|
18275
18422
|
source: string;
|
|
18276
18423
|
sort_order: number;
|
|
18277
|
-
agent?: string | undefined;
|
|
18278
18424
|
org?: string | undefined;
|
|
18425
|
+
agent?: string | undefined;
|
|
18279
18426
|
description?: string | undefined;
|
|
18280
18427
|
params?: Record<string, {} | null> | undefined;
|
|
18281
18428
|
app?: string | undefined;
|
|
@@ -18293,8 +18440,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18293
18440
|
title: string;
|
|
18294
18441
|
source: string;
|
|
18295
18442
|
sort_order: number;
|
|
18296
|
-
agent?: string | undefined;
|
|
18297
18443
|
org?: string | undefined;
|
|
18444
|
+
agent?: string | undefined;
|
|
18298
18445
|
description?: string | undefined;
|
|
18299
18446
|
params?: Record<string, {} | null> | undefined;
|
|
18300
18447
|
app?: string | undefined;
|
|
@@ -18317,8 +18464,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18317
18464
|
user?: string | null | undefined;
|
|
18318
18465
|
name?: string | undefined;
|
|
18319
18466
|
email?: string | null | undefined;
|
|
18320
|
-
team?: string | null | undefined;
|
|
18321
18467
|
org?: string | null | undefined;
|
|
18468
|
+
team?: string | null | undefined;
|
|
18322
18469
|
description?: string | null | undefined;
|
|
18323
18470
|
app?: string | undefined;
|
|
18324
18471
|
created_at?: string | undefined;
|
|
@@ -18504,8 +18651,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18504
18651
|
title: string;
|
|
18505
18652
|
source: string;
|
|
18506
18653
|
sort_order: number;
|
|
18507
|
-
agent?: string | undefined;
|
|
18508
18654
|
org?: string | undefined;
|
|
18655
|
+
agent?: string | undefined;
|
|
18509
18656
|
description?: string | undefined;
|
|
18510
18657
|
params?: Record<string, {} | null> | undefined;
|
|
18511
18658
|
app?: string | undefined;
|
|
@@ -18524,8 +18671,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18524
18671
|
user?: string | null | undefined;
|
|
18525
18672
|
name?: string | undefined;
|
|
18526
18673
|
email?: string | null | undefined;
|
|
18527
|
-
team?: string | null | undefined;
|
|
18528
18674
|
org?: string | null | undefined;
|
|
18675
|
+
team?: string | null | undefined;
|
|
18529
18676
|
description?: string | null | undefined;
|
|
18530
18677
|
app?: string | undefined;
|
|
18531
18678
|
created_at?: string | undefined;
|
|
@@ -18711,8 +18858,8 @@ export declare const agentHealthSchema: z.ZodObject<{
|
|
|
18711
18858
|
title: string;
|
|
18712
18859
|
source: string;
|
|
18713
18860
|
sort_order: number;
|
|
18714
|
-
agent?: string | undefined;
|
|
18715
18861
|
org?: string | undefined;
|
|
18862
|
+
agent?: string | undefined;
|
|
18716
18863
|
description?: string | undefined;
|
|
18717
18864
|
params?: Record<string, {} | null> | undefined;
|
|
18718
18865
|
app?: string | undefined;
|
|
@@ -18873,7 +19020,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
18873
19020
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
18874
19021
|
/** Solution config ID (`cfg_...`). */
|
|
18875
19022
|
id: z.ZodString;
|
|
18876
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
19023
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
18877
19024
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18878
19025
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
18879
19026
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -19247,7 +19394,7 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
19247
19394
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
19248
19395
|
/** Solution config ID (`cfg_...`). */
|
|
19249
19396
|
id: z.ZodString;
|
|
19250
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
19397
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
19251
19398
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19252
19399
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
19253
19400
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -19944,8 +20091,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
19944
20091
|
user?: string | null | undefined;
|
|
19945
20092
|
name?: string | undefined;
|
|
19946
20093
|
email?: string | null | undefined;
|
|
19947
|
-
team?: string | null | undefined;
|
|
19948
20094
|
org?: string | null | undefined;
|
|
20095
|
+
team?: string | null | undefined;
|
|
19949
20096
|
description?: string | null | undefined;
|
|
19950
20097
|
app?: string | undefined;
|
|
19951
20098
|
created_at?: string | undefined;
|
|
@@ -20122,8 +20269,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
20122
20269
|
user?: string | null | undefined;
|
|
20123
20270
|
name?: string | undefined;
|
|
20124
20271
|
email?: string | null | undefined;
|
|
20125
|
-
team?: string | null | undefined;
|
|
20126
20272
|
org?: string | null | undefined;
|
|
20273
|
+
team?: string | null | undefined;
|
|
20127
20274
|
description?: string | null | undefined;
|
|
20128
20275
|
app?: string | undefined;
|
|
20129
20276
|
created_at?: string | undefined;
|
|
@@ -20314,8 +20461,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
20314
20461
|
user?: string | null | undefined;
|
|
20315
20462
|
name?: string | undefined;
|
|
20316
20463
|
email?: string | null | undefined;
|
|
20317
|
-
team?: string | null | undefined;
|
|
20318
20464
|
org?: string | null | undefined;
|
|
20465
|
+
team?: string | null | undefined;
|
|
20319
20466
|
description?: string | null | undefined;
|
|
20320
20467
|
app?: string | undefined;
|
|
20321
20468
|
created_at?: string | undefined;
|
|
@@ -20500,8 +20647,8 @@ export declare const agentListResponseSchema: z.ZodObject<{
|
|
|
20500
20647
|
user?: string | null | undefined;
|
|
20501
20648
|
name?: string | undefined;
|
|
20502
20649
|
email?: string | null | undefined;
|
|
20503
|
-
team?: string | null | undefined;
|
|
20504
20650
|
org?: string | null | undefined;
|
|
20651
|
+
team?: string | null | undefined;
|
|
20505
20652
|
description?: string | null | undefined;
|
|
20506
20653
|
app?: string | undefined;
|
|
20507
20654
|
created_at?: string | undefined;
|
|
@@ -22629,7 +22776,9 @@ export interface AgentTool {
|
|
|
22629
22776
|
parameters?: Record<string, unknown> | undefined;
|
|
22630
22777
|
/** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
|
|
22631
22778
|
parameters_config?: string | undefined;
|
|
22632
|
-
/** Current
|
|
22779
|
+
/** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
|
|
22780
|
+
setup?: Setup | null | undefined;
|
|
22781
|
+
/** Current status of the tool. One of `"active"` or `"draft"`. */
|
|
22633
22782
|
status?: string | undefined;
|
|
22634
22783
|
/** When the tool was last modified (ISO 8601). */
|
|
22635
22784
|
updated_at?: string | undefined;
|
|
@@ -22674,7 +22823,24 @@ export declare const agentToolSchema: z.ZodObject<{
|
|
|
22674
22823
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
22675
22824
|
/** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
|
|
22676
22825
|
parameters_config: z.ZodOptional<z.ZodString>;
|
|
22677
|
-
/** Current
|
|
22826
|
+
/** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
|
|
22827
|
+
setup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22828
|
+
/** Recommended next step for MCP setup. */
|
|
22829
|
+
next_action: z.ZodString;
|
|
22830
|
+
/** MCP protocol health is not checked by this assessment. */
|
|
22831
|
+
protocol_status: z.ZodLiteral<"not_checked">;
|
|
22832
|
+
/** Reason for the current MCP setup state. */
|
|
22833
|
+
reason: z.ZodString;
|
|
22834
|
+
}, "strip", z.ZodTypeAny, {
|
|
22835
|
+
next_action: string;
|
|
22836
|
+
protocol_status: "not_checked";
|
|
22837
|
+
reason: string;
|
|
22838
|
+
}, {
|
|
22839
|
+
next_action: string;
|
|
22840
|
+
protocol_status: "not_checked";
|
|
22841
|
+
reason: string;
|
|
22842
|
+
}>>>;
|
|
22843
|
+
/** Current status of the tool. One of `"active"` or `"draft"`. */
|
|
22678
22844
|
status: z.ZodOptional<z.ZodString>;
|
|
22679
22845
|
/** When the tool was last modified (ISO 8601). */
|
|
22680
22846
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
@@ -22700,6 +22866,11 @@ export declare const agentToolSchema: z.ZodObject<{
|
|
|
22700
22866
|
name_prefix?: string | undefined;
|
|
22701
22867
|
parameters?: Record<string, {} | null> | undefined;
|
|
22702
22868
|
parameters_config?: string | undefined;
|
|
22869
|
+
setup?: {
|
|
22870
|
+
next_action: string;
|
|
22871
|
+
protocol_status: "not_checked";
|
|
22872
|
+
reason: string;
|
|
22873
|
+
} | null | undefined;
|
|
22703
22874
|
}, {
|
|
22704
22875
|
id: string;
|
|
22705
22876
|
name?: string | undefined;
|
|
@@ -22722,6 +22893,11 @@ export declare const agentToolSchema: z.ZodObject<{
|
|
|
22722
22893
|
name_prefix?: string | undefined;
|
|
22723
22894
|
parameters?: Record<string, {} | null> | undefined;
|
|
22724
22895
|
parameters_config?: string | undefined;
|
|
22896
|
+
setup?: {
|
|
22897
|
+
next_action: string;
|
|
22898
|
+
protocol_status: "not_checked";
|
|
22899
|
+
reason: string;
|
|
22900
|
+
} | null | undefined;
|
|
22725
22901
|
}>;
|
|
22726
22902
|
/** Paginated list response containing the tools attached to an agent. */
|
|
22727
22903
|
export interface AgentToolListResponse {
|
|
@@ -22770,7 +22946,24 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
22770
22946
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
22771
22947
|
/** ID of the config record (`cfg_...`) storing the tool's parameter schema. `null` when parameters are defined inline. */
|
|
22772
22948
|
parameters_config: z.ZodOptional<z.ZodString>;
|
|
22773
|
-
/** Current
|
|
22949
|
+
/** Current MCP setup assessment, not a historical downgrade reason or upstream protocol probe. */
|
|
22950
|
+
setup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22951
|
+
/** Recommended next step for MCP setup. */
|
|
22952
|
+
next_action: z.ZodString;
|
|
22953
|
+
/** MCP protocol health is not checked by this assessment. */
|
|
22954
|
+
protocol_status: z.ZodLiteral<"not_checked">;
|
|
22955
|
+
/** Reason for the current MCP setup state. */
|
|
22956
|
+
reason: z.ZodString;
|
|
22957
|
+
}, "strip", z.ZodTypeAny, {
|
|
22958
|
+
next_action: string;
|
|
22959
|
+
protocol_status: "not_checked";
|
|
22960
|
+
reason: string;
|
|
22961
|
+
}, {
|
|
22962
|
+
next_action: string;
|
|
22963
|
+
protocol_status: "not_checked";
|
|
22964
|
+
reason: string;
|
|
22965
|
+
}>>>;
|
|
22966
|
+
/** Current status of the tool. One of `"active"` or `"draft"`. */
|
|
22774
22967
|
status: z.ZodOptional<z.ZodString>;
|
|
22775
22968
|
/** When the tool was last modified (ISO 8601). */
|
|
22776
22969
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
@@ -22796,6 +22989,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
22796
22989
|
name_prefix?: string | undefined;
|
|
22797
22990
|
parameters?: Record<string, {} | null> | undefined;
|
|
22798
22991
|
parameters_config?: string | undefined;
|
|
22992
|
+
setup?: {
|
|
22993
|
+
next_action: string;
|
|
22994
|
+
protocol_status: "not_checked";
|
|
22995
|
+
reason: string;
|
|
22996
|
+
} | null | undefined;
|
|
22799
22997
|
}, {
|
|
22800
22998
|
id: string;
|
|
22801
22999
|
name?: string | undefined;
|
|
@@ -22818,6 +23016,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
22818
23016
|
name_prefix?: string | undefined;
|
|
22819
23017
|
parameters?: Record<string, {} | null> | undefined;
|
|
22820
23018
|
parameters_config?: string | undefined;
|
|
23019
|
+
setup?: {
|
|
23020
|
+
next_action: string;
|
|
23021
|
+
protocol_status: "not_checked";
|
|
23022
|
+
reason: string;
|
|
23023
|
+
} | null | undefined;
|
|
22821
23024
|
}>, "many">;
|
|
22822
23025
|
}, "strip", z.ZodTypeAny, {
|
|
22823
23026
|
data: {
|
|
@@ -22842,6 +23045,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
22842
23045
|
name_prefix?: string | undefined;
|
|
22843
23046
|
parameters?: Record<string, {} | null> | undefined;
|
|
22844
23047
|
parameters_config?: string | undefined;
|
|
23048
|
+
setup?: {
|
|
23049
|
+
next_action: string;
|
|
23050
|
+
protocol_status: "not_checked";
|
|
23051
|
+
reason: string;
|
|
23052
|
+
} | null | undefined;
|
|
22845
23053
|
}[];
|
|
22846
23054
|
}, {
|
|
22847
23055
|
data: {
|
|
@@ -22866,6 +23074,11 @@ export declare const agentToolListResponseSchema: z.ZodObject<{
|
|
|
22866
23074
|
name_prefix?: string | undefined;
|
|
22867
23075
|
parameters?: Record<string, {} | null> | undefined;
|
|
22868
23076
|
parameters_config?: string | undefined;
|
|
23077
|
+
setup?: {
|
|
23078
|
+
next_action: string;
|
|
23079
|
+
protocol_status: "not_checked";
|
|
23080
|
+
reason: string;
|
|
23081
|
+
} | null | undefined;
|
|
22869
23082
|
}[];
|
|
22870
23083
|
}>;
|
|
22871
23084
|
/**
|
|
@@ -23646,7 +23859,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
23646
23859
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
23647
23860
|
/** Solution config ID (`cfg_...`). */
|
|
23648
23861
|
id: z.ZodString;
|
|
23649
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
23862
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
23650
23863
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23651
23864
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
23652
23865
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -24020,7 +24233,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
24020
24233
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
24021
24234
|
/** Solution config ID (`cfg_...`). */
|
|
24022
24235
|
id: z.ZodString;
|
|
24023
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
24236
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
24024
24237
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24025
24238
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
24026
24239
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -24717,8 +24930,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
24717
24930
|
user?: string | null | undefined;
|
|
24718
24931
|
name?: string | undefined;
|
|
24719
24932
|
email?: string | null | undefined;
|
|
24720
|
-
team?: string | null | undefined;
|
|
24721
24933
|
org?: string | null | undefined;
|
|
24934
|
+
team?: string | null | undefined;
|
|
24722
24935
|
description?: string | null | undefined;
|
|
24723
24936
|
app?: string | undefined;
|
|
24724
24937
|
created_at?: string | undefined;
|
|
@@ -24895,8 +25108,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
24895
25108
|
user?: string | null | undefined;
|
|
24896
25109
|
name?: string | undefined;
|
|
24897
25110
|
email?: string | null | undefined;
|
|
24898
|
-
team?: string | null | undefined;
|
|
24899
25111
|
org?: string | null | undefined;
|
|
25112
|
+
team?: string | null | undefined;
|
|
24900
25113
|
description?: string | null | undefined;
|
|
24901
25114
|
app?: string | undefined;
|
|
24902
25115
|
created_at?: string | undefined;
|
|
@@ -25081,7 +25294,7 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
25081
25294
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
25082
25295
|
/** Solution config ID (`cfg_...`). */
|
|
25083
25296
|
id: z.ZodString;
|
|
25084
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
25297
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
25085
25298
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25086
25299
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
25087
25300
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -25943,8 +26156,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
25943
26156
|
user?: string | null | undefined;
|
|
25944
26157
|
name?: string | undefined;
|
|
25945
26158
|
email?: string | null | undefined;
|
|
25946
|
-
team?: string | null | undefined;
|
|
25947
26159
|
org?: string | null | undefined;
|
|
26160
|
+
team?: string | null | undefined;
|
|
25948
26161
|
description?: string | null | undefined;
|
|
25949
26162
|
app?: string | undefined;
|
|
25950
26163
|
created_at?: string | undefined;
|
|
@@ -26248,8 +26461,8 @@ export declare const agentUpgradeResponseSchema: z.ZodObject<{
|
|
|
26248
26461
|
user?: string | null | undefined;
|
|
26249
26462
|
name?: string | undefined;
|
|
26250
26463
|
email?: string | null | undefined;
|
|
26251
|
-
team?: string | null | undefined;
|
|
26252
26464
|
org?: string | null | undefined;
|
|
26465
|
+
team?: string | null | undefined;
|
|
26253
26466
|
description?: string | null | undefined;
|
|
26254
26467
|
app?: string | undefined;
|
|
26255
26468
|
created_at?: string | undefined;
|
|
@@ -27125,7 +27338,7 @@ export declare const solutionImportResponseSchema: z.ZodObject<{
|
|
|
27125
27338
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
27126
27339
|
/** Solution config ID (`cfg_...`). */
|
|
27127
27340
|
id: z.ZodString;
|
|
27128
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
27341
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
27129
27342
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27130
27343
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
27131
27344
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -27975,7 +28188,7 @@ export declare const solutionListResponseSchema: z.ZodObject<{
|
|
|
27975
28188
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
27976
28189
|
/** Solution config ID (`cfg_...`). */
|
|
27977
28190
|
id: z.ZodString;
|
|
27978
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
28191
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
27979
28192
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27980
28193
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
27981
28194
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -28994,7 +29207,7 @@ export declare const solutionUpgradeResponseSchema: z.ZodObject<{
|
|
|
28994
29207
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
28995
29208
|
/** Solution config ID (`cfg_...`). */
|
|
28996
29209
|
id: z.ZodString;
|
|
28997
|
-
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image
|
|
29210
|
+
/** Absolute URL of the Solution's cover image — the bundled asset the body's `image:` field names. A stable, non-expiring capability URL (like `org_logo.url`), safe to hold in caches and OpenGraph tags; it 404s if the Solution stops declaring a cover. `null` when the Solution has no cover image. Org-only rows remain `null`; when a list entry merges an org copy with its system counterpart, it may reuse the system row's public cover URL. Permanent URLs are never minted for private org assets. */
|
|
28998
29211
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28999
29212
|
/** Config IDs (`cfg_...`) of this Solution's installations in the viewer's organization. The array is empty when the Solution is visible only from the system catalog. */
|
|
29000
29213
|
installed_config_ids: z.ZodArray<z.ZodString, "many">;
|