@automate.ax/integration-contracts 0.158.0 → 0.159.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.
@@ -0,0 +1 @@
1
+ export * from "./events.js";
@@ -0,0 +1 @@
1
+ export * from "./events.js";
@@ -32,6 +32,7 @@ import type { outlookTriggerContracts } from "./outlook/index.js";
32
32
  import type { redditTriggerContracts } from "./reddit/index.js";
33
33
  import type { resendTriggerContracts } from "./resend/index.js";
34
34
  import type { slackTriggerContracts } from "./slack/index.js";
35
+ import type { squareTriggerContracts } from "./square/index.js";
35
36
  import type { stripeTriggerContracts } from "./stripe/index.js";
36
37
  import type { teamsTriggerContracts } from "./teams/index.js";
37
38
  import type { tallyTriggerContracts } from "./tally/index.js";
@@ -40,7 +41,7 @@ import type { vercelTriggerContracts } from "./vercel/index.js";
40
41
  import type { webflowTriggerContracts } from "./webflow/index.js";
41
42
  import type { whatsappTriggerContracts } from "./whatsapp/index.js";
42
43
  import type { z } from "zod";
43
- export type TriggerContractMap = typeof airtableTriggerContracts & typeof anthropicTriggerContracts & typeof apifyTriggerContracts & typeof axiomTriggerContracts & typeof automateTriggerContracts & typeof asanaTriggerContracts & typeof brevoTriggerContracts & typeof calcomTriggerContracts & typeof convexTriggerContracts & typeof discordTriggerContracts & typeof elevenLabsTriggerContracts & typeof closeTriggerContracts & typeof clickUpTriggerContracts & typeof calendlyTriggerContracts & typeof cloudflareTriggerContracts & typeof githubTriggerContracts & typeof gmailTriggerContracts & typeof googleCalendarTriggerContracts & typeof googleDriveTriggerContracts & typeof googleFormsTriggerContracts & typeof googleMeetTriggerContracts & typeof googleAdsTriggerContracts & typeof googleSheetsTriggerContracts & typeof hubspotTriggerContracts & typeof highLevelTriggerContracts & typeof kitTriggerContracts & typeof linearTriggerContracts & typeof millionVerifierTriggerContracts & typeof metaAdsTriggerContracts & typeof notionTriggerContracts & typeof outlookTriggerContracts & typeof redditTriggerContracts & typeof resendTriggerContracts & typeof slackTriggerContracts & typeof stripeTriggerContracts & typeof teamsTriggerContracts & typeof tallyTriggerContracts & typeof trelloTriggerContracts & typeof vercelTriggerContracts & typeof webflowTriggerContracts & typeof whatsappTriggerContracts;
44
+ export type TriggerContractMap = typeof airtableTriggerContracts & typeof anthropicTriggerContracts & typeof apifyTriggerContracts & typeof axiomTriggerContracts & typeof automateTriggerContracts & typeof asanaTriggerContracts & typeof brevoTriggerContracts & typeof calcomTriggerContracts & typeof convexTriggerContracts & typeof discordTriggerContracts & typeof elevenLabsTriggerContracts & typeof closeTriggerContracts & typeof clickUpTriggerContracts & typeof calendlyTriggerContracts & typeof cloudflareTriggerContracts & typeof githubTriggerContracts & typeof gmailTriggerContracts & typeof googleCalendarTriggerContracts & typeof googleDriveTriggerContracts & typeof googleFormsTriggerContracts & typeof googleMeetTriggerContracts & typeof googleAdsTriggerContracts & typeof googleSheetsTriggerContracts & typeof hubspotTriggerContracts & typeof highLevelTriggerContracts & typeof kitTriggerContracts & typeof linearTriggerContracts & typeof millionVerifierTriggerContracts & typeof metaAdsTriggerContracts & typeof notionTriggerContracts & typeof outlookTriggerContracts & typeof redditTriggerContracts & typeof resendTriggerContracts & typeof slackTriggerContracts & typeof squareTriggerContracts & typeof stripeTriggerContracts & typeof teamsTriggerContracts & typeof tallyTriggerContracts & typeof trelloTriggerContracts & typeof vercelTriggerContracts & typeof webflowTriggerContracts & typeof whatsappTriggerContracts;
44
45
  export type IntegrationTriggerType = keyof TriggerContractMap;
45
46
  /** Canonical authoring configuration for one integration trigger type. */
46
47
  export type TriggerConfig<TType extends IntegrationTriggerType> = z.input<TriggerContractMap[TType]["configSchema"]> extends Record<string, never> ? object : z.input<TriggerContractMap[TType]["configSchema"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/integration-contracts",
3
- "version": "0.158.0",
3
+ "version": "0.159.1",
4
4
  "description": "Shared integration payload contracts and provider primitives for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -55,6 +55,7 @@
55
55
  "./reddit": "./src/reddit/index.ts",
56
56
  "./resend": "./src/resend/index.ts",
57
57
  "./slack": "./src/slack/index.ts",
58
+ "./square": "./src/square/index.ts",
58
59
  "./stripe": "./src/stripe/index.ts",
59
60
  "./teams": "./src/teams/index.ts",
60
61
  "./tally": "./src/tally/index.ts",
@@ -72,21 +73,22 @@
72
73
  },
73
74
  "dependencies": {
74
75
  "@anthropic-ai/sdk": "0.123.0",
75
- "@automate.ax/codec": "0.158.0",
76
+ "@automate.ax/codec": "0.159.1",
76
77
  "@cfworker/json-schema": "^4.1.1",
77
78
  "@googleapis/calendar": "^16.0.0",
78
79
  "@googleapis/forms": "^6.0.1",
79
80
  "@googleapis/gmail": "^12.0.0",
80
81
  "@googleapis/meet": "^5.0.0",
81
82
  "@notionhq/client": "5.26.0",
82
- "@zachsents/zippy": "^1.4.0",
83
83
  "@octokit/openapi-webhooks-types": "^12.1.0",
84
84
  "@octokit/rest": "^22.0.1",
85
+ "@zachsents/zippy": "^1.4.0",
85
86
  "convex": "^1.45.0",
86
87
  "html-to-text": "^10.0.0",
87
88
  "json-with-bigint": "^3.5.10",
88
89
  "nodemailer": "^9.0.3",
89
90
  "postal-mime": "^2.7.5",
91
+ "square": "46.0.0",
90
92
  "stripe": "^22.1.0",
91
93
  "type-fest": "^5.6.0",
92
94
  "webflow-api": "^3.3.4",
@@ -314,6 +316,11 @@
314
316
  "types": "./dist/slack/index.d.ts",
315
317
  "default": "./dist/slack/index.js"
316
318
  },
319
+ "./square": {
320
+ "bun": "./src/square/index.ts",
321
+ "types": "./dist/square/index.d.ts",
322
+ "default": "./dist/square/index.js"
323
+ },
317
324
  "./stripe": {
318
325
  "bun": "./src/stripe/index.ts",
319
326
  "types": "./dist/stripe/index.d.ts",