terse-types 0.0.76 → 0.1.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.
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { IntegrationType } from "./Integrations.js";
3
3
  import { SlackAttachments, SlackBlocks, SlackChannelType, SlackFiles } from "./SlackTypes.js";
4
+ import type { ConcreteTriggerDefinition } from "./TriggerDefinition.js";
4
5
  export declare const slackMessageTriggerSchema: z.ZodObject<{
5
6
  integrationType: z.ZodLiteral<IntegrationType.SLACK>;
6
7
  channelId: z.ZodString;
@@ -765,7 +766,7 @@ export declare const GithubTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
765
766
  }, z.core.$strip>>;
766
767
  }, z.core.$strip>>;
767
768
  pullRequest: z.ZodOptional<z.ZodUndefined>;
768
- }, z.core.$strip>, z.ZodObject<{
769
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
769
770
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
770
771
  username: z.ZodString;
771
772
  installationId: z.ZodNumber;
@@ -981,7 +982,7 @@ export declare const GithubTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
981
982
  }, z.core.$strip>>;
982
983
  }, z.core.$strip>>;
983
984
  eventType: z.ZodLiteral<"pull_request.merged">;
984
- }, z.core.$strip>, z.ZodObject<{
985
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
985
986
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
986
987
  username: z.ZodString;
987
988
  installationId: z.ZodNumber;
@@ -2067,7 +2068,7 @@ export declare const workOSOrganizationTriggerSchema: z.ZodObject<{
2067
2068
  }, z.core.$strip>;
2068
2069
  }, z.core.$strip>;
2069
2070
  export type WorkOSOrganizationTrigger = z.infer<typeof workOSOrganizationTriggerSchema>;
2070
- export declare const workOSTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2071
+ export declare const workOSTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
2071
2072
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2072
2073
  eventId: z.ZodString;
2073
2074
  createdAt: z.ZodString;
@@ -2106,7 +2107,7 @@ export declare const workOSTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2106
2107
  emailVerified: z.ZodBoolean;
2107
2108
  profilePictureUrl: z.ZodOptional<z.ZodString>;
2108
2109
  }, z.core.$strip>;
2109
- }, z.core.$strip>, z.ZodObject<{
2110
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
2110
2111
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2111
2112
  eventId: z.ZodString;
2112
2113
  createdAt: z.ZodString;
@@ -2148,7 +2149,7 @@ export declare const workOSTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2148
2149
  }, z.core.$strip>;
2149
2150
  status: z.ZodString;
2150
2151
  }, z.core.$strip>;
2151
- }, z.core.$strip>, z.ZodObject<{
2152
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
2152
2153
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2153
2154
  eventId: z.ZodString;
2154
2155
  createdAt: z.ZodString;
@@ -2232,7 +2233,7 @@ export declare const workOSTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2232
2233
  emailVerified: z.ZodBoolean;
2233
2234
  profilePictureUrl: z.ZodOptional<z.ZodString>;
2234
2235
  }, z.core.$strip>>;
2235
- }, z.core.$strip>, z.ZodObject<{
2236
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
2236
2237
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2237
2238
  eventId: z.ZodString;
2238
2239
  createdAt: z.ZodString;
@@ -5357,7 +5358,7 @@ export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion
5357
5358
  }, z.core.$strip>>;
5358
5359
  }, z.core.$strip>>;
5359
5360
  pullRequest: z.ZodOptional<z.ZodUndefined>;
5360
- }, z.core.$strip>, z.ZodObject<{
5361
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
5361
5362
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
5362
5363
  username: z.ZodString;
5363
5364
  installationId: z.ZodNumber;
@@ -5573,7 +5574,7 @@ export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion
5573
5574
  }, z.core.$strip>>;
5574
5575
  }, z.core.$strip>>;
5575
5576
  eventType: z.ZodLiteral<"pull_request.merged">;
5576
- }, z.core.$strip>, z.ZodObject<{
5577
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
5577
5578
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
5578
5579
  username: z.ZodString;
5579
5580
  installationId: z.ZodNumber;
@@ -5779,7 +5780,7 @@ export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion
5779
5780
  body: z.ZodOptional<z.ZodString>;
5780
5781
  issueId: z.ZodOptional<z.ZodString>;
5781
5782
  }, z.core.$loose>;
5782
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
5783
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
5783
5784
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
5784
5785
  eventId: z.ZodString;
5785
5786
  createdAt: z.ZodString;
@@ -5818,7 +5819,7 @@ export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion
5818
5819
  emailVerified: z.ZodBoolean;
5819
5820
  profilePictureUrl: z.ZodOptional<z.ZodString>;
5820
5821
  }, z.core.$strip>;
5821
- }, z.core.$strip>, z.ZodObject<{
5822
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
5822
5823
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
5823
5824
  eventId: z.ZodString;
5824
5825
  createdAt: z.ZodString;
@@ -5860,7 +5861,7 @@ export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion
5860
5861
  }, z.core.$strip>;
5861
5862
  status: z.ZodString;
5862
5863
  }, z.core.$strip>;
5863
- }, z.core.$strip>, z.ZodObject<{
5864
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
5864
5865
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
5865
5866
  eventId: z.ZodString;
5866
5867
  createdAt: z.ZodString;
@@ -5944,7 +5945,7 @@ export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion
5944
5945
  emailVerified: z.ZodBoolean;
5945
5946
  profilePictureUrl: z.ZodOptional<z.ZodString>;
5946
5947
  }, z.core.$strip>>;
5947
- }, z.core.$strip>, z.ZodObject<{
5948
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
5948
5949
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
5949
5950
  eventId: z.ZodString;
5950
5951
  createdAt: z.ZodString;
@@ -7363,7 +7364,7 @@ export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDi
7363
7364
  }, z.core.$strip>>;
7364
7365
  }, z.core.$strip>>;
7365
7366
  pullRequest: z.ZodOptional<z.ZodUndefined>;
7366
- }, z.core.$strip>, z.ZodObject<{
7367
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
7367
7368
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
7368
7369
  username: z.ZodString;
7369
7370
  installationId: z.ZodNumber;
@@ -7579,7 +7580,7 @@ export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDi
7579
7580
  }, z.core.$strip>>;
7580
7581
  }, z.core.$strip>>;
7581
7582
  eventType: z.ZodLiteral<"pull_request.merged">;
7582
- }, z.core.$strip>, z.ZodObject<{
7583
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
7583
7584
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
7584
7585
  username: z.ZodString;
7585
7586
  installationId: z.ZodNumber;
@@ -7785,7 +7786,7 @@ export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDi
7785
7786
  body: z.ZodOptional<z.ZodString>;
7786
7787
  issueId: z.ZodOptional<z.ZodString>;
7787
7788
  }, z.core.$loose>;
7788
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
7789
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
7789
7790
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
7790
7791
  eventId: z.ZodString;
7791
7792
  createdAt: z.ZodString;
@@ -7824,7 +7825,7 @@ export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDi
7824
7825
  emailVerified: z.ZodBoolean;
7825
7826
  profilePictureUrl: z.ZodOptional<z.ZodString>;
7826
7827
  }, z.core.$strip>;
7827
- }, z.core.$strip>, z.ZodObject<{
7828
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
7828
7829
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
7829
7830
  eventId: z.ZodString;
7830
7831
  createdAt: z.ZodString;
@@ -7866,7 +7867,7 @@ export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDi
7866
7867
  }, z.core.$strip>;
7867
7868
  status: z.ZodString;
7868
7869
  }, z.core.$strip>;
7869
- }, z.core.$strip>, z.ZodObject<{
7870
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
7870
7871
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
7871
7872
  eventId: z.ZodString;
7872
7873
  createdAt: z.ZodString;
@@ -7950,7 +7951,7 @@ export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDi
7950
7951
  emailVerified: z.ZodBoolean;
7951
7952
  profilePictureUrl: z.ZodOptional<z.ZodString>;
7952
7953
  }, z.core.$strip>>;
7953
- }, z.core.$strip>, z.ZodObject<{
7954
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
7954
7955
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
7955
7956
  eventId: z.ZodString;
7956
7957
  createdAt: z.ZodString;
@@ -9445,7 +9446,7 @@ export declare const serializedEventSchema: z.ZodObject<{
9445
9446
  }, z.core.$strip>>;
9446
9447
  }, z.core.$strip>>;
9447
9448
  pullRequest: z.ZodOptional<z.ZodUndefined>;
9448
- }, z.core.$strip>, z.ZodObject<{
9449
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
9449
9450
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
9450
9451
  username: z.ZodString;
9451
9452
  installationId: z.ZodNumber;
@@ -9661,7 +9662,7 @@ export declare const serializedEventSchema: z.ZodObject<{
9661
9662
  }, z.core.$strip>>;
9662
9663
  }, z.core.$strip>>;
9663
9664
  eventType: z.ZodLiteral<"pull_request.merged">;
9664
- }, z.core.$strip>, z.ZodObject<{
9665
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
9665
9666
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
9666
9667
  username: z.ZodString;
9667
9668
  installationId: z.ZodNumber;
@@ -9867,7 +9868,7 @@ export declare const serializedEventSchema: z.ZodObject<{
9867
9868
  body: z.ZodOptional<z.ZodString>;
9868
9869
  issueId: z.ZodOptional<z.ZodString>;
9869
9870
  }, z.core.$loose>;
9870
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
9871
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
9871
9872
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
9872
9873
  eventId: z.ZodString;
9873
9874
  createdAt: z.ZodString;
@@ -9906,7 +9907,7 @@ export declare const serializedEventSchema: z.ZodObject<{
9906
9907
  emailVerified: z.ZodBoolean;
9907
9908
  profilePictureUrl: z.ZodOptional<z.ZodString>;
9908
9909
  }, z.core.$strip>;
9909
- }, z.core.$strip>, z.ZodObject<{
9910
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
9910
9911
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
9911
9912
  eventId: z.ZodString;
9912
9913
  createdAt: z.ZodString;
@@ -9948,7 +9949,7 @@ export declare const serializedEventSchema: z.ZodObject<{
9948
9949
  }, z.core.$strip>;
9949
9950
  status: z.ZodString;
9950
9951
  }, z.core.$strip>;
9951
- }, z.core.$strip>, z.ZodObject<{
9952
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
9952
9953
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
9953
9954
  eventId: z.ZodString;
9954
9955
  createdAt: z.ZodString;
@@ -10032,7 +10033,7 @@ export declare const serializedEventSchema: z.ZodObject<{
10032
10033
  emailVerified: z.ZodBoolean;
10033
10034
  profilePictureUrl: z.ZodOptional<z.ZodString>;
10034
10035
  }, z.core.$strip>>;
10035
- }, z.core.$strip>, z.ZodObject<{
10036
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
10036
10037
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
10037
10038
  eventId: z.ZodString;
10038
10039
  createdAt: z.ZodString;
@@ -11450,7 +11451,7 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
11450
11451
  }, z.core.$strip>>;
11451
11452
  }, z.core.$strip>>;
11452
11453
  pullRequest: z.ZodOptional<z.ZodUndefined>;
11453
- }, z.core.$strip>, z.ZodObject<{
11454
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
11454
11455
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
11455
11456
  username: z.ZodString;
11456
11457
  installationId: z.ZodNumber;
@@ -11666,7 +11667,7 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
11666
11667
  }, z.core.$strip>>;
11667
11668
  }, z.core.$strip>>;
11668
11669
  eventType: z.ZodLiteral<"pull_request.merged">;
11669
- }, z.core.$strip>, z.ZodObject<{
11670
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
11670
11671
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
11671
11672
  username: z.ZodString;
11672
11673
  installationId: z.ZodNumber;
@@ -11872,7 +11873,7 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
11872
11873
  body: z.ZodOptional<z.ZodString>;
11873
11874
  issueId: z.ZodOptional<z.ZodString>;
11874
11875
  }, z.core.$loose>;
11875
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11876
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
11876
11877
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
11877
11878
  eventId: z.ZodString;
11878
11879
  createdAt: z.ZodString;
@@ -11911,7 +11912,7 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
11911
11912
  emailVerified: z.ZodBoolean;
11912
11913
  profilePictureUrl: z.ZodOptional<z.ZodString>;
11913
11914
  }, z.core.$strip>;
11914
- }, z.core.$strip>, z.ZodObject<{
11915
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11915
11916
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
11916
11917
  eventId: z.ZodString;
11917
11918
  createdAt: z.ZodString;
@@ -11953,7 +11954,7 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
11953
11954
  }, z.core.$strip>;
11954
11955
  status: z.ZodString;
11955
11956
  }, z.core.$strip>;
11956
- }, z.core.$strip>, z.ZodObject<{
11957
+ }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11957
11958
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
11958
11959
  eventId: z.ZodString;
11959
11960
  createdAt: z.ZodString;
@@ -12037,7 +12038,7 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
12037
12038
  emailVerified: z.ZodBoolean;
12038
12039
  profilePictureUrl: z.ZodOptional<z.ZodString>;
12039
12040
  }, z.core.$strip>>;
