@alpic-ai/api 1.129.0 → 1.129.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +18 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -71,6 +71,16 @@ const auditReportWithScreenshotsSchema = auditReportSchema.extend({ widgetScreen
71
71
  chatgpt: widgetScreenshotSchema.optional(),
72
72
  claudeai: widgetScreenshotSchema.optional()
73
73
  }) });
74
+ z.enum([
75
+ "ongoing",
76
+ "deployed",
77
+ "failed",
78
+ "canceled"
79
+ ]);
80
+ z.object({
81
+ timestamp: z.coerce.date().optional(),
82
+ content: z.string().optional()
83
+ });
74
84
  z.object({
75
85
  id: z.string(),
76
86
  createdAt: z.coerce.date(),
@@ -82,6 +92,14 @@ z.object({
82
92
  content: z.string(),
83
93
  source: z.enum(["model", "user"])
84
94
  });
95
+ z.object({
96
+ id: z.string(),
97
+ teamId: z.string(),
98
+ email: z.string(),
99
+ expiresAt: z.coerce.date(),
100
+ createdAt: z.coerce.date(),
101
+ updatedAt: z.coerce.date()
102
+ });
85
103
  const toolDefinitionSchema = z.object({
86
104
  name: z.string(),
87
105
  title: z.string().optional().describe("Human-friendly name for the tool, used in the UI. If not provided, `name` will be used."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "1.129.0",
3
+ "version": "1.129.2",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",