@automate.ax/api-contract 0.114.4 → 0.115.2

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.
@@ -1,7 +1,6 @@
1
1
  import * as z from "zod";
2
2
  export declare const brevoEventsContract: {
3
3
  brevoEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4
- event: z.ZodString;
5
4
  id: z.ZodNumber;
6
5
  sourceId: z.ZodString;
7
6
  }, z.core.$loose>, z.ZodVoid, Record<never, never>, Record<never, never>>;
@@ -12,9 +12,7 @@ export const brevoEventsContract = {
12
12
  successStatus: 204,
13
13
  })
14
14
  .input(z.looseObject({
15
- /** Brevo webhook event category. */
16
- event: z.string(),
17
- /** Brevo webhook ID. */
15
+ /** Provider delivery identity. */
18
16
  id: z.number(),
19
17
  /** Event source encoded in the provider callback URL. */
20
18
  sourceId: z.string(),
@@ -418,8 +418,8 @@ export declare const eventsContract: {
418
418
  updated_properties: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
419
419
  action: import("zod").ZodEnum<{
420
420
  deleted: "deleted";
421
- created: "created";
422
421
  updated: "updated";
422
+ created: "created";
423
423
  }>;
424
424
  id: import("zod").ZodString;
425
425
  name: import("zod").ZodNullable<import("zod").ZodString>;
@@ -1732,7 +1732,7 @@ export declare const eventsContract: {
1732
1732
  updatedProperties?: {
1733
1733
  id: string;
1734
1734
  name: string | null;
1735
- action: "deleted" | "created" | "updated";
1735
+ action: "deleted" | "updated" | "created";
1736
1736
  }[] | undefined;
1737
1737
  };
1738
1738
  workspaceId: string;
@@ -2712,7 +2712,7 @@ export declare const eventsContract: {
2712
2712
  data_source_id?: string | undefined;
2713
2713
  };
2714
2714
  updated_properties?: {
2715
- action: "deleted" | "created" | "updated";
2715
+ action: "deleted" | "updated" | "created";
2716
2716
  id: string;
2717
2717
  name: string | null;
2718
2718
  }[] | undefined;
@@ -3661,7 +3661,6 @@ export declare const eventsContract: {
3661
3661
  payload: import("zod").ZodJSONSchema;
3662
3662
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3663
3663
  brevoEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3664
- event: import("zod").ZodString;
3665
3664
  id: import("zod").ZodNumber;
3666
3665
  sourceId: import("zod").ZodString;
3667
3666
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
@@ -377,8 +377,8 @@ export declare const notionEventsContract: {
377
377
  updated_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
378
  action: z.ZodEnum<{
379
379
  deleted: "deleted";
380
- created: "created";
381
380
  updated: "updated";
381
+ created: "created";
382
382
  }>;
383
383
  id: z.ZodString;
384
384
  name: z.ZodNullable<z.ZodString>;
@@ -1691,7 +1691,7 @@ export declare const notionEventsContract: {
1691
1691
  updatedProperties?: {
1692
1692
  id: string;
1693
1693
  name: string | null;
1694
- action: "deleted" | "created" | "updated";
1694
+ action: "deleted" | "updated" | "created";
1695
1695
  }[] | undefined;
1696
1696
  };
1697
1697
  workspaceId: string;
@@ -2671,7 +2671,7 @@ export declare const notionEventsContract: {
2671
2671
  data_source_id?: string | undefined;
2672
2672
  };
2673
2673
  updated_properties?: {
2674
- action: "deleted" | "created" | "updated";
2674
+ action: "deleted" | "updated" | "created";
2675
2675
  id: string;
2676
2676
  name: string | null;
2677
2677
  }[] | undefined;
package/dist/index.d.ts CHANGED
@@ -2684,8 +2684,8 @@ export declare const contract: {
2684
2684
  updated_properties: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2685
2685
  action: import("zod").ZodEnum<{
2686
2686
  deleted: "deleted";
2687
- created: "created";
2688
2687
  updated: "updated";
2688
+ created: "created";
2689
2689
  }>;
2690
2690
  id: import("zod").ZodString;
2691
2691
  name: import("zod").ZodNullable<import("zod").ZodString>;
@@ -3998,7 +3998,7 @@ export declare const contract: {
3998
3998
  updatedProperties?: {
3999
3999
  id: string;
4000
4000
  name: string | null;
4001
- action: "deleted" | "created" | "updated";
4001
+ action: "deleted" | "updated" | "created";
4002
4002
  }[] | undefined;
4003
4003
  };
4004
4004
  workspaceId: string;
@@ -4978,7 +4978,7 @@ export declare const contract: {
4978
4978
  data_source_id?: string | undefined;
4979
4979
  };
4980
4980
  updated_properties?: {
4981
- action: "deleted" | "created" | "updated";
4981
+ action: "deleted" | "updated" | "created";
4982
4982
  id: string;
4983
4983
  name: string | null;
4984
4984
  }[] | undefined;
@@ -5927,7 +5927,6 @@ export declare const contract: {
5927
5927
  payload: import("zod").ZodJSONSchema;
5928
5928
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
5929
5929
  brevoEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
5930
- event: import("zod").ZodString;
5931
5930
  id: import("zod").ZodNumber;
5932
5931
  sourceId: import("zod").ZodString;
5933
5932
  }, 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.114.4",
3
+ "version": "0.115.2",
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.114.4",
35
- "@automate.ax/integration-contracts": "0.114.4",
34
+ "@automate.ax/codec": "0.115.2",
35
+ "@automate.ax/integration-contracts": "0.115.2",
36
36
  "@orpc/contract": "1.15.0",
37
37
  "fast-json-stable-stringify": "^2.1.0",
38
38
  "zod": "^4.3.6"
@@ -15,10 +15,7 @@ export const brevoEventsContract = {
15
15
  })
16
16
  .input(
17
17
  z.looseObject({
18
- /** Brevo webhook event category. */
19
- event: z.string(),
20
-
21
- /** Brevo webhook ID. */
18
+ /** Provider delivery identity. */
22
19
  id: z.number(),
23
20
 
24
21
  /** Event source encoded in the provider callback URL. */