@automate.ax/api-contract 0.87.5 → 0.87.7
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/execution-data.d.ts +1 -0
- package/dist/execution-data.js +4 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/execution-data.ts +8 -1
- package/src/index.ts +1 -0
package/dist/execution-data.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare const executionDatasetScopeSchema: z.ZodObject<{
|
|
|
22
22
|
projectId: z.ZodNullable<z.ZodString>;
|
|
23
23
|
since: z.ZodNullable<z.ZodISODateTime>;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
|
+
export declare const executionDatasetProfileIdSchema: z.ZodString;
|
|
25
26
|
export declare const executionDatasetManifestSchema: z.ZodObject<{
|
|
26
27
|
consistency: z.ZodLiteral<"eventual">;
|
|
27
28
|
profileId: z.ZodString;
|
package/dist/execution-data.js
CHANGED
|
@@ -23,9 +23,12 @@ export const executionDatasetScopeSchema = z.object({
|
|
|
23
23
|
projectId: z.string().nullable(),
|
|
24
24
|
since: z.iso.datetime({ offset: true }).nullable(),
|
|
25
25
|
});
|
|
26
|
+
export const executionDatasetProfileIdSchema = z
|
|
27
|
+
.string()
|
|
28
|
+
.regex(/^[A-Za-z0-9_-]{24}$/, "Execution dataset profile IDs must be 24 base64url characters.");
|
|
26
29
|
export const executionDatasetManifestSchema = z.object({
|
|
27
30
|
consistency: z.literal("eventual"),
|
|
28
|
-
profileId:
|
|
31
|
+
profileId: executionDatasetProfileIdSchema,
|
|
29
32
|
resources: z
|
|
30
33
|
.object({
|
|
31
34
|
name: executionDatasetResourceSchema,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { automationExecutionStatusSchema, automationOutputSchema, } from "./automation.js";
|
|
2
|
-
export { EXECUTION_DATASET_VERSION, executionDatasetManifestSchema, executionDatasetResourceSchema, executionDatasetScopeSchema, type ExecutionDatasetManifest, type ExecutionDatasetResource, type ExecutionDatasetScope, executionDataContract, } from "./execution-data.js";
|
|
2
|
+
export { EXECUTION_DATASET_VERSION, executionDatasetManifestSchema, executionDatasetProfileIdSchema, executionDatasetResourceSchema, executionDatasetScopeSchema, type ExecutionDatasetManifest, type ExecutionDatasetResource, type ExecutionDatasetScope, executionDataContract, } from "./execution-data.js";
|
|
3
3
|
export { AUTOMATION_SDK_VERSION, deploymentOutputSchema, deploymentStatusSchema, } from "./deployment.js";
|
|
4
4
|
export { AUTOMATION_RUNTIME_PROTOCOL_VERSION } from "./runtime-protocol.js";
|
|
5
5
|
export { AUTOMATION_ERROR_CAUSE_DEPTH, automationErrorSchema, type AutomationErrorValue, } from "./errors.js";
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { orgContract } from "./org.js";
|
|
|
10
10
|
import { projectContract } from "./project.js";
|
|
11
11
|
import { runtimeContract } from "./runtime.js";
|
|
12
12
|
export { automationExecutionStatusSchema, automationOutputSchema, } from "./automation.js";
|
|
13
|
-
export { EXECUTION_DATASET_VERSION, executionDatasetManifestSchema, executionDatasetResourceSchema, executionDatasetScopeSchema, executionDataContract, } from "./execution-data.js";
|
|
13
|
+
export { EXECUTION_DATASET_VERSION, executionDatasetManifestSchema, executionDatasetProfileIdSchema, executionDatasetResourceSchema, executionDatasetScopeSchema, executionDataContract, } from "./execution-data.js";
|
|
14
14
|
export { AUTOMATION_SDK_VERSION, deploymentOutputSchema, deploymentStatusSchema, } from "./deployment.js";
|
|
15
15
|
export { AUTOMATION_RUNTIME_PROTOCOL_VERSION } from "./runtime-protocol.js";
|
|
16
16
|
export { AUTOMATION_ERROR_CAUSE_DEPTH, automationErrorSchema, } from "./errors.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.87.
|
|
3
|
+
"version": "0.87.7",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@ai-sdk/gateway": "4.0.46",
|
|
34
|
-
"@automate.ax/codec": "0.87.
|
|
35
|
-
"@automate.ax/integration-contracts": "0.87.
|
|
34
|
+
"@automate.ax/codec": "0.87.7",
|
|
35
|
+
"@automate.ax/integration-contracts": "0.87.7",
|
|
36
36
|
"@orpc/contract": "1.15.0",
|
|
37
37
|
"fast-json-stable-stringify": "^2.1.0",
|
|
38
38
|
"zod": "^4.3.6"
|
package/src/execution-data.ts
CHANGED
|
@@ -27,9 +27,16 @@ export const executionDatasetScopeSchema = z.object({
|
|
|
27
27
|
since: z.iso.datetime({ offset: true }).nullable(),
|
|
28
28
|
})
|
|
29
29
|
|
|
30
|
+
export const executionDatasetProfileIdSchema = z
|
|
31
|
+
.string()
|
|
32
|
+
.regex(
|
|
33
|
+
/^[A-Za-z0-9_-]{24}$/,
|
|
34
|
+
"Execution dataset profile IDs must be 24 base64url characters.",
|
|
35
|
+
)
|
|
36
|
+
|
|
30
37
|
export const executionDatasetManifestSchema = z.object({
|
|
31
38
|
consistency: z.literal("eventual"),
|
|
32
|
-
profileId:
|
|
39
|
+
profileId: executionDatasetProfileIdSchema,
|
|
33
40
|
resources: z
|
|
34
41
|
.object({
|
|
35
42
|
name: executionDatasetResourceSchema,
|