@vellumai/plugin-api 0.10.0-dev.202606222307.aa8d8c0 → 0.10.0-dev.202606222336.91461f5
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/index.d.ts +18 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -561,19 +561,24 @@ declare interface BundleAppResponse {
|
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
declare
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
564
|
+
declare type CardSurfaceData = z.infer<typeof CardSurfaceDataSchema>;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Card surface data. Defined as a Zod schema so the type is derived (not
|
|
568
|
+
* hand-maintained) and the seed-content-block schema can compose it directly
|
|
569
|
+
* instead of treating card `data` as an opaque record.
|
|
570
|
+
*/
|
|
571
|
+
declare const CardSurfaceDataSchema: z.ZodObject<{
|
|
572
|
+
title: z.ZodString;
|
|
573
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
574
|
+
body: z.ZodString;
|
|
575
|
+
metadata: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
576
|
+
label: z.ZodString;
|
|
577
|
+
value: z.ZodString;
|
|
578
|
+
}, z.core.$strip>>>;
|
|
579
|
+
template: z.ZodOptional<z.ZodString>;
|
|
580
|
+
templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
581
|
+
}, z.core.$strip>;
|
|
577
582
|
|
|
578
583
|
declare const CHANNEL_IDS: readonly ["telegram", "phone", "vellum", "whatsapp", "slack", "email", "platform", "a2a"];
|
|
579
584
|
|
package/package.json
CHANGED