@sentry/junior 0.232.0 → 0.234.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-n9qfV697.js → agent-hooks-BcH6E48y.js} +89 -12
- package/dist/{agent-runner-D_FVvrwA.js → agent-runner-DUkGlK89.js} +224 -768
- package/dist/api/schema.d.ts +538 -2
- package/dist/api/schema.js +4 -4
- package/dist/api.js +230 -19
- package/dist/app.js +31 -21
- package/dist/{briefs-B7wDx-LM.js → briefs-lyAQbDxJ.js} +4 -4
- package/dist/{catalog-runtime-FU8TmK-W.js → catalog-runtime-BSgsPVnr.js} +1 -1
- package/dist/{checkpoint-DuA1tIcd.js → checkpoint-BNfXlq_1.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-BMqP14EE.js → client-BX5lJRqW.js} +2 -2
- package/dist/{config-Q7ayKDYh.js → config-DuCzUoCo.js} +2 -2
- package/dist/{conversation-DsuDtoYR.js → conversation-CPjHYOV5.js} +13 -2
- package/dist/{conversation-privacy-DNNsgprf.js → conversation-privacy-CSxvdSoV.js} +1 -1
- package/dist/{credential-sync-DbgAGIhd.js → credential-sync-BO4DfH9a.js} +13 -13
- package/dist/{executor-DDonSWxn.js → executor--jWf-Nnm.js} +1 -1
- package/dist/{images-Bj8PcvZ5.js → images-BaL19wFC.js} +3 -3
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-Dqc7qQbR.js → job-queue-cwHVOwVZ.js} +1 -1
- package/dist/{logging-X4U7SInw.js → logging-Cox1Mgcv.js} +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-authorization-CetcZcwQ.js → oauth-authorization-CC8a1JKP.js} +1 -1
- package/dist/{oauth-callback-server-o34WSoGm.js → oauth-callback-server-Z7QSt416.js} +2 -2
- package/dist/{pending-auth-XoxEa4O5.js → pending-auth-DQhC3eSR.js} +1 -1
- package/dist/{profile-DzqqgpDo.js → profile-BdApelHS.js} +4 -4
- package/dist/{prompt-D5RPLy92.js → prompt-3D0sSbTC.js} +1 -1
- package/dist/{registry-RrIfDnkS.js → registry-DiY6B8CN.js} +1 -1
- package/dist/{resolve-Ccu6uGtp.js → resolve-VpJoiDpc.js} +2 -2
- package/dist/{runner-DDQCEV1P.js → runner-BIMegnPE.js} +9 -9
- package/dist/{sandbox-egress-signals-CT3xOtNG.js → sandbox-egress-signals-Cbtxe492.js} +1 -1
- package/dist/{schema-B-Taar1W.js → schema-CxwnlTDN.js} +4 -117
- package/dist/{skills-NB_I9BuR.js → skills-WttpPJUy.js} +2 -2
- package/dist/{spawn-DmwIhiNu.js → spawn-DhfMKt4y.js} +2 -2
- package/dist/{task-queue-B5CERq_E.js → task-queue-CZqUNJD0.js} +3 -3
- package/dist/{task-runner-COivEGS3.js → task-runner-BZaqoUCT.js} +16 -13
- package/dist/{thread-state-C7yyfiVM.js → thread-state-8tXZhu0y.js} +5 -5
- package/dist/{turn-failure-response-D990svo-.js → turn-failure-response-DFJ9L9NQ.js} +8 -8
- package/dist/{turn-lifecycle-C-LUNJC6.js → turn-lifecycle-WbpTUQ_r.js} +1 -1
- package/dist/{turn-session-routing-CoF0GbaY.js → turn-session-routing--EhI76rH.js} +1 -1
- package/dist/types-Du-HbEun.js +621 -0
- package/dist/{validation-f0y71ety.js → validation-0F9IgG3b.js} +1 -1
- package/dist/{version-CkRTIRkV.js → version-A7-RRBOE.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{web-authorization-BBwQsNCZ.js → web-authorization-BJggXofy.js} +6 -6
- package/dist/{web-input-Bkn-JGWd.js → web-input-B-siN5Dr.js} +212 -164
- package/dist/web-message-id-CVVCTWUb.js +464 -0
- package/dist/{work-vWPq9P5x.js → work-CNc0ejGG.js} +7 -7
- package/dist/{worker-BgZog5Jp.js → worker-BHbqpUAu.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
|
@@ -1040,6 +1040,31 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1040
1040
|
aborted: "aborted";
|
|
1041
1041
|
}>;
|
|
1042
1042
|
}, z.core.$strict>], "type">;
|
|
1043
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
1044
|
+
modelId: z.ZodString;
|
|
1045
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
}, z.core.$strict>>;
|
|
1048
|
+
modelCall: z.ZodOptional<z.ZodObject<{
|
|
1049
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
api: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
stopReason: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
1053
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1054
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1055
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1056
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
1057
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1058
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1059
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1060
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
1062
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
1063
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
1064
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1065
|
+
}, z.core.$strict>>;
|
|
1066
|
+
}, z.core.$strict>>;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
1043
1068
|
}, z.core.$strict>;
|
|
1044
1069
|
/** Availability of the canonical event history attached to a detail report. */
|
|
1045
1070
|
export declare const conversationEventHistorySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1576,6 +1601,31 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1576
1601
|
aborted: "aborted";
|
|
1577
1602
|
}>;
|
|
1578
1603
|
}, z.core.$strict>], "type">;
|
|
1604
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
1605
|
+
modelId: z.ZodString;
|
|
1606
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
1607
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
1608
|
+
}, z.core.$strict>>;
|
|
1609
|
+
modelCall: z.ZodOptional<z.ZodObject<{
|
|
1610
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
api: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
stopReason: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
1614
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1617
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
1618
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1619
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1620
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1621
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
1622
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
1623
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
1624
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1626
|
+
}, z.core.$strict>>;
|
|
1627
|
+
}, z.core.$strict>>;
|
|
1628
|
+
}, z.core.$strict>>;
|
|
1579
1629
|
}, z.core.$strict>>;
|
|
1580
1630
|
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1581
1631
|
status: z.ZodLiteral<"available">;
|
|
@@ -1834,6 +1884,31 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1834
1884
|
aborted: "aborted";
|
|
1835
1885
|
}>;
|
|
1836
1886
|
}, z.core.$strict>], "type">;
|
|
1887
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
1888
|
+
modelId: z.ZodString;
|
|
1889
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
1890
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
1891
|
+
}, z.core.$strict>>;
|
|
1892
|
+
modelCall: z.ZodOptional<z.ZodObject<{
|
|
1893
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1894
|
+
api: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
stopReason: z.ZodOptional<z.ZodString>;
|
|
1896
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
1897
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1898
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1899
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1900
|
+
cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
|
|
1901
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
1902
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
1903
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1904
|
+
input: z.ZodOptional<z.ZodNumber>;
|
|
1905
|
+
output: z.ZodOptional<z.ZodNumber>;
|
|
1906
|
+
cacheRead: z.ZodOptional<z.ZodNumber>;
|
|
1907
|
+
cacheWrite: z.ZodOptional<z.ZodNumber>;
|
|
1908
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1909
|
+
}, z.core.$strict>>;
|
|
1910
|
+
}, z.core.$strict>>;
|
|
1911
|
+
}, z.core.$strict>>;
|
|
1837
1912
|
}, z.core.$strict>>;
|
|
1838
1913
|
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1839
1914
|
status: z.ZodLiteral<"available">;
|
|
@@ -3120,8 +3195,13 @@ export declare const automationRunWindowsSchema: z.ZodObject<{
|
|
|
3120
3195
|
90: z.ZodNumber;
|
|
3121
3196
|
}, z.core.$strict>;
|
|
3122
3197
|
export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
3198
|
+
credentialMode: z.ZodEnum<{
|
|
3199
|
+
system: "system";
|
|
3200
|
+
creator: "creator";
|
|
3201
|
+
}>;
|
|
3123
3202
|
createdAt: z.ZodString;
|
|
3124
3203
|
createdBy: z.ZodString;
|
|
3204
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3125
3205
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3126
3206
|
destination: z.ZodObject<{
|
|
3127
3207
|
channelId: z.ZodString;
|
|
@@ -3136,6 +3216,11 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3136
3216
|
instruction: z.ZodString;
|
|
3137
3217
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3138
3218
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3219
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3220
|
+
failed: "failed";
|
|
3221
|
+
blocked: "blocked";
|
|
3222
|
+
completed: "completed";
|
|
3223
|
+
}>>;
|
|
3139
3224
|
ownedByViewer: z.ZodBoolean;
|
|
3140
3225
|
runs: z.ZodObject<{
|
|
3141
3226
|
1: z.ZodNumber;
|
|
@@ -3157,15 +3242,23 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
3157
3242
|
kind: z.ZodLiteral<"scheduled">;
|
|
3158
3243
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3159
3244
|
schedule: z.ZodString;
|
|
3245
|
+
timezone: z.ZodString;
|
|
3246
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3160
3247
|
status: z.ZodEnum<{
|
|
3248
|
+
paused: "paused";
|
|
3161
3249
|
blocked: "blocked";
|
|
3162
3250
|
completed: "completed";
|
|
3163
3251
|
active: "active";
|
|
3164
3252
|
}>;
|
|
3165
3253
|
}, z.core.$strict>;
|
|
3166
3254
|
export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
3255
|
+
credentialMode: z.ZodEnum<{
|
|
3256
|
+
system: "system";
|
|
3257
|
+
creator: "creator";
|
|
3258
|
+
}>;
|
|
3167
3259
|
createdAt: z.ZodString;
|
|
3168
3260
|
createdBy: z.ZodString;
|
|
3261
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3169
3262
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3170
3263
|
destination: z.ZodObject<{
|
|
3171
3264
|
channelId: z.ZodString;
|
|
@@ -3180,6 +3273,11 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3180
3273
|
instruction: z.ZodString;
|
|
3181
3274
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3182
3275
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3276
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3277
|
+
failed: "failed";
|
|
3278
|
+
blocked: "blocked";
|
|
3279
|
+
completed: "completed";
|
|
3280
|
+
}>>;
|
|
3183
3281
|
ownedByViewer: z.ZodBoolean;
|
|
3184
3282
|
runs: z.ZodObject<{
|
|
3185
3283
|
1: z.ZodNumber;
|
|
@@ -3199,14 +3297,24 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
3199
3297
|
title: z.ZodString;
|
|
3200
3298
|
totalRuns: z.ZodNumber;
|
|
3201
3299
|
events: z.ZodArray<z.ZodString>;
|
|
3300
|
+
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]>>]>>>;
|
|
3202
3301
|
kind: z.ZodLiteral<"event">;
|
|
3203
3302
|
resource: z.ZodString;
|
|
3204
3303
|
source: z.ZodString;
|
|
3205
3304
|
triggerAvailable: z.ZodBoolean;
|
|
3305
|
+
status: z.ZodEnum<{
|
|
3306
|
+
paused: "paused";
|
|
3307
|
+
active: "active";
|
|
3308
|
+
}>;
|
|
3206
3309
|
}, z.core.$strict>;
|
|
3207
3310
|
export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3311
|
+
credentialMode: z.ZodEnum<{
|
|
3312
|
+
system: "system";
|
|
3313
|
+
creator: "creator";
|
|
3314
|
+
}>;
|
|
3208
3315
|
createdAt: z.ZodString;
|
|
3209
3316
|
createdBy: z.ZodString;
|
|
3317
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3210
3318
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3211
3319
|
destination: z.ZodObject<{
|
|
3212
3320
|
channelId: z.ZodString;
|
|
@@ -3221,6 +3329,11 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3221
3329
|
instruction: z.ZodString;
|
|
3222
3330
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3223
3331
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3333
|
+
failed: "failed";
|
|
3334
|
+
blocked: "blocked";
|
|
3335
|
+
completed: "completed";
|
|
3336
|
+
}>>;
|
|
3224
3337
|
ownedByViewer: z.ZodBoolean;
|
|
3225
3338
|
runs: z.ZodObject<{
|
|
3226
3339
|
1: z.ZodNumber;
|
|
@@ -3242,14 +3355,22 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3242
3355
|
kind: z.ZodLiteral<"scheduled">;
|
|
3243
3356
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3244
3357
|
schedule: z.ZodString;
|
|
3358
|
+
timezone: z.ZodString;
|
|
3359
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3245
3360
|
status: z.ZodEnum<{
|
|
3361
|
+
paused: "paused";
|
|
3246
3362
|
blocked: "blocked";
|
|
3247
3363
|
completed: "completed";
|
|
3248
3364
|
active: "active";
|
|
3249
3365
|
}>;
|
|
3250
3366
|
}, z.core.$strict>, z.ZodObject<{
|
|
3367
|
+
credentialMode: z.ZodEnum<{
|
|
3368
|
+
system: "system";
|
|
3369
|
+
creator: "creator";
|
|
3370
|
+
}>;
|
|
3251
3371
|
createdAt: z.ZodString;
|
|
3252
3372
|
createdBy: z.ZodString;
|
|
3373
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3253
3374
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3254
3375
|
destination: z.ZodObject<{
|
|
3255
3376
|
channelId: z.ZodString;
|
|
@@ -3264,6 +3385,11 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3264
3385
|
instruction: z.ZodString;
|
|
3265
3386
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3266
3387
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3388
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3389
|
+
failed: "failed";
|
|
3390
|
+
blocked: "blocked";
|
|
3391
|
+
completed: "completed";
|
|
3392
|
+
}>>;
|
|
3267
3393
|
ownedByViewer: z.ZodBoolean;
|
|
3268
3394
|
runs: z.ZodObject<{
|
|
3269
3395
|
1: z.ZodNumber;
|
|
@@ -3283,10 +3409,15 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
3283
3409
|
title: z.ZodString;
|
|
3284
3410
|
totalRuns: z.ZodNumber;
|
|
3285
3411
|
events: z.ZodArray<z.ZodString>;
|
|
3412
|
+
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]>>]>>>;
|
|
3286
3413
|
kind: z.ZodLiteral<"event">;
|
|
3287
3414
|
resource: z.ZodString;
|
|
3288
3415
|
source: z.ZodString;
|
|
3289
3416
|
triggerAvailable: z.ZodBoolean;
|
|
3417
|
+
status: z.ZodEnum<{
|
|
3418
|
+
paused: "paused";
|
|
3419
|
+
active: "active";
|
|
3420
|
+
}>;
|
|
3290
3421
|
}, z.core.$strict>], "kind">;
|
|
3291
3422
|
/** One UTC day/hour of completed automation executions stacked by automation type. */
|
|
3292
3423
|
declare const automationExecutionDaySchema: z.ZodObject<{
|
|
@@ -3297,6 +3428,34 @@ declare const automationExecutionDaySchema: z.ZodObject<{
|
|
|
3297
3428
|
}, z.core.$strict>;
|
|
3298
3429
|
export declare const automationListQuerySchema: z.ZodObject<{
|
|
3299
3430
|
q: z.ZodOptional<z.ZodString>;
|
|
3431
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
3432
|
+
public: "public";
|
|
3433
|
+
all: "all";
|
|
3434
|
+
mine: "mine";
|
|
3435
|
+
attention: "attention";
|
|
3436
|
+
}>>;
|
|
3437
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
3438
|
+
event: "event";
|
|
3439
|
+
scheduled: "scheduled";
|
|
3440
|
+
all: "all";
|
|
3441
|
+
}>>;
|
|
3442
|
+
state: z.ZodDefault<z.ZodEnum<{
|
|
3443
|
+
paused: "paused";
|
|
3444
|
+
blocked: "blocked";
|
|
3445
|
+
completed: "completed";
|
|
3446
|
+
active: "active";
|
|
3447
|
+
unavailable: "unavailable";
|
|
3448
|
+
all: "all";
|
|
3449
|
+
}>>;
|
|
3450
|
+
creator: z.ZodOptional<z.ZodString>;
|
|
3451
|
+
destination: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
sort: z.ZodDefault<z.ZodEnum<{
|
|
3453
|
+
title: "title";
|
|
3454
|
+
newest: "newest";
|
|
3455
|
+
oldest: "oldest";
|
|
3456
|
+
}>>;
|
|
3457
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3458
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3300
3459
|
}, z.core.$strict>;
|
|
3301
3460
|
export declare const automationListSchema: z.ZodObject<{
|
|
3302
3461
|
executionDays: z.ZodArray<z.ZodObject<{
|
|
@@ -3318,8 +3477,13 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3318
3477
|
scheduled: z.ZodNumber;
|
|
3319
3478
|
}, z.core.$strict>>>;
|
|
3320
3479
|
automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3480
|
+
credentialMode: z.ZodEnum<{
|
|
3481
|
+
system: "system";
|
|
3482
|
+
creator: "creator";
|
|
3483
|
+
}>;
|
|
3321
3484
|
createdAt: z.ZodString;
|
|
3322
3485
|
createdBy: z.ZodString;
|
|
3486
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3323
3487
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3324
3488
|
destination: z.ZodObject<{
|
|
3325
3489
|
channelId: z.ZodString;
|
|
@@ -3334,6 +3498,11 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3334
3498
|
instruction: z.ZodString;
|
|
3335
3499
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3336
3500
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3501
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3502
|
+
failed: "failed";
|
|
3503
|
+
blocked: "blocked";
|
|
3504
|
+
completed: "completed";
|
|
3505
|
+
}>>;
|
|
3337
3506
|
ownedByViewer: z.ZodBoolean;
|
|
3338
3507
|
runs: z.ZodObject<{
|
|
3339
3508
|
1: z.ZodNumber;
|
|
@@ -3355,14 +3524,22 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3355
3524
|
kind: z.ZodLiteral<"scheduled">;
|
|
3356
3525
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3357
3526
|
schedule: z.ZodString;
|
|
3527
|
+
timezone: z.ZodString;
|
|
3528
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3358
3529
|
status: z.ZodEnum<{
|
|
3530
|
+
paused: "paused";
|
|
3359
3531
|
blocked: "blocked";
|
|
3360
3532
|
completed: "completed";
|
|
3361
3533
|
active: "active";
|
|
3362
3534
|
}>;
|
|
3363
3535
|
}, z.core.$strict>, z.ZodObject<{
|
|
3536
|
+
credentialMode: z.ZodEnum<{
|
|
3537
|
+
system: "system";
|
|
3538
|
+
creator: "creator";
|
|
3539
|
+
}>;
|
|
3364
3540
|
createdAt: z.ZodString;
|
|
3365
3541
|
createdBy: z.ZodString;
|
|
3542
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3366
3543
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3367
3544
|
destination: z.ZodObject<{
|
|
3368
3545
|
channelId: z.ZodString;
|
|
@@ -3377,6 +3554,11 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3377
3554
|
instruction: z.ZodString;
|
|
3378
3555
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3379
3556
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3557
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3558
|
+
failed: "failed";
|
|
3559
|
+
blocked: "blocked";
|
|
3560
|
+
completed: "completed";
|
|
3561
|
+
}>>;
|
|
3380
3562
|
ownedByViewer: z.ZodBoolean;
|
|
3381
3563
|
runs: z.ZodObject<{
|
|
3382
3564
|
1: z.ZodNumber;
|
|
@@ -3396,12 +3578,33 @@ export declare const automationListSchema: z.ZodObject<{
|
|
|
3396
3578
|
title: z.ZodString;
|
|
3397
3579
|
totalRuns: z.ZodNumber;
|
|
3398
3580
|
events: z.ZodArray<z.ZodString>;
|
|
3581
|
+
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]>>]>>>;
|
|
3399
3582
|
kind: z.ZodLiteral<"event">;
|
|
3400
3583
|
resource: z.ZodString;
|
|
3401
3584
|
source: z.ZodString;
|
|
3402
3585
|
triggerAvailable: z.ZodBoolean;
|
|
3586
|
+
status: z.ZodEnum<{
|
|
3587
|
+
paused: "paused";
|
|
3588
|
+
active: "active";
|
|
3589
|
+
}>;
|
|
3403
3590
|
}, z.core.$strict>], "kind">>;
|
|
3404
|
-
|
|
3591
|
+
total: z.ZodNumber;
|
|
3592
|
+
page: z.ZodNumber;
|
|
3593
|
+
pageSize: z.ZodNumber;
|
|
3594
|
+
counts: z.ZodObject<{
|
|
3595
|
+
all: z.ZodNumber;
|
|
3596
|
+
mine: z.ZodNumber;
|
|
3597
|
+
public: z.ZodNumber;
|
|
3598
|
+
private: z.ZodNumber;
|
|
3599
|
+
}, z.core.$strict>;
|
|
3600
|
+
creators: z.ZodArray<z.ZodObject<{
|
|
3601
|
+
value: z.ZodString;
|
|
3602
|
+
label: z.ZodString;
|
|
3603
|
+
}, z.core.$strict>>;
|
|
3604
|
+
destinations: z.ZodArray<z.ZodObject<{
|
|
3605
|
+
value: z.ZodString;
|
|
3606
|
+
label: z.ZodString;
|
|
3607
|
+
}, z.core.$strict>>;
|
|
3405
3608
|
}, z.core.$strict>;
|
|
3406
3609
|
export declare const automationParamsSchema: z.ZodObject<{
|
|
3407
3610
|
id: z.ZodString;
|
|
@@ -3470,8 +3673,13 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3470
3673
|
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
3471
3674
|
}, z.core.$strict>>;
|
|
3472
3675
|
automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3676
|
+
credentialMode: z.ZodEnum<{
|
|
3677
|
+
system: "system";
|
|
3678
|
+
creator: "creator";
|
|
3679
|
+
}>;
|
|
3473
3680
|
createdAt: z.ZodString;
|
|
3474
3681
|
createdBy: z.ZodString;
|
|
3682
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3475
3683
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3476
3684
|
destination: z.ZodObject<{
|
|
3477
3685
|
channelId: z.ZodString;
|
|
@@ -3486,6 +3694,11 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3486
3694
|
instruction: z.ZodString;
|
|
3487
3695
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3488
3696
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3697
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3698
|
+
failed: "failed";
|
|
3699
|
+
blocked: "blocked";
|
|
3700
|
+
completed: "completed";
|
|
3701
|
+
}>>;
|
|
3489
3702
|
ownedByViewer: z.ZodBoolean;
|
|
3490
3703
|
runs: z.ZodObject<{
|
|
3491
3704
|
1: z.ZodNumber;
|
|
@@ -3507,14 +3720,22 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3507
3720
|
kind: z.ZodLiteral<"scheduled">;
|
|
3508
3721
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
3509
3722
|
schedule: z.ZodString;
|
|
3723
|
+
timezone: z.ZodString;
|
|
3724
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
3510
3725
|
status: z.ZodEnum<{
|
|
3726
|
+
paused: "paused";
|
|
3511
3727
|
blocked: "blocked";
|
|
3512
3728
|
completed: "completed";
|
|
3513
3729
|
active: "active";
|
|
3514
3730
|
}>;
|
|
3515
3731
|
}, z.core.$strict>, z.ZodObject<{
|
|
3732
|
+
credentialMode: z.ZodEnum<{
|
|
3733
|
+
system: "system";
|
|
3734
|
+
creator: "creator";
|
|
3735
|
+
}>;
|
|
3516
3736
|
createdAt: z.ZodString;
|
|
3517
3737
|
createdBy: z.ZodString;
|
|
3738
|
+
createdByAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
3518
3739
|
createdByEmail: z.ZodOptional<z.ZodString>;
|
|
3519
3740
|
destination: z.ZodObject<{
|
|
3520
3741
|
channelId: z.ZodString;
|
|
@@ -3529,6 +3750,11 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3529
3750
|
instruction: z.ZodString;
|
|
3530
3751
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
3531
3752
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
3754
|
+
failed: "failed";
|
|
3755
|
+
blocked: "blocked";
|
|
3756
|
+
completed: "completed";
|
|
3757
|
+
}>>;
|
|
3532
3758
|
ownedByViewer: z.ZodBoolean;
|
|
3533
3759
|
runs: z.ZodObject<{
|
|
3534
3760
|
1: z.ZodNumber;
|
|
@@ -3548,10 +3774,15 @@ export declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
3548
3774
|
title: z.ZodString;
|
|
3549
3775
|
totalRuns: z.ZodNumber;
|
|
3550
3776
|
events: z.ZodArray<z.ZodString>;
|
|
3777
|
+
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]>>]>>>;
|
|
3551
3778
|
kind: z.ZodLiteral<"event">;
|
|
3552
3779
|
resource: z.ZodString;
|
|
3553
3780
|
source: z.ZodString;
|
|
3554
3781
|
triggerAvailable: z.ZodBoolean;
|
|
3782
|
+
status: z.ZodEnum<{
|
|
3783
|
+
paused: "paused";
|
|
3784
|
+
active: "active";
|
|
3785
|
+
}>;
|
|
3555
3786
|
}, z.core.$strict>], "kind">;
|
|
3556
3787
|
truncated: z.ZodBoolean;
|
|
3557
3788
|
}, z.core.$strict>;
|
|
@@ -3607,6 +3838,311 @@ type AutomationRunList = z.output<typeof automationRunListSchema>;
|
|
|
3607
3838
|
type AutomationRunWindows = z.output<typeof automationRunWindowsSchema>;
|
|
3608
3839
|
type AutomationSummary = z.output<typeof automationSummarySchema>;
|
|
3609
3840
|
type AutomationList = z.output<typeof automationListSchema>;
|
|
3841
|
+
type AutomationListQuery = z.output<typeof automationListQuerySchema>;
|
|
3842
|
+
/** Creator-only edit values. Read schemas also retain legacy values. */
|
|
3843
|
+
export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3844
|
+
destination: z.ZodObject<{
|
|
3845
|
+
teamId: z.ZodString;
|
|
3846
|
+
channelId: z.ZodString;
|
|
3847
|
+
platform: z.ZodLiteral<"slack">;
|
|
3848
|
+
}, z.core.$strict>;
|
|
3849
|
+
createdBy: z.ZodObject<{
|
|
3850
|
+
slackUserId: z.ZodString;
|
|
3851
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3852
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
3853
|
+
}, z.core.$strict>;
|
|
3854
|
+
id: z.ZodString;
|
|
3855
|
+
revision: z.ZodString;
|
|
3856
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3857
|
+
instruction: z.ZodString;
|
|
3858
|
+
credentialMode: z.ZodEnum<{
|
|
3859
|
+
system: "system";
|
|
3860
|
+
creator: "creator";
|
|
3861
|
+
}>;
|
|
3862
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
3863
|
+
action: z.ZodLiteral<"send_message">;
|
|
3864
|
+
destination: z.ZodObject<{
|
|
3865
|
+
platform: z.ZodLiteral<"slack">;
|
|
3866
|
+
teamId: z.ZodString;
|
|
3867
|
+
channelId: z.ZodString;
|
|
3868
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
3869
|
+
}, z.core.$strict>;
|
|
3870
|
+
}, z.core.$strict>>;
|
|
3871
|
+
schedule: z.ZodObject<{
|
|
3872
|
+
description: z.ZodString;
|
|
3873
|
+
kind: z.ZodEnum<{
|
|
3874
|
+
one_off: "one_off";
|
|
3875
|
+
recurring: "recurring";
|
|
3876
|
+
}>;
|
|
3877
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
3878
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
3879
|
+
frequency: z.ZodEnum<{
|
|
3880
|
+
daily: "daily";
|
|
3881
|
+
weekly: "weekly";
|
|
3882
|
+
monthly: "monthly";
|
|
3883
|
+
yearly: "yearly";
|
|
3884
|
+
}>;
|
|
3885
|
+
interval: z.ZodNumber;
|
|
3886
|
+
month: z.ZodOptional<z.ZodNumber>;
|
|
3887
|
+
startDate: z.ZodString;
|
|
3888
|
+
time: z.ZodObject<{
|
|
3889
|
+
hour: z.ZodNumber;
|
|
3890
|
+
minute: z.ZodNumber;
|
|
3891
|
+
}, z.core.$strict>;
|
|
3892
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
3893
|
+
}, z.core.$strict>>;
|
|
3894
|
+
timezone: z.ZodString;
|
|
3895
|
+
}, z.core.$strict>;
|
|
3896
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
3897
|
+
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
3898
|
+
status: z.ZodEnum<{
|
|
3899
|
+
paused: "paused";
|
|
3900
|
+
blocked: "blocked";
|
|
3901
|
+
completed: "completed";
|
|
3902
|
+
active: "active";
|
|
3903
|
+
}>;
|
|
3904
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3905
|
+
destination: z.ZodObject<{
|
|
3906
|
+
teamId: z.ZodString;
|
|
3907
|
+
channelId: z.ZodString;
|
|
3908
|
+
platform: z.ZodLiteral<"slack">;
|
|
3909
|
+
}, z.core.$strict>;
|
|
3910
|
+
createdBy: z.ZodObject<{
|
|
3911
|
+
slackUserId: z.ZodString;
|
|
3912
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3913
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
3914
|
+
}, z.core.$strict>;
|
|
3915
|
+
id: z.ZodString;
|
|
3916
|
+
revision: z.ZodString;
|
|
3917
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3918
|
+
instruction: z.ZodString;
|
|
3919
|
+
credentialMode: z.ZodEnum<{
|
|
3920
|
+
system: "system";
|
|
3921
|
+
creator: "creator";
|
|
3922
|
+
}>;
|
|
3923
|
+
outcomes: z.ZodArray<z.ZodObject<{
|
|
3924
|
+
action: z.ZodLiteral<"send_message">;
|
|
3925
|
+
destination: z.ZodObject<{
|
|
3926
|
+
platform: z.ZodLiteral<"slack">;
|
|
3927
|
+
teamId: z.ZodString;
|
|
3928
|
+
channelId: z.ZodString;
|
|
3929
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
3930
|
+
}, z.core.$strict>;
|
|
3931
|
+
}, z.core.$strict>>;
|
|
3932
|
+
kind: z.ZodLiteral<"event">;
|
|
3933
|
+
trigger: z.ZodObject<{
|
|
3934
|
+
events: z.ZodArray<z.ZodString>;
|
|
3935
|
+
label: z.ZodString;
|
|
3936
|
+
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]>>]>>>;
|
|
3937
|
+
namespace: z.ZodString;
|
|
3938
|
+
identifier: z.ZodString;
|
|
3939
|
+
resourceType: z.ZodString;
|
|
3940
|
+
}, z.core.$strict>;
|
|
3941
|
+
triggerAvailable: z.ZodBoolean;
|
|
3942
|
+
status: z.ZodEnum<{
|
|
3943
|
+
paused: "paused";
|
|
3944
|
+
active: "active";
|
|
3945
|
+
}>;
|
|
3946
|
+
}, z.core.$strict>], "kind">;
|
|
3947
|
+
/** Partial edits require the revision returned by the edit read. */
|
|
3948
|
+
export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3949
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3950
|
+
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
3951
|
+
system: "system";
|
|
3952
|
+
creator: "creator";
|
|
3953
|
+
}>>;
|
|
3954
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3955
|
+
action: z.ZodLiteral<"send_message">;
|
|
3956
|
+
destination: z.ZodEnum<{
|
|
3957
|
+
current_conversation: "current_conversation";
|
|
3958
|
+
task_creator: "task_creator";
|
|
3959
|
+
}>;
|
|
3960
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3961
|
+
action: z.ZodLiteral<"send_message">;
|
|
3962
|
+
destination: z.ZodObject<{
|
|
3963
|
+
platform: z.ZodLiteral<"slack">;
|
|
3964
|
+
teamId: z.ZodString;
|
|
3965
|
+
channelId: z.ZodString;
|
|
3966
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
3967
|
+
}, z.core.$strict>;
|
|
3968
|
+
}, z.core.$strict>]>>>;
|
|
3969
|
+
schedule: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3970
|
+
kind: z.ZodLiteral<"one_off">;
|
|
3971
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3972
|
+
timing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3973
|
+
type: z.ZodLiteral<"after">;
|
|
3974
|
+
value: z.ZodNumber;
|
|
3975
|
+
unit: z.ZodEnum<{
|
|
3976
|
+
hour: "hour";
|
|
3977
|
+
minute: "minute";
|
|
3978
|
+
second: "second";
|
|
3979
|
+
day: "day";
|
|
3980
|
+
week: "week";
|
|
3981
|
+
}>;
|
|
3982
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3983
|
+
type: z.ZodLiteral<"at">;
|
|
3984
|
+
date: z.ZodString;
|
|
3985
|
+
time: z.ZodString;
|
|
3986
|
+
}, z.core.$strict>], "type">;
|
|
3987
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3988
|
+
kind: z.ZodLiteral<"recurring">;
|
|
3989
|
+
frequency: z.ZodEnum<{
|
|
3990
|
+
daily: "daily";
|
|
3991
|
+
weekly: "weekly";
|
|
3992
|
+
monthly: "monthly";
|
|
3993
|
+
yearly: "yearly";
|
|
3994
|
+
}>;
|
|
3995
|
+
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3996
|
+
time: z.ZodString;
|
|
3997
|
+
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
3998
|
+
sunday: "sunday";
|
|
3999
|
+
monday: "monday";
|
|
4000
|
+
tuesday: "tuesday";
|
|
4001
|
+
wednesday: "wednesday";
|
|
4002
|
+
thursday: "thursday";
|
|
4003
|
+
friday: "friday";
|
|
4004
|
+
saturday: "saturday";
|
|
4005
|
+
}>>>>;
|
|
4006
|
+
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4007
|
+
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4008
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4009
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4010
|
+
}, z.core.$strict>]>>;
|
|
4011
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
4012
|
+
kind: z.ZodLiteral<"scheduled">;
|
|
4013
|
+
revision: z.ZodString;
|
|
4014
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4015
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
instruction: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
credentialMode: z.ZodOptional<z.ZodEnum<{
|
|
4018
|
+
system: "system";
|
|
4019
|
+
creator: "creator";
|
|
4020
|
+
}>>;
|
|
4021
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4022
|
+
action: z.ZodLiteral<"send_message">;
|
|
4023
|
+
destination: z.ZodEnum<{
|
|
4024
|
+
current_conversation: "current_conversation";
|
|
4025
|
+
task_creator: "task_creator";
|
|
4026
|
+
}>;
|
|
4027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4028
|
+
action: z.ZodLiteral<"send_message">;
|
|
4029
|
+
destination: z.ZodObject<{
|
|
4030
|
+
platform: z.ZodLiteral<"slack">;
|
|
4031
|
+
teamId: z.ZodString;
|
|
4032
|
+
channelId: z.ZodString;
|
|
4033
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
}, z.core.$strict>;
|
|
4035
|
+
}, z.core.$strict>]>>>;
|
|
4036
|
+
trigger: z.ZodOptional<z.ZodObject<{
|
|
4037
|
+
events: z.ZodArray<z.ZodString>;
|
|
4038
|
+
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]>>]>>>;
|
|
4039
|
+
namespace: z.ZodString;
|
|
4040
|
+
resourceType: z.ZodString;
|
|
4041
|
+
identifier: z.ZodString;
|
|
4042
|
+
label: z.ZodString;
|
|
4043
|
+
}, z.core.$strict>>;
|
|
4044
|
+
kind: z.ZodLiteral<"event">;
|
|
4045
|
+
revision: z.ZodString;
|
|
4046
|
+
}, z.core.$strict>], "kind">;
|
|
4047
|
+
export declare const automationEditErrorSchema: z.ZodObject<{
|
|
4048
|
+
error: z.ZodString;
|
|
4049
|
+
code: z.ZodEnum<{
|
|
4050
|
+
invalid_edit: "invalid_edit";
|
|
4051
|
+
conflict: "conflict";
|
|
4052
|
+
not_found: "not_found";
|
|
4053
|
+
}>;
|
|
4054
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
4055
|
+
}, z.core.$strict>;
|
|
4056
|
+
type AutomationEdit = z.output<typeof automationEditSchema>;
|
|
4057
|
+
type AutomationUpdate = z.output<typeof automationUpdateSchema>;
|
|
4058
|
+
/** Catalog metadata only; callbacks and provider connections stay on the server. */
|
|
4059
|
+
export declare const automationEventCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
4060
|
+
type: z.ZodString;
|
|
4061
|
+
supportedEvents: z.ZodArray<z.ZodString>;
|
|
4062
|
+
suggestedEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4063
|
+
matchFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4064
|
+
kind: z.ZodEnum<{
|
|
4065
|
+
string: "string";
|
|
4066
|
+
number: "number";
|
|
4067
|
+
boolean: "boolean";
|
|
4068
|
+
}>;
|
|
4069
|
+
description: z.ZodString;
|
|
4070
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4071
|
+
}, z.core.$strict>>>;
|
|
4072
|
+
guidance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4073
|
+
namespace: z.ZodString;
|
|
4074
|
+
}, z.core.$strict>>;
|
|
4075
|
+
export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4076
|
+
kind: z.ZodLiteral<"one_off">;
|
|
4077
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4078
|
+
timing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4079
|
+
type: z.ZodLiteral<"after">;
|
|
4080
|
+
value: z.ZodNumber;
|
|
4081
|
+
unit: z.ZodEnum<{
|
|
4082
|
+
hour: "hour";
|
|
4083
|
+
minute: "minute";
|
|
4084
|
+
second: "second";
|
|
4085
|
+
day: "day";
|
|
4086
|
+
week: "week";
|
|
4087
|
+
}>;
|
|
4088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4089
|
+
type: z.ZodLiteral<"at">;
|
|
4090
|
+
date: z.ZodString;
|
|
4091
|
+
time: z.ZodString;
|
|
4092
|
+
}, z.core.$strict>], "type">;
|
|
4093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4094
|
+
kind: z.ZodLiteral<"recurring">;
|
|
4095
|
+
frequency: z.ZodEnum<{
|
|
4096
|
+
daily: "daily";
|
|
4097
|
+
weekly: "weekly";
|
|
4098
|
+
monthly: "monthly";
|
|
4099
|
+
yearly: "yearly";
|
|
4100
|
+
}>;
|
|
4101
|
+
interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4102
|
+
time: z.ZodString;
|
|
4103
|
+
weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
4104
|
+
sunday: "sunday";
|
|
4105
|
+
monday: "monday";
|
|
4106
|
+
tuesday: "tuesday";
|
|
4107
|
+
wednesday: "wednesday";
|
|
4108
|
+
thursday: "thursday";
|
|
4109
|
+
friday: "friday";
|
|
4110
|
+
saturday: "saturday";
|
|
4111
|
+
}>>>>;
|
|
4112
|
+
dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4113
|
+
month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4114
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4115
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4116
|
+
}, z.core.$strict>]>;
|
|
4117
|
+
export declare const automationSchedulePreviewSchema: z.ZodObject<{
|
|
4118
|
+
schedule: z.ZodObject<{
|
|
4119
|
+
description: z.ZodString;
|
|
4120
|
+
kind: z.ZodEnum<{
|
|
4121
|
+
one_off: "one_off";
|
|
4122
|
+
recurring: "recurring";
|
|
4123
|
+
}>;
|
|
4124
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
4125
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
4126
|
+
frequency: z.ZodEnum<{
|
|
4127
|
+
daily: "daily";
|
|
4128
|
+
weekly: "weekly";
|
|
4129
|
+
monthly: "monthly";
|
|
4130
|
+
yearly: "yearly";
|
|
4131
|
+
}>;
|
|
4132
|
+
interval: z.ZodNumber;
|
|
4133
|
+
month: z.ZodOptional<z.ZodNumber>;
|
|
4134
|
+
startDate: z.ZodString;
|
|
4135
|
+
time: z.ZodObject<{
|
|
4136
|
+
hour: z.ZodNumber;
|
|
4137
|
+
minute: z.ZodNumber;
|
|
4138
|
+
}, z.core.$strict>;
|
|
4139
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4140
|
+
}, z.core.$strict>>;
|
|
4141
|
+
timezone: z.ZodString;
|
|
4142
|
+
}, z.core.$strict>;
|
|
4143
|
+
nextRunAtMs: z.ZodNumber;
|
|
4144
|
+
}, z.core.$strict>;
|
|
4145
|
+
type AutomationScheduleIntent = z.output<typeof automationScheduleIntentSchema>;
|
|
3610
4146
|
//#endregion
|
|
3611
4147
|
//#region src/api/schema/stats.d.ts
|
|
3612
4148
|
export declare const statSchema: z.ZodObject<{
|
|
@@ -3826,4 +4362,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
|
|
|
3826
4362
|
type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
|
|
3827
4363
|
type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
|
|
3828
4364
|
//#endregion
|
|
3829
|
-
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 };
|
|
4365
|
+
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 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 };
|