12040
- }, z.core.$strip>, z.ZodObject<{
12041
+ }, z.core.$strip>], "eventType">, z.ZodObject<{
12041
12042
  integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
12042
12043
  eventId: z.ZodString;
12043
12044
  createdAt: z.ZodString;
@@ -13372,4 +13373,2084 @@ export declare const eventFixtureSchema: z.ZodIntersection<z.ZodUnion<readonly [
13372
13373
  export type EventFixture = z.infer<typeof eventFixtureSchema>;
13373
13374
  export declare function hydrateSerializedEvent(fixture: EventFixture): SerializedEvent;
13374
13375
  export declare function toEventFixture(event: SerializedEvent): EventFixture;
13376
+ export declare const TriggerDefinitions: {
13377
+ SlackMessageTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13378
+ integrationType: z.ZodLiteral<IntegrationType.SLACK>;
13379
+ channelId: z.ZodString;
13380
+ channelName: z.ZodNullable<z.ZodString>;
13381
+ userId: z.ZodString;
13382
+ userName: z.ZodNullable<z.ZodString>;
13383
+ text: z.ZodString;
13384
+ timestamp: z.ZodString;
13385
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13386
+ threadTimestamp: z.ZodNullable<z.ZodString>;
13387
+ teamId: z.ZodString;
13388
+ permalink: z.ZodNullable<z.ZodString>;
13389
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
13390
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13391
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13392
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13393
+ eventType: z.ZodLiteral<"message">;
13394
+ }, z.core.$strip>>;
13395
+ SlackAppMentionTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13396
+ integrationType: z.ZodLiteral<IntegrationType.SLACK>;
13397
+ channelId: z.ZodString;
13398
+ channelName: z.ZodNullable<z.ZodString>;
13399
+ userId: z.ZodString;
13400
+ userName: z.ZodNullable<z.ZodString>;
13401
+ text: z.ZodString;
13402
+ timestamp: z.ZodString;
13403
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13404
+ threadTimestamp: z.ZodNullable<z.ZodString>;
13405
+ teamId: z.ZodString;
13406
+ permalink: z.ZodNullable<z.ZodString>;
13407
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
13408
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13409
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13410
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13411
+ eventType: z.ZodLiteral<"app_mention">;
13412
+ }, z.core.$strip>>;
13413
+ SlackReactionAddedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13414
+ integrationType: z.ZodLiteral<IntegrationType.SLACK>;
13415
+ channelId: z.ZodString;
13416
+ channelName: z.ZodNullable<z.ZodString>;
13417
+ userId: z.ZodString;
13418
+ userName: z.ZodNullable<z.ZodString>;
13419
+ text: z.ZodString;
13420
+ timestamp: z.ZodString;
13421
+ threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13422
+ threadTimestamp: z.ZodNullable<z.ZodString>;
13423
+ teamId: z.ZodString;
13424
+ permalink: z.ZodNullable<z.ZodString>;
13425
+ channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
13426
+ blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13427
+ attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13428
+ files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
13429
+ eventType: z.ZodLiteral<"reaction_added">;
13430
+ reaction: z.ZodString;
13431
+ itemType: z.ZodNullable<z.ZodString>;
13432
+ itemUserId: z.ZodNullable<z.ZodString>;
13433
+ itemChannelId: z.ZodNullable<z.ZodString>;
13434
+ itemTimestamp: z.ZodNullable<z.ZodString>;
13435
+ }, z.core.$strip>>;
13436
+ SlackTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
13437
+ GithubPushTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13438
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
13439
+ username: z.ZodString;
13440
+ installationId: z.ZodNumber;
13441
+ repositoryName: z.ZodString;
13442
+ repository: z.ZodObject<{
13443
+ id: z.ZodNumber;
13444
+ name: z.ZodString;
13445
+ owner: z.ZodString;
13446
+ defaultBranch: z.ZodString;
13447
+ }, z.core.$strip>;
13448
+ sender: z.ZodObject<{
13449
+ login: z.ZodString;
13450
+ email: z.ZodOptional<z.ZodString>;
13451
+ }, z.core.$strip>;
13452
+ eventType: z.ZodLiteral<"push">;
13453
+ branch: z.ZodString;
13454
+ commits: z.ZodArray<z.ZodObject<{
13455
+ sha: z.ZodString;
13456
+ message: z.ZodOptional<z.ZodString>;
13457
+ name: z.ZodString;
13458
+ fileDiffs: z.ZodArray<z.ZodObject<{
13459
+ filename: z.ZodString;
13460
+ diff: z.ZodString;
13461
+ }, z.core.$strip>>;
13462
+ }, z.core.$strip>>;
13463
+ pullRequest: z.ZodOptional<z.ZodUndefined>;
13464
+ }, z.core.$strip>>;
13465
+ GithubPROpenedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13466
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
13467
+ username: z.ZodString;
13468
+ installationId: z.ZodNumber;
13469
+ repositoryName: z.ZodString;
13470
+ repository: z.ZodObject<{
13471
+ id: z.ZodNumber;
13472
+ name: z.ZodString;
13473
+ owner: z.ZodString;
13474
+ defaultBranch: z.ZodString;
13475
+ }, z.core.$strip>;
13476
+ sender: z.ZodObject<{
13477
+ login: z.ZodString;
13478
+ email: z.ZodOptional<z.ZodString>;
13479
+ }, z.core.$strip>;
13480
+ pullRequest: z.ZodObject<{
13481
+ id: z.ZodString;
13482
+ number: z.ZodNumber;
13483
+ title: z.ZodString;
13484
+ body: z.ZodOptional<z.ZodString>;
13485
+ state: z.ZodEnum<{
13486
+ open: "open";
13487
+ closed: "closed";
13488
+ }>;
13489
+ merged: z.ZodBoolean;
13490
+ head: z.ZodObject<{
13491
+ ref: z.ZodString;
13492
+ sha: z.ZodString;
13493
+ }, z.core.$strip>;
13494
+ base: z.ZodObject<{
13495
+ ref: z.ZodString;
13496
+ sha: z.ZodString;
13497
+ }, z.core.$strip>;
13498
+ user: z.ZodObject<{
13499
+ login: z.ZodString;
13500
+ email: z.ZodOptional<z.ZodString>;
13501
+ }, z.core.$strip>;
13502
+ author: z.ZodOptional<z.ZodObject<{
13503
+ login: z.ZodString;
13504
+ email: z.ZodOptional<z.ZodString>;
13505
+ }, z.core.$strip>>;
13506
+ url: z.ZodOptional<z.ZodString>;
13507
+ }, z.core.$strip>;
13508
+ branch: z.ZodOptional<z.ZodString>;
13509
+ commits: z.ZodArray<z.ZodObject<{
13510
+ sha: z.ZodString;
13511
+ message: z.ZodOptional<z.ZodString>;
13512
+ name: z.ZodString;
13513
+ fileDiffs: z.ZodArray<z.ZodObject<{
13514
+ filename: z.ZodString;
13515
+ diff: z.ZodString;
13516
+ }, z.core.$strip>>;
13517
+ }, z.core.$strip>>;
13518
+ eventType: z.ZodLiteral<"pull_request.opened">;
13519
+ }, z.core.$strip>>;
13520
+ GithubPRSynchronizedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13521
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
13522
+ username: z.ZodString;
13523
+ installationId: z.ZodNumber;
13524
+ repositoryName: z.ZodString;
13525
+ repository: z.ZodObject<{
13526
+ id: z.ZodNumber;
13527
+ name: z.ZodString;
13528
+ owner: z.ZodString;
13529
+ defaultBranch: z.ZodString;
13530
+ }, z.core.$strip>;
13531
+ sender: z.ZodObject<{
13532
+ login: z.ZodString;
13533
+ email: z.ZodOptional<z.ZodString>;
13534
+ }, z.core.$strip>;
13535
+ pullRequest: z.ZodObject<{
13536
+ id: z.ZodString;
13537
+ number: z.ZodNumber;
13538
+ title: z.ZodString;
13539
+ body: z.ZodOptional<z.ZodString>;
13540
+ state: z.ZodEnum<{
13541
+ open: "open";
13542
+ closed: "closed";
13543
+ }>;
13544
+ merged: z.ZodBoolean;
13545
+ head: z.ZodObject<{
13546
+ ref: z.ZodString;
13547
+ sha: z.ZodString;
13548
+ }, z.core.$strip>;
13549
+ base: z.ZodObject<{
13550
+ ref: z.ZodString;
13551
+ sha: z.ZodString;
13552
+ }, z.core.$strip>;
13553
+ user: z.ZodObject<{
13554
+ login: z.ZodString;
13555
+ email: z.ZodOptional<z.ZodString>;
13556
+ }, z.core.$strip>;
13557
+ author: z.ZodOptional<z.ZodObject<{
13558
+ login: z.ZodString;
13559
+ email: z.ZodOptional<z.ZodString>;
13560
+ }, z.core.$strip>>;
13561
+ url: z.ZodOptional<z.ZodString>;
13562
+ }, z.core.$strip>;
13563
+ branch: z.ZodOptional<z.ZodString>;
13564
+ commits: z.ZodArray<z.ZodObject<{
13565
+ sha: z.ZodString;
13566
+ message: z.ZodOptional<z.ZodString>;
13567
+ name: z.ZodString;
13568
+ fileDiffs: z.ZodArray<z.ZodObject<{
13569
+ filename: z.ZodString;
13570
+ diff: z.ZodString;
13571
+ }, z.core.$strip>>;
13572
+ }, z.core.$strip>>;
13573
+ eventType: z.ZodLiteral<"pull_request.synchronize">;
13574
+ }, z.core.$strip>>;
13575
+ GithubPRClosedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13576
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
13577
+ username: z.ZodString;
13578
+ installationId: z.ZodNumber;
13579
+ repositoryName: z.ZodString;
13580
+ repository: z.ZodObject<{
13581
+ id: z.ZodNumber;
13582
+ name: z.ZodString;
13583
+ owner: z.ZodString;
13584
+ defaultBranch: z.ZodString;
13585
+ }, z.core.$strip>;
13586
+ sender: z.ZodObject<{
13587
+ login: z.ZodString;
13588
+ email: z.ZodOptional<z.ZodString>;
13589
+ }, z.core.$strip>;
13590
+ pullRequest: z.ZodObject<{
13591
+ id: z.ZodString;
13592
+ number: z.ZodNumber;
13593
+ title: z.ZodString;
13594
+ body: z.ZodOptional<z.ZodString>;
13595
+ state: z.ZodEnum<{
13596
+ open: "open";
13597
+ closed: "closed";
13598
+ }>;
13599
+ merged: z.ZodBoolean;
13600
+ head: z.ZodObject<{
13601
+ ref: z.ZodString;
13602
+ sha: z.ZodString;
13603
+ }, z.core.$strip>;
13604
+ base: z.ZodObject<{
13605
+ ref: z.ZodString;
13606
+ sha: z.ZodString;
13607
+ }, z.core.$strip>;
13608
+ user: z.ZodObject<{
13609
+ login: z.ZodString;
13610
+ email: z.ZodOptional<z.ZodString>;
13611
+ }, z.core.$strip>;
13612
+ author: z.ZodOptional<z.ZodObject<{
13613
+ login: z.ZodString;
13614
+ email: z.ZodOptional<z.ZodString>;
13615
+ }, z.core.$strip>>;
13616
+ url: z.ZodOptional<z.ZodString>;
13617
+ }, z.core.$strip>;
13618
+ branch: z.ZodOptional<z.ZodString>;
13619
+ commits: z.ZodArray<z.ZodObject<{
13620
+ sha: z.ZodString;
13621
+ message: z.ZodOptional<z.ZodString>;
13622
+ name: z.ZodString;
13623
+ fileDiffs: z.ZodArray<z.ZodObject<{
13624
+ filename: z.ZodString;
13625
+ diff: z.ZodString;
13626
+ }, z.core.$strip>>;
13627
+ }, z.core.$strip>>;
13628
+ eventType: z.ZodLiteral<"pull_request.closed">;
13629
+ }, z.core.$strip>>;
13630
+ GithubPRMergedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13631
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
13632
+ username: z.ZodString;
13633
+ installationId: z.ZodNumber;
13634
+ repositoryName: z.ZodString;
13635
+ repository: z.ZodObject<{
13636
+ id: z.ZodNumber;
13637
+ name: z.ZodString;
13638
+ owner: z.ZodString;
13639
+ defaultBranch: z.ZodString;
13640
+ }, z.core.$strip>;
13641
+ sender: z.ZodObject<{
13642
+ login: z.ZodString;
13643
+ email: z.ZodOptional<z.ZodString>;
13644
+ }, z.core.$strip>;
13645
+ pullRequest: z.ZodObject<{
13646
+ id: z.ZodString;
13647
+ number: z.ZodNumber;
13648
+ title: z.ZodString;
13649
+ body: z.ZodOptional<z.ZodString>;
13650
+ state: z.ZodEnum<{
13651
+ open: "open";
13652
+ closed: "closed";
13653
+ }>;
13654
+ merged: z.ZodBoolean;
13655
+ head: z.ZodObject<{
13656
+ ref: z.ZodString;
13657
+ sha: z.ZodString;
13658
+ }, z.core.$strip>;
13659
+ base: z.ZodObject<{
13660
+ ref: z.ZodString;
13661
+ sha: z.ZodString;
13662
+ }, z.core.$strip>;
13663
+ user: z.ZodObject<{
13664
+ login: z.ZodString;
13665
+ email: z.ZodOptional<z.ZodString>;
13666
+ }, z.core.$strip>;
13667
+ author: z.ZodOptional<z.ZodObject<{
13668
+ login: z.ZodString;
13669
+ email: z.ZodOptional<z.ZodString>;
13670
+ }, z.core.$strip>>;
13671
+ url: z.ZodOptional<z.ZodString>;
13672
+ }, z.core.$strip>;
13673
+ branch: z.ZodOptional<z.ZodString>;
13674
+ commits: z.ZodArray<z.ZodObject<{
13675
+ sha: z.ZodString;
13676
+ message: z.ZodOptional<z.ZodString>;
13677
+ name: z.ZodString;
13678
+ fileDiffs: z.ZodArray<z.ZodObject<{
13679
+ filename: z.ZodString;
13680
+ diff: z.ZodString;
13681
+ }, z.core.$strip>>;
13682
+ }, z.core.$strip>>;
13683
+ eventType: z.ZodLiteral<"pull_request.merged">;
13684
+ }, z.core.$strip>>;
13685
+ GithubIssueCommentCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13686
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
13687
+ username: z.ZodString;
13688
+ installationId: z.ZodNumber;
13689
+ repositoryName: z.ZodString;
13690
+ repository: z.ZodObject<{
13691
+ id: z.ZodNumber;
13692
+ name: z.ZodString;
13693
+ owner: z.ZodString;
13694
+ defaultBranch: z.ZodString;
13695
+ }, z.core.$strip>;
13696
+ sender: z.ZodObject<{
13697
+ login: z.ZodString;
13698
+ email: z.ZodOptional<z.ZodString>;
13699
+ }, z.core.$strip>;
13700
+ eventType: z.ZodLiteral<"issue_comment.created">;
13701
+ issue: z.ZodObject<{
13702
+ id: z.ZodNumber;
13703
+ number: z.ZodNumber;
13704
+ title: z.ZodString;
13705
+ body: z.ZodOptional<z.ZodString>;
13706
+ state: z.ZodEnum<{
13707
+ open: "open";
13708
+ closed: "closed";
13709
+ }>;
13710
+ url: z.ZodString;
13711
+ author: z.ZodObject<{
13712
+ login: z.ZodString;
13713
+ email: z.ZodOptional<z.ZodString>;
13714
+ }, z.core.$strip>;
13715
+ isPullRequest: z.ZodBoolean;
13716
+ }, z.core.$strip>;
13717
+ comment: z.ZodObject<{
13718
+ id: z.ZodNumber;
13719
+ body: z.ZodString;
13720
+ author: z.ZodObject<{
13721
+ login: z.ZodString;
13722
+ email: z.ZodOptional<z.ZodString>;
13723
+ }, z.core.$strip>;
13724
+ url: z.ZodString;
13725
+ createdAt: z.ZodString;
13726
+ updatedAt: z.ZodString;
13727
+ }, z.core.$strip>;
13728
+ }, z.core.$strip>>;
13729
+ GithubPRTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
13730
+ GithubTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
13731
+ GmailTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13732
+ integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
13733
+ eventType: z.ZodEnum<{
13734
+ readonly EMAIL_RECEIVED: "email.received";
13735
+ }>;
13736
+ id: z.ZodString;
13737
+ threadId: z.ZodString;
13738
+ subject: z.ZodString;
13739
+ from: z.ZodString;
13740
+ to: z.ZodString;
13741
+ date: z.ZodString;
13742
+ internalDate: z.ZodString;
13743
+ messageId: z.ZodString;
13744
+ body: z.ZodString;
13745
+ snippet: z.ZodString;
13746
+ labelIds: z.ZodArray<z.ZodString>;
13747
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
13748
+ attachmentId: z.ZodString;
13749
+ filename: z.ZodString;
13750
+ mimeType: z.ZodString;
13751
+ contentId: z.ZodOptional<z.ZodString>;
13752
+ isInline: z.ZodBoolean;
13753
+ }, z.core.$strip>>>;
13754
+ }, z.core.$strip>>;
13755
+ LinearIssueCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13756
+ integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
13757
+ actor: z.ZodObject<{
13758
+ id: z.ZodString;
13759
+ name: z.ZodString;
13760
+ email: z.ZodString;
13761
+ url: z.ZodString;
13762
+ type: z.ZodString;
13763
+ }, z.core.$strip>;
13764
+ createdAt: z.ZodString;
13765
+ url: z.ZodOptional<z.ZodString>;
13766
+ organizationId: z.ZodString;
13767
+ webhookTimestamp: z.ZodNumber;
13768
+ webhookId: z.ZodString;
13769
+ eventType: z.ZodLiteral<"issue.created">;
13770
+ action: z.ZodLiteral<"create">;
13771
+ type: z.ZodLiteral<"Issue">;
13772
+ data: z.ZodObject<{
13773
+ id: z.ZodString;
13774
+ createdAt: z.ZodOptional<z.ZodString>;
13775
+ updatedAt: z.ZodOptional<z.ZodString>;
13776
+ number: z.ZodOptional<z.ZodNumber>;
13777
+ title: z.ZodOptional<z.ZodString>;
13778
+ priority: z.ZodOptional<z.ZodNumber>;
13779
+ sortOrder: z.ZodOptional<z.ZodNumber>;
13780
+ prioritySortOrder: z.ZodOptional<z.ZodNumber>;
13781
+ slaType: z.ZodOptional<z.ZodString>;
13782
+ addedToTeamAt: z.ZodOptional<z.ZodString>;
13783
+ trashed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13784
+ labelIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13785
+ teamId: z.ZodOptional<z.ZodString>;
13786
+ previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
13787
+ stateId: z.ZodOptional<z.ZodString>;
13788
+ reactionData: z.ZodOptional<z.ZodArray<z.ZodAny>>;
13789
+ priorityLabel: z.ZodOptional<z.ZodString>;
13790
+ botActor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13791
+ identifier: z.ZodOptional<z.ZodString>;
13792
+ url: z.ZodOptional<z.ZodString>;
13793
+ subscriberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13794
+ state: z.ZodOptional<z.ZodObject<{
13795
+ id: z.ZodString;
13796
+ color: z.ZodString;
13797
+ name: z.ZodString;
13798
+ type: z.ZodString;
13799
+ }, z.core.$strip>>;
13800
+ team: z.ZodOptional<z.ZodObject<{
13801
+ id: z.ZodString;
13802
+ key: z.ZodString;
13803
+ name: z.ZodString;
13804
+ }, z.core.$strip>>;
13805
+ labels: z.ZodOptional<z.ZodArray<z.ZodAny>>;
13806
+ description: z.ZodOptional<z.ZodString>;
13807
+ descriptionData: z.ZodOptional<z.ZodString>;
13808
+ assignee: z.ZodOptional<z.ZodObject<{
13809
+ id: z.ZodString;
13810
+ name: z.ZodString;
13811
+ }, z.core.$strip>>;
13812
+ projectId: z.ZodOptional<z.ZodString>;
13813
+ }, z.core.$loose>;
13814
+ }, z.core.$strip>>;
13815
+ LinearIssueUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13816
+ integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
13817
+ actor: z.ZodObject<{
13818
+ id: z.ZodString;
13819
+ name: z.ZodString;
13820
+ email: z.ZodString;
13821
+ url: z.ZodString;
13822
+ type: z.ZodString;
13823
+ }, z.core.$strip>;
13824
+ createdAt: z.ZodString;
13825
+ url: z.ZodOptional<z.ZodString>;
13826
+ organizationId: z.ZodString;
13827
+ webhookTimestamp: z.ZodNumber;
13828
+ webhookId: z.ZodString;
13829
+ eventType: z.ZodLiteral<"issue.updated">;
13830
+ action: z.ZodLiteral<"update">;
13831
+ type: z.ZodLiteral<"Issue">;
13832
+ data: z.ZodObject<{
13833
+ id: z.ZodString;
13834
+ createdAt: z.ZodOptional<z.ZodString>;
13835
+ updatedAt: z.ZodOptional<z.ZodString>;
13836
+ number: z.ZodOptional<z.ZodNumber>;
13837
+ title: z.ZodOptional<z.ZodString>;
13838
+ priority: z.ZodOptional<z.ZodNumber>;
13839
+ sortOrder: z.ZodOptional<z.ZodNumber>;
13840
+ prioritySortOrder: z.ZodOptional<z.ZodNumber>;
13841
+ slaType: z.ZodOptional<z.ZodString>;
13842
+ addedToTeamAt: z.ZodOptional<z.ZodString>;
13843
+ trashed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13844
+ labelIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13845
+ teamId: z.ZodOptional<z.ZodString>;
13846
+ previousIdentifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
13847
+ stateId: z.ZodOptional<z.ZodString>;
13848
+ reactionData: z.ZodOptional<z.ZodArray<z.ZodAny>>;
13849
+ priorityLabel: z.ZodOptional<z.ZodString>;
13850
+ botActor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13851
+ identifier: z.ZodOptional<z.ZodString>;
13852
+ url: z.ZodOptional<z.ZodString>;
13853
+ subscriberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13854
+ state: z.ZodOptional<z.ZodObject<{
13855
+ id: z.ZodString;
13856
+ color: z.ZodString;
13857
+ name: z.ZodString;
13858
+ type: z.ZodString;
13859
+ }, z.core.$strip>>;
13860
+ team: z.ZodOptional<z.ZodObject<{
13861
+ id: z.ZodString;
13862
+ key: z.ZodString;
13863
+ name: z.ZodString;
13864
+ }, z.core.$strip>>;
13865
+ labels: z.ZodOptional<z.ZodArray<z.ZodAny>>;
13866
+ description: z.ZodOptional<z.ZodString>;
13867
+ descriptionData: z.ZodOptional<z.ZodString>;
13868
+ assignee: z.ZodOptional<z.ZodObject<{
13869
+ id: z.ZodString;
13870
+ name: z.ZodString;
13871
+ }, z.core.$strip>>;
13872
+ projectId: z.ZodOptional<z.ZodString>;
13873
+ }, z.core.$loose>;
13874
+ }, z.core.$strip>>;
13875
+ LinearCommentCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13876
+ integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
13877
+ actor: z.ZodObject<{
13878
+ id: z.ZodString;
13879
+ name: z.ZodString;
13880
+ email: z.ZodString;
13881
+ url: z.ZodString;
13882
+ type: z.ZodString;
13883
+ }, z.core.$strip>;
13884
+ createdAt: z.ZodString;
13885
+ url: z.ZodOptional<z.ZodString>;
13886
+ organizationId: z.ZodString;
13887
+ webhookTimestamp: z.ZodNumber;
13888
+ webhookId: z.ZodString;
13889
+ eventType: z.ZodLiteral<"comment.created">;
13890
+ action: z.ZodLiteral<"create">;
13891
+ type: z.ZodLiteral<"Comment">;
13892
+ data: z.ZodObject<{
13893
+ id: z.ZodString;
13894
+ body: z.ZodOptional<z.ZodString>;
13895
+ issueId: z.ZodOptional<z.ZodString>;
13896
+ }, z.core.$loose>;
13897
+ }, z.core.$strip>>;
13898
+ LinearTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
13899
+ WorkOSUserCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13900
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13901
+ eventId: z.ZodString;
13902
+ createdAt: z.ZodString;
13903
+ eventType: z.ZodLiteral<"user.created">;
13904
+ user: z.ZodObject<{
13905
+ id: z.ZodString;
13906
+ email: z.ZodString;
13907
+ firstName: z.ZodOptional<z.ZodString>;
13908
+ lastName: z.ZodOptional<z.ZodString>;
13909
+ emailVerified: z.ZodBoolean;
13910
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
13911
+ }, z.core.$strip>;
13912
+ }, z.core.$strip>>;
13913
+ WorkOSUserUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13914
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13915
+ eventId: z.ZodString;
13916
+ createdAt: z.ZodString;
13917
+ eventType: z.ZodLiteral<"user.updated">;
13918
+ user: z.ZodObject<{
13919
+ id: z.ZodString;
13920
+ email: z.ZodString;
13921
+ firstName: z.ZodOptional<z.ZodString>;
13922
+ lastName: z.ZodOptional<z.ZodString>;
13923
+ emailVerified: z.ZodBoolean;
13924
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
13925
+ }, z.core.$strip>;
13926
+ }, z.core.$strip>>;
13927
+ WorkOSUserDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13928
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13929
+ eventId: z.ZodString;
13930
+ createdAt: z.ZodString;
13931
+ eventType: z.ZodLiteral<"user.deleted">;
13932
+ user: z.ZodObject<{
13933
+ id: z.ZodString;
13934
+ email: z.ZodString;
13935
+ firstName: z.ZodOptional<z.ZodString>;
13936
+ lastName: z.ZodOptional<z.ZodString>;
13937
+ emailVerified: z.ZodBoolean;
13938
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
13939
+ }, z.core.$strip>;
13940
+ }, z.core.$strip>>;
13941
+ WorkOSUserTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
13942
+ WorkOSOrganizationMembershipCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13943
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13944
+ eventId: z.ZodString;
13945
+ createdAt: z.ZodString;
13946
+ eventType: z.ZodLiteral<"organization_membership.created">;
13947
+ membership: z.ZodObject<{
13948
+ id: z.ZodString;
13949
+ userId: z.ZodString;
13950
+ organizationId: z.ZodString;
13951
+ role: z.ZodObject<{
13952
+ slug: z.ZodString;
13953
+ }, z.core.$strip>;
13954
+ status: z.ZodString;
13955
+ }, z.core.$strip>;
13956
+ }, z.core.$strip>>;
13957
+ WorkOSOrganizationMembershipUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13958
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13959
+ eventId: z.ZodString;
13960
+ createdAt: z.ZodString;
13961
+ eventType: z.ZodLiteral<"organization_membership.updated">;
13962
+ membership: z.ZodObject<{
13963
+ id: z.ZodString;
13964
+ userId: z.ZodString;
13965
+ organizationId: z.ZodString;
13966
+ role: z.ZodObject<{
13967
+ slug: z.ZodString;
13968
+ }, z.core.$strip>;
13969
+ status: z.ZodString;
13970
+ }, z.core.$strip>;
13971
+ }, z.core.$strip>>;
13972
+ WorkOSOrganizationMembershipDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13973
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13974
+ eventId: z.ZodString;
13975
+ createdAt: z.ZodString;
13976
+ eventType: z.ZodLiteral<"organization_membership.deleted">;
13977
+ membership: z.ZodObject<{
13978
+ id: z.ZodString;
13979
+ userId: z.ZodString;
13980
+ organizationId: z.ZodString;
13981
+ role: z.ZodObject<{
13982
+ slug: z.ZodString;
13983
+ }, z.core.$strip>;
13984
+ status: z.ZodString;
13985
+ }, z.core.$strip>;
13986
+ }, z.core.$strip>>;
13987
+ WorkOSMembershipTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
13988
+ WorkOSInvitationCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
13989
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
13990
+ eventId: z.ZodString;
13991
+ createdAt: z.ZodString;
13992
+ eventType: z.ZodLiteral<"invitation.created">;
13993
+ invitation: z.ZodObject<{
13994
+ id: z.ZodString;
13995
+ email: z.ZodString;
13996
+ organizationId: z.ZodString;
13997
+ inviterEmail: z.ZodOptional<z.ZodString>;
13998
+ state: z.ZodString;
13999
+ acceptedAt: z.ZodOptional<z.ZodString>;
14000
+ }, z.core.$strip>;
14001
+ user: z.ZodOptional<z.ZodObject<{
14002
+ id: z.ZodString;
14003
+ email: z.ZodString;
14004
+ firstName: z.ZodOptional<z.ZodString>;
14005
+ lastName: z.ZodOptional<z.ZodString>;
14006
+ emailVerified: z.ZodBoolean;
14007
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
14008
+ }, z.core.$strip>>;
14009
+ }, z.core.$strip>>;
14010
+ WorkOSInvitationAcceptedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14011
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
14012
+ eventId: z.ZodString;
14013
+ createdAt: z.ZodString;
14014
+ eventType: z.ZodLiteral<"invitation.accepted">;
14015
+ invitation: z.ZodObject<{
14016
+ id: z.ZodString;
14017
+ email: z.ZodString;
14018
+ organizationId: z.ZodString;
14019
+ inviterEmail: z.ZodOptional<z.ZodString>;
14020
+ state: z.ZodString;
14021
+ acceptedAt: z.ZodOptional<z.ZodString>;
14022
+ }, z.core.$strip>;
14023
+ user: z.ZodOptional<z.ZodObject<{
14024
+ id: z.ZodString;
14025
+ email: z.ZodString;
14026
+ firstName: z.ZodOptional<z.ZodString>;
14027
+ lastName: z.ZodOptional<z.ZodString>;
14028
+ emailVerified: z.ZodBoolean;
14029
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
14030
+ }, z.core.$strip>>;
14031
+ }, z.core.$strip>>;
14032
+ WorkOSInvitationResentTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14033
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
14034
+ eventId: z.ZodString;
14035
+ createdAt: z.ZodString;
14036
+ eventType: z.ZodLiteral<"invitation.resent">;
14037
+ invitation: z.ZodObject<{
14038
+ id: z.ZodString;
14039
+ email: z.ZodString;
14040
+ organizationId: z.ZodString;
14041
+ inviterEmail: z.ZodOptional<z.ZodString>;
14042
+ state: z.ZodString;
14043
+ acceptedAt: z.ZodOptional<z.ZodString>;
14044
+ }, z.core.$strip>;
14045
+ user: z.ZodOptional<z.ZodObject<{
14046
+ id: z.ZodString;
14047
+ email: z.ZodString;
14048
+ firstName: z.ZodOptional<z.ZodString>;
14049
+ lastName: z.ZodOptional<z.ZodString>;
14050
+ emailVerified: z.ZodBoolean;
14051
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
14052
+ }, z.core.$strip>>;
14053
+ }, z.core.$strip>>;
14054
+ WorkOSInvitationRevokedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14055
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
14056
+ eventId: z.ZodString;
14057
+ createdAt: z.ZodString;
14058
+ eventType: z.ZodLiteral<"invitation.revoked">;
14059
+ invitation: z.ZodObject<{
14060
+ id: z.ZodString;
14061
+ email: z.ZodString;
14062
+ organizationId: z.ZodString;
14063
+ inviterEmail: z.ZodOptional<z.ZodString>;
14064
+ state: z.ZodString;
14065
+ acceptedAt: z.ZodOptional<z.ZodString>;
14066
+ }, z.core.$strip>;
14067
+ user: z.ZodOptional<z.ZodObject<{
14068
+ id: z.ZodString;
14069
+ email: z.ZodString;
14070
+ firstName: z.ZodOptional<z.ZodString>;
14071
+ lastName: z.ZodOptional<z.ZodString>;
14072
+ emailVerified: z.ZodBoolean;
14073
+ profilePictureUrl: z.ZodOptional<z.ZodString>;
14074
+ }, z.core.$strip>>;
14075
+ }, z.core.$strip>>;
14076
+ WorkOSInvitationTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
14077
+ WorkOSOrganizationTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14078
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
14079
+ eventId: z.ZodString;
14080
+ createdAt: z.ZodString;
14081
+ eventType: z.ZodLiteral<"organization.created">;
14082
+ organization: z.ZodObject<{
14083
+ id: z.ZodString;
14084
+ name: z.ZodString;
14085
+ }, z.core.$strip>;
14086
+ }, z.core.$strip>>;
14087
+ WorkOSTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
14088
+ HeyReachConnectionRequestSentTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14089
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14090
+ eventId: z.ZodString;
14091
+ createdAt: z.ZodString;
14092
+ lead: z.ZodOptional<z.ZodObject<{
14093
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14094
+ profile_url: z.ZodOptional<z.ZodString>;
14095
+ first_name: z.ZodOptional<z.ZodString>;
14096
+ last_name: z.ZodOptional<z.ZodString>;
14097
+ full_name: z.ZodOptional<z.ZodString>;
14098
+ location: z.ZodOptional<z.ZodString>;
14099
+ summary: z.ZodOptional<z.ZodString>;
14100
+ company_url: z.ZodOptional<z.ZodString>;
14101
+ company_name: z.ZodOptional<z.ZodString>;
14102
+ position: z.ZodOptional<z.ZodString>;
14103
+ about: z.ZodOptional<z.ZodString>;
14104
+ email_address: z.ZodOptional<z.ZodString>;
14105
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14106
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14107
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14108
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14109
+ }, z.core.$strip>>;
14110
+ campaign: z.ZodOptional<z.ZodObject<{
14111
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14112
+ name: z.ZodOptional<z.ZodString>;
14113
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14114
+ }, z.core.$strip>>;
14115
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14116
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14117
+ first_name: z.ZodOptional<z.ZodString>;
14118
+ last_name: z.ZodOptional<z.ZodString>;
14119
+ full_name: z.ZodOptional<z.ZodString>;
14120
+ email_address: z.ZodOptional<z.ZodString>;
14121
+ profile_url: z.ZodOptional<z.ZodString>;
14122
+ }, z.core.$strip>>;
14123
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14124
+ eventType: z.ZodLiteral<"CONNECTION_REQUEST_SENT">;
14125
+ }, z.core.$strip>>;
14126
+ HeyReachConnectionRequestAcceptedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14127
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14128
+ eventId: z.ZodString;
14129
+ createdAt: z.ZodString;
14130
+ lead: z.ZodOptional<z.ZodObject<{
14131
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14132
+ profile_url: z.ZodOptional<z.ZodString>;
14133
+ first_name: z.ZodOptional<z.ZodString>;
14134
+ last_name: z.ZodOptional<z.ZodString>;
14135
+ full_name: z.ZodOptional<z.ZodString>;
14136
+ location: z.ZodOptional<z.ZodString>;
14137
+ summary: z.ZodOptional<z.ZodString>;
14138
+ company_url: z.ZodOptional<z.ZodString>;
14139
+ company_name: z.ZodOptional<z.ZodString>;
14140
+ position: z.ZodOptional<z.ZodString>;
14141
+ about: z.ZodOptional<z.ZodString>;
14142
+ email_address: z.ZodOptional<z.ZodString>;
14143
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14144
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14145
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14146
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14147
+ }, z.core.$strip>>;
14148
+ campaign: z.ZodOptional<z.ZodObject<{
14149
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14150
+ name: z.ZodOptional<z.ZodString>;
14151
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14152
+ }, z.core.$strip>>;
14153
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14154
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14155
+ first_name: z.ZodOptional<z.ZodString>;
14156
+ last_name: z.ZodOptional<z.ZodString>;
14157
+ full_name: z.ZodOptional<z.ZodString>;
14158
+ email_address: z.ZodOptional<z.ZodString>;
14159
+ profile_url: z.ZodOptional<z.ZodString>;
14160
+ }, z.core.$strip>>;
14161
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14162
+ eventType: z.ZodLiteral<"CONNECTION_REQUEST_ACCEPTED">;
14163
+ }, z.core.$strip>>;
14164
+ HeyReachMessageSentTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14165
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14166
+ eventId: z.ZodString;
14167
+ createdAt: z.ZodString;
14168
+ lead: z.ZodOptional<z.ZodObject<{
14169
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14170
+ profile_url: z.ZodOptional<z.ZodString>;
14171
+ first_name: z.ZodOptional<z.ZodString>;
14172
+ last_name: z.ZodOptional<z.ZodString>;
14173
+ full_name: z.ZodOptional<z.ZodString>;
14174
+ location: z.ZodOptional<z.ZodString>;
14175
+ summary: z.ZodOptional<z.ZodString>;
14176
+ company_url: z.ZodOptional<z.ZodString>;
14177
+ company_name: z.ZodOptional<z.ZodString>;
14178
+ position: z.ZodOptional<z.ZodString>;
14179
+ about: z.ZodOptional<z.ZodString>;
14180
+ email_address: z.ZodOptional<z.ZodString>;
14181
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14182
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14183
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14184
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14185
+ }, z.core.$strip>>;
14186
+ campaign: z.ZodOptional<z.ZodObject<{
14187
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14188
+ name: z.ZodOptional<z.ZodString>;
14189
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14190
+ }, z.core.$strip>>;
14191
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14192
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14193
+ first_name: z.ZodOptional<z.ZodString>;
14194
+ last_name: z.ZodOptional<z.ZodString>;
14195
+ full_name: z.ZodOptional<z.ZodString>;
14196
+ email_address: z.ZodOptional<z.ZodString>;
14197
+ profile_url: z.ZodOptional<z.ZodString>;
14198
+ }, z.core.$strip>>;
14199
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14200
+ eventType: z.ZodLiteral<"MESSAGE_SENT">;
14201
+ messageBody: z.ZodOptional<z.ZodString>;
14202
+ }, z.core.$strip>>;
14203
+ HeyReachMessageReplyReceivedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14204
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14205
+ eventId: z.ZodString;
14206
+ createdAt: z.ZodString;
14207
+ lead: z.ZodOptional<z.ZodObject<{
14208
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14209
+ profile_url: z.ZodOptional<z.ZodString>;
14210
+ first_name: z.ZodOptional<z.ZodString>;
14211
+ last_name: z.ZodOptional<z.ZodString>;
14212
+ full_name: z.ZodOptional<z.ZodString>;
14213
+ location: z.ZodOptional<z.ZodString>;
14214
+ summary: z.ZodOptional<z.ZodString>;
14215
+ company_url: z.ZodOptional<z.ZodString>;
14216
+ company_name: z.ZodOptional<z.ZodString>;
14217
+ position: z.ZodOptional<z.ZodString>;
14218
+ about: z.ZodOptional<z.ZodString>;
14219
+ email_address: z.ZodOptional<z.ZodString>;
14220
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14221
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14222
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14223
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14224
+ }, z.core.$strip>>;
14225
+ campaign: z.ZodOptional<z.ZodObject<{
14226
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14227
+ name: z.ZodOptional<z.ZodString>;
14228
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14229
+ }, z.core.$strip>>;
14230
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14231
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14232
+ first_name: z.ZodOptional<z.ZodString>;
14233
+ last_name: z.ZodOptional<z.ZodString>;
14234
+ full_name: z.ZodOptional<z.ZodString>;
14235
+ email_address: z.ZodOptional<z.ZodString>;
14236
+ profile_url: z.ZodOptional<z.ZodString>;
14237
+ }, z.core.$strip>>;
14238
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14239
+ eventType: z.ZodLiteral<"MESSAGE_REPLY_RECEIVED">;
14240
+ messageBody: z.ZodOptional<z.ZodString>;
14241
+ }, z.core.$strip>>;
14242
+ HeyReachInmailSentTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14243
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14244
+ eventId: z.ZodString;
14245
+ createdAt: z.ZodString;
14246
+ lead: z.ZodOptional<z.ZodObject<{
14247
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14248
+ profile_url: z.ZodOptional<z.ZodString>;
14249
+ first_name: z.ZodOptional<z.ZodString>;
14250
+ last_name: z.ZodOptional<z.ZodString>;
14251
+ full_name: z.ZodOptional<z.ZodString>;
14252
+ location: z.ZodOptional<z.ZodString>;
14253
+ summary: z.ZodOptional<z.ZodString>;
14254
+ company_url: z.ZodOptional<z.ZodString>;
14255
+ company_name: z.ZodOptional<z.ZodString>;
14256
+ position: z.ZodOptional<z.ZodString>;
14257
+ about: z.ZodOptional<z.ZodString>;
14258
+ email_address: z.ZodOptional<z.ZodString>;
14259
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14260
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14261
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14262
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14263
+ }, z.core.$strip>>;
14264
+ campaign: z.ZodOptional<z.ZodObject<{
14265
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14266
+ name: z.ZodOptional<z.ZodString>;
14267
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14268
+ }, z.core.$strip>>;
14269
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14270
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14271
+ first_name: z.ZodOptional<z.ZodString>;
14272
+ last_name: z.ZodOptional<z.ZodString>;
14273
+ full_name: z.ZodOptional<z.ZodString>;
14274
+ email_address: z.ZodOptional<z.ZodString>;
14275
+ profile_url: z.ZodOptional<z.ZodString>;
14276
+ }, z.core.$strip>>;
14277
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14278
+ eventType: z.ZodLiteral<"INMAIL_SENT">;
14279
+ messageBody: z.ZodOptional<z.ZodString>;
14280
+ }, z.core.$strip>>;
14281
+ HeyReachInmailReplyReceivedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14282
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14283
+ eventId: z.ZodString;
14284
+ createdAt: z.ZodString;
14285
+ lead: z.ZodOptional<z.ZodObject<{
14286
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14287
+ profile_url: z.ZodOptional<z.ZodString>;
14288
+ first_name: z.ZodOptional<z.ZodString>;
14289
+ last_name: z.ZodOptional<z.ZodString>;
14290
+ full_name: z.ZodOptional<z.ZodString>;
14291
+ location: z.ZodOptional<z.ZodString>;
14292
+ summary: z.ZodOptional<z.ZodString>;
14293
+ company_url: z.ZodOptional<z.ZodString>;
14294
+ company_name: z.ZodOptional<z.ZodString>;
14295
+ position: z.ZodOptional<z.ZodString>;
14296
+ about: z.ZodOptional<z.ZodString>;
14297
+ email_address: z.ZodOptional<z.ZodString>;
14298
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14299
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14300
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14301
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14302
+ }, z.core.$strip>>;
14303
+ campaign: z.ZodOptional<z.ZodObject<{
14304
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14305
+ name: z.ZodOptional<z.ZodString>;
14306
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14307
+ }, z.core.$strip>>;
14308
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14309
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14310
+ first_name: z.ZodOptional<z.ZodString>;
14311
+ last_name: z.ZodOptional<z.ZodString>;
14312
+ full_name: z.ZodOptional<z.ZodString>;
14313
+ email_address: z.ZodOptional<z.ZodString>;
14314
+ profile_url: z.ZodOptional<z.ZodString>;
14315
+ }, z.core.$strip>>;
14316
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14317
+ eventType: z.ZodLiteral<"INMAIL_REPLY_RECEIVED">;
14318
+ messageBody: z.ZodOptional<z.ZodString>;
14319
+ }, z.core.$strip>>;
14320
+ HeyReachFollowSentTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14321
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14322
+ eventId: z.ZodString;
14323
+ createdAt: z.ZodString;
14324
+ lead: z.ZodOptional<z.ZodObject<{
14325
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14326
+ profile_url: z.ZodOptional<z.ZodString>;
14327
+ first_name: z.ZodOptional<z.ZodString>;
14328
+ last_name: z.ZodOptional<z.ZodString>;
14329
+ full_name: z.ZodOptional<z.ZodString>;
14330
+ location: z.ZodOptional<z.ZodString>;
14331
+ summary: z.ZodOptional<z.ZodString>;
14332
+ company_url: z.ZodOptional<z.ZodString>;
14333
+ company_name: z.ZodOptional<z.ZodString>;
14334
+ position: z.ZodOptional<z.ZodString>;
14335
+ about: z.ZodOptional<z.ZodString>;
14336
+ email_address: z.ZodOptional<z.ZodString>;
14337
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14338
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14339
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14340
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14341
+ }, z.core.$strip>>;
14342
+ campaign: z.ZodOptional<z.ZodObject<{
14343
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14344
+ name: z.ZodOptional<z.ZodString>;
14345
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14346
+ }, z.core.$strip>>;
14347
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14348
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14349
+ first_name: z.ZodOptional<z.ZodString>;
14350
+ last_name: z.ZodOptional<z.ZodString>;
14351
+ full_name: z.ZodOptional<z.ZodString>;
14352
+ email_address: z.ZodOptional<z.ZodString>;
14353
+ profile_url: z.ZodOptional<z.ZodString>;
14354
+ }, z.core.$strip>>;
14355
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14356
+ eventType: z.ZodLiteral<"FOLLOW_SENT">;
14357
+ }, z.core.$strip>>;
14358
+ HeyReachLikedPostTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14359
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14360
+ eventId: z.ZodString;
14361
+ createdAt: z.ZodString;
14362
+ lead: z.ZodOptional<z.ZodObject<{
14363
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14364
+ profile_url: z.ZodOptional<z.ZodString>;
14365
+ first_name: z.ZodOptional<z.ZodString>;
14366
+ last_name: z.ZodOptional<z.ZodString>;
14367
+ full_name: z.ZodOptional<z.ZodString>;
14368
+ location: z.ZodOptional<z.ZodString>;
14369
+ summary: z.ZodOptional<z.ZodString>;
14370
+ company_url: z.ZodOptional<z.ZodString>;
14371
+ company_name: z.ZodOptional<z.ZodString>;
14372
+ position: z.ZodOptional<z.ZodString>;
14373
+ about: z.ZodOptional<z.ZodString>;
14374
+ email_address: z.ZodOptional<z.ZodString>;
14375
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14376
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14377
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14378
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14379
+ }, z.core.$strip>>;
14380
+ campaign: z.ZodOptional<z.ZodObject<{
14381
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14382
+ name: z.ZodOptional<z.ZodString>;
14383
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14384
+ }, z.core.$strip>>;
14385
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14386
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14387
+ first_name: z.ZodOptional<z.ZodString>;
14388
+ last_name: z.ZodOptional<z.ZodString>;
14389
+ full_name: z.ZodOptional<z.ZodString>;
14390
+ email_address: z.ZodOptional<z.ZodString>;
14391
+ profile_url: z.ZodOptional<z.ZodString>;
14392
+ }, z.core.$strip>>;
14393
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14394
+ eventType: z.ZodLiteral<"LIKED_POST">;
14395
+ postUrl: z.ZodOptional<z.ZodString>;
14396
+ }, z.core.$strip>>;
14397
+ HeyReachViewedProfileTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14398
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14399
+ eventId: z.ZodString;
14400
+ createdAt: z.ZodString;
14401
+ lead: z.ZodOptional<z.ZodObject<{
14402
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14403
+ profile_url: z.ZodOptional<z.ZodString>;
14404
+ first_name: z.ZodOptional<z.ZodString>;
14405
+ last_name: z.ZodOptional<z.ZodString>;
14406
+ full_name: z.ZodOptional<z.ZodString>;
14407
+ location: z.ZodOptional<z.ZodString>;
14408
+ summary: z.ZodOptional<z.ZodString>;
14409
+ company_url: z.ZodOptional<z.ZodString>;
14410
+ company_name: z.ZodOptional<z.ZodString>;
14411
+ position: z.ZodOptional<z.ZodString>;
14412
+ about: z.ZodOptional<z.ZodString>;
14413
+ email_address: z.ZodOptional<z.ZodString>;
14414
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14415
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14416
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14417
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14418
+ }, z.core.$strip>>;
14419
+ campaign: z.ZodOptional<z.ZodObject<{
14420
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14421
+ name: z.ZodOptional<z.ZodString>;
14422
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14423
+ }, z.core.$strip>>;
14424
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14425
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14426
+ first_name: z.ZodOptional<z.ZodString>;
14427
+ last_name: z.ZodOptional<z.ZodString>;
14428
+ full_name: z.ZodOptional<z.ZodString>;
14429
+ email_address: z.ZodOptional<z.ZodString>;
14430
+ profile_url: z.ZodOptional<z.ZodString>;
14431
+ }, z.core.$strip>>;
14432
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14433
+ eventType: z.ZodLiteral<"VIEWED_PROFILE">;
14434
+ }, z.core.$strip>>;
14435
+ HeyReachCampaignCompletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14436
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14437
+ eventId: z.ZodString;
14438
+ createdAt: z.ZodString;
14439
+ lead: z.ZodOptional<z.ZodObject<{
14440
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14441
+ profile_url: z.ZodOptional<z.ZodString>;
14442
+ first_name: z.ZodOptional<z.ZodString>;
14443
+ last_name: z.ZodOptional<z.ZodString>;
14444
+ full_name: z.ZodOptional<z.ZodString>;
14445
+ location: z.ZodOptional<z.ZodString>;
14446
+ summary: z.ZodOptional<z.ZodString>;
14447
+ company_url: z.ZodOptional<z.ZodString>;
14448
+ company_name: z.ZodOptional<z.ZodString>;
14449
+ position: z.ZodOptional<z.ZodString>;
14450
+ about: z.ZodOptional<z.ZodString>;
14451
+ email_address: z.ZodOptional<z.ZodString>;
14452
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14453
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14454
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14455
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14456
+ }, z.core.$strip>>;
14457
+ campaign: z.ZodOptional<z.ZodObject<{
14458
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14459
+ name: z.ZodOptional<z.ZodString>;
14460
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14461
+ }, z.core.$strip>>;
14462
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14463
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14464
+ first_name: z.ZodOptional<z.ZodString>;
14465
+ last_name: z.ZodOptional<z.ZodString>;
14466
+ full_name: z.ZodOptional<z.ZodString>;
14467
+ email_address: z.ZodOptional<z.ZodString>;
14468
+ profile_url: z.ZodOptional<z.ZodString>;
14469
+ }, z.core.$strip>>;
14470
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14471
+ eventType: z.ZodLiteral<"CAMPAIGN_COMPLETED">;
14472
+ }, z.core.$strip>>;
14473
+ HeyReachLeadTagUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14474
+ integrationType: z.ZodLiteral<IntegrationType.HEY_REACH>;
14475
+ eventId: z.ZodString;
14476
+ createdAt: z.ZodString;
14477
+ lead: z.ZodOptional<z.ZodObject<{
14478
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14479
+ profile_url: z.ZodOptional<z.ZodString>;
14480
+ first_name: z.ZodOptional<z.ZodString>;
14481
+ last_name: z.ZodOptional<z.ZodString>;
14482
+ full_name: z.ZodOptional<z.ZodString>;
14483
+ location: z.ZodOptional<z.ZodString>;
14484
+ summary: z.ZodOptional<z.ZodString>;
14485
+ company_url: z.ZodOptional<z.ZodString>;
14486
+ company_name: z.ZodOptional<z.ZodString>;
14487
+ position: z.ZodOptional<z.ZodString>;
14488
+ about: z.ZodOptional<z.ZodString>;
14489
+ email_address: z.ZodOptional<z.ZodString>;
14490
+ enriched_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14491
+ custom_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14492
+ tags: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14493
+ lists: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
14494
+ }, z.core.$strip>>;
14495
+ campaign: z.ZodOptional<z.ZodObject<{
14496
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14497
+ name: z.ZodOptional<z.ZodString>;
14498
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
14499
+ }, z.core.$strip>>;
14500
+ linkedInAccount: z.ZodOptional<z.ZodObject<{
14501
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
14502
+ first_name: z.ZodOptional<z.ZodString>;
14503
+ last_name: z.ZodOptional<z.ZodString>;
14504
+ full_name: z.ZodOptional<z.ZodString>;
14505
+ email_address: z.ZodOptional<z.ZodString>;
14506
+ profile_url: z.ZodOptional<z.ZodString>;
14507
+ }, z.core.$strip>>;
14508
+ rawPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14509
+ eventType: z.ZodLiteral<"LEAD_TAG_UPDATED">;
14510
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
14511
+ }, z.core.$strip>>;
14512
+ HeyReachTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
14513
+ AttioCallRecordingCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14514
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14515
+ eventId: z.ZodString;
14516
+ createdAt: z.ZodString;
14517
+ workspaceId: z.ZodString;
14518
+ resourceIds: z.ZodObject<{
14519
+ workspace_id: z.ZodString;
14520
+ object_id: z.ZodOptional<z.ZodString>;
14521
+ record_id: z.ZodOptional<z.ZodString>;
14522
+ list_id: z.ZodOptional<z.ZodString>;
14523
+ entry_id: z.ZodOptional<z.ZodString>;
14524
+ note_id: z.ZodOptional<z.ZodString>;
14525
+ task_id: z.ZodOptional<z.ZodString>;
14526
+ comment_id: z.ZodOptional<z.ZodString>;
14527
+ attribute_id: z.ZodOptional<z.ZodString>;
14528
+ call_recording_id: z.ZodOptional<z.ZodString>;
14529
+ meeting_id: z.ZodOptional<z.ZodString>;
14530
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14531
+ }, z.core.$strip>;
14532
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14533
+ actor: z.ZodObject<{
14534
+ type: z.ZodNullable<z.ZodEnum<{
14535
+ readonly API_TOKEN: "api-token";
14536
+ readonly WORKSPACE_MEMBER: "workspace-member";
14537
+ readonly SYSTEM: "system";
14538
+ readonly APP: "app";
14539
+ }>>;
14540
+ id: z.ZodNullable<z.ZodString>;
14541
+ }, z.core.$strip>;
14542
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14543
+ eventType: z.ZodLiteral<"call-recording.created">;
14544
+ }, z.core.$strip>>;
14545
+ AttioCommentCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14546
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14547
+ eventId: z.ZodString;
14548
+ createdAt: z.ZodString;
14549
+ workspaceId: z.ZodString;
14550
+ resourceIds: z.ZodObject<{
14551
+ workspace_id: z.ZodString;
14552
+ object_id: z.ZodOptional<z.ZodString>;
14553
+ record_id: z.ZodOptional<z.ZodString>;
14554
+ list_id: z.ZodOptional<z.ZodString>;
14555
+ entry_id: z.ZodOptional<z.ZodString>;
14556
+ note_id: z.ZodOptional<z.ZodString>;
14557
+ task_id: z.ZodOptional<z.ZodString>;
14558
+ comment_id: z.ZodOptional<z.ZodString>;
14559
+ attribute_id: z.ZodOptional<z.ZodString>;
14560
+ call_recording_id: z.ZodOptional<z.ZodString>;
14561
+ meeting_id: z.ZodOptional<z.ZodString>;
14562
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14563
+ }, z.core.$strip>;
14564
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14565
+ actor: z.ZodObject<{
14566
+ type: z.ZodNullable<z.ZodEnum<{
14567
+ readonly API_TOKEN: "api-token";
14568
+ readonly WORKSPACE_MEMBER: "workspace-member";
14569
+ readonly SYSTEM: "system";
14570
+ readonly APP: "app";
14571
+ }>>;
14572
+ id: z.ZodNullable<z.ZodString>;
14573
+ }, z.core.$strip>;
14574
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14575
+ eventType: z.ZodLiteral<"comment.created">;
14576
+ }, z.core.$strip>>;
14577
+ AttioCommentResolvedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14578
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14579
+ eventId: z.ZodString;
14580
+ createdAt: z.ZodString;
14581
+ workspaceId: z.ZodString;
14582
+ resourceIds: z.ZodObject<{
14583
+ workspace_id: z.ZodString;
14584
+ object_id: z.ZodOptional<z.ZodString>;
14585
+ record_id: z.ZodOptional<z.ZodString>;
14586
+ list_id: z.ZodOptional<z.ZodString>;
14587
+ entry_id: z.ZodOptional<z.ZodString>;
14588
+ note_id: z.ZodOptional<z.ZodString>;
14589
+ task_id: z.ZodOptional<z.ZodString>;
14590
+ comment_id: z.ZodOptional<z.ZodString>;
14591
+ attribute_id: z.ZodOptional<z.ZodString>;
14592
+ call_recording_id: z.ZodOptional<z.ZodString>;
14593
+ meeting_id: z.ZodOptional<z.ZodString>;
14594
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14595
+ }, z.core.$strip>;
14596
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14597
+ actor: z.ZodObject<{
14598
+ type: z.ZodNullable<z.ZodEnum<{
14599
+ readonly API_TOKEN: "api-token";
14600
+ readonly WORKSPACE_MEMBER: "workspace-member";
14601
+ readonly SYSTEM: "system";
14602
+ readonly APP: "app";
14603
+ }>>;
14604
+ id: z.ZodNullable<z.ZodString>;
14605
+ }, z.core.$strip>;
14606
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14607
+ eventType: z.ZodLiteral<"comment.resolved">;
14608
+ }, z.core.$strip>>;
14609
+ AttioCommentUnresolvedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14610
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14611
+ eventId: z.ZodString;
14612
+ createdAt: z.ZodString;
14613
+ workspaceId: z.ZodString;
14614
+ resourceIds: z.ZodObject<{
14615
+ workspace_id: z.ZodString;
14616
+ object_id: z.ZodOptional<z.ZodString>;
14617
+ record_id: z.ZodOptional<z.ZodString>;
14618
+ list_id: z.ZodOptional<z.ZodString>;
14619
+ entry_id: z.ZodOptional<z.ZodString>;
14620
+ note_id: z.ZodOptional<z.ZodString>;
14621
+ task_id: z.ZodOptional<z.ZodString>;
14622
+ comment_id: z.ZodOptional<z.ZodString>;
14623
+ attribute_id: z.ZodOptional<z.ZodString>;
14624
+ call_recording_id: z.ZodOptional<z.ZodString>;
14625
+ meeting_id: z.ZodOptional<z.ZodString>;
14626
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14627
+ }, z.core.$strip>;
14628
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14629
+ actor: z.ZodObject<{
14630
+ type: z.ZodNullable<z.ZodEnum<{
14631
+ readonly API_TOKEN: "api-token";
14632
+ readonly WORKSPACE_MEMBER: "workspace-member";
14633
+ readonly SYSTEM: "system";
14634
+ readonly APP: "app";
14635
+ }>>;
14636
+ id: z.ZodNullable<z.ZodString>;
14637
+ }, z.core.$strip>;
14638
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14639
+ eventType: z.ZodLiteral<"comment.unresolved">;
14640
+ }, z.core.$strip>>;
14641
+ AttioCommentDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14642
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14643
+ eventId: z.ZodString;
14644
+ createdAt: z.ZodString;
14645
+ workspaceId: z.ZodString;
14646
+ resourceIds: z.ZodObject<{
14647
+ workspace_id: z.ZodString;
14648
+ object_id: z.ZodOptional<z.ZodString>;
14649
+ record_id: z.ZodOptional<z.ZodString>;
14650
+ list_id: z.ZodOptional<z.ZodString>;
14651
+ entry_id: z.ZodOptional<z.ZodString>;
14652
+ note_id: z.ZodOptional<z.ZodString>;
14653
+ task_id: z.ZodOptional<z.ZodString>;
14654
+ comment_id: z.ZodOptional<z.ZodString>;
14655
+ attribute_id: z.ZodOptional<z.ZodString>;
14656
+ call_recording_id: z.ZodOptional<z.ZodString>;
14657
+ meeting_id: z.ZodOptional<z.ZodString>;
14658
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14659
+ }, z.core.$strip>;
14660
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14661
+ actor: z.ZodObject<{
14662
+ type: z.ZodNullable<z.ZodEnum<{
14663
+ readonly API_TOKEN: "api-token";
14664
+ readonly WORKSPACE_MEMBER: "workspace-member";
14665
+ readonly SYSTEM: "system";
14666
+ readonly APP: "app";
14667
+ }>>;
14668
+ id: z.ZodNullable<z.ZodString>;
14669
+ }, z.core.$strip>;
14670
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14671
+ eventType: z.ZodLiteral<"comment.deleted">;
14672
+ }, z.core.$strip>>;
14673
+ AttioListCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14674
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14675
+ eventId: z.ZodString;
14676
+ createdAt: z.ZodString;
14677
+ workspaceId: z.ZodString;
14678
+ resourceIds: z.ZodObject<{
14679
+ workspace_id: z.ZodString;
14680
+ object_id: z.ZodOptional<z.ZodString>;
14681
+ record_id: z.ZodOptional<z.ZodString>;
14682
+ list_id: z.ZodOptional<z.ZodString>;
14683
+ entry_id: z.ZodOptional<z.ZodString>;
14684
+ note_id: z.ZodOptional<z.ZodString>;
14685
+ task_id: z.ZodOptional<z.ZodString>;
14686
+ comment_id: z.ZodOptional<z.ZodString>;
14687
+ attribute_id: z.ZodOptional<z.ZodString>;
14688
+ call_recording_id: z.ZodOptional<z.ZodString>;
14689
+ meeting_id: z.ZodOptional<z.ZodString>;
14690
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14691
+ }, z.core.$strip>;
14692
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14693
+ actor: z.ZodObject<{
14694
+ type: z.ZodNullable<z.ZodEnum<{
14695
+ readonly API_TOKEN: "api-token";
14696
+ readonly WORKSPACE_MEMBER: "workspace-member";
14697
+ readonly SYSTEM: "system";
14698
+ readonly APP: "app";
14699
+ }>>;
14700
+ id: z.ZodNullable<z.ZodString>;
14701
+ }, z.core.$strip>;
14702
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14703
+ eventType: z.ZodLiteral<"list.created">;
14704
+ }, z.core.$strip>>;
14705
+ AttioListUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14706
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14707
+ eventId: z.ZodString;
14708
+ createdAt: z.ZodString;
14709
+ workspaceId: z.ZodString;
14710
+ resourceIds: z.ZodObject<{
14711
+ workspace_id: z.ZodString;
14712
+ object_id: z.ZodOptional<z.ZodString>;
14713
+ record_id: z.ZodOptional<z.ZodString>;
14714
+ list_id: z.ZodOptional<z.ZodString>;
14715
+ entry_id: z.ZodOptional<z.ZodString>;
14716
+ note_id: z.ZodOptional<z.ZodString>;
14717
+ task_id: z.ZodOptional<z.ZodString>;
14718
+ comment_id: z.ZodOptional<z.ZodString>;
14719
+ attribute_id: z.ZodOptional<z.ZodString>;
14720
+ call_recording_id: z.ZodOptional<z.ZodString>;
14721
+ meeting_id: z.ZodOptional<z.ZodString>;
14722
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14723
+ }, z.core.$strip>;
14724
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14725
+ actor: z.ZodObject<{
14726
+ type: z.ZodNullable<z.ZodEnum<{
14727
+ readonly API_TOKEN: "api-token";
14728
+ readonly WORKSPACE_MEMBER: "workspace-member";
14729
+ readonly SYSTEM: "system";
14730
+ readonly APP: "app";
14731
+ }>>;
14732
+ id: z.ZodNullable<z.ZodString>;
14733
+ }, z.core.$strip>;
14734
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14735
+ eventType: z.ZodLiteral<"list.updated">;
14736
+ }, z.core.$strip>>;
14737
+ AttioListDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14738
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14739
+ eventId: z.ZodString;
14740
+ createdAt: z.ZodString;
14741
+ workspaceId: z.ZodString;
14742
+ resourceIds: z.ZodObject<{
14743
+ workspace_id: z.ZodString;
14744
+ object_id: z.ZodOptional<z.ZodString>;
14745
+ record_id: z.ZodOptional<z.ZodString>;
14746
+ list_id: z.ZodOptional<z.ZodString>;
14747
+ entry_id: z.ZodOptional<z.ZodString>;
14748
+ note_id: z.ZodOptional<z.ZodString>;
14749
+ task_id: z.ZodOptional<z.ZodString>;
14750
+ comment_id: z.ZodOptional<z.ZodString>;
14751
+ attribute_id: z.ZodOptional<z.ZodString>;
14752
+ call_recording_id: z.ZodOptional<z.ZodString>;
14753
+ meeting_id: z.ZodOptional<z.ZodString>;
14754
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14755
+ }, z.core.$strip>;
14756
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14757
+ actor: z.ZodObject<{
14758
+ type: z.ZodNullable<z.ZodEnum<{
14759
+ readonly API_TOKEN: "api-token";
14760
+ readonly WORKSPACE_MEMBER: "workspace-member";
14761
+ readonly SYSTEM: "system";
14762
+ readonly APP: "app";
14763
+ }>>;
14764
+ id: z.ZodNullable<z.ZodString>;
14765
+ }, z.core.$strip>;
14766
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14767
+ eventType: z.ZodLiteral<"list.deleted">;
14768
+ }, z.core.$strip>>;
14769
+ AttioListAttributeCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14770
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14771
+ eventId: z.ZodString;
14772
+ createdAt: z.ZodString;
14773
+ workspaceId: z.ZodString;
14774
+ resourceIds: z.ZodObject<{
14775
+ workspace_id: z.ZodString;
14776
+ object_id: z.ZodOptional<z.ZodString>;
14777
+ record_id: z.ZodOptional<z.ZodString>;
14778
+ list_id: z.ZodOptional<z.ZodString>;
14779
+ entry_id: z.ZodOptional<z.ZodString>;
14780
+ note_id: z.ZodOptional<z.ZodString>;
14781
+ task_id: z.ZodOptional<z.ZodString>;
14782
+ comment_id: z.ZodOptional<z.ZodString>;
14783
+ attribute_id: z.ZodOptional<z.ZodString>;
14784
+ call_recording_id: z.ZodOptional<z.ZodString>;
14785
+ meeting_id: z.ZodOptional<z.ZodString>;
14786
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14787
+ }, z.core.$strip>;
14788
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14789
+ actor: z.ZodObject<{
14790
+ type: z.ZodNullable<z.ZodEnum<{
14791
+ readonly API_TOKEN: "api-token";
14792
+ readonly WORKSPACE_MEMBER: "workspace-member";
14793
+ readonly SYSTEM: "system";
14794
+ readonly APP: "app";
14795
+ }>>;
14796
+ id: z.ZodNullable<z.ZodString>;
14797
+ }, z.core.$strip>;
14798
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14799
+ eventType: z.ZodLiteral<"list-attribute.created">;
14800
+ }, z.core.$strip>>;
14801
+ AttioListAttributeUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14802
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14803
+ eventId: z.ZodString;
14804
+ createdAt: z.ZodString;
14805
+ workspaceId: z.ZodString;
14806
+ resourceIds: z.ZodObject<{
14807
+ workspace_id: z.ZodString;
14808
+ object_id: z.ZodOptional<z.ZodString>;
14809
+ record_id: z.ZodOptional<z.ZodString>;
14810
+ list_id: z.ZodOptional<z.ZodString>;
14811
+ entry_id: z.ZodOptional<z.ZodString>;
14812
+ note_id: z.ZodOptional<z.ZodString>;
14813
+ task_id: z.ZodOptional<z.ZodString>;
14814
+ comment_id: z.ZodOptional<z.ZodString>;
14815
+ attribute_id: z.ZodOptional<z.ZodString>;
14816
+ call_recording_id: z.ZodOptional<z.ZodString>;
14817
+ meeting_id: z.ZodOptional<z.ZodString>;
14818
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14819
+ }, z.core.$strip>;
14820
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14821
+ actor: z.ZodObject<{
14822
+ type: z.ZodNullable<z.ZodEnum<{
14823
+ readonly API_TOKEN: "api-token";
14824
+ readonly WORKSPACE_MEMBER: "workspace-member";
14825
+ readonly SYSTEM: "system";
14826
+ readonly APP: "app";
14827
+ }>>;
14828
+ id: z.ZodNullable<z.ZodString>;
14829
+ }, z.core.$strip>;
14830
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14831
+ eventType: z.ZodLiteral<"list-attribute.updated">;
14832
+ }, z.core.$strip>>;
14833
+ AttioListEntryCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14834
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14835
+ eventId: z.ZodString;
14836
+ createdAt: z.ZodString;
14837
+ workspaceId: z.ZodString;
14838
+ resourceIds: z.ZodObject<{
14839
+ workspace_id: z.ZodString;
14840
+ object_id: z.ZodOptional<z.ZodString>;
14841
+ record_id: z.ZodOptional<z.ZodString>;
14842
+ list_id: z.ZodOptional<z.ZodString>;
14843
+ entry_id: z.ZodOptional<z.ZodString>;
14844
+ note_id: z.ZodOptional<z.ZodString>;
14845
+ task_id: z.ZodOptional<z.ZodString>;
14846
+ comment_id: z.ZodOptional<z.ZodString>;
14847
+ attribute_id: z.ZodOptional<z.ZodString>;
14848
+ call_recording_id: z.ZodOptional<z.ZodString>;
14849
+ meeting_id: z.ZodOptional<z.ZodString>;
14850
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14851
+ }, z.core.$strip>;
14852
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14853
+ actor: z.ZodObject<{
14854
+ type: z.ZodNullable<z.ZodEnum<{
14855
+ readonly API_TOKEN: "api-token";
14856
+ readonly WORKSPACE_MEMBER: "workspace-member";
14857
+ readonly SYSTEM: "system";
14858
+ readonly APP: "app";
14859
+ }>>;
14860
+ id: z.ZodNullable<z.ZodString>;
14861
+ }, z.core.$strip>;
14862
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14863
+ eventType: z.ZodLiteral<"list-entry.created">;
14864
+ }, z.core.$strip>>;
14865
+ AttioListEntryUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14866
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14867
+ eventId: z.ZodString;
14868
+ createdAt: z.ZodString;
14869
+ workspaceId: z.ZodString;
14870
+ resourceIds: z.ZodObject<{
14871
+ workspace_id: z.ZodString;
14872
+ object_id: z.ZodOptional<z.ZodString>;
14873
+ record_id: z.ZodOptional<z.ZodString>;
14874
+ list_id: z.ZodOptional<z.ZodString>;
14875
+ entry_id: z.ZodOptional<z.ZodString>;
14876
+ note_id: z.ZodOptional<z.ZodString>;
14877
+ task_id: z.ZodOptional<z.ZodString>;
14878
+ comment_id: z.ZodOptional<z.ZodString>;
14879
+ attribute_id: z.ZodOptional<z.ZodString>;
14880
+ call_recording_id: z.ZodOptional<z.ZodString>;
14881
+ meeting_id: z.ZodOptional<z.ZodString>;
14882
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14883
+ }, z.core.$strip>;
14884
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14885
+ actor: z.ZodObject<{
14886
+ type: z.ZodNullable<z.ZodEnum<{
14887
+ readonly API_TOKEN: "api-token";
14888
+ readonly WORKSPACE_MEMBER: "workspace-member";
14889
+ readonly SYSTEM: "system";
14890
+ readonly APP: "app";
14891
+ }>>;
14892
+ id: z.ZodNullable<z.ZodString>;
14893
+ }, z.core.$strip>;
14894
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14895
+ eventType: z.ZodLiteral<"list-entry.updated">;
14896
+ }, z.core.$strip>>;
14897
+ AttioListEntryDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14898
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14899
+ eventId: z.ZodString;
14900
+ createdAt: z.ZodString;
14901
+ workspaceId: z.ZodString;
14902
+ resourceIds: z.ZodObject<{
14903
+ workspace_id: z.ZodString;
14904
+ object_id: z.ZodOptional<z.ZodString>;
14905
+ record_id: z.ZodOptional<z.ZodString>;
14906
+ list_id: z.ZodOptional<z.ZodString>;
14907
+ entry_id: z.ZodOptional<z.ZodString>;
14908
+ note_id: z.ZodOptional<z.ZodString>;
14909
+ task_id: z.ZodOptional<z.ZodString>;
14910
+ comment_id: z.ZodOptional<z.ZodString>;
14911
+ attribute_id: z.ZodOptional<z.ZodString>;
14912
+ call_recording_id: z.ZodOptional<z.ZodString>;
14913
+ meeting_id: z.ZodOptional<z.ZodString>;
14914
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14915
+ }, z.core.$strip>;
14916
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14917
+ actor: z.ZodObject<{
14918
+ type: z.ZodNullable<z.ZodEnum<{
14919
+ readonly API_TOKEN: "api-token";
14920
+ readonly WORKSPACE_MEMBER: "workspace-member";
14921
+ readonly SYSTEM: "system";
14922
+ readonly APP: "app";
14923
+ }>>;
14924
+ id: z.ZodNullable<z.ZodString>;
14925
+ }, z.core.$strip>;
14926
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14927
+ eventType: z.ZodLiteral<"list-entry.deleted">;
14928
+ }, z.core.$strip>>;
14929
+ AttioObjectAttributeCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14930
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14931
+ eventId: z.ZodString;
14932
+ createdAt: z.ZodString;
14933
+ workspaceId: z.ZodString;
14934
+ resourceIds: z.ZodObject<{
14935
+ workspace_id: z.ZodString;
14936
+ object_id: z.ZodOptional<z.ZodString>;
14937
+ record_id: z.ZodOptional<z.ZodString>;
14938
+ list_id: z.ZodOptional<z.ZodString>;
14939
+ entry_id: z.ZodOptional<z.ZodString>;
14940
+ note_id: z.ZodOptional<z.ZodString>;
14941
+ task_id: z.ZodOptional<z.ZodString>;
14942
+ comment_id: z.ZodOptional<z.ZodString>;
14943
+ attribute_id: z.ZodOptional<z.ZodString>;
14944
+ call_recording_id: z.ZodOptional<z.ZodString>;
14945
+ meeting_id: z.ZodOptional<z.ZodString>;
14946
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14947
+ }, z.core.$strip>;
14948
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14949
+ actor: z.ZodObject<{
14950
+ type: z.ZodNullable<z.ZodEnum<{
14951
+ readonly API_TOKEN: "api-token";
14952
+ readonly WORKSPACE_MEMBER: "workspace-member";
14953
+ readonly SYSTEM: "system";
14954
+ readonly APP: "app";
14955
+ }>>;
14956
+ id: z.ZodNullable<z.ZodString>;
14957
+ }, z.core.$strip>;
14958
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14959
+ eventType: z.ZodLiteral<"object-attribute.created">;
14960
+ }, z.core.$strip>>;
14961
+ AttioObjectAttributeUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14962
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14963
+ eventId: z.ZodString;
14964
+ createdAt: z.ZodString;
14965
+ workspaceId: z.ZodString;
14966
+ resourceIds: z.ZodObject<{
14967
+ workspace_id: z.ZodString;
14968
+ object_id: z.ZodOptional<z.ZodString>;
14969
+ record_id: z.ZodOptional<z.ZodString>;
14970
+ list_id: z.ZodOptional<z.ZodString>;
14971
+ entry_id: z.ZodOptional<z.ZodString>;
14972
+ note_id: z.ZodOptional<z.ZodString>;
14973
+ task_id: z.ZodOptional<z.ZodString>;
14974
+ comment_id: z.ZodOptional<z.ZodString>;
14975
+ attribute_id: z.ZodOptional<z.ZodString>;
14976
+ call_recording_id: z.ZodOptional<z.ZodString>;
14977
+ meeting_id: z.ZodOptional<z.ZodString>;
14978
+ workspace_member_id: z.ZodOptional<z.ZodString>;
14979
+ }, z.core.$strip>;
14980
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14981
+ actor: z.ZodObject<{
14982
+ type: z.ZodNullable<z.ZodEnum<{
14983
+ readonly API_TOKEN: "api-token";
14984
+ readonly WORKSPACE_MEMBER: "workspace-member";
14985
+ readonly SYSTEM: "system";
14986
+ readonly APP: "app";
14987
+ }>>;
14988
+ id: z.ZodNullable<z.ZodString>;
14989
+ }, z.core.$strip>;
14990
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14991
+ eventType: z.ZodLiteral<"object-attribute.updated">;
14992
+ }, z.core.$strip>>;
14993
+ AttioNoteCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
14994
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
14995
+ eventId: z.ZodString;
14996
+ createdAt: z.ZodString;
14997
+ workspaceId: z.ZodString;
14998
+ resourceIds: z.ZodObject<{
14999
+ workspace_id: z.ZodString;
15000
+ object_id: z.ZodOptional<z.ZodString>;
15001
+ record_id: z.ZodOptional<z.ZodString>;
15002
+ list_id: z.ZodOptional<z.ZodString>;
15003
+ entry_id: z.ZodOptional<z.ZodString>;
15004
+ note_id: z.ZodOptional<z.ZodString>;
15005
+ task_id: z.ZodOptional<z.ZodString>;
15006
+ comment_id: z.ZodOptional<z.ZodString>;
15007
+ attribute_id: z.ZodOptional<z.ZodString>;
15008
+ call_recording_id: z.ZodOptional<z.ZodString>;
15009
+ meeting_id: z.ZodOptional<z.ZodString>;
15010
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15011
+ }, z.core.$strip>;
15012
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15013
+ actor: z.ZodObject<{
15014
+ type: z.ZodNullable<z.ZodEnum<{
15015
+ readonly API_TOKEN: "api-token";
15016
+ readonly WORKSPACE_MEMBER: "workspace-member";
15017
+ readonly SYSTEM: "system";
15018
+ readonly APP: "app";
15019
+ }>>;
15020
+ id: z.ZodNullable<z.ZodString>;
15021
+ }, z.core.$strip>;
15022
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15023
+ eventType: z.ZodLiteral<"note.created">;
15024
+ }, z.core.$strip>>;
15025
+ AttioNoteContentUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15026
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15027
+ eventId: z.ZodString;
15028
+ createdAt: z.ZodString;
15029
+ workspaceId: z.ZodString;
15030
+ resourceIds: z.ZodObject<{
15031
+ workspace_id: z.ZodString;
15032
+ object_id: z.ZodOptional<z.ZodString>;
15033
+ record_id: z.ZodOptional<z.ZodString>;
15034
+ list_id: z.ZodOptional<z.ZodString>;
15035
+ entry_id: z.ZodOptional<z.ZodString>;
15036
+ note_id: z.ZodOptional<z.ZodString>;
15037
+ task_id: z.ZodOptional<z.ZodString>;
15038
+ comment_id: z.ZodOptional<z.ZodString>;
15039
+ attribute_id: z.ZodOptional<z.ZodString>;
15040
+ call_recording_id: z.ZodOptional<z.ZodString>;
15041
+ meeting_id: z.ZodOptional<z.ZodString>;
15042
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15043
+ }, z.core.$strip>;
15044
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15045
+ actor: z.ZodObject<{
15046
+ type: z.ZodNullable<z.ZodEnum<{
15047
+ readonly API_TOKEN: "api-token";
15048
+ readonly WORKSPACE_MEMBER: "workspace-member";
15049
+ readonly SYSTEM: "system";
15050
+ readonly APP: "app";
15051
+ }>>;
15052
+ id: z.ZodNullable<z.ZodString>;
15053
+ }, z.core.$strip>;
15054
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15055
+ eventType: z.ZodLiteral<"note-content.updated">;
15056
+ }, z.core.$strip>>;
15057
+ AttioNoteUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15058
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15059
+ eventId: z.ZodString;
15060
+ createdAt: z.ZodString;
15061
+ workspaceId: z.ZodString;
15062
+ resourceIds: z.ZodObject<{
15063
+ workspace_id: z.ZodString;
15064
+ object_id: z.ZodOptional<z.ZodString>;
15065
+ record_id: z.ZodOptional<z.ZodString>;
15066
+ list_id: z.ZodOptional<z.ZodString>;
15067
+ entry_id: z.ZodOptional<z.ZodString>;
15068
+ note_id: z.ZodOptional<z.ZodString>;
15069
+ task_id: z.ZodOptional<z.ZodString>;
15070
+ comment_id: z.ZodOptional<z.ZodString>;
15071
+ attribute_id: z.ZodOptional<z.ZodString>;
15072
+ call_recording_id: z.ZodOptional<z.ZodString>;
15073
+ meeting_id: z.ZodOptional<z.ZodString>;
15074
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15075
+ }, z.core.$strip>;
15076
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15077
+ actor: z.ZodObject<{
15078
+ type: z.ZodNullable<z.ZodEnum<{
15079
+ readonly API_TOKEN: "api-token";
15080
+ readonly WORKSPACE_MEMBER: "workspace-member";
15081
+ readonly SYSTEM: "system";
15082
+ readonly APP: "app";
15083
+ }>>;
15084
+ id: z.ZodNullable<z.ZodString>;
15085
+ }, z.core.$strip>;
15086
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15087
+ eventType: z.ZodLiteral<"note.updated">;
15088
+ }, z.core.$strip>>;
15089
+ AttioNoteDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15090
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15091
+ eventId: z.ZodString;
15092
+ createdAt: z.ZodString;
15093
+ workspaceId: z.ZodString;
15094
+ resourceIds: z.ZodObject<{
15095
+ workspace_id: z.ZodString;
15096
+ object_id: z.ZodOptional<z.ZodString>;
15097
+ record_id: z.ZodOptional<z.ZodString>;
15098
+ list_id: z.ZodOptional<z.ZodString>;
15099
+ entry_id: z.ZodOptional<z.ZodString>;
15100
+ note_id: z.ZodOptional<z.ZodString>;
15101
+ task_id: z.ZodOptional<z.ZodString>;
15102
+ comment_id: z.ZodOptional<z.ZodString>;
15103
+ attribute_id: z.ZodOptional<z.ZodString>;
15104
+ call_recording_id: z.ZodOptional<z.ZodString>;
15105
+ meeting_id: z.ZodOptional<z.ZodString>;
15106
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15107
+ }, z.core.$strip>;
15108
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15109
+ actor: z.ZodObject<{
15110
+ type: z.ZodNullable<z.ZodEnum<{
15111
+ readonly API_TOKEN: "api-token";
15112
+ readonly WORKSPACE_MEMBER: "workspace-member";
15113
+ readonly SYSTEM: "system";
15114
+ readonly APP: "app";
15115
+ }>>;
15116
+ id: z.ZodNullable<z.ZodString>;
15117
+ }, z.core.$strip>;
15118
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15119
+ eventType: z.ZodLiteral<"note.deleted">;
15120
+ }, z.core.$strip>>;
15121
+ AttioRecordCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15122
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15123
+ eventId: z.ZodString;
15124
+ createdAt: z.ZodString;
15125
+ workspaceId: z.ZodString;
15126
+ resourceIds: z.ZodObject<{
15127
+ workspace_id: z.ZodString;
15128
+ object_id: z.ZodOptional<z.ZodString>;
15129
+ record_id: z.ZodOptional<z.ZodString>;
15130
+ list_id: z.ZodOptional<z.ZodString>;
15131
+ entry_id: z.ZodOptional<z.ZodString>;
15132
+ note_id: z.ZodOptional<z.ZodString>;
15133
+ task_id: z.ZodOptional<z.ZodString>;
15134
+ comment_id: z.ZodOptional<z.ZodString>;
15135
+ attribute_id: z.ZodOptional<z.ZodString>;
15136
+ call_recording_id: z.ZodOptional<z.ZodString>;
15137
+ meeting_id: z.ZodOptional<z.ZodString>;
15138
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15139
+ }, z.core.$strip>;
15140
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15141
+ actor: z.ZodObject<{
15142
+ type: z.ZodNullable<z.ZodEnum<{
15143
+ readonly API_TOKEN: "api-token";
15144
+ readonly WORKSPACE_MEMBER: "workspace-member";
15145
+ readonly SYSTEM: "system";
15146
+ readonly APP: "app";
15147
+ }>>;
15148
+ id: z.ZodNullable<z.ZodString>;
15149
+ }, z.core.$strip>;
15150
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15151
+ eventType: z.ZodLiteral<"record.created">;
15152
+ record: z.ZodObject<{
15153
+ id: z.ZodObject<{
15154
+ workspace_id: z.ZodString;
15155
+ object_id: z.ZodString;
15156
+ record_id: z.ZodString;
15157
+ }, z.core.$strip>;
15158
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15159
+ web_url: z.ZodOptional<z.ZodString>;
15160
+ created_at: z.ZodOptional<z.ZodString>;
15161
+ }, z.core.$strip>;
15162
+ }, z.core.$strip>>;
15163
+ AttioRecordMergedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15164
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15165
+ eventId: z.ZodString;
15166
+ createdAt: z.ZodString;
15167
+ workspaceId: z.ZodString;
15168
+ resourceIds: z.ZodObject<{
15169
+ workspace_id: z.ZodString;
15170
+ object_id: z.ZodOptional<z.ZodString>;
15171
+ record_id: z.ZodOptional<z.ZodString>;
15172
+ list_id: z.ZodOptional<z.ZodString>;
15173
+ entry_id: z.ZodOptional<z.ZodString>;
15174
+ note_id: z.ZodOptional<z.ZodString>;
15175
+ task_id: z.ZodOptional<z.ZodString>;
15176
+ comment_id: z.ZodOptional<z.ZodString>;
15177
+ attribute_id: z.ZodOptional<z.ZodString>;
15178
+ call_recording_id: z.ZodOptional<z.ZodString>;
15179
+ meeting_id: z.ZodOptional<z.ZodString>;
15180
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15181
+ }, z.core.$strip>;
15182
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15183
+ actor: z.ZodObject<{
15184
+ type: z.ZodNullable<z.ZodEnum<{
15185
+ readonly API_TOKEN: "api-token";
15186
+ readonly WORKSPACE_MEMBER: "workspace-member";
15187
+ readonly SYSTEM: "system";
15188
+ readonly APP: "app";
15189
+ }>>;
15190
+ id: z.ZodNullable<z.ZodString>;
15191
+ }, z.core.$strip>;
15192
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15193
+ eventType: z.ZodLiteral<"record.merged">;
15194
+ record: z.ZodObject<{
15195
+ id: z.ZodObject<{
15196
+ workspace_id: z.ZodString;
15197
+ object_id: z.ZodString;
15198
+ record_id: z.ZodString;
15199
+ }, z.core.$strip>;
15200
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15201
+ web_url: z.ZodOptional<z.ZodString>;
15202
+ created_at: z.ZodOptional<z.ZodString>;
15203
+ }, z.core.$strip>;
15204
+ }, z.core.$strip>>;
15205
+ AttioRecordUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15206
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15207
+ eventId: z.ZodString;
15208
+ createdAt: z.ZodString;
15209
+ workspaceId: z.ZodString;
15210
+ resourceIds: z.ZodObject<{
15211
+ workspace_id: z.ZodString;
15212
+ object_id: z.ZodOptional<z.ZodString>;
15213
+ record_id: z.ZodOptional<z.ZodString>;
15214
+ list_id: z.ZodOptional<z.ZodString>;
15215
+ entry_id: z.ZodOptional<z.ZodString>;
15216
+ note_id: z.ZodOptional<z.ZodString>;
15217
+ task_id: z.ZodOptional<z.ZodString>;
15218
+ comment_id: z.ZodOptional<z.ZodString>;
15219
+ attribute_id: z.ZodOptional<z.ZodString>;
15220
+ call_recording_id: z.ZodOptional<z.ZodString>;
15221
+ meeting_id: z.ZodOptional<z.ZodString>;
15222
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15223
+ }, z.core.$strip>;
15224
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15225
+ actor: z.ZodObject<{
15226
+ type: z.ZodNullable<z.ZodEnum<{
15227
+ readonly API_TOKEN: "api-token";
15228
+ readonly WORKSPACE_MEMBER: "workspace-member";
15229
+ readonly SYSTEM: "system";
15230
+ readonly APP: "app";
15231
+ }>>;
15232
+ id: z.ZodNullable<z.ZodString>;
15233
+ }, z.core.$strip>;
15234
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15235
+ eventType: z.ZodLiteral<"record.updated">;
15236
+ record: z.ZodObject<{
15237
+ id: z.ZodObject<{
15238
+ workspace_id: z.ZodString;
15239
+ object_id: z.ZodString;
15240
+ record_id: z.ZodString;
15241
+ }, z.core.$strip>;
15242
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15243
+ web_url: z.ZodOptional<z.ZodString>;
15244
+ created_at: z.ZodOptional<z.ZodString>;
15245
+ }, z.core.$strip>;
15246
+ }, z.core.$strip>>;
15247
+ AttioRecordDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15248
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15249
+ eventId: z.ZodString;
15250
+ createdAt: z.ZodString;
15251
+ workspaceId: z.ZodString;
15252
+ resourceIds: z.ZodObject<{
15253
+ workspace_id: z.ZodString;
15254
+ object_id: z.ZodOptional<z.ZodString>;
15255
+ record_id: z.ZodOptional<z.ZodString>;
15256
+ list_id: z.ZodOptional<z.ZodString>;
15257
+ entry_id: z.ZodOptional<z.ZodString>;
15258
+ note_id: z.ZodOptional<z.ZodString>;
15259
+ task_id: z.ZodOptional<z.ZodString>;
15260
+ comment_id: z.ZodOptional<z.ZodString>;
15261
+ attribute_id: z.ZodOptional<z.ZodString>;
15262
+ call_recording_id: z.ZodOptional<z.ZodString>;
15263
+ meeting_id: z.ZodOptional<z.ZodString>;
15264
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15265
+ }, z.core.$strip>;
15266
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15267
+ actor: z.ZodObject<{
15268
+ type: z.ZodNullable<z.ZodEnum<{
15269
+ readonly API_TOKEN: "api-token";
15270
+ readonly WORKSPACE_MEMBER: "workspace-member";
15271
+ readonly SYSTEM: "system";
15272
+ readonly APP: "app";
15273
+ }>>;
15274
+ id: z.ZodNullable<z.ZodString>;
15275
+ }, z.core.$strip>;
15276
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15277
+ eventType: z.ZodLiteral<"record.deleted">;
15278
+ }, z.core.$strip>>;
15279
+ AttioTaskCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15280
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15281
+ eventId: z.ZodString;
15282
+ createdAt: z.ZodString;
15283
+ workspaceId: z.ZodString;
15284
+ resourceIds: z.ZodObject<{
15285
+ workspace_id: z.ZodString;
15286
+ object_id: z.ZodOptional<z.ZodString>;
15287
+ record_id: z.ZodOptional<z.ZodString>;
15288
+ list_id: z.ZodOptional<z.ZodString>;
15289
+ entry_id: z.ZodOptional<z.ZodString>;
15290
+ note_id: z.ZodOptional<z.ZodString>;
15291
+ task_id: z.ZodOptional<z.ZodString>;
15292
+ comment_id: z.ZodOptional<z.ZodString>;
15293
+ attribute_id: z.ZodOptional<z.ZodString>;
15294
+ call_recording_id: z.ZodOptional<z.ZodString>;
15295
+ meeting_id: z.ZodOptional<z.ZodString>;
15296
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15297
+ }, z.core.$strip>;
15298
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15299
+ actor: z.ZodObject<{
15300
+ type: z.ZodNullable<z.ZodEnum<{
15301
+ readonly API_TOKEN: "api-token";
15302
+ readonly WORKSPACE_MEMBER: "workspace-member";
15303
+ readonly SYSTEM: "system";
15304
+ readonly APP: "app";
15305
+ }>>;
15306
+ id: z.ZodNullable<z.ZodString>;
15307
+ }, z.core.$strip>;
15308
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15309
+ eventType: z.ZodLiteral<"task.created">;
15310
+ }, z.core.$strip>>;
15311
+ AttioTaskUpdatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15312
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15313
+ eventId: z.ZodString;
15314
+ createdAt: z.ZodString;
15315
+ workspaceId: z.ZodString;
15316
+ resourceIds: z.ZodObject<{
15317
+ workspace_id: z.ZodString;
15318
+ object_id: z.ZodOptional<z.ZodString>;
15319
+ record_id: z.ZodOptional<z.ZodString>;
15320
+ list_id: z.ZodOptional<z.ZodString>;
15321
+ entry_id: z.ZodOptional<z.ZodString>;
15322
+ note_id: z.ZodOptional<z.ZodString>;
15323
+ task_id: z.ZodOptional<z.ZodString>;
15324
+ comment_id: z.ZodOptional<z.ZodString>;
15325
+ attribute_id: z.ZodOptional<z.ZodString>;
15326
+ call_recording_id: z.ZodOptional<z.ZodString>;
15327
+ meeting_id: z.ZodOptional<z.ZodString>;
15328
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15329
+ }, z.core.$strip>;
15330
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15331
+ actor: z.ZodObject<{
15332
+ type: z.ZodNullable<z.ZodEnum<{
15333
+ readonly API_TOKEN: "api-token";
15334
+ readonly WORKSPACE_MEMBER: "workspace-member";
15335
+ readonly SYSTEM: "system";
15336
+ readonly APP: "app";
15337
+ }>>;
15338
+ id: z.ZodNullable<z.ZodString>;
15339
+ }, z.core.$strip>;
15340
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15341
+ eventType: z.ZodLiteral<"task.updated">;
15342
+ }, z.core.$strip>>;
15343
+ AttioTaskDeletedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15344
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15345
+ eventId: z.ZodString;
15346
+ createdAt: z.ZodString;
15347
+ workspaceId: z.ZodString;
15348
+ resourceIds: z.ZodObject<{
15349
+ workspace_id: z.ZodString;
15350
+ object_id: z.ZodOptional<z.ZodString>;
15351
+ record_id: z.ZodOptional<z.ZodString>;
15352
+ list_id: z.ZodOptional<z.ZodString>;
15353
+ entry_id: z.ZodOptional<z.ZodString>;
15354
+ note_id: z.ZodOptional<z.ZodString>;
15355
+ task_id: z.ZodOptional<z.ZodString>;
15356
+ comment_id: z.ZodOptional<z.ZodString>;
15357
+ attribute_id: z.ZodOptional<z.ZodString>;
15358
+ call_recording_id: z.ZodOptional<z.ZodString>;
15359
+ meeting_id: z.ZodOptional<z.ZodString>;
15360
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15361
+ }, z.core.$strip>;
15362
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15363
+ actor: z.ZodObject<{
15364
+ type: z.ZodNullable<z.ZodEnum<{
15365
+ readonly API_TOKEN: "api-token";
15366
+ readonly WORKSPACE_MEMBER: "workspace-member";
15367
+ readonly SYSTEM: "system";
15368
+ readonly APP: "app";
15369
+ }>>;
15370
+ id: z.ZodNullable<z.ZodString>;
15371
+ }, z.core.$strip>;
15372
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15373
+ eventType: z.ZodLiteral<"task.deleted">;
15374
+ }, z.core.$strip>>;
15375
+ AttioWorkspaceMemberCreatedTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15376
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
15377
+ eventId: z.ZodString;
15378
+ createdAt: z.ZodString;
15379
+ workspaceId: z.ZodString;
15380
+ resourceIds: z.ZodObject<{
15381
+ workspace_id: z.ZodString;
15382
+ object_id: z.ZodOptional<z.ZodString>;
15383
+ record_id: z.ZodOptional<z.ZodString>;
15384
+ list_id: z.ZodOptional<z.ZodString>;
15385
+ entry_id: z.ZodOptional<z.ZodString>;
15386
+ note_id: z.ZodOptional<z.ZodString>;
15387
+ task_id: z.ZodOptional<z.ZodString>;
15388
+ comment_id: z.ZodOptional<z.ZodString>;
15389
+ attribute_id: z.ZodOptional<z.ZodString>;
15390
+ call_recording_id: z.ZodOptional<z.ZodString>;
15391
+ meeting_id: z.ZodOptional<z.ZodString>;
15392
+ workspace_member_id: z.ZodOptional<z.ZodString>;
15393
+ }, z.core.$strip>;
15394
+ objectSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15395
+ actor: z.ZodObject<{
15396
+ type: z.ZodNullable<z.ZodEnum<{
15397
+ readonly API_TOKEN: "api-token";
15398
+ readonly WORKSPACE_MEMBER: "workspace-member";
15399
+ readonly SYSTEM: "system";
15400
+ readonly APP: "app";
15401
+ }>>;
15402
+ id: z.ZodNullable<z.ZodString>;
15403
+ }, z.core.$strip>;
15404
+ rawEvent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15405
+ eventType: z.ZodLiteral<"workspace-member.created">;
15406
+ }, z.core.$strip>>;
15407
+ AttioTrigger: import("./TriggerDefinition.js").UnionTriggerDefinition;
15408
+ CronTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15409
+ integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
15410
+ eventType: z.ZodLiteral<"cron">;
15411
+ inputId: z.ZodString;
15412
+ isManualTrigger: z.ZodOptional<z.ZodBoolean>;
15413
+ manualContext: z.ZodOptional<z.ZodString>;
15414
+ }, z.core.$strip>>;
15415
+ WebhookTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15416
+ integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
15417
+ eventType: z.ZodLiteral<"webhook">;
15418
+ body: z.ZodUnknown;
15419
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
15420
+ method: z.ZodString;
15421
+ }, z.core.$strip>>;
15422
+ WebMonitorTrigger: ConcreteTriggerDefinition<z.ZodObject<{
15423
+ integrationType: z.ZodLiteral<IntegrationType.WEBMONITOR>;
15424
+ eventType: z.ZodLiteral<"webmonitor">;
15425
+ inputId: z.ZodString;
15426
+ query: z.ZodString;
15427
+ frequency: z.ZodObject<{
15428
+ number: z.ZodNumber;
15429
+ unit: z.ZodEnum<{
15430
+ hour: "hour";
15431
+ day: "day";
15432
+ week: "week";
15433
+ }>;
15434
+ }, z.core.$strip>;
15435
+ monitorId: z.ZodString;
15436
+ eventGroupId: z.ZodString;
15437
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
15438
+ outputType: z.ZodEnum<{
15439
+ json: "json";
15440
+ text: "text";
15441
+ }>;
15442
+ rawPayload: z.ZodOptional<z.ZodString>;
15443
+ payload: z.ZodUnknown;
15444
+ eventDate: z.ZodString;
15445
+ sourceUrls: z.ZodArray<z.ZodString>;
15446
+ }, z.core.$strip>>;
15447
+ };
15448
+ export declare function isTriggerDefinitionName(name: string): name is TriggerDefinitionName;
15449
+ export declare class DuplicateTriggerDefinitionError extends Error {
15450
+ constructor(key: string);
15451
+ }
15452
+ export declare class TriggerPresenterNotFoundError extends Error {
15453
+ constructor(integrationType: string, eventType: string);
15454
+ }
15455
+ export type TriggerDefinitionName = keyof typeof TriggerDefinitions;
13375
15456
  export {};