terse-types 0.0.20 → 0.0.21
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/ApiRouteBuilder.d.ts +1 -0
- package/dist/ApiRoutes.json +1 -0
- package/dist/types.d.ts +2206 -0
- package/dist/types.js +21 -1
- package/package.json +1 -1
package/dist/types.js
CHANGED
|
@@ -410,7 +410,8 @@ export const sdkAgentRunRequestBodySchema = z.object({
|
|
|
410
410
|
message: z.string(),
|
|
411
411
|
skills: z.array(skillConfigDataSchema).optional(),
|
|
412
412
|
options: sdkAgentRunOptionsPayloadSchema.optional(),
|
|
413
|
-
toolApprovals: z.array(z.string()).optional()
|
|
413
|
+
toolApprovals: z.array(z.string()).optional(),
|
|
414
|
+
outputSchema: z.record(z.string(), z.unknown()).optional()
|
|
414
415
|
});
|
|
415
416
|
export const sdkAgentRunResponseContractSchema = z.object({
|
|
416
417
|
responseMode: z.literal("streaming"),
|
|
@@ -622,6 +623,25 @@ export const sdkSampleEventsRequestSchema = z.object({
|
|
|
622
623
|
}))
|
|
623
624
|
.min(1)
|
|
624
625
|
});
|
|
626
|
+
export const hydratorTypeEnum = z.enum(["run_history_raw_event", "slack_message_event", "github_event", "linear_event", "gmail_event", "workos_event", "webmonitor_event"]);
|
|
627
|
+
export const identifiableSchema = z.object({
|
|
628
|
+
entityType: hydratorTypeEnum,
|
|
629
|
+
entityId: z.string()
|
|
630
|
+
});
|
|
631
|
+
export const sdkSampleEventRefSchema = z.object({
|
|
632
|
+
entity: identifiableSchema,
|
|
633
|
+
serializedEvent: serializedEventSchema
|
|
634
|
+
});
|
|
635
|
+
export const sdkSampleEventsResponseSchema = z.object({
|
|
636
|
+
events: z.array(sdkSampleEventRefSchema)
|
|
637
|
+
});
|
|
638
|
+
export const sdkHydrateSampleEventRequestSchema = z.object({
|
|
639
|
+
entityType: z.string(),
|
|
640
|
+
entityId: z.string()
|
|
641
|
+
});
|
|
642
|
+
export const sdkHydrateSampleEventResponseSchema = z.object({
|
|
643
|
+
event: serializedEventSchema
|
|
644
|
+
});
|
|
625
645
|
export const triggerWithEventRequestSchema = z.union([
|
|
626
646
|
z.object({
|
|
627
647
|
event: TriggerSchema,
|