@automate.ax/api-contract 0.161.0 → 0.163.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.
@@ -4,7 +4,7 @@ import * as z from "zod";
4
4
  export const metaAdsEventsContract = {
5
5
  metaAdsEvent: oc
6
6
  .route({
7
- description: "Receives and authenticates Meta Ads and Lead Ads webhooks.",
7
+ description: "Receives and authenticates Meta Ads, Lead Ads, Page, Messenger, and Instagram webhooks.",
8
8
  method: "POST",
9
9
  operationId: "receiveMetaAdsEvent",
10
10
  path: "/events/meta-ads",
@@ -5,9 +5,9 @@ export declare const microsoftEventsContract: {
5
5
  value: z.ZodArray<z.ZodObject<{
6
6
  clientState: z.ZodString;
7
7
  changeType: z.ZodEnum<{
8
- deleted: "deleted";
9
8
  created: "created";
10
9
  updated: "updated";
10
+ deleted: "deleted";
11
11
  }>;
12
12
  id: z.ZodOptional<z.ZodString>;
13
13
  resource: z.ZodString;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const EXECUTION_DATASET_VERSION = 11;
2
+ export declare const EXECUTION_DATASET_VERSION = 12;
3
3
  export declare const executionDatasetResourceSchema: z.ZodEnum<{
4
4
  automations: "automations";
5
5
  projects: "projects";
@@ -50,7 +50,7 @@ export declare const executionDatasetManifestSchema: z.ZodObject<{
50
50
  }>;
51
51
  url: z.ZodURL;
52
52
  }, z.core.$strip>>;
53
- schemaVersion: z.ZodLiteral<11>;
53
+ schemaVersion: z.ZodLiteral<12>;
54
54
  scope: z.ZodObject<{
55
55
  organizationId: z.ZodNullable<z.ZodString>;
56
56
  projectId: z.ZodNullable<z.ZodString>;
@@ -90,7 +90,7 @@ export declare const executionDataContract: {
90
90
  }>;
91
91
  url: z.ZodURL;
92
92
  }, z.core.$strip>>;
93
- schemaVersion: z.ZodLiteral<11>;
93
+ schemaVersion: z.ZodLiteral<12>;
94
94
  scope: z.ZodObject<{
95
95
  organizationId: z.ZodNullable<z.ZodString>;
96
96
  projectId: z.ZodNullable<z.ZodString>;
@@ -1,6 +1,6 @@
1
1
  import { oc } from "@orpc/contract";
2
2
  import { z } from "zod";
3
- export const EXECUTION_DATASET_VERSION = 11;
3
+ export const EXECUTION_DATASET_VERSION = 12;
4
4
  export const executionDatasetResourceSchema = z.enum([
5
5
  "projects",
6
6
  "automations",
@@ -44,7 +44,7 @@ export const executionDataContract = {
44
44
  path: "/execution-data/manifest",
45
45
  operationId: "getExecutionDataManifest",
46
46
  summary: "Get execution data manifest",
47
- description: "Returns authenticated Electric shape resources for a validated execution-data scope.",
47
+ description: "Returns authenticated JSON snapshot resources for a validated execution-data scope.",
48
48
  tags: ["Execution data"],
49
49
  })
50
50
  .input(z.object({