@automate.ax/integration-contracts 0.75.0 → 0.77.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.
Files changed (144) hide show
  1. package/dist/airtable/api.js +1 -1
  2. package/dist/airtable/index.d.ts +1 -1
  3. package/dist/airtable/index.js +1 -1
  4. package/dist/airtable/schemas.d.ts +1 -1
  5. package/dist/airtable/schemas.js +1 -1
  6. package/dist/asana/api.d.ts +1 -1
  7. package/dist/asana/api.js +1 -1
  8. package/dist/asana/index.d.ts +1 -1
  9. package/dist/asana/index.js +1 -1
  10. package/dist/asana/schemas.d.ts +1 -1
  11. package/dist/asana/schemas.js +1 -1
  12. package/dist/brevo/api.d.ts +1 -1
  13. package/dist/brevo/api.js +1 -1
  14. package/dist/brevo/index.d.ts +1 -1
  15. package/dist/brevo/index.js +1 -1
  16. package/dist/brevo/schemas.d.ts +1 -1
  17. package/dist/brevo/schemas.js +1 -1
  18. package/dist/github/index.d.ts +1 -1
  19. package/dist/github/index.js +1 -1
  20. package/dist/github/schemas.d.ts +1 -1
  21. package/dist/github/schemas.js +1 -1
  22. package/dist/gmail/gmail.d.ts +1 -1
  23. package/dist/gmail/gmail.js +4 -3
  24. package/dist/gmail/index.d.ts +1 -1
  25. package/dist/gmail/index.js +1 -1
  26. package/dist/gmail/schemas.d.ts +417 -5
  27. package/dist/gmail/schemas.js +107 -3
  28. package/dist/google-calendar/event-schemas.d.ts +1 -1
  29. package/dist/google-calendar/event-schemas.js +1 -1
  30. package/dist/google-calendar/google-calendar.d.ts +1 -1
  31. package/dist/google-calendar/google-calendar.js +1 -1
  32. package/dist/google-calendar/index.d.ts +1 -1
  33. package/dist/google-calendar/index.js +1 -1
  34. package/dist/google-calendar/schemas.d.ts +1 -1
  35. package/dist/google-calendar/schemas.js +1 -1
  36. package/dist/google-forms/event-schemas.d.ts +1 -1
  37. package/dist/google-forms/event-schemas.js +1 -1
  38. package/dist/google-forms/google-forms.d.ts +1 -1
  39. package/dist/google-forms/google-forms.js +1 -1
  40. package/dist/google-forms/index.d.ts +1 -1
  41. package/dist/google-forms/index.js +1 -1
  42. package/dist/google-forms/schemas.d.ts +1 -1
  43. package/dist/google-forms/schemas.js +1 -1
  44. package/dist/google-meet/google-meet.d.ts +173 -0
  45. package/dist/google-meet/google-meet.js +371 -0
  46. package/dist/google-meet/index.d.ts +295 -0
  47. package/dist/google-meet/index.js +87 -0
  48. package/dist/google-meet/schemas.d.ts +269 -0
  49. package/dist/google-meet/schemas.js +197 -0
  50. package/dist/linear/api.d.ts +1 -1
  51. package/dist/linear/api.js +1 -1
  52. package/dist/linear/index.d.ts +1 -1
  53. package/dist/linear/index.js +1 -1
  54. package/dist/linear/schemas.d.ts +91 -1
  55. package/dist/linear/schemas.js +64 -1
  56. package/dist/outlook/graph.d.ts +1 -1
  57. package/dist/outlook/graph.js +1 -1
  58. package/dist/outlook/index.d.ts +2 -2
  59. package/dist/outlook/index.js +1 -1
  60. package/dist/outlook/schemas.d.ts +7 -7
  61. package/dist/outlook/schemas.js +1 -1
  62. package/dist/resend/index.d.ts +1 -1
  63. package/dist/resend/index.js +1 -1
  64. package/dist/resend/schemas.d.ts +1 -1
  65. package/dist/resend/schemas.js +1 -1
  66. package/dist/slack/index.d.ts +1 -1
  67. package/dist/slack/index.js +1 -1
  68. package/dist/slack/schemas.d.ts +1 -1
  69. package/dist/slack/schemas.js +1 -1
  70. package/dist/teams/graph.d.ts +1 -1
  71. package/dist/teams/graph.js +1 -1
  72. package/dist/teams/index.d.ts +1 -1
  73. package/dist/teams/index.js +1 -1
  74. package/dist/teams/schemas.d.ts +1 -1
  75. package/dist/teams/schemas.js +1 -1
  76. package/dist/trello/api.d.ts +1 -1
  77. package/dist/trello/api.js +1 -1
  78. package/dist/trello/event-schemas.d.ts +1 -1
  79. package/dist/trello/event-schemas.js +1 -1
  80. package/dist/trello/index.d.ts +1 -1
  81. package/dist/trello/index.js +1 -1
  82. package/dist/trello/schemas.d.ts +1 -1
  83. package/dist/trello/schemas.js +1 -1
  84. package/dist/triggers.d.ts +2 -1
  85. package/dist/triggers.js +2 -0
  86. package/dist/vercel/index.d.ts +1 -1
  87. package/dist/vercel/index.js +1 -1
  88. package/dist/vercel/schemas.d.ts +1 -1
  89. package/dist/vercel/schemas.js +1 -1
  90. package/dist/whatsapp/api.d.ts +1 -1
  91. package/dist/whatsapp/api.js +1 -1
  92. package/dist/whatsapp/index.d.ts +1 -1
  93. package/dist/whatsapp/index.js +1 -1
  94. package/dist/whatsapp/schemas.d.ts +1 -1
  95. package/dist/whatsapp/schemas.js +1 -1
  96. package/package.json +11 -5
  97. package/src/airtable/api.ts +1 -1
  98. package/src/airtable/index.ts +1 -1
  99. package/src/airtable/schemas.ts +1 -1
  100. package/src/asana/api.ts +1 -1
  101. package/src/asana/index.ts +1 -1
  102. package/src/asana/schemas.ts +1 -1
  103. package/src/brevo/api.ts +1 -1
  104. package/src/brevo/index.ts +1 -1
  105. package/src/brevo/schemas.ts +1 -1
  106. package/src/github/index.ts +1 -1
  107. package/src/github/schemas.ts +1 -1
  108. package/src/gmail/gmail.ts +4 -3
  109. package/src/gmail/index.ts +1 -1
  110. package/src/gmail/schemas.ts +107 -3
  111. package/src/google-calendar/event-schemas.ts +1 -1
  112. package/src/google-calendar/google-calendar.ts +1 -1
  113. package/src/google-calendar/index.ts +1 -1
  114. package/src/google-calendar/schemas.ts +1 -1
  115. package/src/google-forms/event-schemas.ts +1 -1
  116. package/src/google-forms/google-forms.ts +1 -1
  117. package/src/google-forms/index.ts +1 -1
  118. package/src/google-forms/schemas.ts +1 -1
  119. package/src/google-meet/google-meet.ts +445 -0
  120. package/src/google-meet/index.ts +117 -0
  121. package/src/google-meet/schemas.ts +274 -0
  122. package/src/linear/api.ts +1 -1
  123. package/src/linear/index.ts +1 -1
  124. package/src/linear/schemas.ts +84 -1
  125. package/src/outlook/graph.ts +1 -1
  126. package/src/outlook/index.ts +1 -1
  127. package/src/outlook/schemas.ts +1 -1
  128. package/src/resend/index.ts +1 -1
  129. package/src/resend/schemas.ts +1 -1
  130. package/src/slack/index.ts +1 -1
  131. package/src/slack/schemas.ts +1 -1
  132. package/src/teams/graph.ts +1 -1
  133. package/src/teams/index.ts +1 -1
  134. package/src/teams/schemas.ts +1 -1
  135. package/src/trello/api.ts +1 -1
  136. package/src/trello/event-schemas.ts +1 -1
  137. package/src/trello/index.ts +1 -1
  138. package/src/trello/schemas.ts +1 -1
  139. package/src/triggers.ts +3 -0
  140. package/src/vercel/index.ts +1 -1
  141. package/src/vercel/schemas.ts +1 -1
  142. package/src/whatsapp/api.ts +1 -1
  143. package/src/whatsapp/index.ts +1 -1
  144. package/src/whatsapp/schemas.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const LINEAR_ISSUE_EVENT_SCHEMA: z.ZodObject<{
3
3
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4
4
  assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1340,6 +1340,7 @@ export declare const LINEAR_USER_SCHEMA: z.ZodObject<{
1340
1340
  guest: z.ZodBoolean;
1341
1341
  isMe: z.ZodBoolean;
1342
1342
  owner: z.ZodBoolean;
1343
+ supportsAgentSessions: z.ZodBoolean;
1343
1344
  timezone: z.ZodNullable<z.ZodString>;
1344
1345
  updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
1345
1346
  url: z.ZodString;
@@ -1417,6 +1418,79 @@ export declare const LINEAR_ISSUE_REFERENCE_SCHEMA: z.ZodObject<{
1417
1418
  title: z.ZodString;
1418
1419
  url: z.ZodString;
1419
1420
  }, z.core.$strip>;
1421
+ /** Lifecycle states returned for Linear agent sessions. */
1422
+ export declare const LINEAR_AGENT_SESSION_STATUS_SCHEMA: z.ZodEnum<{
1423
+ error: "error";
1424
+ pending: "pending";
1425
+ stale: "stale";
1426
+ active: "active";
1427
+ awaitingInput: "awaitingInput";
1428
+ complete: "complete";
1429
+ }>;
1430
+ /** Lifecycle states returned for one Linear agent-session plan step. */
1431
+ export declare const LINEAR_AGENT_SESSION_PLAN_ITEM_STATUS_SCHEMA: z.ZodEnum<{
1432
+ completed: "completed";
1433
+ pending: "pending";
1434
+ inProgress: "inProgress";
1435
+ canceled: "canceled";
1436
+ }>;
1437
+ /** One step in a Linear agent session's execution plan. */
1438
+ export declare const LINEAR_AGENT_SESSION_PLAN_ITEM_SCHEMA: z.ZodObject<{
1439
+ content: z.ZodString;
1440
+ status: z.ZodEnum<{
1441
+ completed: "completed";
1442
+ pending: "pending";
1443
+ inProgress: "inProgress";
1444
+ canceled: "canceled";
1445
+ }>;
1446
+ }, z.core.$strip>;
1447
+ /** One coding or other agent session attached to a Linear issue. */
1448
+ export declare const LINEAR_AGENT_SESSION_SCHEMA: z.ZodObject<{
1449
+ appUser: z.ZodObject<{
1450
+ active: z.ZodBoolean;
1451
+ avatarUrl: z.ZodNullable<z.ZodString>;
1452
+ displayName: z.ZodString;
1453
+ email: z.ZodString;
1454
+ id: z.ZodString;
1455
+ name: z.ZodString;
1456
+ }, z.core.$strip>;
1457
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
1458
+ dismissedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
1459
+ endedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
1460
+ externalLinks: z.ZodArray<z.ZodObject<{
1461
+ label: z.ZodString;
1462
+ url: z.ZodString;
1463
+ }, z.core.$strip>>;
1464
+ id: z.ZodString;
1465
+ issue: z.ZodNullable<z.ZodObject<{
1466
+ id: z.ZodString;
1467
+ identifier: z.ZodString;
1468
+ title: z.ZodString;
1469
+ url: z.ZodString;
1470
+ }, z.core.$strip>>;
1471
+ plan: z.ZodNullable<z.ZodArray<z.ZodObject<{
1472
+ content: z.ZodString;
1473
+ status: z.ZodEnum<{
1474
+ completed: "completed";
1475
+ pending: "pending";
1476
+ inProgress: "inProgress";
1477
+ canceled: "canceled";
1478
+ }>;
1479
+ }, z.core.$strip>>>;
1480
+ slugId: z.ZodString;
1481
+ startedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
1482
+ status: z.ZodEnum<{
1483
+ error: "error";
1484
+ pending: "pending";
1485
+ stale: "stale";
1486
+ active: "active";
1487
+ awaitingInput: "awaitingInput";
1488
+ complete: "complete";
1489
+ }>;
1490
+ summary: z.ZodNullable<z.ZodString>;
1491
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
1492
+ url: z.ZodNullable<z.ZodString>;
1493
+ }, z.core.$strip>;
1420
1494
  export declare const LINEAR_PROJECT_STATUS_SCHEMA: z.ZodObject<{
1421
1495
  color: z.ZodString;
1422
1496
  description: z.ZodNullable<z.ZodString>;
@@ -1509,6 +1583,14 @@ export declare const LINEAR_ISSUE_SCHEMA: z.ZodObject<{
1509
1583
  name: z.ZodString;
1510
1584
  }, z.core.$strip>>;
1511
1585
  description: z.ZodNullable<z.ZodString>;
1586
+ delegate: z.ZodNullable<z.ZodObject<{
1587
+ active: z.ZodBoolean;
1588
+ avatarUrl: z.ZodNullable<z.ZodString>;
1589
+ displayName: z.ZodString;
1590
+ email: z.ZodString;
1591
+ id: z.ZodString;
1592
+ name: z.ZodString;
1593
+ }, z.core.$strip>>;
1512
1594
  dueDate: z.ZodNullable<z.ZodISODate>;
1513
1595
  estimate: z.ZodNullable<z.ZodNumber>;
1514
1596
  id: z.ZodString;
@@ -1753,6 +1835,14 @@ export declare const LINEAR_PROVIDER_ISSUE_SCHEMA: z.ZodObject<{
1753
1835
  startedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
1754
1836
  trashed: z.ZodNullable<z.ZodBoolean>;
1755
1837
  branchName: z.ZodString;
1838
+ delegate: z.ZodNullable<z.ZodObject<{
1839
+ active: z.ZodBoolean;
1840
+ avatarUrl: z.ZodNullable<z.ZodString>;
1841
+ displayName: z.ZodString;
1842
+ email: z.ZodString;
1843
+ id: z.ZodString;
1844
+ name: z.ZodString;
1845
+ }, z.core.$strip>>;
1756
1846
  labels: z.ZodObject<{
1757
1847
  nodes: z.ZodArray<z.ZodObject<{
1758
1848
  color: z.ZodString;
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const LINEAR_DATE_TIME_SCHEMA = z.union([
3
3
  z.date(),
4
4
  z.iso.datetime({ offset: true }).transform((value) => new Date(value)),
@@ -402,6 +402,8 @@ export const LINEAR_USER_SCHEMA = LINEAR_USER_REFERENCE_SCHEMA.extend({
402
402
  isMe: z.boolean(),
403
403
  /** Whether this user owns the workspace. */
404
404
  owner: z.boolean(),
405
+ /** Whether this app user can run Linear agent sessions. */
406
+ supportsAgentSessions: z.boolean(),
405
407
  /** IANA time zone configured for the user. */
406
408
  timezone: z.string().nullable(),
407
409
  /** When the user was last updated. */
@@ -509,6 +511,65 @@ export const LINEAR_ISSUE_REFERENCE_SCHEMA = z.object({
509
511
  /** Linear issue URL. */
510
512
  url: z.string(),
511
513
  });
514
+ /** Lifecycle states returned for Linear agent sessions. */
515
+ export const LINEAR_AGENT_SESSION_STATUS_SCHEMA = z.enum([
516
+ "pending",
517
+ "active",
518
+ "awaitingInput",
519
+ "complete",
520
+ "error",
521
+ "stale",
522
+ ]);
523
+ /** Lifecycle states returned for one Linear agent-session plan step. */
524
+ export const LINEAR_AGENT_SESSION_PLAN_ITEM_STATUS_SCHEMA = z.enum([
525
+ "pending",
526
+ "inProgress",
527
+ "completed",
528
+ "canceled",
529
+ ]);
530
+ /** One step in a Linear agent session's execution plan. */
531
+ export const LINEAR_AGENT_SESSION_PLAN_ITEM_SCHEMA = z.object({
532
+ /** Human-readable work planned for this step. */
533
+ content: z.string(),
534
+ /** Current lifecycle state of the plan step. */
535
+ status: LINEAR_AGENT_SESSION_PLAN_ITEM_STATUS_SCHEMA,
536
+ });
537
+ /** One coding or other agent session attached to a Linear issue. */
538
+ export const LINEAR_AGENT_SESSION_SCHEMA = z.object({
539
+ /** Agent app user running the session. */
540
+ appUser: LINEAR_USER_REFERENCE_SCHEMA,
541
+ /** When the session was created. */
542
+ createdAt: LINEAR_DATE_TIME_SCHEMA,
543
+ /** When the session was dismissed, or `null` while retained. */
544
+ dismissedAt: LINEAR_DATE_TIME_SCHEMA.nullable(),
545
+ /** When the session finished, or `null` while unfinished. */
546
+ endedAt: LINEAR_DATE_TIME_SCHEMA.nullable(),
547
+ /** External resources attached to the session. */
548
+ externalLinks: z
549
+ .object({
550
+ label: z.string(),
551
+ url: z.string(),
552
+ })
553
+ .array(),
554
+ /** Stable Linear agent-session ID. */
555
+ id: z.string(),
556
+ /** Issue whose context started the session. */
557
+ issue: LINEAR_ISSUE_REFERENCE_SCHEMA.nullable(),
558
+ /** Ordered execution plan reported by the agent, or `null` before one is set. */
559
+ plan: LINEAR_AGENT_SESSION_PLAN_ITEM_SCHEMA.array().nullable(),
560
+ /** URL-safe Linear session identifier. */
561
+ slugId: z.string(),
562
+ /** When the agent began work, or `null` while pending. */
563
+ startedAt: LINEAR_DATE_TIME_SCHEMA.nullable(),
564
+ /** Current session lifecycle state. */
565
+ status: LINEAR_AGENT_SESSION_STATUS_SCHEMA,
566
+ /** Human-readable result summary, when available. */
567
+ summary: z.string().nullable(),
568
+ /** When the session was last updated. */
569
+ updatedAt: LINEAR_DATE_TIME_SCHEMA,
570
+ /** Linear page for the session, when available. */
571
+ url: z.string().nullable(),
572
+ });
512
573
  export const LINEAR_PROJECT_STATUS_SCHEMA = z.object({
513
574
  /** Project status display color. */
514
575
  color: z.string(),
@@ -596,6 +657,8 @@ export const LINEAR_ISSUE_SCHEMA = z.object({
596
657
  creator: LINEAR_USER_REFERENCE_SCHEMA.nullable(),
597
658
  /** Markdown issue description. */
598
659
  description: z.string().nullable(),
660
+ /** Agent currently delegated to work on the issue. */
661
+ delegate: LINEAR_USER_REFERENCE_SCHEMA.nullable(),
599
662
  /** Issue due date. */
600
663
  dueDate: z.iso.date().nullable(),
601
664
  /** Issue estimate on the team's configured scale. */
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  /** Options accepted by the authenticated Outlook Graph request helper. */
3
3
  export interface OutlookGraphRequestOptions {
4
4
  /** JSON-serializable request body. */
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const GRAPH_BASE_URL = "https://graph.microsoft.com/v1.0/";
3
3
  const MICROSOFT_SECRET_SCHEMA = z.object({
4
4
  accessToken: z.string().min(1),
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./graph.js";
3
3
  export * from "./schemas.js";
4
4
  export declare const OUTLOOK_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
@@ -31,8 +31,8 @@ export declare const outlookTriggerContracts: {
31
31
  timeZone: string;
32
32
  } | null | undefined>>;
33
33
  status: z.ZodEnum<{
34
- notFlagged: "notFlagged";
35
34
  complete: "complete";
35
+ notFlagged: "notFlagged";
36
36
  flagged: "flagged";
37
37
  }>;
38
38
  }, z.core.$strip>>;
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { OUTLOOK_MESSAGE_SCHEMA } from "./schemas.js";
3
3
  export * from "./graph.js";
4
4
  export * from "./schemas.js";
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const OUTLOOK_BODY_TYPE_SCHEMA: z.ZodEnum<{
3
3
  text: "text";
4
4
  html: "html";
@@ -9,8 +9,8 @@ export declare const OUTLOOK_IMPORTANCE_SCHEMA: z.ZodEnum<{
9
9
  low: "low";
10
10
  }>;
11
11
  export declare const OUTLOOK_FLAG_STATUS_SCHEMA: z.ZodEnum<{
12
- notFlagged: "notFlagged";
13
12
  complete: "complete";
13
+ notFlagged: "notFlagged";
14
14
  flagged: "flagged";
15
15
  }>;
16
16
  export declare const OUTLOOK_EMAIL_ADDRESS_SCHEMA: z.ZodObject<{
@@ -64,8 +64,8 @@ export declare const OUTLOOK_MESSAGE_SCHEMA: z.ZodObject<{
64
64
  timeZone: string;
65
65
  } | null | undefined>>;
66
66
  status: z.ZodEnum<{
67
- notFlagged: "notFlagged";
68
67
  complete: "complete";
68
+ notFlagged: "notFlagged";
69
69
  flagged: "flagged";
70
70
  }>;
71
71
  }, z.core.$strip>>;
@@ -182,8 +182,8 @@ export declare const GRAPH_MESSAGE_SCHEMA: z.ZodPipe<z.ZodObject<{
182
182
  timeZone: z.ZodString;
183
183
  }, z.core.$strip>>>;
184
184
  flagStatus: z.ZodEnum<{
185
- notFlagged: "notFlagged";
186
185
  complete: "complete";
186
+ notFlagged: "notFlagged";
187
187
  flagged: "flagged";
188
188
  }>;
189
189
  }, z.core.$strip>>;
@@ -286,7 +286,7 @@ export declare const GRAPH_MESSAGE_SCHEMA: z.ZodPipe<z.ZodObject<{
286
286
  dateTime: string;
287
287
  timeZone: string;
288
288
  } | undefined;
289
- status: "notFlagged" | "complete" | "flagged";
289
+ status: "complete" | "notFlagged" | "flagged";
290
290
  } | undefined;
291
291
  etag?: string | undefined;
292
292
  }, {
@@ -314,7 +314,7 @@ export declare const GRAPH_MESSAGE_SCHEMA: z.ZodPipe<z.ZodObject<{
314
314
  conversationId?: string | null | undefined;
315
315
  createdDateTime?: string | null | undefined;
316
316
  flag?: {
317
- flagStatus: "notFlagged" | "complete" | "flagged";
317
+ flagStatus: "complete" | "notFlagged" | "flagged";
318
318
  completedDateTime?: {
319
319
  dateTime: string;
320
320
  timeZone: string;
@@ -421,7 +421,7 @@ export declare function normalizeOutlookMessage(payload: unknown): {
421
421
  dateTime: string;
422
422
  timeZone: string;
423
423
  } | undefined;
424
- status: "notFlagged" | "complete" | "flagged";
424
+ status: "complete" | "notFlagged" | "flagged";
425
425
  } | undefined;
426
426
  etag?: string | undefined;
427
427
  };
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const OPTIONAL_DATE_SCHEMA = z
3
3
  .union([
4
4
  z.date(),
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./schemas.js";
3
3
  export declare const RESEND_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
4
4
  export declare const resendTriggerContracts: {
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { RESEND_EMAIL_BOUNCED_EVENT_SCHEMA, RESEND_EMAIL_CLICKED_EVENT_SCHEMA, RESEND_EMAIL_COMPLAINED_EVENT_SCHEMA, RESEND_EMAIL_DELIVERED_EVENT_SCHEMA, RESEND_EMAIL_DELIVERY_DELAYED_EVENT_SCHEMA, RESEND_EMAIL_EVENT_SCHEMA, RESEND_EMAIL_FAILED_EVENT_SCHEMA, RESEND_EMAIL_OPENED_EVENT_SCHEMA, RESEND_EMAIL_RECEIVED_EVENT_SCHEMA, RESEND_EMAIL_SCHEDULED_EVENT_SCHEMA, RESEND_EMAIL_SENT_EVENT_SCHEMA, RESEND_EMAIL_SUPPRESSED_EVENT_SCHEMA, } from "./schemas.js";
3
3
  export * from "./schemas.js";
4
4
  export const RESEND_TRIGGER_CONFIG_SCHEMA = z.object({});
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const RESEND_EMAIL_EVENT_TYPES: readonly ["email.bounced", "email.clicked", "email.complained", "email.delivered", "email.delivery_delayed", "email.failed", "email.opened", "email.received", "email.scheduled", "email.sent", "email.suppressed"];
3
3
  export declare const RESEND_EMAIL_SENT_EVENT_SCHEMA: z.ZodObject<{
4
4
  broadcastId: z.ZodOptional<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export const RESEND_EMAIL_EVENT_TYPES = [
3
3
  "email.bounced",
4
4
  "email.clicked",
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./schemas.js";
3
3
  export declare const SLACK_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
4
4
  export declare const slackTriggerContracts: {
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { SLACK_APP_MENTION_EVENT_SCHEMA, SLACK_MESSAGE_POSTED_EVENT_SCHEMA, SLACK_REACTION_EVENT_SCHEMA, } from "./schemas.js";
3
3
  export * from "./schemas.js";
4
4
  export const SLACK_TRIGGER_CONFIG_SCHEMA = z.object({});
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const SLACK_JSON_OBJECT_SCHEMA: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
3
3
  export declare const SLACK_BLOCKS_SCHEMA: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
4
4
  export declare const SLACK_RESPONSE_METADATA_SCHEMA: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export const SLACK_JSON_OBJECT_SCHEMA = z.record(z.string(), z.json());
3
3
  export const SLACK_BLOCKS_SCHEMA = SLACK_JSON_OBJECT_SCHEMA.array().max(50);
4
4
  export const SLACK_RESPONSE_METADATA_SCHEMA = z.object({
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  /** Options accepted by the authenticated Teams Graph request helper. */
3
3
  export interface TeamsGraphRequestOptions {
4
4
  /** JSON-serializable request body. */
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const GRAPH_BASE_URL = "https://graph.microsoft.com/v1.0/";
3
3
  const MICROSOFT_SECRET_SCHEMA = z.object({
4
4
  accessToken: z.string().min(1),
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./graph.js";
3
3
  export * from "./schemas.js";
4
4
  export declare const TEAMS_CHANNEL_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { TEAMS_CHANNEL_MESSAGE_POSTED_EVENT_SCHEMA, TEAMS_CHAT_MESSAGE_POSTED_EVENT_SCHEMA, } from "./schemas.js";
3
3
  export * from "./graph.js";
4
4
  export * from "./schemas.js";
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const TEAMS_TEAM_SCHEMA: z.ZodObject<{
3
3
  isArchived: z.ZodPrefault<z.ZodBoolean>;
4
4
  classification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const OPTIONAL_DATE_SCHEMA = z
3
3
  .union([
4
4
  z.date(),
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  /** Scalar value serialized into one Trello query parameter. */
3
3
  type TrelloQueryValue = boolean | number | string | undefined;
4
4
  /** Options for one authenticated Trello REST request. */
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const TRELLO_API_BASE_URL = "https://api.trello.com/1/";
3
3
  const TRELLO_API_ORIGIN = new URL(TRELLO_API_BASE_URL).origin;
4
4
  const TRELLO_SECRET_SCHEMA = z.object({
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const TRELLO_CARD_EVENT_KINDS: readonly ["created", "moved", "updated", "archived", "commented"];
3
3
  export type TrelloCardEventKind = (typeof TRELLO_CARD_EVENT_KINDS)[number];
4
4
  export declare const TRELLO_BOARD_EVENT_SCHEMA: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const TRELLO_JSON_OBJECT_SCHEMA = z.record(z.string(), z.json());
3
3
  const TRELLO_RESOURCE_SCHEMA = z
4
4
  .looseObject({
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./api.js";
3
3
  export * from "./event-schemas.js";
4
4
  export * from "./schemas.js";
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { TRELLO_BOARD_EVENT_SCHEMA, TRELLO_CARD_ARCHIVED_EVENT_SCHEMA, TRELLO_CARD_COMMENTED_EVENT_SCHEMA, TRELLO_CARD_CREATED_EVENT_SCHEMA, TRELLO_CARD_MOVED_EVENT_SCHEMA, TRELLO_CARD_UPDATED_EVENT_SCHEMA, } from "./event-schemas.js";
3
3
  export * from "./api.js";
4
4
  export * from "./event-schemas.js";
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const TRELLO_MEMBER_SCHEMA: z.ZodObject<{
3
3
  avatarUrl: z.ZodNullable<z.ZodString>;
4
4
  fullName: z.ZodString;
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const OPTIONAL_DATE_SCHEMA = z
3
3
  .string()
4
4
  .nullable()
@@ -5,6 +5,7 @@ import { githubTriggerContracts } from "./github/index.js";
5
5
  import { gmailTriggerContracts } from "./gmail/index.js";
6
6
  import { googleCalendarTriggerContracts } from "./google-calendar/index.js";
7
7
  import { googleFormsTriggerContracts } from "./google-forms/index.js";
8
+ import { googleMeetTriggerContracts } from "./google-meet/index.js";
8
9
  import { linearTriggerContracts } from "./linear/index.js";
9
10
  import { outlookTriggerContracts } from "./outlook/index.js";
10
11
  import { resendTriggerContracts } from "./resend/index.js";
@@ -14,7 +15,7 @@ import { trelloTriggerContracts } from "./trello/index.js";
14
15
  import { vercelTriggerContracts } from "./vercel/index.js";
15
16
  import { whatsappTriggerContracts } from "./whatsapp/index.js";
16
17
  import type { z } from "zod";
17
- type IntegrationTriggerContracts = typeof airtableTriggerContracts & typeof asanaTriggerContracts & typeof brevoTriggerContracts & typeof githubTriggerContracts & typeof gmailTriggerContracts & typeof googleCalendarTriggerContracts & typeof googleFormsTriggerContracts & typeof linearTriggerContracts & typeof outlookTriggerContracts & typeof resendTriggerContracts & typeof slackTriggerContracts & typeof teamsTriggerContracts & typeof trelloTriggerContracts & typeof vercelTriggerContracts & typeof whatsappTriggerContracts;
18
+ type IntegrationTriggerContracts = typeof airtableTriggerContracts & typeof asanaTriggerContracts & typeof brevoTriggerContracts & typeof githubTriggerContracts & typeof gmailTriggerContracts & typeof googleCalendarTriggerContracts & typeof googleFormsTriggerContracts & typeof googleMeetTriggerContracts & typeof linearTriggerContracts & typeof outlookTriggerContracts & typeof resendTriggerContracts & typeof slackTriggerContracts & typeof teamsTriggerContracts & typeof trelloTriggerContracts & typeof vercelTriggerContracts & typeof whatsappTriggerContracts;
18
19
  /** Shared schemas for every integration-backed public trigger. */
19
20
  export declare const triggerContracts: IntegrationTriggerContracts;
20
21
  export type TriggerContractMap = IntegrationTriggerContracts;
package/dist/triggers.js CHANGED
@@ -5,6 +5,7 @@ import { githubTriggerContracts } from "./github/index.js";
5
5
  import { gmailTriggerContracts } from "./gmail/index.js";
6
6
  import { googleCalendarTriggerContracts } from "./google-calendar/index.js";
7
7
  import { googleFormsTriggerContracts } from "./google-forms/index.js";
8
+ import { googleMeetTriggerContracts } from "./google-meet/index.js";
8
9
  import { linearTriggerContracts } from "./linear/index.js";
9
10
  import { outlookTriggerContracts } from "./outlook/index.js";
10
11
  import { resendTriggerContracts } from "./resend/index.js";
@@ -22,6 +23,7 @@ export const triggerContracts = {
22
23
  ...gmailTriggerContracts,
23
24
  ...googleCalendarTriggerContracts,
24
25
  ...googleFormsTriggerContracts,
26
+ ...googleMeetTriggerContracts,
25
27
  ...linearTriggerContracts,
26
28
  ...outlookTriggerContracts,
27
29
  ...resendTriggerContracts,
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./schemas.js";
3
3
  export declare const VERCEL_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
4
4
  export declare const vercelTriggerContracts: {
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { VERCEL_DEPLOYMENT_CANCELED_EVENT_SCHEMA, VERCEL_DEPLOYMENT_CREATED_EVENT_SCHEMA, VERCEL_DEPLOYMENT_EVENT_SCHEMA, VERCEL_DEPLOYMENT_FAILED_EVENT_SCHEMA, VERCEL_DEPLOYMENT_PROMOTED_EVENT_SCHEMA, VERCEL_DEPLOYMENT_READY_EVENT_SCHEMA, VERCEL_DEPLOYMENT_SUCCEEDED_EVENT_SCHEMA, VERCEL_INTEGRATION_CONFIGURATION_EVENT_SCHEMA, VERCEL_INTEGRATION_CONFIGURATION_PERMISSION_UPGRADED_EVENT_SCHEMA, VERCEL_INTEGRATION_CONFIGURATION_REMOVED_EVENT_SCHEMA, VERCEL_INTEGRATION_CONFIGURATION_SCOPE_CHANGE_CONFIRMED_EVENT_SCHEMA, VERCEL_INTEGRATION_CONFIGURATION_TRANSFERRED_EVENT_SCHEMA, VERCEL_PROJECT_CREATED_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_CREATED_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_DELETED_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_MOVED_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_UNVERIFIED_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_UPDATED_EVENT_SCHEMA, VERCEL_PROJECT_DOMAIN_VERIFIED_EVENT_SCHEMA, VERCEL_PROJECT_ENVIRONMENT_VARIABLE_CREATED_EVENT_SCHEMA, VERCEL_PROJECT_ENVIRONMENT_VARIABLE_DELETED_EVENT_SCHEMA, VERCEL_PROJECT_ENVIRONMENT_VARIABLE_EVENT_SCHEMA, VERCEL_PROJECT_ENVIRONMENT_VARIABLE_UPDATED_EVENT_SCHEMA, VERCEL_PROJECT_EVENT_SCHEMA, VERCEL_PROJECT_REMOVED_EVENT_SCHEMA, VERCEL_PROJECT_RENAMED_EVENT_SCHEMA, } from "./schemas.js";
3
3
  export * from "./schemas.js";
4
4
  export const VERCEL_TRIGGER_CONFIG_SCHEMA = z.object({});
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export declare const VERCEL_DEPLOYMENT_EVENT_TYPES: readonly ["deployment.created", "deployment.ready", "deployment.succeeded", "deployment.error", "deployment.canceled", "deployment.promoted"];
3
3
  export declare const VERCEL_PROJECT_EVENT_TYPES: readonly ["project.created", "project.removed", "project.renamed"];
4
4
  export declare const VERCEL_PROJECT_ENVIRONMENT_VARIABLE_EVENT_TYPES: readonly ["project.env-variable.created", "project.env-variable.updated", "project.env-variable.deleted"];
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export const VERCEL_DEPLOYMENT_EVENT_TYPES = [
3
3
  "deployment.created",
4
4
  "deployment.ready",
@@ -1,5 +1,5 @@
1
1
  import type { JsonObject } from "type-fest";
2
- import { z } from "zod";
2
+ import * as z from "zod";
3
3
  export declare const WHATSAPP_GRAPH_API_VERSION = "v26.0";
4
4
  /** Options for one authenticated WhatsApp Graph API request. */
5
5
  export interface WhatsAppApiRequestOptions<TSchema extends z.ZodType> {
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export const WHATSAPP_GRAPH_API_VERSION = "v26.0";
3
3
  const WHATSAPP_GRAPH_API_ORIGIN = "https://graph.facebook.com";
4
4
  const WHATSAPP_SECRET_SCHEMA = z.object({
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  export * from "./api.js";
3
3
  export * from "./schemas.js";
4
4
  export declare const WHATSAPP_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  import { WHATSAPP_MESSAGE_DELIVERED_EVENT_SCHEMA, WHATSAPP_MESSAGE_FAILED_EVENT_SCHEMA, WHATSAPP_MESSAGE_PLAYED_EVENT_SCHEMA, WHATSAPP_MESSAGE_READ_EVENT_SCHEMA, WHATSAPP_MESSAGE_RECEIVED_EVENT_SCHEMA, WHATSAPP_MESSAGE_SENT_EVENT_SCHEMA, WHATSAPP_MESSAGE_STATUS_EVENT_SCHEMA, } from "./schemas.js";
3
3
  export * from "./api.js";
4
4
  export * from "./schemas.js";
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  /** Provider-native WhatsApp webhook envelope. */
3
3
  export declare const WHATSAPP_WEBHOOK_SCHEMA: z.ZodObject<{
4
4
  entry: z.ZodArray<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const WHATSAPP_ERROR_SCHEMA = z.object({
3
3
  code: z.number().int(),
4
4
  error_data: z