@alpic-ai/api 0.0.0-dev.gfb11de8 → 0.0.0-dev.gff0a01e
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 +3 -0
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -831,6 +831,9 @@ declare const contract: {
|
|
|
831
831
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
832
832
|
NOT_FOUND: {};
|
|
833
833
|
BAD_REQUEST: {};
|
|
834
|
+
DNS_RESOLUTION_FAILED: {
|
|
835
|
+
status: number;
|
|
836
|
+
};
|
|
834
837
|
}>, Record<never, never>>;
|
|
835
838
|
};
|
|
836
839
|
get: {
|
package/dist/index.mjs
CHANGED
|
@@ -100,6 +100,12 @@ z.object({
|
|
|
100
100
|
createdAt: z.coerce.date(),
|
|
101
101
|
updatedAt: z.coerce.date()
|
|
102
102
|
});
|
|
103
|
+
z.enum([
|
|
104
|
+
"INFO",
|
|
105
|
+
"WARNING",
|
|
106
|
+
"DEBUG",
|
|
107
|
+
"ERROR"
|
|
108
|
+
]);
|
|
103
109
|
const runtimeSchema = z.enum([
|
|
104
110
|
"python3.13",
|
|
105
111
|
"python3.14",
|
|
@@ -1037,7 +1043,8 @@ const createBeaconContractV1 = oc.route({
|
|
|
1037
1043
|
successDescription: "The audit has been created"
|
|
1038
1044
|
}).errors({
|
|
1039
1045
|
NOT_FOUND: {},
|
|
1040
|
-
BAD_REQUEST: {}
|
|
1046
|
+
BAD_REQUEST: {},
|
|
1047
|
+
DNS_RESOLUTION_FAILED: { status: 400 }
|
|
1041
1048
|
}).input(z.object({
|
|
1042
1049
|
targetUrl: z.url().describe("The HTTPS URL of the MCP server to audit"),
|
|
1043
1050
|
teamId: z.string().optional().describe("The team ID to associate the audit with"),
|