@alpic-ai/api 1.90.0 → 1.91.1

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/index.d.mts CHANGED
@@ -134,6 +134,7 @@ declare const contract: {
134
134
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
135
135
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
136
136
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
137
+ deploymentPageUrl: z.ZodNullable<z.ZodURL>;
137
138
  }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
138
139
  NOT_FOUND: {};
139
140
  }>, Record<never, never>>;
@@ -218,6 +219,7 @@ declare const contract: {
218
219
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
219
220
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
220
221
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
222
+ deploymentPageUrl: z.ZodNullable<z.ZodURL>;
221
223
  }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
222
224
  NOT_FOUND: {};
223
225
  BAD_REQUEST: {};
package/dist/index.mjs CHANGED
@@ -82,6 +82,7 @@ const deploymentSchema = z.object({
82
82
  startedAt: z.coerce.date().nullable(),
83
83
  completedAt: z.coerce.date().nullable()
84
84
  });
85
+ const deploymentWithPageUrlSchema = deploymentSchema.extend({ deploymentPageUrl: z.url().nullable() });
85
86
  const createEnvironmentContractV1 = oc.route({
86
87
  path: "/v1/environments",
87
88
  method: "POST",
@@ -246,7 +247,7 @@ const deployEnvironmentContractV1 = oc.route({
246
247
  }).input(z.object({
247
248
  environmentId: z.string().describe("The ID of the environment to deploy"),
248
249
  token: z.string().describe("The token to identify the source archive").optional()
249
- })).output(deploymentSchema);
250
+ })).output(deploymentWithPageUrlSchema);
250
251
  const uploadDeploymentArtifactContractV1 = oc.route({
251
252
  path: "/v1/deployments/upload",
252
253
  method: "POST",
@@ -277,7 +278,7 @@ const getDeploymentContractV1 = oc.route({
277
278
  description: "Get a deployment by ID",
278
279
  tags: ["deployments"],
279
280
  successDescription: "The deployment details"
280
- }).errors({ NOT_FOUND: {} }).input(z.object({ deploymentId: z.string().describe("The ID of the deployment") })).output(deploymentSchema);
281
+ }).errors({ NOT_FOUND: {} }).input(z.object({ deploymentId: z.string().describe("The ID of the deployment") })).output(deploymentWithPageUrlSchema);
281
282
  const getDeploymentLogsContractV1 = oc.route({
282
283
  path: "/v1/deployments/{deploymentId}/logs",
283
284
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "1.90.0",
3
+ "version": "1.91.1",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -17,12 +17,11 @@
17
17
  "author": "Alpic",
18
18
  "license": "ISC",
19
19
  "dependencies": {
20
- "@orpc/contract": "^1.13.4",
20
+ "@orpc/contract": "^1.13.5",
21
21
  "zod": "^4.3.6"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@total-typescript/tsconfig": "^1.0.4",
25
- "biome": "^0.3.3",
26
25
  "shx": "^0.4.0",
27
26
  "tsdown": "^0.20.3",
28
27
  "typescript": "^5.9.3",