@automate.ax/api-contract 0.92.1 → 0.94.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/deployment.d.ts +2 -2
- package/dist/events/index.d.ts +5 -0
- package/dist/events/trello.d.ts +5 -0
- package/dist/events/trello.js +8 -1
- package/dist/index.d.ts +10 -5
- package/dist/runtime-protocol.d.ts +1 -1
- package/dist/runtime-protocol.js +1 -1
- package/package.json +3 -3
- package/src/events/trello.ts +8 -1
- package/src/runtime-protocol.ts +1 -1
package/dist/deployment.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ export declare const deploymentContract: {
|
|
|
113
113
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
114
114
|
readonly data: z.ZodObject<{
|
|
115
115
|
receivedVersion: z.ZodNullable<z.ZodNumber>;
|
|
116
|
-
supportedVersion: z.ZodLiteral<
|
|
116
|
+
supportedVersion: z.ZodLiteral<3>;
|
|
117
117
|
}, z.core.$strip>;
|
|
118
118
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
119
119
|
readonly status: 400;
|
|
@@ -289,7 +289,7 @@ export declare const deploymentContract: {
|
|
|
289
289
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
290
290
|
readonly data: z.ZodObject<{
|
|
291
291
|
receivedVersion: z.ZodNullable<z.ZodNumber>;
|
|
292
|
-
supportedVersion: z.ZodLiteral<
|
|
292
|
+
supportedVersion: z.ZodLiteral<3>;
|
|
293
293
|
}, z.core.$strip>;
|
|
294
294
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
295
295
|
readonly status: 400;
|
package/dist/events/index.d.ts
CHANGED
|
@@ -19,7 +19,12 @@ export declare const eventsContract: {
|
|
|
19
19
|
id: import("zod").ZodString;
|
|
20
20
|
}, import("zod/v4/core").$loose>;
|
|
21
21
|
webhook: import("zod").ZodObject<{
|
|
22
|
+
active: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
23
|
+
callbackURL: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
consecutiveFailures: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
25
|
+
firstConsecutiveFailDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
22
26
|
id: import("zod").ZodString;
|
|
27
|
+
idModel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
28
|
}, import("zod/v4/core").$loose>;
|
|
24
29
|
}, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
25
30
|
trelloWebhookProbe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
package/dist/events/trello.d.ts
CHANGED
|
@@ -12,7 +12,12 @@ export declare const trelloEventsContract: {
|
|
|
12
12
|
id: z.ZodString;
|
|
13
13
|
}, z.core.$loose>;
|
|
14
14
|
webhook: z.ZodObject<{
|
|
15
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
callbackURL: z.ZodOptional<z.ZodString>;
|
|
17
|
+
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
firstConsecutiveFailDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
19
|
id: z.ZodString;
|
|
20
|
+
idModel: z.ZodOptional<z.ZodString>;
|
|
16
21
|
}, z.core.$loose>;
|
|
17
22
|
}, z.core.$loose>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
18
23
|
trelloWebhookProbe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
package/dist/events/trello.js
CHANGED
|
@@ -21,7 +21,14 @@ export const trelloEventsContract = {
|
|
|
21
21
|
type: z.string(),
|
|
22
22
|
}),
|
|
23
23
|
model: z.looseObject({ id: z.string() }),
|
|
24
|
-
webhook: z.looseObject({
|
|
24
|
+
webhook: z.looseObject({
|
|
25
|
+
active: z.boolean().optional(),
|
|
26
|
+
callbackURL: z.string().optional(),
|
|
27
|
+
consecutiveFailures: z.number().int().nonnegative().optional(),
|
|
28
|
+
firstConsecutiveFailDate: z.string().nullable().optional(),
|
|
29
|
+
id: z.string(),
|
|
30
|
+
idModel: z.string().optional(),
|
|
31
|
+
}),
|
|
25
32
|
}))
|
|
26
33
|
.output(z.void()),
|
|
27
34
|
trelloWebhookProbe: oc
|
package/dist/index.d.ts
CHANGED
|
@@ -654,7 +654,7 @@ export declare const publicContract: {
|
|
|
654
654
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
655
655
|
readonly data: import("zod").ZodObject<{
|
|
656
656
|
receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
657
|
-
supportedVersion: import("zod").ZodLiteral<
|
|
657
|
+
supportedVersion: import("zod").ZodLiteral<3>;
|
|
658
658
|
}, import("zod/v4/core").$strip>;
|
|
659
659
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
660
660
|
readonly status: 400;
|
|
@@ -1252,7 +1252,7 @@ export declare const firstPartyContract: {
|
|
|
1252
1252
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
1253
1253
|
readonly data: import("zod").ZodObject<{
|
|
1254
1254
|
receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1255
|
-
supportedVersion: import("zod").ZodLiteral<
|
|
1255
|
+
supportedVersion: import("zod").ZodLiteral<3>;
|
|
1256
1256
|
}, import("zod/v4/core").$strip>;
|
|
1257
1257
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
1258
1258
|
readonly status: 400;
|
|
@@ -1428,7 +1428,7 @@ export declare const firstPartyContract: {
|
|
|
1428
1428
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
1429
1429
|
readonly data: import("zod").ZodObject<{
|
|
1430
1430
|
receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1431
|
-
supportedVersion: import("zod").ZodLiteral<
|
|
1431
|
+
supportedVersion: import("zod").ZodLiteral<3>;
|
|
1432
1432
|
}, import("zod/v4/core").$strip>;
|
|
1433
1433
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
1434
1434
|
readonly status: 400;
|
|
@@ -2147,7 +2147,12 @@ export declare const contract: {
|
|
|
2147
2147
|
id: import("zod").ZodString;
|
|
2148
2148
|
}, import("zod/v4/core").$loose>;
|
|
2149
2149
|
webhook: import("zod").ZodObject<{
|
|
2150
|
+
active: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2151
|
+
callbackURL: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2152
|
+
consecutiveFailures: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2153
|
+
firstConsecutiveFailDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2150
2154
|
id: import("zod").ZodString;
|
|
2155
|
+
idModel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2151
2156
|
}, import("zod/v4/core").$loose>;
|
|
2152
2157
|
}, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2153
2158
|
trelloWebhookProbe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -5196,7 +5201,7 @@ export declare const contract: {
|
|
|
5196
5201
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
5197
5202
|
readonly data: import("zod").ZodObject<{
|
|
5198
5203
|
receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
5199
|
-
supportedVersion: import("zod").ZodLiteral<
|
|
5204
|
+
supportedVersion: import("zod").ZodLiteral<3>;
|
|
5200
5205
|
}, import("zod/v4/core").$strip>;
|
|
5201
5206
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
5202
5207
|
readonly status: 400;
|
|
@@ -5372,7 +5377,7 @@ export declare const contract: {
|
|
|
5372
5377
|
UNSUPPORTED_RUNTIME_PROTOCOL: {
|
|
5373
5378
|
readonly data: import("zod").ZodObject<{
|
|
5374
5379
|
receivedVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
5375
|
-
supportedVersion: import("zod").ZodLiteral<
|
|
5380
|
+
supportedVersion: import("zod").ZodLiteral<3>;
|
|
5376
5381
|
}, import("zod/v4/core").$strip>;
|
|
5377
5382
|
readonly message: "The automation bundle uses an unsupported runtime protocol.";
|
|
5378
5383
|
readonly status: 400;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Runtime protocol required by newly built automation bundles. */
|
|
2
|
-
export declare const AUTOMATION_RUNTIME_PROTOCOL_VERSION =
|
|
2
|
+
export declare const AUTOMATION_RUNTIME_PROTOCOL_VERSION = 3;
|
package/dist/runtime-protocol.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Runtime protocol required by newly built automation bundles. */
|
|
2
|
-
export const AUTOMATION_RUNTIME_PROTOCOL_VERSION =
|
|
2
|
+
export const AUTOMATION_RUNTIME_PROTOCOL_VERSION = 3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.1",
|
|
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.
|
|
35
|
-
"@automate.ax/integration-contracts": "0.
|
|
34
|
+
"@automate.ax/codec": "0.94.1",
|
|
35
|
+
"@automate.ax/integration-contracts": "0.94.1",
|
|
36
36
|
"@orpc/contract": "1.15.0",
|
|
37
37
|
"fast-json-stable-stringify": "^2.1.0",
|
|
38
38
|
"zod": "^4.3.6"
|
package/src/events/trello.ts
CHANGED
|
@@ -25,7 +25,14 @@ export const trelloEventsContract = {
|
|
|
25
25
|
type: z.string(),
|
|
26
26
|
}),
|
|
27
27
|
model: z.looseObject({ id: z.string() }),
|
|
28
|
-
webhook: z.looseObject({
|
|
28
|
+
webhook: z.looseObject({
|
|
29
|
+
active: z.boolean().optional(),
|
|
30
|
+
callbackURL: z.string().optional(),
|
|
31
|
+
consecutiveFailures: z.number().int().nonnegative().optional(),
|
|
32
|
+
firstConsecutiveFailDate: z.string().nullable().optional(),
|
|
33
|
+
id: z.string(),
|
|
34
|
+
idModel: z.string().optional(),
|
|
35
|
+
}),
|
|
29
36
|
}),
|
|
30
37
|
)
|
|
31
38
|
.output(z.void()),
|
package/src/runtime-protocol.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Runtime protocol required by newly built automation bundles. */
|
|
2
|
-
export const AUTOMATION_RUNTIME_PROTOCOL_VERSION =
|
|
2
|
+
export const AUTOMATION_RUNTIME_PROTOCOL_VERSION = 3
|