@automate.ax/api-contract 0.84.0 → 0.86.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/automation.d.ts +5 -3
- package/dist/automation.js +3 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.js +2 -0
- package/dist/events/webflow.d.ts +6 -0
- package/dist/events/webflow.js +16 -0
- package/dist/execution-data.d.ts +6 -6
- package/dist/execution-data.js +1 -1
- package/dist/index.d.ts +51 -12
- package/dist/index.js +1 -1
- package/dist/runtime.d.ts +168 -2
- package/dist/runtime.js +113 -3
- package/package.json +4 -4
- package/src/automation.ts +3 -0
- package/src/events/index.ts +2 -0
- package/src/events/webflow.ts +18 -0
- package/src/execution-data.ts +1 -1
- package/src/index.ts +12 -1
- package/src/runtime.ts +152 -5
package/dist/automation.d.ts
CHANGED
|
@@ -51,8 +51,8 @@ export declare const automationOutputSchema: z.ZodObject<{
|
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const automationExecutionStatusSchema: z.ZodEnum<{
|
|
53
53
|
failed: "failed";
|
|
54
|
-
running: "running";
|
|
55
54
|
settled: "settled";
|
|
55
|
+
running: "running";
|
|
56
56
|
}>;
|
|
57
57
|
export declare const automationContract: {
|
|
58
58
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -114,8 +114,8 @@ export declare const automationContract: {
|
|
|
114
114
|
id: z.ZodString;
|
|
115
115
|
status: z.ZodEnum<{
|
|
116
116
|
failed: "failed";
|
|
117
|
-
running: "running";
|
|
118
117
|
settled: "settled";
|
|
118
|
+
running: "running";
|
|
119
119
|
}>;
|
|
120
120
|
createdAt: z.ZodDate;
|
|
121
121
|
failure: z.ZodNullable<z.ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, z.core.$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>>;
|
|
@@ -129,6 +129,7 @@ export declare const automationContract: {
|
|
|
129
129
|
id: z.ZodString;
|
|
130
130
|
name: z.ZodString;
|
|
131
131
|
output: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
132
|
+
outputSensitivity: z.ZodOptional<z.ZodNullable<z.ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
132
133
|
slot: z.ZodNumber;
|
|
133
134
|
status: z.ZodEnum<{
|
|
134
135
|
pending: "pending";
|
|
@@ -148,6 +149,7 @@ export declare const automationContract: {
|
|
|
148
149
|
createdAt: z.ZodDate;
|
|
149
150
|
data: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
150
151
|
id: z.ZodString;
|
|
152
|
+
sensitivity: z.ZodOptional<z.ZodNullable<z.ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
151
153
|
outputIndex: z.ZodNumber;
|
|
152
154
|
type: z.ZodString;
|
|
153
155
|
}, z.core.$strip>>;
|
|
@@ -226,8 +228,8 @@ export declare const automationContract: {
|
|
|
226
228
|
settledAt: z.ZodNullable<z.ZodDate>;
|
|
227
229
|
status: z.ZodEnum<{
|
|
228
230
|
failed: "failed";
|
|
229
|
-
running: "running";
|
|
230
231
|
settled: "settled";
|
|
232
|
+
running: "running";
|
|
231
233
|
}>;
|
|
232
234
|
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
233
235
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
package/dist/automation.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { encodableSchema } from "@automate.ax/codec";
|
|
2
|
+
import { sensitivityMaskSchema } from "./runtime.js";
|
|
2
3
|
import { oc } from "@orpc/contract";
|
|
3
4
|
import * as z from "zod";
|
|
4
5
|
import { integrationAccountBindingOutputSchema } from "./account.js";
|
|
@@ -86,6 +87,7 @@ export const automationContract = {
|
|
|
86
87
|
id: z.string(),
|
|
87
88
|
name: z.string(),
|
|
88
89
|
output: encodableSchema,
|
|
90
|
+
outputSensitivity: sensitivityMaskSchema.nullable().optional(),
|
|
89
91
|
slot: z.number().int().nonnegative(),
|
|
90
92
|
status: z.enum(["pending", "succeeded", "skipped", "failed"]),
|
|
91
93
|
})
|
|
@@ -104,6 +106,7 @@ export const automationContract = {
|
|
|
104
106
|
createdAt: z.date(),
|
|
105
107
|
data: encodableSchema,
|
|
106
108
|
id: z.string(),
|
|
109
|
+
sensitivity: sensitivityMaskSchema.nullable().optional(),
|
|
107
110
|
outputIndex: z.number().int().nonnegative(),
|
|
108
111
|
type: z.string(),
|
|
109
112
|
})
|
package/dist/events/index.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ export declare const eventsContract: {
|
|
|
3
3
|
entry: import("zod").ZodArray<import("zod").ZodUnknown>;
|
|
4
4
|
object: import("zod").ZodLiteral<"whatsapp_business_account">;
|
|
5
5
|
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
6
|
+
webflowEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
7
|
+
sourceId: import("zod").ZodString;
|
|
8
|
+
}, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
6
9
|
vercelEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
7
10
|
trelloEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
8
11
|
sourceId: import("zod").ZodString;
|
package/dist/events/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import { slackEventsContract } from "./slack.js";
|
|
|
15
15
|
import { stripeEventsContract } from "./stripe.js";
|
|
16
16
|
import { trelloEventsContract } from "./trello.js";
|
|
17
17
|
import { vercelEventsContract } from "./vercel.js";
|
|
18
|
+
import { webflowEventsContract } from "./webflow.js";
|
|
18
19
|
import { whatsappEventsContract } from "./whatsapp.js";
|
|
19
20
|
export const eventsContract = {
|
|
20
21
|
...airtableEventsContract,
|
|
@@ -34,5 +35,6 @@ export const eventsContract = {
|
|
|
34
35
|
...stripeEventsContract,
|
|
35
36
|
...trelloEventsContract,
|
|
36
37
|
...vercelEventsContract,
|
|
38
|
+
...webflowEventsContract,
|
|
37
39
|
...whatsappEventsContract,
|
|
38
40
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export declare const webflowEventsContract: {
|
|
3
|
+
webflowEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4
|
+
sourceId: z.ZodString;
|
|
5
|
+
}, z.core.$loose>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { oc } from "@orpc/contract";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export const webflowEventsContract = {
|
|
4
|
+
webflowEvent: oc
|
|
5
|
+
.route({
|
|
6
|
+
method: "POST",
|
|
7
|
+
path: "/events/webflow/{sourceId}",
|
|
8
|
+
operationId: "receiveWebflowEvent",
|
|
9
|
+
summary: "Receive a Webflow event",
|
|
10
|
+
description: "Receives and authenticates callbacks delivered by Webflow webhooks.",
|
|
11
|
+
tags: ["Events"],
|
|
12
|
+
successStatus: 200,
|
|
13
|
+
})
|
|
14
|
+
.input(z.looseObject({ sourceId: z.string() }))
|
|
15
|
+
.output(z.void()),
|
|
16
|
+
};
|
package/dist/execution-data.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const EXECUTION_DATASET_VERSION =
|
|
2
|
+
export declare const EXECUTION_DATASET_VERSION = 7;
|
|
3
3
|
export declare const executionDatasetResourceSchema: z.ZodEnum<{
|
|
4
4
|
automations: "automations";
|
|
5
5
|
projects: "projects";
|
|
6
|
-
actions: "actions";
|
|
7
6
|
events: "events";
|
|
7
|
+
actions: "actions";
|
|
8
8
|
outputs: "outputs";
|
|
9
9
|
"automation-invocations": "automation-invocations";
|
|
10
10
|
contexts: "contexts";
|
|
@@ -29,8 +29,8 @@ export declare const executionDatasetManifestSchema: z.ZodObject<{
|
|
|
29
29
|
name: z.ZodEnum<{
|
|
30
30
|
automations: "automations";
|
|
31
31
|
projects: "projects";
|
|
32
|
-
actions: "actions";
|
|
33
32
|
events: "events";
|
|
33
|
+
actions: "actions";
|
|
34
34
|
outputs: "outputs";
|
|
35
35
|
"automation-invocations": "automation-invocations";
|
|
36
36
|
contexts: "contexts";
|
|
@@ -45,7 +45,7 @@ export declare const executionDatasetManifestSchema: z.ZodObject<{
|
|
|
45
45
|
}>;
|
|
46
46
|
url: z.ZodURL;
|
|
47
47
|
}, z.core.$strip>>;
|
|
48
|
-
schemaVersion: z.ZodLiteral<
|
|
48
|
+
schemaVersion: z.ZodLiteral<7>;
|
|
49
49
|
scope: z.ZodObject<{
|
|
50
50
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
51
51
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -67,8 +67,8 @@ export declare const executionDataContract: {
|
|
|
67
67
|
name: z.ZodEnum<{
|
|
68
68
|
automations: "automations";
|
|
69
69
|
projects: "projects";
|
|
70
|
-
actions: "actions";
|
|
71
70
|
events: "events";
|
|
71
|
+
actions: "actions";
|
|
72
72
|
outputs: "outputs";
|
|
73
73
|
"automation-invocations": "automation-invocations";
|
|
74
74
|
contexts: "contexts";
|
|
@@ -83,7 +83,7 @@ export declare const executionDataContract: {
|
|
|
83
83
|
}>;
|
|
84
84
|
url: z.ZodURL;
|
|
85
85
|
}, z.core.$strip>>;
|
|
86
|
-
schemaVersion: z.ZodLiteral<
|
|
86
|
+
schemaVersion: z.ZodLiteral<7>;
|
|
87
87
|
scope: z.ZodObject<{
|
|
88
88
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
89
89
|
projectId: z.ZodNullable<z.ZodString>;
|
package/dist/execution-data.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { AUTOMATION_SDK_VERSION, deploymentOutputSchema, deploymentStatusSchema,
|
|
|
4
4
|
export { AUTOMATION_RUNTIME_PROTOCOL_VERSION } from "./runtime-protocol.js";
|
|
5
5
|
export { AUTOMATION_ERROR_CAUSE_DEPTH, automationErrorSchema, type AutomationErrorValue, } from "./errors.js";
|
|
6
6
|
export { integrationAccountOutputSchema, integrationAccountRevocationImpactOutputSchema, integrationAccountRevocationOutputSchema, integrationServiceOutputSchema, } from "./account.js";
|
|
7
|
-
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, AUTOMATION_TRACE_MAX_NAME_LENGTH, AUTOMATION_TRACE_MAX_SPANS, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, hashSignalCoordinatorConfiguration, runtimeContract, type GenerationInput, type GenerationResult, type RuntimeGenerationInput, type RuntimeCoordinationOffer, } from "./runtime.js";
|
|
8
|
-
export type { GatewayModelId } from "@ai-sdk/gateway";
|
|
7
|
+
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_IMAGE_GENERATION_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, AUTOMATION_TRACE_MAX_NAME_LENGTH, AUTOMATION_TRACE_MAX_SPANS, DEFAULT_GATEWAY_IMAGE_MODEL_ID, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, imageGenerationInputSchema, imageGenerationCompletionSchema, imageGenerationResultSchema, platformImageGenerationInputSchema, platformImageGenerationStartSchema, hashSignalCoordinatorConfiguration, runtimeContract, type GenerationInput, type GenerationResult, type ImageGenerationInput, type ImageGenerationCompletion, type ImageGenerationResult, type PlatformImageGenerationInput, type RuntimeGenerationInput, type RuntimeCoordinationOffer, } from "./runtime.js";
|
|
8
|
+
export type { GatewayImageModelId, GatewayModelId } from "@ai-sdk/gateway";
|
|
9
9
|
export { createdOrganizationApiKeyOutputSchema, organizationApiKeyOutputSchema, } from "./api-key.js";
|
|
10
10
|
export { activeSubscriptionOutputSchema, createdInvitationOutputSchema, organizationDetailsOutputSchema, organizationInvitationOutputSchema, organizationMemberOutputSchema, organizationProjectOutputSchema, organizationRoleSchema, organizationSummaryOutputSchema, publicOrganizationOutputSchema, } from "./org.js";
|
|
11
11
|
export { projectOutputSchema } from "./project.js";
|
|
@@ -673,8 +673,8 @@ export declare const publicContract: {
|
|
|
673
673
|
name: import("zod").ZodEnum<{
|
|
674
674
|
automations: "automations";
|
|
675
675
|
projects: "projects";
|
|
676
|
-
actions: "actions";
|
|
677
676
|
events: "events";
|
|
677
|
+
actions: "actions";
|
|
678
678
|
outputs: "outputs";
|
|
679
679
|
"automation-invocations": "automation-invocations";
|
|
680
680
|
contexts: "contexts";
|
|
@@ -689,7 +689,7 @@ export declare const publicContract: {
|
|
|
689
689
|
}>;
|
|
690
690
|
url: import("zod").ZodURL;
|
|
691
691
|
}, import("zod/v4/core").$strip>>;
|
|
692
|
-
schemaVersion: import("zod").ZodLiteral<
|
|
692
|
+
schemaVersion: import("zod").ZodLiteral<7>;
|
|
693
693
|
scope: import("zod").ZodObject<{
|
|
694
694
|
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
695
695
|
projectId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -966,8 +966,8 @@ export declare const firstPartyContract: {
|
|
|
966
966
|
id: import("zod").ZodString;
|
|
967
967
|
status: import("zod").ZodEnum<{
|
|
968
968
|
failed: "failed";
|
|
969
|
-
running: "running";
|
|
970
969
|
settled: "settled";
|
|
970
|
+
running: "running";
|
|
971
971
|
}>;
|
|
972
972
|
createdAt: import("zod").ZodDate;
|
|
973
973
|
failure: import("zod").ZodNullable<import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>>;
|
|
@@ -981,6 +981,7 @@ export declare const firstPartyContract: {
|
|
|
981
981
|
id: import("zod").ZodString;
|
|
982
982
|
name: import("zod").ZodString;
|
|
983
983
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
984
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
984
985
|
slot: import("zod").ZodNumber;
|
|
985
986
|
status: import("zod").ZodEnum<{
|
|
986
987
|
pending: "pending";
|
|
@@ -1000,6 +1001,7 @@ export declare const firstPartyContract: {
|
|
|
1000
1001
|
createdAt: import("zod").ZodDate;
|
|
1001
1002
|
data: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
1002
1003
|
id: import("zod").ZodString;
|
|
1004
|
+
sensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
1003
1005
|
outputIndex: import("zod").ZodNumber;
|
|
1004
1006
|
type: import("zod").ZodString;
|
|
1005
1007
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -1015,8 +1017,8 @@ export declare const firstPartyContract: {
|
|
|
1015
1017
|
settledAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
1016
1018
|
status: import("zod").ZodEnum<{
|
|
1017
1019
|
failed: "failed";
|
|
1018
|
-
running: "running";
|
|
1019
1020
|
settled: "settled";
|
|
1021
|
+
running: "running";
|
|
1020
1022
|
}>;
|
|
1021
1023
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
1022
1024
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -2026,8 +2028,8 @@ export declare const firstPartyContract: {
|
|
|
2026
2028
|
name: import("zod").ZodEnum<{
|
|
2027
2029
|
automations: "automations";
|
|
2028
2030
|
projects: "projects";
|
|
2029
|
-
actions: "actions";
|
|
2030
2031
|
events: "events";
|
|
2032
|
+
actions: "actions";
|
|
2031
2033
|
outputs: "outputs";
|
|
2032
2034
|
"automation-invocations": "automation-invocations";
|
|
2033
2035
|
contexts: "contexts";
|
|
@@ -2042,7 +2044,7 @@ export declare const firstPartyContract: {
|
|
|
2042
2044
|
}>;
|
|
2043
2045
|
url: import("zod").ZodURL;
|
|
2044
2046
|
}, import("zod/v4/core").$strip>>;
|
|
2045
|
-
schemaVersion: import("zod").ZodLiteral<
|
|
2047
|
+
schemaVersion: import("zod").ZodLiteral<7>;
|
|
2046
2048
|
scope: import("zod").ZodObject<{
|
|
2047
2049
|
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2048
2050
|
projectId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -2129,6 +2131,9 @@ export declare const contract: {
|
|
|
2129
2131
|
entry: import("zod").ZodArray<import("zod").ZodUnknown>;
|
|
2130
2132
|
object: import("zod").ZodLiteral<"whatsapp_business_account">;
|
|
2131
2133
|
}, import("zod/v4/core").$loose>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2134
|
+
webflowEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2135
|
+
sourceId: import("zod").ZodString;
|
|
2136
|
+
}, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2132
2137
|
vercelEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, import("zod/v4/core").$loose>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2133
2138
|
trelloEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2134
2139
|
sourceId: import("zod").ZodString;
|
|
@@ -2281,6 +2286,7 @@ export declare const contract: {
|
|
|
2281
2286
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2282
2287
|
inputHash: import("zod").ZodString;
|
|
2283
2288
|
name: import("zod").ZodString;
|
|
2289
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2284
2290
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2285
2291
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2286
2292
|
slot: import("zod").ZodNumber;
|
|
@@ -2310,6 +2316,7 @@ export declare const contract: {
|
|
|
2310
2316
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2311
2317
|
inputHash: import("zod").ZodString;
|
|
2312
2318
|
name: import("zod").ZodString;
|
|
2319
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2313
2320
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2314
2321
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2315
2322
|
slot: import("zod").ZodNumber;
|
|
@@ -2340,6 +2347,7 @@ export declare const contract: {
|
|
|
2340
2347
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2341
2348
|
inputHash: import("zod").ZodString;
|
|
2342
2349
|
name: import("zod").ZodString;
|
|
2350
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2343
2351
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2344
2352
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2345
2353
|
slot: import("zod").ZodNumber;
|
|
@@ -2833,6 +2841,25 @@ export declare const contract: {
|
|
|
2833
2841
|
type: import("zod").ZodLiteral<"other">;
|
|
2834
2842
|
}, import("zod/v4/core").$strip>], "type">>>;
|
|
2835
2843
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2844
|
+
startImageGeneration: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2845
|
+
aspectRatio: import("zod").ZodOptional<import("zod").ZodCustom<`${number}:${number}`, `${number}:${number}`>>;
|
|
2846
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2847
|
+
maxImagesPerCall: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2848
|
+
maxRetries: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2849
|
+
model: import("zod").ZodDefault<import("zod").ZodCustom<import("@ai-sdk/gateway").GatewayImageModelId, import("@ai-sdk/gateway").GatewayImageModelId>>;
|
|
2850
|
+
n: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2851
|
+
prompt: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
|
|
2852
|
+
images: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>, import("zod").ZodCustom<ArrayBuffer, ArrayBuffer>, import("zod").ZodCustom<Blob, Blob>]>>;
|
|
2853
|
+
mask: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>, import("zod").ZodCustom<ArrayBuffer, ArrayBuffer>, import("zod").ZodCustom<Blob, Blob>]>>;
|
|
2854
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2855
|
+
}, import("zod/v4/core").$strip>]>;
|
|
2856
|
+
providerOptions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodJSONSchema>>>;
|
|
2857
|
+
seed: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2858
|
+
size: import("zod").ZodOptional<import("zod").ZodCustom<`${number}x${number}`, `${number}x${number}`>>;
|
|
2859
|
+
entrypoint: import("zod").ZodString;
|
|
2860
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2861
|
+
key: import("zod").ZodString;
|
|
2862
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2836
2863
|
createCallbackToken: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2837
2864
|
endpointKey: import("zod").ZodString;
|
|
2838
2865
|
}, import("zod/v4/core").$strip>, import("zod").ZodString, Record<never, never>, Record<never, never>>;
|
|
@@ -2885,6 +2912,7 @@ export declare const contract: {
|
|
|
2885
2912
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2886
2913
|
inputHash: import("zod").ZodString;
|
|
2887
2914
|
name: import("zod").ZodString;
|
|
2915
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2888
2916
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2889
2917
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2890
2918
|
slot: import("zod").ZodNumber;
|
|
@@ -2916,6 +2944,7 @@ export declare const contract: {
|
|
|
2916
2944
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2917
2945
|
inputHash: import("zod").ZodString;
|
|
2918
2946
|
name: import("zod").ZodString;
|
|
2947
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2919
2948
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2920
2949
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2921
2950
|
slot: import("zod").ZodNumber;
|
|
@@ -2949,6 +2978,7 @@ export declare const contract: {
|
|
|
2949
2978
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2950
2979
|
inputHash: import("zod").ZodString;
|
|
2951
2980
|
name: import("zod").ZodString;
|
|
2981
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2952
2982
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2953
2983
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2954
2984
|
slot: import("zod").ZodNumber;
|
|
@@ -2982,6 +3012,7 @@ export declare const contract: {
|
|
|
2982
3012
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2983
3013
|
inputHash: import("zod").ZodString;
|
|
2984
3014
|
name: import("zod").ZodString;
|
|
3015
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
2985
3016
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
2986
3017
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
2987
3018
|
slot: import("zod").ZodNumber;
|
|
@@ -3016,6 +3047,7 @@ export declare const contract: {
|
|
|
3016
3047
|
eventDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
3017
3048
|
inputHash: import("zod").ZodString;
|
|
3018
3049
|
name: import("zod").ZodString;
|
|
3050
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
3019
3051
|
scopePath: import("zod").ZodArray<import("zod").ZodNumber>;
|
|
3020
3052
|
signalDependencyIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
3021
3053
|
slot: import("zod").ZodNumber;
|
|
@@ -3201,6 +3233,7 @@ export declare const contract: {
|
|
|
3201
3233
|
slot: import("zod").ZodNumber;
|
|
3202
3234
|
timestamp: import("zod").ZodDate;
|
|
3203
3235
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
3236
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
3204
3237
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
3205
3238
|
}, import("zod/v4/core").$strip>]>>;
|
|
3206
3239
|
coordinationSelections: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -3340,6 +3373,7 @@ export declare const contract: {
|
|
|
3340
3373
|
slot: import("zod").ZodNumber;
|
|
3341
3374
|
timestamp: import("zod").ZodDate;
|
|
3342
3375
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
3376
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
3343
3377
|
status: import("zod").ZodLiteral<"succeeded">;
|
|
3344
3378
|
}, import("zod/v4/core").$strip>]>>;
|
|
3345
3379
|
coordinationSelections: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -3437,6 +3471,7 @@ export declare const contract: {
|
|
|
3437
3471
|
type: import("zod").ZodString;
|
|
3438
3472
|
}, import("zod/v4/core").$strip>;
|
|
3439
3473
|
outputIndex: import("zod").ZodNumber;
|
|
3474
|
+
sensitivity: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>;
|
|
3440
3475
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3441
3476
|
sendLog: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3442
3477
|
fields: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
@@ -3448,12 +3483,14 @@ export declare const contract: {
|
|
|
3448
3483
|
}>;
|
|
3449
3484
|
logIndex: import("zod").ZodNumber;
|
|
3450
3485
|
message: import("zod").ZodString;
|
|
3486
|
+
sensitivity: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>;
|
|
3451
3487
|
spanIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3452
3488
|
timestamp: import("zod").ZodDate;
|
|
3453
3489
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3454
3490
|
startTraceSpan: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3455
3491
|
attributes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
3456
3492
|
name: import("zod").ZodString;
|
|
3493
|
+
sensitivity: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>;
|
|
3457
3494
|
parentSpanIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3458
3495
|
spanIndex: import("zod").ZodNumber;
|
|
3459
3496
|
startedAt: import("zod").ZodDate;
|
|
@@ -3487,8 +3524,8 @@ export declare const contract: {
|
|
|
3487
3524
|
id: import("zod").ZodString;
|
|
3488
3525
|
status: import("zod").ZodEnum<{
|
|
3489
3526
|
failed: "failed";
|
|
3490
|
-
running: "running";
|
|
3491
3527
|
settled: "settled";
|
|
3528
|
+
running: "running";
|
|
3492
3529
|
}>;
|
|
3493
3530
|
createdAt: import("zod").ZodDate;
|
|
3494
3531
|
failure: import("zod").ZodNullable<import("zod").ZodType<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue, import("zod/v4/core").$ZodTypeInternals<import("./errors").AutomationErrorValue, import("./errors").AutomationErrorValue>>>;
|
|
@@ -3502,6 +3539,7 @@ export declare const contract: {
|
|
|
3502
3539
|
id: import("zod").ZodString;
|
|
3503
3540
|
name: import("zod").ZodString;
|
|
3504
3541
|
output: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
3542
|
+
outputSensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
3505
3543
|
slot: import("zod").ZodNumber;
|
|
3506
3544
|
status: import("zod").ZodEnum<{
|
|
3507
3545
|
pending: "pending";
|
|
@@ -3521,6 +3559,7 @@ export declare const contract: {
|
|
|
3521
3559
|
createdAt: import("zod").ZodDate;
|
|
3522
3560
|
data: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
3523
3561
|
id: import("zod").ZodString;
|
|
3562
|
+
sensitivity: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCustom<import("@automate.ax/codec").SensitivityMask, import("@automate.ax/codec").SensitivityMask>>>;
|
|
3524
3563
|
outputIndex: import("zod").ZodNumber;
|
|
3525
3564
|
type: import("zod").ZodString;
|
|
3526
3565
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -3536,8 +3575,8 @@ export declare const contract: {
|
|
|
3536
3575
|
settledAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
3537
3576
|
status: import("zod").ZodEnum<{
|
|
3538
3577
|
failed: "failed";
|
|
3539
|
-
running: "running";
|
|
3540
3578
|
settled: "settled";
|
|
3579
|
+
running: "running";
|
|
3541
3580
|
}>;
|
|
3542
3581
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
3543
3582
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -4483,8 +4522,8 @@ export declare const contract: {
|
|
|
4483
4522
|
name: import("zod").ZodEnum<{
|
|
4484
4523
|
automations: "automations";
|
|
4485
4524
|
projects: "projects";
|
|
4486
|
-
actions: "actions";
|
|
4487
4525
|
events: "events";
|
|
4526
|
+
actions: "actions";
|
|
4488
4527
|
outputs: "outputs";
|
|
4489
4528
|
"automation-invocations": "automation-invocations";
|
|
4490
4529
|
contexts: "contexts";
|
|
@@ -4499,7 +4538,7 @@ export declare const contract: {
|
|
|
4499
4538
|
}>;
|
|
4500
4539
|
url: import("zod").ZodURL;
|
|
4501
4540
|
}, import("zod/v4/core").$strip>>;
|
|
4502
|
-
schemaVersion: import("zod").ZodLiteral<
|
|
4541
|
+
schemaVersion: import("zod").ZodLiteral<7>;
|
|
4503
4542
|
scope: import("zod").ZodObject<{
|
|
4504
4543
|
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
4505
4544
|
projectId: import("zod").ZodNullable<import("zod").ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ export { AUTOMATION_SDK_VERSION, deploymentOutputSchema, deploymentStatusSchema,
|
|
|
15
15
|
export { AUTOMATION_RUNTIME_PROTOCOL_VERSION } from "./runtime-protocol.js";
|
|
16
16
|
export { AUTOMATION_ERROR_CAUSE_DEPTH, automationErrorSchema, } from "./errors.js";
|
|
17
17
|
export { integrationAccountOutputSchema, integrationAccountRevocationImpactOutputSchema, integrationAccountRevocationOutputSchema, integrationServiceOutputSchema, } from "./account.js";
|
|
18
|
-
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, AUTOMATION_TRACE_MAX_NAME_LENGTH, AUTOMATION_TRACE_MAX_SPANS, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, hashSignalCoordinatorConfiguration, runtimeContract, } from "./runtime.js";
|
|
18
|
+
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_IMAGE_GENERATION_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, AUTOMATION_TRACE_MAX_NAME_LENGTH, AUTOMATION_TRACE_MAX_SPANS, DEFAULT_GATEWAY_IMAGE_MODEL_ID, DEFAULT_GATEWAY_MODEL_ID, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, generationInputSchema, generationResultSchema, imageGenerationInputSchema, imageGenerationCompletionSchema, imageGenerationResultSchema, platformImageGenerationInputSchema, platformImageGenerationStartSchema, hashSignalCoordinatorConfiguration, runtimeContract, } from "./runtime.js";
|
|
19
19
|
export { createdOrganizationApiKeyOutputSchema, organizationApiKeyOutputSchema, } from "./api-key.js";
|
|
20
20
|
export { activeSubscriptionOutputSchema, createdInvitationOutputSchema, organizationDetailsOutputSchema, organizationInvitationOutputSchema, organizationMemberOutputSchema, organizationProjectOutputSchema, organizationRoleSchema, organizationSummaryOutputSchema, publicOrganizationOutputSchema, } from "./org.js";
|
|
21
21
|
export { projectOutputSchema } from "./project.js";
|