@sentry/junior 0.233.0 → 0.235.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/{agent-hooks-DATy_Hnt.js → agent-hooks-DS7k0ZWY.js} +17 -10
- package/dist/{agent-runner-BKOtZjez.js → agent-runner-BlDI1zV2.js} +354 -813
- package/dist/api/schema.d.ts +528 -2
- package/dist/api/schema.js +4 -4
- package/dist/api.js +350 -55
- package/dist/{app-xk2-Id1T.d.ts → app-pGsR__aT.d.ts} +1 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +33 -21
- package/dist/{briefs-ClOTHmQ-.js → briefs-C3jhszOz.js} +4 -4
- package/dist/{catalog-runtime-xFtmw3oA.js → catalog-runtime-B9u_3-GW.js} +1 -1
- package/dist/{checkpoint-zkEB448J.js → checkpoint-DLcJ5mKL.js} +7 -7
- package/dist/cli/chat.js +13 -13
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +1 -1
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-CJUZHY9Y.js → client-BSnNHO0R.js} +2 -2
- package/dist/{config-XtycpE-i.js → config-Bmw4xTPK.js} +2 -2
- package/dist/{conversation-CPjHYOV5.js → conversation-C_aYrISI.js} +1 -0
- package/dist/{conversation-privacy-B30pEcsR.js → conversation-privacy-BV2dtba2.js} +1 -1
- package/dist/{credential-sync-vufd6gwK.js → credential-sync-CukzQJ1x.js} +13 -13
- package/dist/{executor-BGDb_cM-.js → executor-B9ksWZCv.js} +33 -1
- package/dist/{images-zuEwjVKU.js → images-CEXcQ0Id.js} +3 -3
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-C5JaRRcE.js → job-queue-CY1L2YRn.js} +1 -1
- package/dist/{logging-BS563NYn.js → logging-F--48Q7Q.js} +1 -1
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-authorization-DF2dSmNh.js → oauth-authorization-LasSG3Qc.js} +1 -1
- package/dist/{oauth-callback-server-CW9COQ9L.js → oauth-callback-server-D07ZzVMs.js} +2 -2
- package/dist/{pending-auth-8Kmti8S3.js → pending-auth-DrG9Mkje.js} +1 -1
- package/dist/{profile-C4_njQYA.js → profile-DZ2DUdd1.js} +4 -4
- package/dist/{prompt-3D0sSbTC.js → prompt-BM_5mAU3.js} +1 -1
- package/dist/{registry-BhiLWAY6.js → registry-_JLY0x7b.js} +1 -1
- package/dist/{resolve-ZDwJ6a3N.js → resolve-Cuoj3MML.js} +2 -2
- package/dist/{runner-D1xeORYM.js → runner-BfelmbMv.js} +9 -9
- package/dist/{sandbox-egress-signals-Dx1PzQpy.js → sandbox-egress-signals-D5QUIO7Z.js} +1 -1
- package/dist/{schema-DuGfOm4u.js → schema-CrdDxGbx.js} +26 -117
- package/dist/{skills-CN-ye6on.js → skills-DAegjk5Y.js} +2 -2
- package/dist/{spawn-B8KYOBcU.js → spawn-DCfV7zGK.js} +2 -2
- package/dist/{task-queue-DPaZtxld.js → task-queue-GcuFtzor.js} +3 -3
- package/dist/{task-runner-D23tSETM.js → task-runner-B0-P_3aq.js} +16 -13
- package/dist/{thread-state-BbxSiDa9.js → thread-state-TezcEhuH.js} +5 -5
- package/dist/{turn-failure-response-c8irQDMB.js → turn-failure-response-Drhj_-t4.js} +8 -8
- package/dist/{turn-lifecycle-DSVG3u_p.js → turn-lifecycle-BpIW3zOx.js} +1 -1
- package/dist/{turn-session-routing-B2hNxu_N.js → turn-session-routing-Dg8GDgyc.js} +1 -1
- package/dist/types-Du-HbEun.js +621 -0
- package/dist/{validation-BrLB5qbC.js → validation-DAkYeKDT.js} +1 -1
- package/dist/{version-B2rspCmP.js → version-9CB4Z-J4.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{web-authorization-CVSTvY_D.js → web-authorization-Cu33voNg.js} +6 -6
- package/dist/{web-input-zUQoZMZw.js → web-input-B3k0J7WB.js} +212 -164
- package/dist/web-message-id-CVVCTWUb.js +464 -0
- package/dist/{work-BXbJVOZI.js → work-PmkvcY9l.js} +7 -7
- package/dist/{worker-ClkQ9S9C.js → worker-COcaq2J6.js} +5 -5
- package/package.json +5 -5
- package/dist/web-message-id-xPI_EFSC.js +0 -239
package/dist/api/schema.d.ts
CHANGED
|
@@ -131,6 +131,69 @@ export declare const codeOverviewReportSchema: z.ZodObject<{
|
|
|
131
131
|
windowEnd: z.ZodString;
|
|
132
132
|
windowStart: z.ZodString;
|
|
133
133
|
}, z.core.$strict>;
|
|
134
|
+
export declare const codeRepositoryParamsSchema: z.ZodObject<{
|
|
135
|
+
repositoryId: z.ZodString;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
/** Code activity, recent changes, and Workspaces for one repository. */
|
|
138
|
+
export declare const codeRepositoryReportSchema: z.ZodObject<{
|
|
139
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
140
|
+
closed: z.ZodNumber;
|
|
141
|
+
created: z.ZodNumber;
|
|
142
|
+
date: z.ZodString;
|
|
143
|
+
merged: z.ZodNumber;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
activityHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
146
|
+
closed: z.ZodNumber;
|
|
147
|
+
created: z.ZodNumber;
|
|
148
|
+
date: z.ZodString;
|
|
149
|
+
merged: z.ZodNumber;
|
|
150
|
+
}, z.core.$strict>>>;
|
|
151
|
+
activitySixHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
|
+
closed: z.ZodNumber;
|
|
153
|
+
created: z.ZodNumber;
|
|
154
|
+
date: z.ZodString;
|
|
155
|
+
merged: z.ZodNumber;
|
|
156
|
+
}, z.core.$strict>>>;
|
|
157
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
158
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
161
|
+
number: z.ZodNumber;
|
|
162
|
+
openedAt: z.ZodString;
|
|
163
|
+
provider: z.ZodString;
|
|
164
|
+
repository: z.ZodString;
|
|
165
|
+
state: z.ZodEnum<{
|
|
166
|
+
closed: "closed";
|
|
167
|
+
merged: "merged";
|
|
168
|
+
open: "open";
|
|
169
|
+
}>;
|
|
170
|
+
title: z.ZodOptional<z.ZodString>;
|
|
171
|
+
url: z.ZodOptional<z.ZodString>;
|
|
172
|
+
}, z.core.$strict>>;
|
|
173
|
+
generatedAt: z.ZodString;
|
|
174
|
+
repository: z.ZodObject<{
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
name: z.ZodString;
|
|
177
|
+
provider: z.ZodString;
|
|
178
|
+
url: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strict>;
|
|
180
|
+
summary: z.ZodObject<{
|
|
181
|
+
closed: z.ZodNumber;
|
|
182
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
created: z.ZodNumber;
|
|
184
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
merged: z.ZodNumber;
|
|
187
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
open: z.ZodNumber;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
windowEnd: z.ZodString;
|
|
191
|
+
windowStart: z.ZodString;
|
|
192
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
name: z.ZodString;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
}, z.core.$strict>;
|
|
134
197
|
/** Person-scoped code activity for one People profile. */
|
|
135
198
|
export declare const codePersonReportSchema: z.ZodObject<{
|
|
136
199
|
activityDays: z.ZodArray<z.ZodObject<{
|
|
@@ -169,6 +232,7 @@ type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
|
|
|
169
232
|
type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
170
233
|
type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
171
234
|
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
235
|
+
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
172
236
|
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
173
237
|
//#endregion
|
|
174
238
|
//#region src/api/schema/conversation.d.ts
|
|
@@ -217,6 +281,7 @@ export declare const conversationEventsQuerySchema: z.ZodObject<{
|
|
|
217
281
|
}, z.core.$strict>;
|
|
218
282
|
export declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
219
283
|
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
284
|
+
codeRepositoryId: z.ZodOptional<z.ZodString>;
|
|
220
285
|
q: z.ZodOptional<z.ZodString>;
|
|
221
286
|
status: z.ZodDefault<z.ZodEnum<{
|
|
222
287
|
active: "active";
|
|
@@ -3195,8 +3260,13 @@ export declare const automationRunWindowsSchema: z.ZodObject<{
|
|
|
3195
3260
|
90: z.ZodNumber;
|
|
3196
3261
|
}, z.core.$strict>;
|
|
3197
3262
|
export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
3263
|
+
credentialMode: z.ZodEnum<{
|
|
3264
|
+
system: "system";
|
|
3265
|
+
creator: "creator";
|
|
3266
|
+
}>;
|
|
3198
3267
|
createdAt: z.ZodString;
|
|
3199
3268
|
createdBy: z.ZodString;
|
|
3269
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3200
3270
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3201
3271
|
destination: z.ZodObject<{
|
|
3202
3272
|
channelId: z.ZodString;
|
|
@@ -3211,6 +3281,11 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3211
3281
|
instruction: z.ZodString;
|
|
3212
3282
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3213
3283
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3285
|
+
failed: "failed";
|
|
3286
|
+
blocked: "blocked";
|
|
3287
|
+
completed: "completed";
|
|
3288
|
+
}>>;
|
|
3214
3289
|
ownedByViewer: z.ZodBoolean;
|
|
3215
3290
|
runs: z.ZodObject<{
|
|
3216
3291
|
1: z.ZodNumber;
|
|
@@ -3232,15 +3307,23 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3232
3307
|
kind: z.ZodLiteral<"scheduled">;
|
|
3233
3308
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3234
3309
|
schedule: z.ZodString;
|
|
3310
|
+
timezone: z.ZodString;
|
|
3311
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3235
3312
|
status: z.ZodEnum<{
|
|
3313
|
+
paused: "paused";
|
|
3236
3314
|
blocked: "blocked";
|
|
3237
3315
|
completed: "completed";
|
|
3238
3316
|
active: "active";
|
|
3239
3317
|
}>;
|
|
3240
3318
|
}, z.core.$strict>;
|
|
3241
3319
|
export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
3320
|
+
credentialMode: z.ZodEnum<{
|
|
3321
|
+
system: "system";
|
|
3322
|
+
creator: "creator";
|
|
3323
|
+
}>;
|
|
3242
3324
|
createdAt: z.ZodString;
|
|
3243
3325
|
createdBy: z.ZodString;
|
|
3326
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3244
3327
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3245
3328
|
destination: z.ZodObject<{
|
|
3246
3329
|
channelId: z.ZodString;
|
|
@@ -3255,6 +3338,11 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3255
3338
|
instruction: z.ZodString;
|
|
3256
3339
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3257
3340
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3341
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3342
|
+
failed: "failed";
|
|
3343
|
+
blocked: "blocked";
|
|
3344
|
+
completed: "completed";
|
|
3345
|
+
}>>;
|
|
3258
3346
|
ownedByViewer: z.ZodBoolean;
|
|
3259
3347
|
runs: z.ZodObject<{
|
|
3260
3348
|
1: z.ZodNumber;
|
|
@@ -3274,14 +3362,24 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3274
3362
|
title: z.ZodString;
|
|
3275
3363
|
totalRuns: z.ZodNumber;
|
|
3276
3364
|
events: z.ZodArray<z.ZodString>;
|
|
3365
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
3277
3366
|
kind: z.ZodLiteral<"event">;
|
|
3278
3367
|
resource: z.ZodString;
|
|
3279
3368
|
source: z.ZodString;
|
|
3280
3369
|
triggerAvailable: z.ZodBoolean;
|
|
3370
|
+
status: z.ZodEnum<{
|
|
3371
|
+
paused: "paused";
|
|
3372
|
+
active: "active";
|
|
3373
|
+
}>;
|
|
3281
3374
|
}, z.core.$strict>;
|
|
3282
3375
|
export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3376
|
+
credentialMode: z.ZodEnum<{
|
|
3377
|
+
system: "system";
|
|
3378
|
+
creator: "creator";
|
|
3379
|
+
}>;
|
|
3283
3380
|
createdAt: z.ZodString;
|
|
3284
3381
|
createdBy: z.ZodString;
|
|
3382
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3285
3383
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3286
3384
|
destination: z.ZodObject<{
|
|
3287
3385
|
channelId: z.ZodString;
|
|
@@ -3296,6 +3394,11 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3296
3394
|
instruction: z.ZodString;
|
|
3297
3395
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3298
3396
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3398
|
+
failed: "failed";
|
|
3399
|
+
blocked: "blocked";
|
|
3400
|
+
completed: "completed";
|
|
3401
|
+
}>>;
|
|
3299
3402
|
ownedByViewer: z.ZodBoolean;
|
|
3300
3403
|
runs: z.ZodObject<{
|
|
3301
3404
|
1: z.ZodNumber;
|
|
@@ -3317,14 +3420,22 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3317
3420
|
kind: z.ZodLiteral<"scheduled">;
|
|
3318
3421
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3319
3422
|
schedule: z.ZodString;
|
|
3423
|
+
timezone: z.ZodString;
|
|
3424
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3320
3425
|
status: z.ZodEnum<{
|
|
3426
|
+
paused: "paused";
|
|
3321
3427
|
blocked: "blocked";
|
|
3322
3428
|
completed: "completed";
|
|
3323
3429
|
active: "active";
|
|
3324
3430
|
}>;
|
|
3325
3431
|
}, z.core.$strict>, z.ZodObject<{
|
|
3432
|
+
credentialMode: z.ZodEnum<{
|
|
3433
|
+
system: "system";
|
|
3434
|
+
creator: "creator";
|
|
3435
|
+
}>;
|
|
3326
3436
|
createdAt: z.ZodString;
|
|
3327
3437
|
createdBy: z.ZodString;
|
|
3438
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3328
3439
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3329
3440
|
destination: z.ZodObject<{
|
|
3330
3441
|
channelId: z.ZodString;
|
|
@@ -3339,6 +3450,11 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3339
3450
|
instruction: z.ZodString;
|
|
3340
3451
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3341
3452
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3453
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3454
|
+
failed: "failed";
|
|
3455
|
+
blocked: "blocked";
|
|
3456
|
+
completed: "completed";
|
|
3457
|
+
}>>;
|
|
3342
3458
|
ownedByViewer: z.ZodBoolean;
|
|
3343
3459
|
runs: z.ZodObject<{
|
|
3344
3460
|
1: z.ZodNumber;
|
|
@@ -3358,10 +3474,15 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3358
3474
|
title: z.ZodString;
|
|
3359
3475
|
totalRuns: z.ZodNumber;
|
|
3360
3476
|
events: z.ZodArray<z.ZodString>;
|
|
3477
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
3361
3478
|
kind: z.ZodLiteral<"event">;
|
|
3362
3479
|
resource: z.ZodString;
|
|
3363
3480
|
source: z.ZodString;
|
|
3364
3481
|
triggerAvailable: z.ZodBoolean;
|
|
3482
|
+
status: z.ZodEnum<{
|
|
3483
|
+
paused: "paused";
|
|
3484
|
+
active: "active";
|
|
3485
|
+
}>;
|
|
3365
3486
|
}, z.core.$strict>], "kind">;
|
|
3366
3487
|
/** One UTC day/hour of completed automation executions stacked by automation type. */
|
|
3367
3488
|
declare const automationExecutionDaySchema: z.ZodObject<{
|
|
@@ -3372,6 +3493,34 @@ declare const automationExecutionDaySchema: z.ZodObject<{
|
|
|
3372
3493
|
}, z.core.$strict>;
|
|
3373
3494
|
export declare const automationListQuerySchema: z.ZodObject<{
|
|
3374
3495
|
q: z.ZodOptional<z.ZodString>;
|
|
3496
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
3497
|
+
public: "public";
|
|
3498
|
+
all: "all";
|
|
3499
|
+
mine: "mine";
|
|
3500
|
+
attention: "attention";
|
|
3501
|
+
}>>;
|
|
3502
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
3503
|
+
event: "event";
|
|
3504
|
+
scheduled: "scheduled";
|
|
3505
|
+
all: "all";
|
|
3506
|
+
}>>;
|
|
3507
|
+
state: z.ZodDefault<z.ZodEnum<{
|
|
3508
|
+
paused: "paused";
|
|
3509
|
+
blocked: "blocked";
|
|
3510
|
+
completed: "completed";
|
|
3511
|
+
active: "active";
|
|
3512
|
+
unavailable: "unavailable";
|
|
3513
|
+
all: "all";
|
|
3514
|
+
}>>;
|
|
3515
|
+
creator: z.ZodOptional<z.ZodString>;
|
|
3516
|
+
destination: z.ZodOptional<z.ZodString>;
|
|
3517
|
+
sort: z.ZodDefault<z.ZodEnum<{
|
|
3518
|
+
title: "title";
|
|
3519
|
+
newest: "newest";
|
|
3520
|
+
oldest: "oldest";
|
|
3521
|
+
}>>;
|
|
3522
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3523
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3375
3524
|
}, z.core.$strict>;
|
|
3376
3525
|
export declare const automationListSchema: z.ZodObject<{
|
|
3377
3526
|
executionDays: z.ZodArray<z.ZodObject<{
|
|
@@ -3393,8 +3542,13 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3393
3542
|
scheduled: z.ZodNumber;
|
|
3394
3543
|
}, z.core.$strict>>>;
|
|
3395
3544
|
automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3545
|
+
credentialMode: z.ZodEnum<{
|
|
3546
|
+
system: "system";
|
|
3547
|
+
creator: "creator";
|
|
3548
|
+
}>;
|
|
3396
3549
|
createdAt: z.ZodString;
|
|
3397
3550
|
createdBy: z.ZodString;
|
|
3551
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3398
3552
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3399
3553
|
destination: z.ZodObject<{
|
|
3400
3554
|
channelId: z.ZodString;
|
|
@@ -3409,6 +3563,11 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3409
3563
|
instruction: z.ZodString;
|
|
3410
3564
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3411
3565
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3566
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3567
|
+
failed: "failed";
|
|
3568
|
+
blocked: "blocked";
|
|
3569
|
+
completed: "completed";
|
|
3570
|
+
}>>;
|
|
3412
3571
|
ownedByViewer: z.ZodBoolean;
|
|
3413
3572
|
runs: z.ZodObject<{
|
|
3414
3573
|
1: z.ZodNumber;
|
|
@@ -3430,14 +3589,22 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3430
3589
|
kind: z.ZodLiteral<"scheduled">;
|
|
3431
3590
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3432
3591
|
schedule: z.ZodString;
|
|
3592
|
+
timezone: z.ZodString;
|
|
3593
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3433
3594
|
status: z.ZodEnum<{
|
|
3595
|
+
paused: "paused";
|
|
3434
3596
|
blocked: "blocked";
|
|
3435
3597
|
completed: "completed";
|
|
3436
3598
|
active: "active";
|
|
3437
3599
|
}>;
|
|
3438
3600
|
}, z.core.$strict>, z.ZodObject<{
|
|
3601
|
+
credentialMode: z.ZodEnum<{
|
|
3602
|
+
system: "system";
|
|
3603
|
+
creator: "creator";
|
|
3604
|
+
}>;
|
|
3439
3605
|
createdAt: z.ZodString;
|
|
3440
3606
|
createdBy: z.ZodString;
|
|
3607
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3441
3608
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3442
3609
|
destination: z.ZodObject<{
|
|
3443
3610
|
channelId: z.ZodString;
|
|
@@ -3452,6 +3619,11 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3452
3619
|
instruction: z.ZodString;
|
|
3453
3620
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3454
3621
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3622
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3623
|
+
failed: "failed";
|
|
3624
|
+
blocked: "blocked";
|
|
3625
|
+
completed: "completed";
|
|
3626
|
+
}>>;
|
|
3455
3627
|
ownedByViewer: z.ZodBoolean;
|
|
3456
3628
|
runs: z.ZodObject<{
|
|
3457
3629
|
1: z.ZodNumber;
|
|
@@ -3471,12 +3643,33 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3471
3643
|
title: z.ZodString;
|
|
3472
3644
|
totalRuns: z.ZodNumber;
|
|
3473
3645
|
events: z.ZodArray<z.ZodString>;
|
|
3646
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
3474
3647
|
kind: z.ZodLiteral<"event">;
|
|
3475
3648
|
resource: z.ZodString;
|
|
3476
3649
|
source: z.ZodString;
|
|
3477
3650
|
triggerAvailable: z.ZodBoolean;
|
|
3651
|
+
status: z.ZodEnum<{
|
|
3652
|
+
paused: "paused";
|
|
3653
|
+
active: "active";
|
|
3654
|
+
}>;
|
|
3478
3655
|
}, z.core.$strict>], "kind">>;
|
|
3479
|
-
|
|
3656
|
+
total: z.ZodNumber;
|
|
3657
|
+
page: z.ZodNumber;
|
|
3658
|
+
pageSize: z.ZodNumber;
|
|
3659
|
+
counts: z.ZodObject<{
|
|
3660
|
+
all: z.ZodNumber;
|
|
3661
|
+
mine: z.ZodNumber;
|
|
3662
|
+
public: z.ZodNumber;
|
|
3663
|
+
private: z.ZodNumber;
|
|
3664
|
+
}, z.core.$strict>;
|
|
3665
|
+
creators: z.ZodArray<z.ZodObject<{
|
|
3666
|
+
value: z.ZodString;
|
|
3667
|
+
label: z.ZodString;
|
|
3668
|
+
}, z.core.$strict>>;
|
|
3669
|
+
destinations: z.ZodArray<z.ZodObject<{
|
|
3670
|
+
value: z.ZodString;
|
|
3671
|
+
label: z.ZodString;
|
|
3672
|
+
}, z.core.$strict>>;
|
|
3480
3673
|
}, z.core.$strict>;
|
|
3481
3674
|
export declare const automationParamsSchema: z.ZodObject<{
|
|
3482
3675
|
id: z.ZodString;
|
|
@@ -3545,8 +3738,13 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3545
3738
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3546
3739
|
}, z.core.$strict>>;
|
|
3547
3740
|
automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3741
|
+
credentialMode: z.ZodEnum<{
|
|
3742
|
+
system: "system";
|
|
3743
|
+
creator: "creator";
|
|
3744
|
+
}>;
|
|
3548
3745
|
createdAt: z.ZodString;
|
|
3549
3746
|
createdBy: z.ZodString;
|
|
3747
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3550
3748
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3551
3749
|
destination: z.ZodObject<{
|
|
3552
3750
|
channelId: z.ZodString;
|
|
@@ -3561,6 +3759,11 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3561
3759
|
instruction: z.ZodString;
|
|
3562
3760
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3563
3761
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3762
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3763
|
+
failed: "failed";
|
|
3764
|
+
blocked: "blocked";
|
|
3765
|
+
completed: "completed";
|
|
3766
|
+
}>>;
|
|
3564
3767
|
ownedByViewer: z.ZodBoolean;
|
|
3565
3768
|
runs: z.ZodObject<{
|
|
3566
3769
|
1: z.ZodNumber;
|
|
@@ -3582,14 +3785,22 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3582
3785
|
kind: z.ZodLiteral<"scheduled">;
|
|
3583
3786
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3584
3787
|
schedule: z.ZodString;
|
|
3788
|
+
timezone: z.ZodString;
|
|
3789
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3585
3790
|
status: z.ZodEnum<{
|
|
3791
|
+
paused: "paused";
|
|
3586
3792
|
blocked: "blocked";
|
|
3587
3793
|
completed: "completed";
|
|
3588
3794
|
active: "active";
|
|
3589
3795
|
}>;
|
|
3590
3796
|
}, z.core.$strict>, z.ZodObject<{
|
|
3797
|
+
credentialMode: z.ZodEnum<{
|
|
3798
|
+
system: "system";
|
|
3799
|
+
creator: "creator";
|
|
3800
|
+
}>;
|
|
3591
3801
|
createdAt: z.ZodString;
|
|
3592
3802
|
createdBy: z.ZodString;
|
|
3803
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3593
3804
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3594
3805
|
destination: z.ZodObject<{
|
|
3595
3806
|
channelId: z.ZodString;
|
|
@@ -3604,6 +3815,11 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3604
3815
|
instruction: z.ZodString;
|
|
3605
3816
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3606
3817
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3819
|
+
failed: "failed";
|
|
3820
|
+
blocked: "blocked";
|
|
3821
|
+
completed: "completed";
|
|
3822
|
+
}>>;
|
|
3607
3823
|
ownedByViewer: z.ZodBoolean;
|
|
3608
3824
|
runs: z.ZodObject<{
|
|
3609
3825
|
1: z.ZodNumber;
|
|
@@ -3623,10 +3839,15 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3623
3839
|
title: z.ZodString;
|
|
3624
3840
|
totalRuns: z.ZodNumber;
|
|
3625
3841
|
events: z.ZodArray<z.ZodString>;
|
|
3842
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
3626
3843
|
kind: z.ZodLiteral<"event">;
|
|
3627
3844
|
resource: z.ZodString;
|
|
3628
3845
|
source: z.ZodString;
|
|
3629
3846
|
triggerAvailable: z.ZodBoolean;
|
|
3847
|
+
status: z.ZodEnum<{
|
|
3848
|
+
paused: "paused";
|
|
3849
|
+
active: "active";
|
|
3850
|
+
}>;
|
|
3630
3851
|
}, z.core.$strict>], "kind">;
|
|
3631
3852
|
truncated: z.ZodBoolean;
|
|
3632
3853
|
}, z.core.$strict>;
|
|
@@ -3682,6 +3903,311 @@ type AutomationRunList = z.output<typeof automationRunListSchema>;
|
|
|
3682
3903
|
type AutomationRunWindows = z.output<typeof automationRunWindowsSchema>;
|
|
3683
3904
|
type AutomationSummary = z.output<typeof automationSummarySchema>;
|
|
3684
3905
|
type AutomationList = z.output<typeof automationListSchema>;
|
|
3906
|
+
type AutomationListQuery = z.output<typeof automationListQuerySchema>;
|
|
3907
|
+
/** Creator-only edit values. Read schemas also retain legacy values. */
|
|
3908
|
+
export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3909
|
+
destination: z.ZodObject<{
|
|
3910
|
+
teamId: z.ZodString;
|
|
3911
|
+
channelId: z.ZodString;
|
|
3912
|
+
platform: z.ZodLiteral<"slack">;
|
|
3913
|
+
}, z.core.$strict>;
|
|
3914
|
+
createdBy: z.ZodObject<{
|
|
3915
|
+
slackUserId: z.ZodString;
|
|
3916
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3917
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
3918
|
+
}, z.core.$strict>;
|
|
3919
|
+
id: z.ZodString;
|
|
3920
|
+
revision: z.ZodString;
|
|
3921
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3922
|
+
instruction: z.ZodString;
|
|
3923
|
+
credentialMode: z.ZodEnum<{
|
|
3924
|
+
system: "system";
|
|
3925
|
+
creator: "creator";
|
|
3926
|
+
}>;
|
|
3927
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
3928
|
+
action: z.ZodLiteral<"send_message">;
|
|
3929
|
+
destination: z.ZodObject<{
|
|
3930
|
+
platform: z.ZodLiteral<"slack">;
|
|
3931
|
+
teamId: z.ZodString;
|
|
3932
|
+
channelId: z.ZodString;
|
|
3933
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
3934
|
+
}, z.core.$strict>;
|
|
3935
|
+
}, z.core.$strict>>;
|
|
3936
|
+
schedule: z.ZodObject<{
|
|
3937
|
+
description: z.ZodString;
|
|
3938
|
+
kind: z.ZodEnum<{
|
|
3939
|
+
one_off: "one_off";
|
|
3940
|
+
recurring: "recurring";
|
|
3941
|
+
}>;
|
|
3942
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
3943
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
3944
|
+
frequency: z.ZodEnum<{
|
|
3945
|
+
daily: "daily";
|
|
3946
|
+
weekly: "weekly";
|
|
3947
|
+
monthly: "monthly";
|
|
3948
|
+
yearly: "yearly";
|
|
3949
|
+
}>;
|
|
3950
|
+
interval: z.ZodNumber;
|
|
3951
|
+
month: z.ZodOptional<z.ZodNumber>;
|
|
3952
|
+
startDate: z.ZodString;
|
|
3953
|
+
time: z.ZodObject<{
|
|
3954
|
+
hour: z.ZodNumber;
|
|
3955
|
+
minute: z.ZodNumber;
|
|
3956
|
+
}, z.core.$strict>;
|
|
3957
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3958
|
+
}, z.core.$strict>>;
|
|
3959
|
+
timezone: z.ZodString;
|
|
3960
|
+
}, z.core.$strict>;
|
|
3961
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
3962
|
+
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
3963
|
+
status: z.ZodEnum<{
|
|
3964
|
+
paused: "paused";
|
|
3965
|
+
blocked: "blocked";
|
|
3966
|
+
completed: "completed";
|
|
3967
|
+
active: "active";
|
|
3968
|
+
}>;
|
|
3969
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3970
|
+
destination: z.ZodObject<{
|
|
3971
|
+
teamId: z.ZodString;
|
|
3972
|
+
channelId: z.ZodString;
|
|
3973
|
+
platform: z.ZodLiteral<"slack">;
|
|
3974
|
+
}, z.core.$strict>;
|
|
3975
|
+
createdBy: z.ZodObject<{
|
|
3976
|
+
slackUserId: z.ZodString;
|
|
3977
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3978
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
3979
|
+
}, z.core.$strict>;
|
|
3980
|
+
id: z.ZodString;
|
|
3981
|
+
revision: z.ZodString;
|
|
3982
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3983
|
+
instruction: z.ZodString;
|
|
3984
|
+
credentialMode: z.ZodEnum<{
|
|
3985
|
+
system: "system";
|
|
3986
|
+
creator: "creator";
|
|
3987
|
+
}>;
|
|
3988
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
3989
|
+
action: z.ZodLiteral<"send_message">;
|
|
3990
|
+
destination: z.ZodObject<{
|
|
3991
|
+
platform: z.ZodLiteral<"slack">;
|
|
3992
|
+
teamId: z.ZodString;
|
|
3993
|
+
channelId: z.ZodString;
|
|
3994
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
}, z.core.$strict>;
|
|
3996
|
+
}, z.core.$strict>>;
|
|
3997
|
+
kind: z.ZodLiteral<"event">;
|
|
3998
|
+
trigger: z.ZodObject<{
|
|
3999
|
+
events: z.ZodArray<z.ZodString>;
|
|
4000
|
+
label: z.ZodString;
|
|
4001
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
4002
|
+
namespace: z.ZodString;
|
|
4003
|
+
identifier: z.ZodString;
|
|
4004
|
+
resourceType: z.ZodString;
|
|
4005
|
+
}, z.core.$strict>;
|
|
4006
|
+
triggerAvailable: z.ZodBoolean;
|
|
4007
|
+
status: z.ZodEnum<{
|
|
4008
|
+
paused: "paused";
|
|
4009
|
+
active: "active";
|
|
4010
|
+
}>;
|
|
4011
|
+
}, z.core.$strict>], "kind">;
|
|
4012
|
+
/** Partial edits require the revision returned by the edit read. */
|
|
4013
|
+
export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4014
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4016
|
+
system: "system";
|
|
4017
|
+
creator: "creator";
|
|
4018
|
+
}>>;
|
|
4019
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4020
|
+
action: z.ZodLiteral<"send_message">;
|
|
4021
|
+
destination: z.ZodEnum<{
|
|
4022
|
+
current_conversation: "current_conversation";
|
|
4023
|
+
task_creator: "task_creator";
|
|
4024
|
+
}>;
|
|
4025
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4026
|
+
action: z.ZodLiteral<"send_message">;
|
|
4027
|
+
destination: z.ZodObject<{
|
|
4028
|
+
platform: z.ZodLiteral<"slack">;
|
|
4029
|
+
teamId: z.ZodString;
|
|
4030
|
+
channelId: z.ZodString;
|
|
4031
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
4032
|
+
}, z.core.$strict>;
|
|
4033
|
+
}, z.core.$strict>]>>>;
|
|
4034
|
+
schedule: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4035
|
+
kind: z.ZodLiteral<"one_off">;
|
|
4036
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4037
|
+
timing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4038
|
+
type: z.ZodLiteral<"after">;
|
|
4039
|
+
value: z.ZodNumber;
|
|
4040
|
+
unit: z.ZodEnum<{
|
|
4041
|
+
hour: "hour";
|
|
4042
|
+
minute: "minute";
|
|
4043
|
+
second: "second";
|
|
4044
|
+
day: "day";
|
|
4045
|
+
week: "week";
|
|
4046
|
+
}>;
|
|
4047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4048
|
+
type: z.ZodLiteral<"at">;
|
|
4049
|
+
date: z.ZodString;
|
|
4050
|
+
time: z.ZodString;
|
|
4051
|
+
}, z.core.$strict>], "type">;
|
|
4052
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4053
|
+
kind: z.ZodLiteral<"recurring">;
|
|
4054
|
+
frequency: z.ZodEnum<{
|
|
4055
|
+
daily: "daily";
|
|
4056
|
+
weekly: "weekly";
|
|
4057
|
+
monthly: "monthly";
|
|
4058
|
+
yearly: "yearly";
|
|
4059
|
+
}>;
|
|
4060
|
+
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4061
|
+
time: z.ZodString;
|
|
4062
|
+
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4063
|
+
sunday: "sunday";
|
|
4064
|
+
monday: "monday";
|
|
4065
|
+
tuesday: "tuesday";
|
|
4066
|
+
wednesday: "wednesday";
|
|
4067
|
+
thursday: "thursday";
|
|
4068
|
+
friday: "friday";
|
|
4069
|
+
saturday: "saturday";
|
|
4070
|
+
}>>>>;
|
|
4071
|
+
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4072
|
+
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4073
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4074
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4075
|
+
}, z.core.$strict>]>>;
|
|
4076
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
4077
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
4078
|
+
revision: z.ZodString;
|
|
4079
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4080
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4081
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
4082
|
+
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4083
|
+
system: "system";
|
|
4084
|
+
creator: "creator";
|
|
4085
|
+
}>>;
|
|
4086
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4087
|
+
action: z.ZodLiteral<"send_message">;
|
|
4088
|
+
destination: z.ZodEnum<{
|
|
4089
|
+
current_conversation: "current_conversation";
|
|
4090
|
+
task_creator: "task_creator";
|
|
4091
|
+
}>;
|
|
4092
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4093
|
+
action: z.ZodLiteral<"send_message">;
|
|
4094
|
+
destination: z.ZodObject<{
|
|
4095
|
+
platform: z.ZodLiteral<"slack">;
|
|
4096
|
+
teamId: z.ZodString;
|
|
4097
|
+
channelId: z.ZodString;
|
|
4098
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
4099
|
+
}, z.core.$strict>;
|
|
4100
|
+
}, z.core.$strict>]>>>;
|
|
4101
|
+
trigger: z.ZodOptional<z.ZodObject<{
|
|
4102
|
+
events: z.ZodArray<z.ZodString>;
|
|
4103
|
+
match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
4104
|
+
namespace: z.ZodString;
|
|
4105
|
+
resourceType: z.ZodString;
|
|
4106
|
+
identifier: z.ZodString;
|
|
4107
|
+
label: z.ZodString;
|
|
4108
|
+
}, z.core.$strict>>;
|
|
4109
|
+
kind: z.ZodLiteral<"event">;
|
|
4110
|
+
revision: z.ZodString;
|
|
4111
|
+
}, z.core.$strict>], "kind">;
|
|
4112
|
+
export declare const automationEditErrorSchema: z.ZodObject<{
|
|
4113
|
+
error: z.ZodString;
|
|
4114
|
+
code: z.ZodEnum<{
|
|
4115
|
+
invalid_edit: "invalid_edit";
|
|
4116
|
+
conflict: "conflict";
|
|
4117
|
+
not_found: "not_found";
|
|
4118
|
+
}>;
|
|
4119
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
4120
|
+
}, z.core.$strict>;
|
|
4121
|
+
type AutomationEdit = z.output<typeof automationEditSchema>;
|
|
4122
|
+
type AutomationUpdate = z.output<typeof automationUpdateSchema>;
|
|
4123
|
+
/** Catalog metadata only; callbacks and provider connections stay on the server. */
|
|
4124
|
+
export declare const automationEventCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
4125
|
+
type: z.ZodString;
|
|
4126
|
+
supportedEvents: z.ZodArray<z.ZodString>;
|
|
4127
|
+
suggestedEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4128
|
+
matchFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4129
|
+
kind: z.ZodEnum<{
|
|
4130
|
+
string: "string";
|
|
4131
|
+
number: "number";
|
|
4132
|
+
boolean: "boolean";
|
|
4133
|
+
}>;
|
|
4134
|
+
description: z.ZodString;
|
|
4135
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4136
|
+
}, z.core.$strict>>>;
|
|
4137
|
+
guidance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4138
|
+
namespace: z.ZodString;
|
|
4139
|
+
}, z.core.$strict>>;
|
|
4140
|
+
export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4141
|
+
kind: z.ZodLiteral<"one_off">;
|
|
4142
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4143
|
+
timing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4144
|
+
type: z.ZodLiteral<"after">;
|
|
4145
|
+
value: z.ZodNumber;
|
|
4146
|
+
unit: z.ZodEnum<{
|
|
4147
|
+
hour: "hour";
|
|
4148
|
+
minute: "minute";
|
|
4149
|
+
second: "second";
|
|
4150
|
+
day: "day";
|
|
4151
|
+
week: "week";
|
|
4152
|
+
}>;
|
|
4153
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4154
|
+
type: z.ZodLiteral<"at">;
|
|
4155
|
+
date: z.ZodString;
|
|
4156
|
+
time: z.ZodString;
|
|
4157
|
+
}, z.core.$strict>], "type">;
|
|
4158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4159
|
+
kind: z.ZodLiteral<"recurring">;
|
|
4160
|
+
frequency: z.ZodEnum<{
|
|
4161
|
+
daily: "daily";
|
|
4162
|
+
weekly: "weekly";
|
|
4163
|
+
monthly: "monthly";
|
|
4164
|
+
yearly: "yearly";
|
|
4165
|
+
}>;
|
|
4166
|
+
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4167
|
+
time: z.ZodString;
|
|
4168
|
+
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4169
|
+
sunday: "sunday";
|
|
4170
|
+
monday: "monday";
|
|
4171
|
+
tuesday: "tuesday";
|
|
4172
|
+
wednesday: "wednesday";
|
|
4173
|
+
thursday: "thursday";
|
|
4174
|
+
friday: "friday";
|
|
4175
|
+
saturday: "saturday";
|
|
4176
|
+
}>>>>;
|
|
4177
|
+
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4178
|
+
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4179
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4180
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4181
|
+
}, z.core.$strict>]>;
|
|
4182
|
+
export declare const automationSchedulePreviewSchema: z.ZodObject<{
|
|
4183
|
+
schedule: z.ZodObject<{
|
|
4184
|
+
description: z.ZodString;
|
|
4185
|
+
kind: z.ZodEnum<{
|
|
4186
|
+
one_off: "one_off";
|
|
4187
|
+
recurring: "recurring";
|
|
4188
|
+
}>;
|
|
4189
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
4190
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4191
|
+
frequency: z.ZodEnum<{
|
|
4192
|
+
daily: "daily";
|
|
4193
|
+
weekly: "weekly";
|
|
4194
|
+
monthly: "monthly";
|
|
4195
|
+
yearly: "yearly";
|
|
4196
|
+
}>;
|
|
4197
|
+
interval: z.ZodNumber;
|
|
4198
|
+
month: z.ZodOptional<z.ZodNumber>;
|
|
4199
|
+
startDate: z.ZodString;
|
|
4200
|
+
time: z.ZodObject<{
|
|
4201
|
+
hour: z.ZodNumber;
|
|
4202
|
+
minute: z.ZodNumber;
|
|
4203
|
+
}, z.core.$strict>;
|
|
4204
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4205
|
+
}, z.core.$strict>>;
|
|
4206
|
+
timezone: z.ZodString;
|
|
4207
|
+
}, z.core.$strict>;
|
|
4208
|
+
nextRunAtMs: z.ZodNumber;
|
|
4209
|
+
}, z.core.$strict>;
|
|
4210
|
+
type AutomationScheduleIntent = z.output<typeof automationScheduleIntentSchema>;
|
|
3685
4211
|
//#endregion
|
|
3686
4212
|
//#region src/api/schema/stats.d.ts
|
|
3687
4213
|
export declare const statSchema: z.ZodObject<{
|
|
@@ -3901,4 +4427,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
|
|
|
3901
4427
|
type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
|
|
3902
4428
|
type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
|
|
3903
4429
|
//#endregion
|
|
3904
|
-
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
|
|
4430
|
+
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
|