@automate.ax/api-contract 0.146.0 → 0.147.0

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.
@@ -30,6 +30,9 @@ export declare const eventsContract: {
30
30
  trelloWebhookProbe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
31
31
  sourceId: import("zod").ZodString;
32
32
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
33
+ tallyEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
34
+ sourceId: import("zod").ZodString;
35
+ }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
33
36
  stripeEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
34
37
  sourceId: import("zod").ZodString;
35
38
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
@@ -27,6 +27,7 @@ import { notionEventsContract } from "./notion.js";
27
27
  import { resendEventsContract } from "./resend.js";
28
28
  import { slackEventsContract } from "./slack.js";
29
29
  import { stripeEventsContract } from "./stripe.js";
30
+ import { tallyEventsContract } from "./tally.js";
30
31
  import { trelloEventsContract } from "./trello.js";
31
32
  import { vercelEventsContract } from "./vercel.js";
32
33
  import { webflowEventsContract } from "./webflow.js";
@@ -61,6 +62,7 @@ export const eventsContract = {
61
62
  ...resendEventsContract,
62
63
  ...slackEventsContract,
63
64
  ...stripeEventsContract,
65
+ ...tallyEventsContract,
64
66
  ...trelloEventsContract,
65
67
  ...vercelEventsContract,
66
68
  ...webflowEventsContract,
@@ -0,0 +1,6 @@
1
+ import * as z from "zod";
2
+ export declare const tallyEventsContract: {
3
+ tallyEvent: 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 tallyEventsContract = {
4
+ tallyEvent: oc
5
+ .route({
6
+ description: "Receives and authenticates callbacks delivered by Tally webhooks.",
7
+ method: "POST",
8
+ operationId: "receiveTallyEvent",
9
+ path: "/events/tally/{sourceId}",
10
+ successStatus: 200,
11
+ summary: "Receive a Tally event",
12
+ tags: ["Events"],
13
+ })
14
+ .input(z.looseObject({ sourceId: z.string() }))
15
+ .output(z.void()),
16
+ };
package/dist/index.d.ts CHANGED
@@ -3375,6 +3375,9 @@ export declare const contract: {
3375
3375
  trelloWebhookProbe: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3376
3376
  sourceId: import("zod").ZodString;
3377
3377
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3378
+ tallyEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3379
+ sourceId: import("zod").ZodString;
3380
+ }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3378
3381
  stripeEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3379
3382
  sourceId: import("zod").ZodString;
3380
3383
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.146.0",
3
+ "version": "0.147.0",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@ai-sdk/gateway": "4.0.46",
34
- "@automate.ax/catalog": "0.146.0",
35
- "@automate.ax/codec": "0.146.0",
36
- "@automate.ax/integration-contracts": "0.146.0",
34
+ "@automate.ax/catalog": "0.147.0",
35
+ "@automate.ax/codec": "0.147.0",
36
+ "@automate.ax/integration-contracts": "0.147.0",
37
37
  "@orpc/contract": "1.15.0",
38
38
  "fast-json-stable-stringify": "^2.1.0",
39
39
  "zod": "^4.3.6"
@@ -27,6 +27,7 @@ import { notionEventsContract } from "./notion"
27
27
  import { resendEventsContract } from "./resend"
28
28
  import { slackEventsContract } from "./slack"
29
29
  import { stripeEventsContract } from "./stripe"
30
+ import { tallyEventsContract } from "./tally"
30
31
  import { trelloEventsContract } from "./trello"
31
32
  import { vercelEventsContract } from "./vercel"
32
33
  import { webflowEventsContract } from "./webflow"
@@ -62,6 +63,7 @@ export const eventsContract = {
62
63
  ...resendEventsContract,
63
64
  ...slackEventsContract,
64
65
  ...stripeEventsContract,
66
+ ...tallyEventsContract,
65
67
  ...trelloEventsContract,
66
68
  ...vercelEventsContract,
67
69
  ...webflowEventsContract,
@@ -0,0 +1,18 @@
1
+ import { oc } from "@orpc/contract"
2
+ import * as z from "zod"
3
+
4
+ export const tallyEventsContract = {
5
+ tallyEvent: oc
6
+ .route({
7
+ description:
8
+ "Receives and authenticates callbacks delivered by Tally webhooks.",
9
+ method: "POST",
10
+ operationId: "receiveTallyEvent",
11
+ path: "/events/tally/{sourceId}",
12
+ successStatus: 200,
13
+ summary: "Receive a Tally event",
14
+ tags: ["Events"],
15
+ })
16
+ .input(z.looseObject({ sourceId: z.string() }))
17
+ .output(z.void()),
18
+ }