@trigger.dev/linear 0.0.0-buffer-import-20231031135043 → 0.0.0-canary-20231106175914

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +2813 -353
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -15180,6 +15180,114 @@ declare class Linear implements TriggerIntegration {
15180
15180
  };
15181
15181
  url?: string | null | undefined;
15182
15182
  organizationId?: string | null | undefined;
15183
+ }, {
15184
+ createdAt: Date;
15185
+ type: "Attachment";
15186
+ data: {
15187
+ createdAt: Date;
15188
+ groupBySource: boolean;
15189
+ id: string;
15190
+ metadata: {} & {
15191
+ [k: string]: unknown;
15192
+ };
15193
+ source: ({
15194
+ type?: string | null | undefined;
15195
+ imageUrl?: string | null | undefined;
15196
+ } & {
15197
+ [k: string]: unknown;
15198
+ }) | null;
15199
+ title: string;
15200
+ updatedAt: Date;
15201
+ url: string;
15202
+ issueId: string;
15203
+ archivedAt?: Date | null | undefined;
15204
+ creatorId?: string | null | undefined;
15205
+ sourceType?: string | null | undefined;
15206
+ subtitle?: string | null | undefined;
15207
+ };
15208
+ action: "create";
15209
+ webhookId: string;
15210
+ webhookTimestamp: Date;
15211
+ url?: string | null | undefined;
15212
+ organizationId?: string | null | undefined;
15213
+ } | {
15214
+ createdAt: Date;
15215
+ type: "Attachment";
15216
+ data: {
15217
+ createdAt: Date;
15218
+ groupBySource: boolean;
15219
+ id: string;
15220
+ metadata: {} & {
15221
+ [k: string]: unknown;
15222
+ };
15223
+ source: ({
15224
+ type?: string | null | undefined;
15225
+ imageUrl?: string | null | undefined;
15226
+ } & {
15227
+ [k: string]: unknown;
15228
+ }) | null;
15229
+ title: string;
15230
+ updatedAt: Date;
15231
+ url: string;
15232
+ issueId: string;
15233
+ archivedAt?: Date | null | undefined;
15234
+ creatorId?: string | null | undefined;
15235
+ sourceType?: string | null | undefined;
15236
+ subtitle?: string | null | undefined;
15237
+ };
15238
+ action: "remove";
15239
+ webhookId: string;
15240
+ webhookTimestamp: Date;
15241
+ url?: string | null | undefined;
15242
+ organizationId?: string | null | undefined;
15243
+ } | {
15244
+ createdAt: Date;
15245
+ type: "Attachment";
15246
+ data: {
15247
+ createdAt: Date;
15248
+ groupBySource: boolean;
15249
+ id: string;
15250
+ metadata: {} & {
15251
+ [k: string]: unknown;
15252
+ };
15253
+ source: ({
15254
+ type?: string | null | undefined;
15255
+ imageUrl?: string | null | undefined;
15256
+ } & {
15257
+ [k: string]: unknown;
15258
+ }) | null;
15259
+ title: string;
15260
+ updatedAt: Date;
15261
+ url: string;
15262
+ issueId: string;
15263
+ archivedAt?: Date | null | undefined;
15264
+ creatorId?: string | null | undefined;
15265
+ sourceType?: string | null | undefined;
15266
+ subtitle?: string | null | undefined;
15267
+ };
15268
+ action: "update";
15269
+ webhookId: string;
15270
+ webhookTimestamp: Date;
15271
+ updatedFrom: {
15272
+ archivedAt?: Date | null | undefined;
15273
+ createdAt?: Date | undefined;
15274
+ creatorId?: string | null | undefined;
15275
+ groupBySource?: boolean | undefined;
15276
+ id?: string | undefined;
15277
+ issueId?: string | undefined;
15278
+ metadata?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | undefined;
15279
+ source?: zod.objectOutputType<{
15280
+ type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
15281
+ imageUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
15282
+ }, zod.ZodTypeAny, "passthrough"> | null | undefined;
15283
+ sourceType?: string | null | undefined;
15284
+ subtitle?: string | null | undefined;
15285
+ title?: string | undefined;
15286
+ updatedAt?: Date | undefined;
15287
+ url?: string | undefined;
15288
+ };
15289
+ url?: string | null | undefined;
15290
+ organizationId?: string | null | undefined;
15183
15291
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15184
15292
  /** **WARNING:** Still in alpha - use with caution! */
15185
15293
  onAttachmentCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
@@ -15212,6 +15320,36 @@ declare class Linear implements TriggerIntegration {
15212
15320
  webhookTimestamp: Date;
15213
15321
  url?: string | null | undefined;
15214
15322
  organizationId?: string | null | undefined;
15323
+ }, {
15324
+ createdAt: Date;
15325
+ type: "Attachment";
15326
+ data: {
15327
+ createdAt: Date;
15328
+ groupBySource: boolean;
15329
+ id: string;
15330
+ metadata: {} & {
15331
+ [k: string]: unknown;
15332
+ };
15333
+ source: ({
15334
+ type?: string | null | undefined;
15335
+ imageUrl?: string | null | undefined;
15336
+ } & {
15337
+ [k: string]: unknown;
15338
+ }) | null;
15339
+ title: string;
15340
+ updatedAt: Date;
15341
+ url: string;
15342
+ issueId: string;
15343
+ archivedAt?: Date | null | undefined;
15344
+ creatorId?: string | null | undefined;
15345
+ sourceType?: string | null | undefined;
15346
+ subtitle?: string | null | undefined;
15347
+ };
15348
+ action: "create";
15349
+ webhookId: string;
15350
+ webhookTimestamp: Date;
15351
+ url?: string | null | undefined;
15352
+ organizationId?: string | null | undefined;
15215
15353
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15216
15354
  /** **WARNING:** Still in alpha - use with caution! */
15217
15355
  onAttachmentRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
@@ -15244,6 +15382,36 @@ declare class Linear implements TriggerIntegration {
15244
15382
  webhookTimestamp: Date;
15245
15383
  url?: string | null | undefined;
15246
15384
  organizationId?: string | null | undefined;
15385
+ }, {
15386
+ createdAt: Date;
15387
+ type: "Attachment";
15388
+ data: {
15389
+ createdAt: Date;
15390
+ groupBySource: boolean;
15391
+ id: string;
15392
+ metadata: {} & {
15393
+ [k: string]: unknown;
15394
+ };
15395
+ source: ({
15396
+ type?: string | null | undefined;
15397
+ imageUrl?: string | null | undefined;
15398
+ } & {
15399
+ [k: string]: unknown;
15400
+ }) | null;
15401
+ title: string;
15402
+ updatedAt: Date;
15403
+ url: string;
15404
+ issueId: string;
15405
+ archivedAt?: Date | null | undefined;
15406
+ creatorId?: string | null | undefined;
15407
+ sourceType?: string | null | undefined;
15408
+ subtitle?: string | null | undefined;
15409
+ };
15410
+ action: "remove";
15411
+ webhookId: string;
15412
+ webhookTimestamp: Date;
15413
+ url?: string | null | undefined;
15414
+ organizationId?: string | null | undefined;
15247
15415
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15248
15416
  /** **WARNING:** Still in alpha - use with caution! */
15249
15417
  onAttachmentUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
@@ -15294,6 +15462,54 @@ declare class Linear implements TriggerIntegration {
15294
15462
  };
15295
15463
  url?: string | null | undefined;
15296
15464
  organizationId?: string | null | undefined;
15465
+ }, {
15466
+ createdAt: Date;
15467
+ type: "Attachment";
15468
+ data: {
15469
+ createdAt: Date;
15470
+ groupBySource: boolean;
15471
+ id: string;
15472
+ metadata: {} & {
15473
+ [k: string]: unknown;
15474
+ };
15475
+ source: ({
15476
+ type?: string | null | undefined;
15477
+ imageUrl?: string | null | undefined;
15478
+ } & {
15479
+ [k: string]: unknown;
15480
+ }) | null;
15481
+ title: string;
15482
+ updatedAt: Date;
15483
+ url: string;
15484
+ issueId: string;
15485
+ archivedAt?: Date | null | undefined;
15486
+ creatorId?: string | null | undefined;
15487
+ sourceType?: string | null | undefined;
15488
+ subtitle?: string | null | undefined;
15489
+ };
15490
+ action: "update";
15491
+ webhookId: string;
15492
+ webhookTimestamp: Date;
15493
+ updatedFrom: {
15494
+ archivedAt?: Date | null | undefined;
15495
+ createdAt?: Date | undefined;
15496
+ creatorId?: string | null | undefined;
15497
+ groupBySource?: boolean | undefined;
15498
+ id?: string | undefined;
15499
+ issueId?: string | undefined;
15500
+ metadata?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | undefined;
15501
+ source?: zod.objectOutputType<{
15502
+ type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
15503
+ imageUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
15504
+ }, zod.ZodTypeAny, "passthrough"> | null | undefined;
15505
+ sourceType?: string | null | undefined;
15506
+ subtitle?: string | null | undefined;
15507
+ title?: string | undefined;
15508
+ updatedAt?: Date | undefined;
15509
+ url?: string | undefined;
15510
+ };
15511
+ url?: string | null | undefined;
15512
+ organizationId?: string | null | undefined;
15297
15513
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15298
15514
  onComment(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15299
15515
  createdAt: Date;
@@ -15387,8 +15603,7 @@ declare class Linear implements TriggerIntegration {
15387
15603
  };
15388
15604
  url?: string | null | undefined;
15389
15605
  organizationId?: string | null | undefined;
15390
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15391
- onCommentCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15606
+ }, {
15392
15607
  createdAt: Date;
15393
15608
  type: "Comment";
15394
15609
  data: {
@@ -15413,8 +15628,7 @@ declare class Linear implements TriggerIntegration {
15413
15628
  webhookTimestamp: Date;
15414
15629
  url?: string | null | undefined;
15415
15630
  organizationId?: string | null | undefined;
15416
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15417
- onCommentRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15631
+ } | {
15418
15632
  createdAt: Date;
15419
15633
  type: "Comment";
15420
15634
  data: {
@@ -15439,8 +15653,7 @@ declare class Linear implements TriggerIntegration {
15439
15653
  webhookTimestamp: Date;
15440
15654
  url?: string | null | undefined;
15441
15655
  organizationId?: string | null | undefined;
15442
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15443
- onCommentUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15656
+ } | {
15444
15657
  createdAt: Date;
15445
15658
  type: "Comment";
15446
15659
  data: {
@@ -15483,36 +15696,223 @@ declare class Linear implements TriggerIntegration {
15483
15696
  url?: string | null | undefined;
15484
15697
  organizationId?: string | null | undefined;
15485
15698
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15486
- onCycle(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15699
+ onCommentCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15487
15700
  createdAt: Date;
15488
- type: "Cycle";
15701
+ type: "Comment";
15489
15702
  data: {
15490
- number: number;
15491
15703
  createdAt: Date;
15492
15704
  id: string;
15493
15705
  updatedAt: Date;
15494
- completedIssueCountHistory: number[];
15495
- completedScopeHistory: number[];
15496
- endsAt: Date;
15497
- inProgressScopeHistory: number[];
15498
- issueCountHistory: number[];
15499
- scopeHistory: number[];
15500
- startsAt: Date;
15501
- teamId: string;
15502
- uncompletedIssuesUponCloseIds: string[];
15706
+ issue: {
15707
+ id: string;
15708
+ title: string;
15709
+ };
15710
+ issueId: string;
15711
+ body: string;
15712
+ reactionData: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[];
15503
15713
  archivedAt?: Date | null | undefined;
15504
- autoArchivedAt?: Date | null | undefined;
15505
- completedAt?: Date | null | undefined;
15506
- description?: string | null | undefined;
15507
- name?: string | null | undefined;
15508
- progress?: number | null | undefined;
15714
+ botActorId?: string | null | undefined;
15715
+ editedAt?: string | null | undefined;
15716
+ parentId?: string | null | undefined;
15717
+ userId?: string | null | undefined;
15509
15718
  };
15510
15719
  action: "create";
15511
15720
  webhookId: string;
15512
15721
  webhookTimestamp: Date;
15513
15722
  url?: string | null | undefined;
15514
15723
  organizationId?: string | null | undefined;
15515
- } | {
15724
+ }, {
15725
+ createdAt: Date;
15726
+ type: "Comment";
15727
+ data: {
15728
+ createdAt: Date;
15729
+ id: string;
15730
+ updatedAt: Date;
15731
+ issue: {
15732
+ id: string;
15733
+ title: string;
15734
+ };
15735
+ issueId: string;
15736
+ body: string;
15737
+ reactionData: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[];
15738
+ archivedAt?: Date | null | undefined;
15739
+ botActorId?: string | null | undefined;
15740
+ editedAt?: string | null | undefined;
15741
+ parentId?: string | null | undefined;
15742
+ userId?: string | null | undefined;
15743
+ };
15744
+ action: "create";
15745
+ webhookId: string;
15746
+ webhookTimestamp: Date;
15747
+ url?: string | null | undefined;
15748
+ organizationId?: string | null | undefined;
15749
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15750
+ onCommentRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15751
+ createdAt: Date;
15752
+ type: "Comment";
15753
+ data: {
15754
+ createdAt: Date;
15755
+ id: string;
15756
+ updatedAt: Date;
15757
+ issue: {
15758
+ id: string;
15759
+ title: string;
15760
+ };
15761
+ issueId: string;
15762
+ body: string;
15763
+ reactionData: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[];
15764
+ archivedAt?: Date | null | undefined;
15765
+ botActorId?: string | null | undefined;
15766
+ editedAt?: string | null | undefined;
15767
+ parentId?: string | null | undefined;
15768
+ userId?: string | null | undefined;
15769
+ };
15770
+ action: "remove";
15771
+ webhookId: string;
15772
+ webhookTimestamp: Date;
15773
+ url?: string | null | undefined;
15774
+ organizationId?: string | null | undefined;
15775
+ }, {
15776
+ createdAt: Date;
15777
+ type: "Comment";
15778
+ data: {
15779
+ createdAt: Date;
15780
+ id: string;
15781
+ updatedAt: Date;
15782
+ issue: {
15783
+ id: string;
15784
+ title: string;
15785
+ };
15786
+ issueId: string;
15787
+ body: string;
15788
+ reactionData: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[];
15789
+ archivedAt?: Date | null | undefined;
15790
+ botActorId?: string | null | undefined;
15791
+ editedAt?: string | null | undefined;
15792
+ parentId?: string | null | undefined;
15793
+ userId?: string | null | undefined;
15794
+ };
15795
+ action: "remove";
15796
+ webhookId: string;
15797
+ webhookTimestamp: Date;
15798
+ url?: string | null | undefined;
15799
+ organizationId?: string | null | undefined;
15800
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15801
+ onCommentUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15802
+ createdAt: Date;
15803
+ type: "Comment";
15804
+ data: {
15805
+ createdAt: Date;
15806
+ id: string;
15807
+ updatedAt: Date;
15808
+ issue: {
15809
+ id: string;
15810
+ title: string;
15811
+ };
15812
+ issueId: string;
15813
+ body: string;
15814
+ reactionData: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[];
15815
+ archivedAt?: Date | null | undefined;
15816
+ botActorId?: string | null | undefined;
15817
+ editedAt?: string | null | undefined;
15818
+ parentId?: string | null | undefined;
15819
+ userId?: string | null | undefined;
15820
+ };
15821
+ action: "update";
15822
+ webhookId: string;
15823
+ webhookTimestamp: Date;
15824
+ updatedFrom: {
15825
+ archivedAt?: Date | null | undefined;
15826
+ body?: string | undefined;
15827
+ botActorId?: string | null | undefined;
15828
+ createdAt?: Date | undefined;
15829
+ editedAt?: string | null | undefined;
15830
+ id?: string | undefined;
15831
+ issue?: {
15832
+ id: string;
15833
+ title: string;
15834
+ } | undefined;
15835
+ issueId?: string | undefined;
15836
+ parentId?: string | null | undefined;
15837
+ reactionData?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[] | undefined;
15838
+ updatedAt?: Date | undefined;
15839
+ userId?: string | null | undefined;
15840
+ };
15841
+ url?: string | null | undefined;
15842
+ organizationId?: string | null | undefined;
15843
+ }, {
15844
+ createdAt: Date;
15845
+ type: "Comment";
15846
+ data: {
15847
+ createdAt: Date;
15848
+ id: string;
15849
+ updatedAt: Date;
15850
+ issue: {
15851
+ id: string;
15852
+ title: string;
15853
+ };
15854
+ issueId: string;
15855
+ body: string;
15856
+ reactionData: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[];
15857
+ archivedAt?: Date | null | undefined;
15858
+ botActorId?: string | null | undefined;
15859
+ editedAt?: string | null | undefined;
15860
+ parentId?: string | null | undefined;
15861
+ userId?: string | null | undefined;
15862
+ };
15863
+ action: "update";
15864
+ webhookId: string;
15865
+ webhookTimestamp: Date;
15866
+ updatedFrom: {
15867
+ archivedAt?: Date | null | undefined;
15868
+ body?: string | undefined;
15869
+ botActorId?: string | null | undefined;
15870
+ createdAt?: Date | undefined;
15871
+ editedAt?: string | null | undefined;
15872
+ id?: string | undefined;
15873
+ issue?: {
15874
+ id: string;
15875
+ title: string;
15876
+ } | undefined;
15877
+ issueId?: string | undefined;
15878
+ parentId?: string | null | undefined;
15879
+ reactionData?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[] | undefined;
15880
+ updatedAt?: Date | undefined;
15881
+ userId?: string | null | undefined;
15882
+ };
15883
+ url?: string | null | undefined;
15884
+ organizationId?: string | null | undefined;
15885
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15886
+ onCycle(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15887
+ createdAt: Date;
15888
+ type: "Cycle";
15889
+ data: {
15890
+ number: number;
15891
+ createdAt: Date;
15892
+ id: string;
15893
+ updatedAt: Date;
15894
+ completedIssueCountHistory: number[];
15895
+ completedScopeHistory: number[];
15896
+ endsAt: Date;
15897
+ inProgressScopeHistory: number[];
15898
+ issueCountHistory: number[];
15899
+ scopeHistory: number[];
15900
+ startsAt: Date;
15901
+ teamId: string;
15902
+ uncompletedIssuesUponCloseIds: string[];
15903
+ archivedAt?: Date | null | undefined;
15904
+ autoArchivedAt?: Date | null | undefined;
15905
+ completedAt?: Date | null | undefined;
15906
+ description?: string | null | undefined;
15907
+ name?: string | null | undefined;
15908
+ progress?: number | null | undefined;
15909
+ };
15910
+ action: "create";
15911
+ webhookId: string;
15912
+ webhookTimestamp: Date;
15913
+ url?: string | null | undefined;
15914
+ organizationId?: string | null | undefined;
15915
+ } | {
15516
15916
  createdAt: Date;
15517
15917
  type: "Cycle";
15518
15918
  data: {
@@ -15591,8 +15991,7 @@ declare class Linear implements TriggerIntegration {
15591
15991
  };
15592
15992
  url?: string | null | undefined;
15593
15993
  organizationId?: string | null | undefined;
15594
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15595
- onCycleCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15994
+ }, {
15596
15995
  createdAt: Date;
15597
15996
  type: "Cycle";
15598
15997
  data: {
@@ -15621,8 +16020,7 @@ declare class Linear implements TriggerIntegration {
15621
16020
  webhookTimestamp: Date;
15622
16021
  url?: string | null | undefined;
15623
16022
  organizationId?: string | null | undefined;
15624
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15625
- onCycleRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16023
+ } | {
15626
16024
  createdAt: Date;
15627
16025
  type: "Cycle";
15628
16026
  data: {
@@ -15651,8 +16049,7 @@ declare class Linear implements TriggerIntegration {
15651
16049
  webhookTimestamp: Date;
15652
16050
  url?: string | null | undefined;
15653
16051
  organizationId?: string | null | undefined;
15654
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15655
- onCycleUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16052
+ } | {
15656
16053
  createdAt: Date;
15657
16054
  type: "Cycle";
15658
16055
  data: {
@@ -15703,62 +16100,281 @@ declare class Linear implements TriggerIntegration {
15703
16100
  url?: string | null | undefined;
15704
16101
  organizationId?: string | null | undefined;
15705
16102
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15706
- onIssue(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16103
+ onCycleCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
15707
16104
  createdAt: Date;
15708
- type: "Issue";
16105
+ type: "Cycle";
15709
16106
  data: {
15710
16107
  number: number;
15711
16108
  createdAt: Date;
15712
16109
  id: string;
15713
- title: string;
15714
16110
  updatedAt: Date;
15715
- team: {
15716
- id: string;
15717
- name: string;
15718
- key: string;
15719
- };
16111
+ completedIssueCountHistory: number[];
16112
+ completedScopeHistory: number[];
16113
+ endsAt: Date;
16114
+ inProgressScopeHistory: number[];
16115
+ issueCountHistory: number[];
16116
+ scopeHistory: number[];
16117
+ startsAt: Date;
15720
16118
  teamId: string;
15721
- sortOrder: number;
15722
- boardOrder: number;
15723
- previousIdentifiers: string[];
15724
- priority: number;
15725
- priorityLabel: string;
15726
- state: {
15727
- id: string;
15728
- name: string;
15729
- color: string;
15730
- type: string;
15731
- };
15732
- labels: {
15733
- id: string;
15734
- name: string;
15735
- color: string;
15736
- }[];
15737
- labelIds: string[];
15738
- stateId: string;
15739
- subscriberIds: string[];
16119
+ uncompletedIssuesUponCloseIds: string[];
15740
16120
  archivedAt?: Date | null | undefined;
15741
- assignee?: {
15742
- id: string;
15743
- name: string;
15744
- } | null | undefined;
15745
- assigneeId?: string | null | undefined;
15746
16121
  autoArchivedAt?: Date | null | undefined;
15747
- autoClosedAt?: Date | null | undefined;
15748
- canceledAt?: Date | null | undefined;
15749
16122
  completedAt?: Date | null | undefined;
15750
- creatorId?: string | null | undefined;
15751
- cycleId?: string | null | undefined;
15752
16123
  description?: string | null | undefined;
15753
- dueDate?: Date | null | undefined;
15754
- estimate?: number | null | undefined;
15755
- favoriteId?: string | null | undefined;
15756
- parentId?: string | null | undefined;
15757
- projectId?: string | null | undefined;
15758
- startedAt?: Date | null | undefined;
15759
- subIssueSortOrder?: number | null | undefined;
15760
- trashed?: boolean | null | undefined;
15761
- triagedAt?: Date | null | undefined;
16124
+ name?: string | null | undefined;
16125
+ progress?: number | null | undefined;
16126
+ };
16127
+ action: "create";
16128
+ webhookId: string;
16129
+ webhookTimestamp: Date;
16130
+ url?: string | null | undefined;
16131
+ organizationId?: string | null | undefined;
16132
+ }, {
16133
+ createdAt: Date;
16134
+ type: "Cycle";
16135
+ data: {
16136
+ number: number;
16137
+ createdAt: Date;
16138
+ id: string;
16139
+ updatedAt: Date;
16140
+ completedIssueCountHistory: number[];
16141
+ completedScopeHistory: number[];
16142
+ endsAt: Date;
16143
+ inProgressScopeHistory: number[];
16144
+ issueCountHistory: number[];
16145
+ scopeHistory: number[];
16146
+ startsAt: Date;
16147
+ teamId: string;
16148
+ uncompletedIssuesUponCloseIds: string[];
16149
+ archivedAt?: Date | null | undefined;
16150
+ autoArchivedAt?: Date | null | undefined;
16151
+ completedAt?: Date | null | undefined;
16152
+ description?: string | null | undefined;
16153
+ name?: string | null | undefined;
16154
+ progress?: number | null | undefined;
16155
+ };
16156
+ action: "create";
16157
+ webhookId: string;
16158
+ webhookTimestamp: Date;
16159
+ url?: string | null | undefined;
16160
+ organizationId?: string | null | undefined;
16161
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16162
+ onCycleRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16163
+ createdAt: Date;
16164
+ type: "Cycle";
16165
+ data: {
16166
+ number: number;
16167
+ createdAt: Date;
16168
+ id: string;
16169
+ updatedAt: Date;
16170
+ completedIssueCountHistory: number[];
16171
+ completedScopeHistory: number[];
16172
+ endsAt: Date;
16173
+ inProgressScopeHistory: number[];
16174
+ issueCountHistory: number[];
16175
+ scopeHistory: number[];
16176
+ startsAt: Date;
16177
+ teamId: string;
16178
+ uncompletedIssuesUponCloseIds: string[];
16179
+ archivedAt?: Date | null | undefined;
16180
+ autoArchivedAt?: Date | null | undefined;
16181
+ completedAt?: Date | null | undefined;
16182
+ description?: string | null | undefined;
16183
+ name?: string | null | undefined;
16184
+ progress?: number | null | undefined;
16185
+ };
16186
+ action: "remove";
16187
+ webhookId: string;
16188
+ webhookTimestamp: Date;
16189
+ url?: string | null | undefined;
16190
+ organizationId?: string | null | undefined;
16191
+ }, {
16192
+ createdAt: Date;
16193
+ type: "Cycle";
16194
+ data: {
16195
+ number: number;
16196
+ createdAt: Date;
16197
+ id: string;
16198
+ updatedAt: Date;
16199
+ completedIssueCountHistory: number[];
16200
+ completedScopeHistory: number[];
16201
+ endsAt: Date;
16202
+ inProgressScopeHistory: number[];
16203
+ issueCountHistory: number[];
16204
+ scopeHistory: number[];
16205
+ startsAt: Date;
16206
+ teamId: string;
16207
+ uncompletedIssuesUponCloseIds: string[];
16208
+ archivedAt?: Date | null | undefined;
16209
+ autoArchivedAt?: Date | null | undefined;
16210
+ completedAt?: Date | null | undefined;
16211
+ description?: string | null | undefined;
16212
+ name?: string | null | undefined;
16213
+ progress?: number | null | undefined;
16214
+ };
16215
+ action: "remove";
16216
+ webhookId: string;
16217
+ webhookTimestamp: Date;
16218
+ url?: string | null | undefined;
16219
+ organizationId?: string | null | undefined;
16220
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16221
+ onCycleUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16222
+ createdAt: Date;
16223
+ type: "Cycle";
16224
+ data: {
16225
+ number: number;
16226
+ createdAt: Date;
16227
+ id: string;
16228
+ updatedAt: Date;
16229
+ completedIssueCountHistory: number[];
16230
+ completedScopeHistory: number[];
16231
+ endsAt: Date;
16232
+ inProgressScopeHistory: number[];
16233
+ issueCountHistory: number[];
16234
+ scopeHistory: number[];
16235
+ startsAt: Date;
16236
+ teamId: string;
16237
+ uncompletedIssuesUponCloseIds: string[];
16238
+ archivedAt?: Date | null | undefined;
16239
+ autoArchivedAt?: Date | null | undefined;
16240
+ completedAt?: Date | null | undefined;
16241
+ description?: string | null | undefined;
16242
+ name?: string | null | undefined;
16243
+ progress?: number | null | undefined;
16244
+ };
16245
+ action: "update";
16246
+ webhookId: string;
16247
+ webhookTimestamp: Date;
16248
+ updatedFrom: {
16249
+ archivedAt?: Date | null | undefined;
16250
+ autoArchivedAt?: Date | null | undefined;
16251
+ completedAt?: Date | null | undefined;
16252
+ completedIssueCountHistory?: number[] | undefined;
16253
+ completedScopeHistory?: number[] | undefined;
16254
+ createdAt?: Date | undefined;
16255
+ description?: string | null | undefined;
16256
+ endsAt?: Date | undefined;
16257
+ id?: string | undefined;
16258
+ inProgressScopeHistory?: number[] | undefined;
16259
+ issueCountHistory?: number[] | undefined;
16260
+ name?: string | null | undefined;
16261
+ number?: number | undefined;
16262
+ progress?: number | null | undefined;
16263
+ scopeHistory?: number[] | undefined;
16264
+ startsAt?: Date | undefined;
16265
+ teamId?: string | undefined;
16266
+ uncompletedIssuesUponCloseIds?: string[] | undefined;
16267
+ updatedAt?: Date | undefined;
16268
+ };
16269
+ url?: string | null | undefined;
16270
+ organizationId?: string | null | undefined;
16271
+ }, {
16272
+ createdAt: Date;
16273
+ type: "Cycle";
16274
+ data: {
16275
+ number: number;
16276
+ createdAt: Date;
16277
+ id: string;
16278
+ updatedAt: Date;
16279
+ completedIssueCountHistory: number[];
16280
+ completedScopeHistory: number[];
16281
+ endsAt: Date;
16282
+ inProgressScopeHistory: number[];
16283
+ issueCountHistory: number[];
16284
+ scopeHistory: number[];
16285
+ startsAt: Date;
16286
+ teamId: string;
16287
+ uncompletedIssuesUponCloseIds: string[];
16288
+ archivedAt?: Date | null | undefined;
16289
+ autoArchivedAt?: Date | null | undefined;
16290
+ completedAt?: Date | null | undefined;
16291
+ description?: string | null | undefined;
16292
+ name?: string | null | undefined;
16293
+ progress?: number | null | undefined;
16294
+ };
16295
+ action: "update";
16296
+ webhookId: string;
16297
+ webhookTimestamp: Date;
16298
+ updatedFrom: {
16299
+ archivedAt?: Date | null | undefined;
16300
+ autoArchivedAt?: Date | null | undefined;
16301
+ completedAt?: Date | null | undefined;
16302
+ completedIssueCountHistory?: number[] | undefined;
16303
+ completedScopeHistory?: number[] | undefined;
16304
+ createdAt?: Date | undefined;
16305
+ description?: string | null | undefined;
16306
+ endsAt?: Date | undefined;
16307
+ id?: string | undefined;
16308
+ inProgressScopeHistory?: number[] | undefined;
16309
+ issueCountHistory?: number[] | undefined;
16310
+ name?: string | null | undefined;
16311
+ number?: number | undefined;
16312
+ progress?: number | null | undefined;
16313
+ scopeHistory?: number[] | undefined;
16314
+ startsAt?: Date | undefined;
16315
+ teamId?: string | undefined;
16316
+ uncompletedIssuesUponCloseIds?: string[] | undefined;
16317
+ updatedAt?: Date | undefined;
16318
+ };
16319
+ url?: string | null | undefined;
16320
+ organizationId?: string | null | undefined;
16321
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16322
+ onIssue(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16323
+ createdAt: Date;
16324
+ type: "Issue";
16325
+ data: {
16326
+ number: number;
16327
+ createdAt: Date;
16328
+ id: string;
16329
+ title: string;
16330
+ updatedAt: Date;
16331
+ team: {
16332
+ id: string;
16333
+ name: string;
16334
+ key: string;
16335
+ };
16336
+ teamId: string;
16337
+ sortOrder: number;
16338
+ boardOrder: number;
16339
+ previousIdentifiers: string[];
16340
+ priority: number;
16341
+ priorityLabel: string;
16342
+ state: {
16343
+ id: string;
16344
+ name: string;
16345
+ color: string;
16346
+ type: string;
16347
+ };
16348
+ labels: {
16349
+ id: string;
16350
+ name: string;
16351
+ color: string;
16352
+ }[];
16353
+ labelIds: string[];
16354
+ stateId: string;
16355
+ subscriberIds: string[];
16356
+ archivedAt?: Date | null | undefined;
16357
+ assignee?: {
16358
+ id: string;
16359
+ name: string;
16360
+ } | null | undefined;
16361
+ assigneeId?: string | null | undefined;
16362
+ autoArchivedAt?: Date | null | undefined;
16363
+ autoClosedAt?: Date | null | undefined;
16364
+ canceledAt?: Date | null | undefined;
16365
+ completedAt?: Date | null | undefined;
16366
+ creatorId?: string | null | undefined;
16367
+ cycleId?: string | null | undefined;
16368
+ description?: string | null | undefined;
16369
+ dueDate?: Date | null | undefined;
16370
+ estimate?: number | null | undefined;
16371
+ favoriteId?: string | null | undefined;
16372
+ parentId?: string | null | undefined;
16373
+ projectId?: string | null | undefined;
16374
+ startedAt?: Date | null | undefined;
16375
+ subIssueSortOrder?: number | null | undefined;
16376
+ trashed?: boolean | null | undefined;
16377
+ triagedAt?: Date | null | undefined;
15762
16378
  };
15763
16379
  action: "create";
15764
16380
  webhookId: string;
@@ -15943,8 +16559,7 @@ declare class Linear implements TriggerIntegration {
15943
16559
  };
15944
16560
  url?: string | null | undefined;
15945
16561
  organizationId?: string | null | undefined;
15946
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
15947
- onIssueCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16562
+ }, {
15948
16563
  createdAt: Date;
15949
16564
  type: "Issue";
15950
16565
  data: {
@@ -16006,8 +16621,7 @@ declare class Linear implements TriggerIntegration {
16006
16621
  webhookTimestamp: Date;
16007
16622
  url?: string | null | undefined;
16008
16623
  organizationId?: string | null | undefined;
16009
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16010
- onIssueRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16624
+ } | {
16011
16625
  createdAt: Date;
16012
16626
  type: "Issue";
16013
16627
  data: {
@@ -16069,8 +16683,7 @@ declare class Linear implements TriggerIntegration {
16069
16683
  webhookTimestamp: Date;
16070
16684
  url?: string | null | undefined;
16071
16685
  organizationId?: string | null | undefined;
16072
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16073
- onIssueUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16686
+ } | {
16074
16687
  createdAt: Date;
16075
16688
  type: "Issue";
16076
16689
  data: {
@@ -16187,169 +16800,10 @@ declare class Linear implements TriggerIntegration {
16187
16800
  url?: string | null | undefined;
16188
16801
  organizationId?: string | null | undefined;
16189
16802
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16190
- onIssueLabel(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16191
- createdAt: Date;
16192
- type: "IssueLabel";
16193
- data: {
16194
- createdAt: Date;
16195
- id: string;
16196
- updatedAt: Date;
16197
- name: string;
16198
- color: string;
16199
- organizationId: string;
16200
- archivedAt?: Date | null | undefined;
16201
- creatorId?: string | null | undefined;
16202
- description?: string | null | undefined;
16203
- parentId?: string | null | undefined;
16204
- teamId?: string | null | undefined;
16205
- };
16206
- action: "create";
16207
- webhookId: string;
16208
- webhookTimestamp: Date;
16209
- url?: string | null | undefined;
16210
- organizationId?: string | null | undefined;
16211
- } | {
16212
- createdAt: Date;
16213
- type: "IssueLabel";
16214
- data: {
16215
- createdAt: Date;
16216
- id: string;
16217
- updatedAt: Date;
16218
- name: string;
16219
- color: string;
16220
- organizationId: string;
16221
- archivedAt?: Date | null | undefined;
16222
- creatorId?: string | null | undefined;
16223
- description?: string | null | undefined;
16224
- parentId?: string | null | undefined;
16225
- teamId?: string | null | undefined;
16226
- };
16227
- action: "remove";
16228
- webhookId: string;
16229
- webhookTimestamp: Date;
16230
- url?: string | null | undefined;
16231
- organizationId?: string | null | undefined;
16232
- } | {
16233
- createdAt: Date;
16234
- type: "IssueLabel";
16235
- data: {
16236
- createdAt: Date;
16237
- id: string;
16238
- updatedAt: Date;
16239
- name: string;
16240
- color: string;
16241
- organizationId: string;
16242
- archivedAt?: Date | null | undefined;
16243
- creatorId?: string | null | undefined;
16244
- description?: string | null | undefined;
16245
- parentId?: string | null | undefined;
16246
- teamId?: string | null | undefined;
16247
- };
16248
- action: "update";
16249
- webhookId: string;
16250
- webhookTimestamp: Date;
16251
- updatedFrom: {
16252
- archivedAt?: Date | null | undefined;
16253
- color?: string | undefined;
16254
- createdAt?: Date | undefined;
16255
- creatorId?: string | null | undefined;
16256
- description?: string | null | undefined;
16257
- id?: string | undefined;
16258
- name?: string | undefined;
16259
- organizationId?: string | undefined;
16260
- parentId?: string | null | undefined;
16261
- teamId?: string | null | undefined;
16262
- updatedAt?: Date | undefined;
16263
- };
16264
- url?: string | null | undefined;
16265
- organizationId?: string | null | undefined;
16266
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16267
- onIssueLabelCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16268
- createdAt: Date;
16269
- type: "IssueLabel";
16270
- data: {
16271
- createdAt: Date;
16272
- id: string;
16273
- updatedAt: Date;
16274
- name: string;
16275
- color: string;
16276
- organizationId: string;
16277
- archivedAt?: Date | null | undefined;
16278
- creatorId?: string | null | undefined;
16279
- description?: string | null | undefined;
16280
- parentId?: string | null | undefined;
16281
- teamId?: string | null | undefined;
16282
- };
16283
- action: "create";
16284
- webhookId: string;
16285
- webhookTimestamp: Date;
16286
- url?: string | null | undefined;
16287
- organizationId?: string | null | undefined;
16288
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16289
- onIssueLabelRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16290
- createdAt: Date;
16291
- type: "IssueLabel";
16292
- data: {
16293
- createdAt: Date;
16294
- id: string;
16295
- updatedAt: Date;
16296
- name: string;
16297
- color: string;
16298
- organizationId: string;
16299
- archivedAt?: Date | null | undefined;
16300
- creatorId?: string | null | undefined;
16301
- description?: string | null | undefined;
16302
- parentId?: string | null | undefined;
16303
- teamId?: string | null | undefined;
16304
- };
16305
- action: "remove";
16306
- webhookId: string;
16307
- webhookTimestamp: Date;
16308
- url?: string | null | undefined;
16309
- organizationId?: string | null | undefined;
16310
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16311
- onIssueLabelUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16803
+ onIssueCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16312
16804
  createdAt: Date;
16313
- type: "IssueLabel";
16805
+ type: "Issue";
16314
16806
  data: {
16315
- createdAt: Date;
16316
- id: string;
16317
- updatedAt: Date;
16318
- name: string;
16319
- color: string;
16320
- organizationId: string;
16321
- archivedAt?: Date | null | undefined;
16322
- creatorId?: string | null | undefined;
16323
- description?: string | null | undefined;
16324
- parentId?: string | null | undefined;
16325
- teamId?: string | null | undefined;
16326
- };
16327
- action: "update";
16328
- webhookId: string;
16329
- webhookTimestamp: Date;
16330
- updatedFrom: {
16331
- archivedAt?: Date | null | undefined;
16332
- color?: string | undefined;
16333
- createdAt?: Date | undefined;
16334
- creatorId?: string | null | undefined;
16335
- description?: string | null | undefined;
16336
- id?: string | undefined;
16337
- name?: string | undefined;
16338
- organizationId?: string | undefined;
16339
- parentId?: string | null | undefined;
16340
- teamId?: string | null | undefined;
16341
- updatedAt?: Date | undefined;
16342
- };
16343
- url?: string | null | undefined;
16344
- organizationId?: string | null | undefined;
16345
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16346
- onIssueSLA(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16347
- createdAt: Date;
16348
- type: "IssueSLA";
16349
- action: "set";
16350
- webhookId: string;
16351
- webhookTimestamp: Date;
16352
- issueData: {
16353
16807
  number: number;
16354
16808
  createdAt: Date;
16355
16809
  id: string;
@@ -16403,15 +16857,15 @@ declare class Linear implements TriggerIntegration {
16403
16857
  trashed?: boolean | null | undefined;
16404
16858
  triagedAt?: Date | null | undefined;
16405
16859
  };
16860
+ action: "create";
16861
+ webhookId: string;
16862
+ webhookTimestamp: Date;
16406
16863
  url?: string | null | undefined;
16407
16864
  organizationId?: string | null | undefined;
16408
- } | {
16865
+ }, {
16409
16866
  createdAt: Date;
16410
- type: "IssueSLA";
16411
- action: "highRisk";
16412
- webhookId: string;
16413
- webhookTimestamp: Date;
16414
- issueData: {
16867
+ type: "Issue";
16868
+ data: {
16415
16869
  number: number;
16416
16870
  createdAt: Date;
16417
16871
  id: string;
@@ -16465,15 +16919,16 @@ declare class Linear implements TriggerIntegration {
16465
16919
  trashed?: boolean | null | undefined;
16466
16920
  triagedAt?: Date | null | undefined;
16467
16921
  };
16922
+ action: "create";
16923
+ webhookId: string;
16924
+ webhookTimestamp: Date;
16468
16925
  url?: string | null | undefined;
16469
16926
  organizationId?: string | null | undefined;
16470
- } | {
16927
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16928
+ onIssueRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16471
16929
  createdAt: Date;
16472
- type: "IssueSLA";
16473
- action: "breached";
16474
- webhookId: string;
16475
- webhookTimestamp: Date;
16476
- issueData: {
16930
+ type: "Issue";
16931
+ data: {
16477
16932
  number: number;
16478
16933
  createdAt: Date;
16479
16934
  id: string;
@@ -16527,16 +16982,15 @@ declare class Linear implements TriggerIntegration {
16527
16982
  trashed?: boolean | null | undefined;
16528
16983
  triagedAt?: Date | null | undefined;
16529
16984
  };
16985
+ action: "remove";
16986
+ webhookId: string;
16987
+ webhookTimestamp: Date;
16530
16988
  url?: string | null | undefined;
16531
16989
  organizationId?: string | null | undefined;
16532
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16533
- onIssueSLASet(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16990
+ }, {
16534
16991
  createdAt: Date;
16535
- type: "IssueSLA";
16536
- action: "set";
16537
- webhookId: string;
16538
- webhookTimestamp: Date;
16539
- issueData: {
16992
+ type: "Issue";
16993
+ data: {
16540
16994
  number: number;
16541
16995
  createdAt: Date;
16542
16996
  id: string;
@@ -16590,16 +17044,16 @@ declare class Linear implements TriggerIntegration {
16590
17044
  trashed?: boolean | null | undefined;
16591
17045
  triagedAt?: Date | null | undefined;
16592
17046
  };
17047
+ action: "remove";
17048
+ webhookId: string;
17049
+ webhookTimestamp: Date;
16593
17050
  url?: string | null | undefined;
16594
17051
  organizationId?: string | null | undefined;
16595
17052
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16596
- onIssueSLABreached(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17053
+ onIssueUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16597
17054
  createdAt: Date;
16598
- type: "IssueSLA";
16599
- action: "breached";
16600
- webhookId: string;
16601
- webhookTimestamp: Date;
16602
- issueData: {
17055
+ type: "Issue";
17056
+ data: {
16603
17057
  number: number;
16604
17058
  createdAt: Date;
16605
17059
  id: string;
@@ -16653,42 +17107,1208 @@ declare class Linear implements TriggerIntegration {
16653
17107
  trashed?: boolean | null | undefined;
16654
17108
  triagedAt?: Date | null | undefined;
16655
17109
  };
16656
- url?: string | null | undefined;
16657
- organizationId?: string | null | undefined;
16658
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16659
- onIssueSLAHighRisk(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16660
- createdAt: Date;
16661
- type: "IssueSLA";
16662
- action: "highRisk";
17110
+ action: "update";
16663
17111
  webhookId: string;
16664
17112
  webhookTimestamp: Date;
16665
- issueData: {
16666
- number: number;
16667
- createdAt: Date;
16668
- id: string;
16669
- title: string;
16670
- updatedAt: Date;
16671
- team: {
16672
- id: string;
16673
- name: string;
16674
- key: string;
16675
- };
16676
- teamId: string;
16677
- sortOrder: number;
16678
- boardOrder: number;
16679
- previousIdentifiers: string[];
16680
- priority: number;
16681
- priorityLabel: string;
16682
- state: {
16683
- id: string;
16684
- name: string;
16685
- color: string;
16686
- type: string;
16687
- };
16688
- labels: {
17113
+ updatedFrom: {
17114
+ archivedAt?: Date | null | undefined;
17115
+ assignee?: {
16689
17116
  id: string;
16690
17117
  name: string;
16691
- color: string;
17118
+ } | null | undefined;
17119
+ assigneeId?: string | null | undefined;
17120
+ autoArchivedAt?: Date | null | undefined;
17121
+ autoClosedAt?: Date | null | undefined;
17122
+ boardOrder?: number | undefined;
17123
+ canceledAt?: Date | null | undefined;
17124
+ completedAt?: Date | null | undefined;
17125
+ createdAt?: Date | undefined;
17126
+ creatorId?: string | null | undefined;
17127
+ cycleId?: string | null | undefined;
17128
+ description?: string | null | undefined;
17129
+ dueDate?: Date | null | undefined;
17130
+ estimate?: number | null | undefined;
17131
+ favoriteId?: string | null | undefined;
17132
+ id?: string | undefined;
17133
+ labelIds?: string[] | undefined;
17134
+ labels?: {
17135
+ id: string;
17136
+ name: string;
17137
+ color: string;
17138
+ }[] | undefined;
17139
+ number?: number | undefined;
17140
+ parentId?: string | null | undefined;
17141
+ previousIdentifiers?: string[] | undefined;
17142
+ priority?: number | undefined;
17143
+ priorityLabel?: string | undefined;
17144
+ projectId?: string | null | undefined;
17145
+ sortOrder?: number | undefined;
17146
+ state?: {
17147
+ id: string;
17148
+ name: string;
17149
+ color: string;
17150
+ type: string;
17151
+ } | undefined;
17152
+ startedAt?: Date | null | undefined;
17153
+ stateId?: string | undefined;
17154
+ subIssueSortOrder?: number | null | undefined;
17155
+ subscriberIds?: string[] | undefined;
17156
+ team?: {
17157
+ id: string;
17158
+ name: string;
17159
+ key: string;
17160
+ } | undefined;
17161
+ teamId?: string | undefined;
17162
+ title?: string | undefined;
17163
+ trashed?: boolean | null | undefined;
17164
+ triagedAt?: Date | null | undefined;
17165
+ updatedAt?: Date | undefined;
17166
+ };
17167
+ url?: string | null | undefined;
17168
+ organizationId?: string | null | undefined;
17169
+ }, {
17170
+ createdAt: Date;
17171
+ type: "Issue";
17172
+ data: {
17173
+ number: number;
17174
+ createdAt: Date;
17175
+ id: string;
17176
+ title: string;
17177
+ updatedAt: Date;
17178
+ team: {
17179
+ id: string;
17180
+ name: string;
17181
+ key: string;
17182
+ };
17183
+ teamId: string;
17184
+ sortOrder: number;
17185
+ boardOrder: number;
17186
+ previousIdentifiers: string[];
17187
+ priority: number;
17188
+ priorityLabel: string;
17189
+ state: {
17190
+ id: string;
17191
+ name: string;
17192
+ color: string;
17193
+ type: string;
17194
+ };
17195
+ labels: {
17196
+ id: string;
17197
+ name: string;
17198
+ color: string;
17199
+ }[];
17200
+ labelIds: string[];
17201
+ stateId: string;
17202
+ subscriberIds: string[];
17203
+ archivedAt?: Date | null | undefined;
17204
+ assignee?: {
17205
+ id: string;
17206
+ name: string;
17207
+ } | null | undefined;
17208
+ assigneeId?: string | null | undefined;
17209
+ autoArchivedAt?: Date | null | undefined;
17210
+ autoClosedAt?: Date | null | undefined;
17211
+ canceledAt?: Date | null | undefined;
17212
+ completedAt?: Date | null | undefined;
17213
+ creatorId?: string | null | undefined;
17214
+ cycleId?: string | null | undefined;
17215
+ description?: string | null | undefined;
17216
+ dueDate?: Date | null | undefined;
17217
+ estimate?: number | null | undefined;
17218
+ favoriteId?: string | null | undefined;
17219
+ parentId?: string | null | undefined;
17220
+ projectId?: string | null | undefined;
17221
+ startedAt?: Date | null | undefined;
17222
+ subIssueSortOrder?: number | null | undefined;
17223
+ trashed?: boolean | null | undefined;
17224
+ triagedAt?: Date | null | undefined;
17225
+ };
17226
+ action: "update";
17227
+ webhookId: string;
17228
+ webhookTimestamp: Date;
17229
+ updatedFrom: {
17230
+ archivedAt?: Date | null | undefined;
17231
+ assignee?: {
17232
+ id: string;
17233
+ name: string;
17234
+ } | null | undefined;
17235
+ assigneeId?: string | null | undefined;
17236
+ autoArchivedAt?: Date | null | undefined;
17237
+ autoClosedAt?: Date | null | undefined;
17238
+ boardOrder?: number | undefined;
17239
+ canceledAt?: Date | null | undefined;
17240
+ completedAt?: Date | null | undefined;
17241
+ createdAt?: Date | undefined;
17242
+ creatorId?: string | null | undefined;
17243
+ cycleId?: string | null | undefined;
17244
+ description?: string | null | undefined;
17245
+ dueDate?: Date | null | undefined;
17246
+ estimate?: number | null | undefined;
17247
+ favoriteId?: string | null | undefined;
17248
+ id?: string | undefined;
17249
+ labelIds?: string[] | undefined;
17250
+ labels?: {
17251
+ id: string;
17252
+ name: string;
17253
+ color: string;
17254
+ }[] | undefined;
17255
+ number?: number | undefined;
17256
+ parentId?: string | null | undefined;
17257
+ previousIdentifiers?: string[] | undefined;
17258
+ priority?: number | undefined;
17259
+ priorityLabel?: string | undefined;
17260
+ projectId?: string | null | undefined;
17261
+ sortOrder?: number | undefined;
17262
+ state?: {
17263
+ id: string;
17264
+ name: string;
17265
+ color: string;
17266
+ type: string;
17267
+ } | undefined;
17268
+ startedAt?: Date | null | undefined;
17269
+ stateId?: string | undefined;
17270
+ subIssueSortOrder?: number | null | undefined;
17271
+ subscriberIds?: string[] | undefined;
17272
+ team?: {
17273
+ id: string;
17274
+ name: string;
17275
+ key: string;
17276
+ } | undefined;
17277
+ teamId?: string | undefined;
17278
+ title?: string | undefined;
17279
+ trashed?: boolean | null | undefined;
17280
+ triagedAt?: Date | null | undefined;
17281
+ updatedAt?: Date | undefined;
17282
+ };
17283
+ url?: string | null | undefined;
17284
+ organizationId?: string | null | undefined;
17285
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17286
+ onIssueLabel(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17287
+ createdAt: Date;
17288
+ type: "IssueLabel";
17289
+ data: {
17290
+ createdAt: Date;
17291
+ id: string;
17292
+ updatedAt: Date;
17293
+ name: string;
17294
+ color: string;
17295
+ organizationId: string;
17296
+ archivedAt?: Date | null | undefined;
17297
+ creatorId?: string | null | undefined;
17298
+ description?: string | null | undefined;
17299
+ parentId?: string | null | undefined;
17300
+ teamId?: string | null | undefined;
17301
+ };
17302
+ action: "create";
17303
+ webhookId: string;
17304
+ webhookTimestamp: Date;
17305
+ url?: string | null | undefined;
17306
+ organizationId?: string | null | undefined;
17307
+ } | {
17308
+ createdAt: Date;
17309
+ type: "IssueLabel";
17310
+ data: {
17311
+ createdAt: Date;
17312
+ id: string;
17313
+ updatedAt: Date;
17314
+ name: string;
17315
+ color: string;
17316
+ organizationId: string;
17317
+ archivedAt?: Date | null | undefined;
17318
+ creatorId?: string | null | undefined;
17319
+ description?: string | null | undefined;
17320
+ parentId?: string | null | undefined;
17321
+ teamId?: string | null | undefined;
17322
+ };
17323
+ action: "remove";
17324
+ webhookId: string;
17325
+ webhookTimestamp: Date;
17326
+ url?: string | null | undefined;
17327
+ organizationId?: string | null | undefined;
17328
+ } | {
17329
+ createdAt: Date;
17330
+ type: "IssueLabel";
17331
+ data: {
17332
+ createdAt: Date;
17333
+ id: string;
17334
+ updatedAt: Date;
17335
+ name: string;
17336
+ color: string;
17337
+ organizationId: string;
17338
+ archivedAt?: Date | null | undefined;
17339
+ creatorId?: string | null | undefined;
17340
+ description?: string | null | undefined;
17341
+ parentId?: string | null | undefined;
17342
+ teamId?: string | null | undefined;
17343
+ };
17344
+ action: "update";
17345
+ webhookId: string;
17346
+ webhookTimestamp: Date;
17347
+ updatedFrom: {
17348
+ archivedAt?: Date | null | undefined;
17349
+ color?: string | undefined;
17350
+ createdAt?: Date | undefined;
17351
+ creatorId?: string | null | undefined;
17352
+ description?: string | null | undefined;
17353
+ id?: string | undefined;
17354
+ name?: string | undefined;
17355
+ organizationId?: string | undefined;
17356
+ parentId?: string | null | undefined;
17357
+ teamId?: string | null | undefined;
17358
+ updatedAt?: Date | undefined;
17359
+ };
17360
+ url?: string | null | undefined;
17361
+ organizationId?: string | null | undefined;
17362
+ }, {
17363
+ createdAt: Date;
17364
+ type: "IssueLabel";
17365
+ data: {
17366
+ createdAt: Date;
17367
+ id: string;
17368
+ updatedAt: Date;
17369
+ name: string;
17370
+ color: string;
17371
+ organizationId: string;
17372
+ archivedAt?: Date | null | undefined;
17373
+ creatorId?: string | null | undefined;
17374
+ description?: string | null | undefined;
17375
+ parentId?: string | null | undefined;
17376
+ teamId?: string | null | undefined;
17377
+ };
17378
+ action: "create";
17379
+ webhookId: string;
17380
+ webhookTimestamp: Date;
17381
+ url?: string | null | undefined;
17382
+ organizationId?: string | null | undefined;
17383
+ } | {
17384
+ createdAt: Date;
17385
+ type: "IssueLabel";
17386
+ data: {
17387
+ createdAt: Date;
17388
+ id: string;
17389
+ updatedAt: Date;
17390
+ name: string;
17391
+ color: string;
17392
+ organizationId: string;
17393
+ archivedAt?: Date | null | undefined;
17394
+ creatorId?: string | null | undefined;
17395
+ description?: string | null | undefined;
17396
+ parentId?: string | null | undefined;
17397
+ teamId?: string | null | undefined;
17398
+ };
17399
+ action: "remove";
17400
+ webhookId: string;
17401
+ webhookTimestamp: Date;
17402
+ url?: string | null | undefined;
17403
+ organizationId?: string | null | undefined;
17404
+ } | {
17405
+ createdAt: Date;
17406
+ type: "IssueLabel";
17407
+ data: {
17408
+ createdAt: Date;
17409
+ id: string;
17410
+ updatedAt: Date;
17411
+ name: string;
17412
+ color: string;
17413
+ organizationId: string;
17414
+ archivedAt?: Date | null | undefined;
17415
+ creatorId?: string | null | undefined;
17416
+ description?: string | null | undefined;
17417
+ parentId?: string | null | undefined;
17418
+ teamId?: string | null | undefined;
17419
+ };
17420
+ action: "update";
17421
+ webhookId: string;
17422
+ webhookTimestamp: Date;
17423
+ updatedFrom: {
17424
+ archivedAt?: Date | null | undefined;
17425
+ color?: string | undefined;
17426
+ createdAt?: Date | undefined;
17427
+ creatorId?: string | null | undefined;
17428
+ description?: string | null | undefined;
17429
+ id?: string | undefined;
17430
+ name?: string | undefined;
17431
+ organizationId?: string | undefined;
17432
+ parentId?: string | null | undefined;
17433
+ teamId?: string | null | undefined;
17434
+ updatedAt?: Date | undefined;
17435
+ };
17436
+ url?: string | null | undefined;
17437
+ organizationId?: string | null | undefined;
17438
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17439
+ onIssueLabelCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17440
+ createdAt: Date;
17441
+ type: "IssueLabel";
17442
+ data: {
17443
+ createdAt: Date;
17444
+ id: string;
17445
+ updatedAt: Date;
17446
+ name: string;
17447
+ color: string;
17448
+ organizationId: string;
17449
+ archivedAt?: Date | null | undefined;
17450
+ creatorId?: string | null | undefined;
17451
+ description?: string | null | undefined;
17452
+ parentId?: string | null | undefined;
17453
+ teamId?: string | null | undefined;
17454
+ };
17455
+ action: "create";
17456
+ webhookId: string;
17457
+ webhookTimestamp: Date;
17458
+ url?: string | null | undefined;
17459
+ organizationId?: string | null | undefined;
17460
+ }, {
17461
+ createdAt: Date;
17462
+ type: "IssueLabel";
17463
+ data: {
17464
+ createdAt: Date;
17465
+ id: string;
17466
+ updatedAt: Date;
17467
+ name: string;
17468
+ color: string;
17469
+ organizationId: string;
17470
+ archivedAt?: Date | null | undefined;
17471
+ creatorId?: string | null | undefined;
17472
+ description?: string | null | undefined;
17473
+ parentId?: string | null | undefined;
17474
+ teamId?: string | null | undefined;
17475
+ };
17476
+ action: "create";
17477
+ webhookId: string;
17478
+ webhookTimestamp: Date;
17479
+ url?: string | null | undefined;
17480
+ organizationId?: string | null | undefined;
17481
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17482
+ onIssueLabelRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17483
+ createdAt: Date;
17484
+ type: "IssueLabel";
17485
+ data: {
17486
+ createdAt: Date;
17487
+ id: string;
17488
+ updatedAt: Date;
17489
+ name: string;
17490
+ color: string;
17491
+ organizationId: string;
17492
+ archivedAt?: Date | null | undefined;
17493
+ creatorId?: string | null | undefined;
17494
+ description?: string | null | undefined;
17495
+ parentId?: string | null | undefined;
17496
+ teamId?: string | null | undefined;
17497
+ };
17498
+ action: "remove";
17499
+ webhookId: string;
17500
+ webhookTimestamp: Date;
17501
+ url?: string | null | undefined;
17502
+ organizationId?: string | null | undefined;
17503
+ }, {
17504
+ createdAt: Date;
17505
+ type: "IssueLabel";
17506
+ data: {
17507
+ createdAt: Date;
17508
+ id: string;
17509
+ updatedAt: Date;
17510
+ name: string;
17511
+ color: string;
17512
+ organizationId: string;
17513
+ archivedAt?: Date | null | undefined;
17514
+ creatorId?: string | null | undefined;
17515
+ description?: string | null | undefined;
17516
+ parentId?: string | null | undefined;
17517
+ teamId?: string | null | undefined;
17518
+ };
17519
+ action: "remove";
17520
+ webhookId: string;
17521
+ webhookTimestamp: Date;
17522
+ url?: string | null | undefined;
17523
+ organizationId?: string | null | undefined;
17524
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17525
+ onIssueLabelUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17526
+ createdAt: Date;
17527
+ type: "IssueLabel";
17528
+ data: {
17529
+ createdAt: Date;
17530
+ id: string;
17531
+ updatedAt: Date;
17532
+ name: string;
17533
+ color: string;
17534
+ organizationId: string;
17535
+ archivedAt?: Date | null | undefined;
17536
+ creatorId?: string | null | undefined;
17537
+ description?: string | null | undefined;
17538
+ parentId?: string | null | undefined;
17539
+ teamId?: string | null | undefined;
17540
+ };
17541
+ action: "update";
17542
+ webhookId: string;
17543
+ webhookTimestamp: Date;
17544
+ updatedFrom: {
17545
+ archivedAt?: Date | null | undefined;
17546
+ color?: string | undefined;
17547
+ createdAt?: Date | undefined;
17548
+ creatorId?: string | null | undefined;
17549
+ description?: string | null | undefined;
17550
+ id?: string | undefined;
17551
+ name?: string | undefined;
17552
+ organizationId?: string | undefined;
17553
+ parentId?: string | null | undefined;
17554
+ teamId?: string | null | undefined;
17555
+ updatedAt?: Date | undefined;
17556
+ };
17557
+ url?: string | null | undefined;
17558
+ organizationId?: string | null | undefined;
17559
+ }, {
17560
+ createdAt: Date;
17561
+ type: "IssueLabel";
17562
+ data: {
17563
+ createdAt: Date;
17564
+ id: string;
17565
+ updatedAt: Date;
17566
+ name: string;
17567
+ color: string;
17568
+ organizationId: string;
17569
+ archivedAt?: Date | null | undefined;
17570
+ creatorId?: string | null | undefined;
17571
+ description?: string | null | undefined;
17572
+ parentId?: string | null | undefined;
17573
+ teamId?: string | null | undefined;
17574
+ };
17575
+ action: "update";
17576
+ webhookId: string;
17577
+ webhookTimestamp: Date;
17578
+ updatedFrom: {
17579
+ archivedAt?: Date | null | undefined;
17580
+ color?: string | undefined;
17581
+ createdAt?: Date | undefined;
17582
+ creatorId?: string | null | undefined;
17583
+ description?: string | null | undefined;
17584
+ id?: string | undefined;
17585
+ name?: string | undefined;
17586
+ organizationId?: string | undefined;
17587
+ parentId?: string | null | undefined;
17588
+ teamId?: string | null | undefined;
17589
+ updatedAt?: Date | undefined;
17590
+ };
17591
+ url?: string | null | undefined;
17592
+ organizationId?: string | null | undefined;
17593
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17594
+ onIssueSLA(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17595
+ createdAt: Date;
17596
+ type: "IssueSLA";
17597
+ action: "set";
17598
+ webhookId: string;
17599
+ webhookTimestamp: Date;
17600
+ issueData: {
17601
+ number: number;
17602
+ createdAt: Date;
17603
+ id: string;
17604
+ title: string;
17605
+ updatedAt: Date;
17606
+ team: {
17607
+ id: string;
17608
+ name: string;
17609
+ key: string;
17610
+ };
17611
+ teamId: string;
17612
+ sortOrder: number;
17613
+ boardOrder: number;
17614
+ previousIdentifiers: string[];
17615
+ priority: number;
17616
+ priorityLabel: string;
17617
+ state: {
17618
+ id: string;
17619
+ name: string;
17620
+ color: string;
17621
+ type: string;
17622
+ };
17623
+ labels: {
17624
+ id: string;
17625
+ name: string;
17626
+ color: string;
17627
+ }[];
17628
+ labelIds: string[];
17629
+ stateId: string;
17630
+ subscriberIds: string[];
17631
+ archivedAt?: Date | null | undefined;
17632
+ assignee?: {
17633
+ id: string;
17634
+ name: string;
17635
+ } | null | undefined;
17636
+ assigneeId?: string | null | undefined;
17637
+ autoArchivedAt?: Date | null | undefined;
17638
+ autoClosedAt?: Date | null | undefined;
17639
+ canceledAt?: Date | null | undefined;
17640
+ completedAt?: Date | null | undefined;
17641
+ creatorId?: string | null | undefined;
17642
+ cycleId?: string | null | undefined;
17643
+ description?: string | null | undefined;
17644
+ dueDate?: Date | null | undefined;
17645
+ estimate?: number | null | undefined;
17646
+ favoriteId?: string | null | undefined;
17647
+ parentId?: string | null | undefined;
17648
+ projectId?: string | null | undefined;
17649
+ startedAt?: Date | null | undefined;
17650
+ subIssueSortOrder?: number | null | undefined;
17651
+ trashed?: boolean | null | undefined;
17652
+ triagedAt?: Date | null | undefined;
17653
+ };
17654
+ url?: string | null | undefined;
17655
+ organizationId?: string | null | undefined;
17656
+ } | {
17657
+ createdAt: Date;
17658
+ type: "IssueSLA";
17659
+ action: "highRisk";
17660
+ webhookId: string;
17661
+ webhookTimestamp: Date;
17662
+ issueData: {
17663
+ number: number;
17664
+ createdAt: Date;
17665
+ id: string;
17666
+ title: string;
17667
+ updatedAt: Date;
17668
+ team: {
17669
+ id: string;
17670
+ name: string;
17671
+ key: string;
17672
+ };
17673
+ teamId: string;
17674
+ sortOrder: number;
17675
+ boardOrder: number;
17676
+ previousIdentifiers: string[];
17677
+ priority: number;
17678
+ priorityLabel: string;
17679
+ state: {
17680
+ id: string;
17681
+ name: string;
17682
+ color: string;
17683
+ type: string;
17684
+ };
17685
+ labels: {
17686
+ id: string;
17687
+ name: string;
17688
+ color: string;
17689
+ }[];
17690
+ labelIds: string[];
17691
+ stateId: string;
17692
+ subscriberIds: string[];
17693
+ archivedAt?: Date | null | undefined;
17694
+ assignee?: {
17695
+ id: string;
17696
+ name: string;
17697
+ } | null | undefined;
17698
+ assigneeId?: string | null | undefined;
17699
+ autoArchivedAt?: Date | null | undefined;
17700
+ autoClosedAt?: Date | null | undefined;
17701
+ canceledAt?: Date | null | undefined;
17702
+ completedAt?: Date | null | undefined;
17703
+ creatorId?: string | null | undefined;
17704
+ cycleId?: string | null | undefined;
17705
+ description?: string | null | undefined;
17706
+ dueDate?: Date | null | undefined;
17707
+ estimate?: number | null | undefined;
17708
+ favoriteId?: string | null | undefined;
17709
+ parentId?: string | null | undefined;
17710
+ projectId?: string | null | undefined;
17711
+ startedAt?: Date | null | undefined;
17712
+ subIssueSortOrder?: number | null | undefined;
17713
+ trashed?: boolean | null | undefined;
17714
+ triagedAt?: Date | null | undefined;
17715
+ };
17716
+ url?: string | null | undefined;
17717
+ organizationId?: string | null | undefined;
17718
+ } | {
17719
+ createdAt: Date;
17720
+ type: "IssueSLA";
17721
+ action: "breached";
17722
+ webhookId: string;
17723
+ webhookTimestamp: Date;
17724
+ issueData: {
17725
+ number: number;
17726
+ createdAt: Date;
17727
+ id: string;
17728
+ title: string;
17729
+ updatedAt: Date;
17730
+ team: {
17731
+ id: string;
17732
+ name: string;
17733
+ key: string;
17734
+ };
17735
+ teamId: string;
17736
+ sortOrder: number;
17737
+ boardOrder: number;
17738
+ previousIdentifiers: string[];
17739
+ priority: number;
17740
+ priorityLabel: string;
17741
+ state: {
17742
+ id: string;
17743
+ name: string;
17744
+ color: string;
17745
+ type: string;
17746
+ };
17747
+ labels: {
17748
+ id: string;
17749
+ name: string;
17750
+ color: string;
17751
+ }[];
17752
+ labelIds: string[];
17753
+ stateId: string;
17754
+ subscriberIds: string[];
17755
+ archivedAt?: Date | null | undefined;
17756
+ assignee?: {
17757
+ id: string;
17758
+ name: string;
17759
+ } | null | undefined;
17760
+ assigneeId?: string | null | undefined;
17761
+ autoArchivedAt?: Date | null | undefined;
17762
+ autoClosedAt?: Date | null | undefined;
17763
+ canceledAt?: Date | null | undefined;
17764
+ completedAt?: Date | null | undefined;
17765
+ creatorId?: string | null | undefined;
17766
+ cycleId?: string | null | undefined;
17767
+ description?: string | null | undefined;
17768
+ dueDate?: Date | null | undefined;
17769
+ estimate?: number | null | undefined;
17770
+ favoriteId?: string | null | undefined;
17771
+ parentId?: string | null | undefined;
17772
+ projectId?: string | null | undefined;
17773
+ startedAt?: Date | null | undefined;
17774
+ subIssueSortOrder?: number | null | undefined;
17775
+ trashed?: boolean | null | undefined;
17776
+ triagedAt?: Date | null | undefined;
17777
+ };
17778
+ url?: string | null | undefined;
17779
+ organizationId?: string | null | undefined;
17780
+ }, {
17781
+ createdAt: Date;
17782
+ type: "IssueSLA";
17783
+ action: "set";
17784
+ webhookId: string;
17785
+ webhookTimestamp: Date;
17786
+ issueData: {
17787
+ number: number;
17788
+ createdAt: Date;
17789
+ id: string;
17790
+ title: string;
17791
+ updatedAt: Date;
17792
+ team: {
17793
+ id: string;
17794
+ name: string;
17795
+ key: string;
17796
+ };
17797
+ teamId: string;
17798
+ sortOrder: number;
17799
+ boardOrder: number;
17800
+ previousIdentifiers: string[];
17801
+ priority: number;
17802
+ priorityLabel: string;
17803
+ state: {
17804
+ id: string;
17805
+ name: string;
17806
+ color: string;
17807
+ type: string;
17808
+ };
17809
+ labels: {
17810
+ id: string;
17811
+ name: string;
17812
+ color: string;
17813
+ }[];
17814
+ labelIds: string[];
17815
+ stateId: string;
17816
+ subscriberIds: string[];
17817
+ archivedAt?: Date | null | undefined;
17818
+ assignee?: {
17819
+ id: string;
17820
+ name: string;
17821
+ } | null | undefined;
17822
+ assigneeId?: string | null | undefined;
17823
+ autoArchivedAt?: Date | null | undefined;
17824
+ autoClosedAt?: Date | null | undefined;
17825
+ canceledAt?: Date | null | undefined;
17826
+ completedAt?: Date | null | undefined;
17827
+ creatorId?: string | null | undefined;
17828
+ cycleId?: string | null | undefined;
17829
+ description?: string | null | undefined;
17830
+ dueDate?: Date | null | undefined;
17831
+ estimate?: number | null | undefined;
17832
+ favoriteId?: string | null | undefined;
17833
+ parentId?: string | null | undefined;
17834
+ projectId?: string | null | undefined;
17835
+ startedAt?: Date | null | undefined;
17836
+ subIssueSortOrder?: number | null | undefined;
17837
+ trashed?: boolean | null | undefined;
17838
+ triagedAt?: Date | null | undefined;
17839
+ };
17840
+ url?: string | null | undefined;
17841
+ organizationId?: string | null | undefined;
17842
+ } | {
17843
+ createdAt: Date;
17844
+ type: "IssueSLA";
17845
+ action: "highRisk";
17846
+ webhookId: string;
17847
+ webhookTimestamp: Date;
17848
+ issueData: {
17849
+ number: number;
17850
+ createdAt: Date;
17851
+ id: string;
17852
+ title: string;
17853
+ updatedAt: Date;
17854
+ team: {
17855
+ id: string;
17856
+ name: string;
17857
+ key: string;
17858
+ };
17859
+ teamId: string;
17860
+ sortOrder: number;
17861
+ boardOrder: number;
17862
+ previousIdentifiers: string[];
17863
+ priority: number;
17864
+ priorityLabel: string;
17865
+ state: {
17866
+ id: string;
17867
+ name: string;
17868
+ color: string;
17869
+ type: string;
17870
+ };
17871
+ labels: {
17872
+ id: string;
17873
+ name: string;
17874
+ color: string;
17875
+ }[];
17876
+ labelIds: string[];
17877
+ stateId: string;
17878
+ subscriberIds: string[];
17879
+ archivedAt?: Date | null | undefined;
17880
+ assignee?: {
17881
+ id: string;
17882
+ name: string;
17883
+ } | null | undefined;
17884
+ assigneeId?: string | null | undefined;
17885
+ autoArchivedAt?: Date | null | undefined;
17886
+ autoClosedAt?: Date | null | undefined;
17887
+ canceledAt?: Date | null | undefined;
17888
+ completedAt?: Date | null | undefined;
17889
+ creatorId?: string | null | undefined;
17890
+ cycleId?: string | null | undefined;
17891
+ description?: string | null | undefined;
17892
+ dueDate?: Date | null | undefined;
17893
+ estimate?: number | null | undefined;
17894
+ favoriteId?: string | null | undefined;
17895
+ parentId?: string | null | undefined;
17896
+ projectId?: string | null | undefined;
17897
+ startedAt?: Date | null | undefined;
17898
+ subIssueSortOrder?: number | null | undefined;
17899
+ trashed?: boolean | null | undefined;
17900
+ triagedAt?: Date | null | undefined;
17901
+ };
17902
+ url?: string | null | undefined;
17903
+ organizationId?: string | null | undefined;
17904
+ } | {
17905
+ createdAt: Date;
17906
+ type: "IssueSLA";
17907
+ action: "breached";
17908
+ webhookId: string;
17909
+ webhookTimestamp: Date;
17910
+ issueData: {
17911
+ number: number;
17912
+ createdAt: Date;
17913
+ id: string;
17914
+ title: string;
17915
+ updatedAt: Date;
17916
+ team: {
17917
+ id: string;
17918
+ name: string;
17919
+ key: string;
17920
+ };
17921
+ teamId: string;
17922
+ sortOrder: number;
17923
+ boardOrder: number;
17924
+ previousIdentifiers: string[];
17925
+ priority: number;
17926
+ priorityLabel: string;
17927
+ state: {
17928
+ id: string;
17929
+ name: string;
17930
+ color: string;
17931
+ type: string;
17932
+ };
17933
+ labels: {
17934
+ id: string;
17935
+ name: string;
17936
+ color: string;
17937
+ }[];
17938
+ labelIds: string[];
17939
+ stateId: string;
17940
+ subscriberIds: string[];
17941
+ archivedAt?: Date | null | undefined;
17942
+ assignee?: {
17943
+ id: string;
17944
+ name: string;
17945
+ } | null | undefined;
17946
+ assigneeId?: string | null | undefined;
17947
+ autoArchivedAt?: Date | null | undefined;
17948
+ autoClosedAt?: Date | null | undefined;
17949
+ canceledAt?: Date | null | undefined;
17950
+ completedAt?: Date | null | undefined;
17951
+ creatorId?: string | null | undefined;
17952
+ cycleId?: string | null | undefined;
17953
+ description?: string | null | undefined;
17954
+ dueDate?: Date | null | undefined;
17955
+ estimate?: number | null | undefined;
17956
+ favoriteId?: string | null | undefined;
17957
+ parentId?: string | null | undefined;
17958
+ projectId?: string | null | undefined;
17959
+ startedAt?: Date | null | undefined;
17960
+ subIssueSortOrder?: number | null | undefined;
17961
+ trashed?: boolean | null | undefined;
17962
+ triagedAt?: Date | null | undefined;
17963
+ };
17964
+ url?: string | null | undefined;
17965
+ organizationId?: string | null | undefined;
17966
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17967
+ onIssueSLASet(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17968
+ createdAt: Date;
17969
+ type: "IssueSLA";
17970
+ action: "set";
17971
+ webhookId: string;
17972
+ webhookTimestamp: Date;
17973
+ issueData: {
17974
+ number: number;
17975
+ createdAt: Date;
17976
+ id: string;
17977
+ title: string;
17978
+ updatedAt: Date;
17979
+ team: {
17980
+ id: string;
17981
+ name: string;
17982
+ key: string;
17983
+ };
17984
+ teamId: string;
17985
+ sortOrder: number;
17986
+ boardOrder: number;
17987
+ previousIdentifiers: string[];
17988
+ priority: number;
17989
+ priorityLabel: string;
17990
+ state: {
17991
+ id: string;
17992
+ name: string;
17993
+ color: string;
17994
+ type: string;
17995
+ };
17996
+ labels: {
17997
+ id: string;
17998
+ name: string;
17999
+ color: string;
18000
+ }[];
18001
+ labelIds: string[];
18002
+ stateId: string;
18003
+ subscriberIds: string[];
18004
+ archivedAt?: Date | null | undefined;
18005
+ assignee?: {
18006
+ id: string;
18007
+ name: string;
18008
+ } | null | undefined;
18009
+ assigneeId?: string | null | undefined;
18010
+ autoArchivedAt?: Date | null | undefined;
18011
+ autoClosedAt?: Date | null | undefined;
18012
+ canceledAt?: Date | null | undefined;
18013
+ completedAt?: Date | null | undefined;
18014
+ creatorId?: string | null | undefined;
18015
+ cycleId?: string | null | undefined;
18016
+ description?: string | null | undefined;
18017
+ dueDate?: Date | null | undefined;
18018
+ estimate?: number | null | undefined;
18019
+ favoriteId?: string | null | undefined;
18020
+ parentId?: string | null | undefined;
18021
+ projectId?: string | null | undefined;
18022
+ startedAt?: Date | null | undefined;
18023
+ subIssueSortOrder?: number | null | undefined;
18024
+ trashed?: boolean | null | undefined;
18025
+ triagedAt?: Date | null | undefined;
18026
+ };
18027
+ url?: string | null | undefined;
18028
+ organizationId?: string | null | undefined;
18029
+ }, {
18030
+ createdAt: Date;
18031
+ type: "IssueSLA";
18032
+ action: "set";
18033
+ webhookId: string;
18034
+ webhookTimestamp: Date;
18035
+ issueData: {
18036
+ number: number;
18037
+ createdAt: Date;
18038
+ id: string;
18039
+ title: string;
18040
+ updatedAt: Date;
18041
+ team: {
18042
+ id: string;
18043
+ name: string;
18044
+ key: string;
18045
+ };
18046
+ teamId: string;
18047
+ sortOrder: number;
18048
+ boardOrder: number;
18049
+ previousIdentifiers: string[];
18050
+ priority: number;
18051
+ priorityLabel: string;
18052
+ state: {
18053
+ id: string;
18054
+ name: string;
18055
+ color: string;
18056
+ type: string;
18057
+ };
18058
+ labels: {
18059
+ id: string;
18060
+ name: string;
18061
+ color: string;
18062
+ }[];
18063
+ labelIds: string[];
18064
+ stateId: string;
18065
+ subscriberIds: string[];
18066
+ archivedAt?: Date | null | undefined;
18067
+ assignee?: {
18068
+ id: string;
18069
+ name: string;
18070
+ } | null | undefined;
18071
+ assigneeId?: string | null | undefined;
18072
+ autoArchivedAt?: Date | null | undefined;
18073
+ autoClosedAt?: Date | null | undefined;
18074
+ canceledAt?: Date | null | undefined;
18075
+ completedAt?: Date | null | undefined;
18076
+ creatorId?: string | null | undefined;
18077
+ cycleId?: string | null | undefined;
18078
+ description?: string | null | undefined;
18079
+ dueDate?: Date | null | undefined;
18080
+ estimate?: number | null | undefined;
18081
+ favoriteId?: string | null | undefined;
18082
+ parentId?: string | null | undefined;
18083
+ projectId?: string | null | undefined;
18084
+ startedAt?: Date | null | undefined;
18085
+ subIssueSortOrder?: number | null | undefined;
18086
+ trashed?: boolean | null | undefined;
18087
+ triagedAt?: Date | null | undefined;
18088
+ };
18089
+ url?: string | null | undefined;
18090
+ organizationId?: string | null | undefined;
18091
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
18092
+ onIssueSLABreached(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
18093
+ createdAt: Date;
18094
+ type: "IssueSLA";
18095
+ action: "breached";
18096
+ webhookId: string;
18097
+ webhookTimestamp: Date;
18098
+ issueData: {
18099
+ number: number;
18100
+ createdAt: Date;
18101
+ id: string;
18102
+ title: string;
18103
+ updatedAt: Date;
18104
+ team: {
18105
+ id: string;
18106
+ name: string;
18107
+ key: string;
18108
+ };
18109
+ teamId: string;
18110
+ sortOrder: number;
18111
+ boardOrder: number;
18112
+ previousIdentifiers: string[];
18113
+ priority: number;
18114
+ priorityLabel: string;
18115
+ state: {
18116
+ id: string;
18117
+ name: string;
18118
+ color: string;
18119
+ type: string;
18120
+ };
18121
+ labels: {
18122
+ id: string;
18123
+ name: string;
18124
+ color: string;
18125
+ }[];
18126
+ labelIds: string[];
18127
+ stateId: string;
18128
+ subscriberIds: string[];
18129
+ archivedAt?: Date | null | undefined;
18130
+ assignee?: {
18131
+ id: string;
18132
+ name: string;
18133
+ } | null | undefined;
18134
+ assigneeId?: string | null | undefined;
18135
+ autoArchivedAt?: Date | null | undefined;
18136
+ autoClosedAt?: Date | null | undefined;
18137
+ canceledAt?: Date | null | undefined;
18138
+ completedAt?: Date | null | undefined;
18139
+ creatorId?: string | null | undefined;
18140
+ cycleId?: string | null | undefined;
18141
+ description?: string | null | undefined;
18142
+ dueDate?: Date | null | undefined;
18143
+ estimate?: number | null | undefined;
18144
+ favoriteId?: string | null | undefined;
18145
+ parentId?: string | null | undefined;
18146
+ projectId?: string | null | undefined;
18147
+ startedAt?: Date | null | undefined;
18148
+ subIssueSortOrder?: number | null | undefined;
18149
+ trashed?: boolean | null | undefined;
18150
+ triagedAt?: Date | null | undefined;
18151
+ };
18152
+ url?: string | null | undefined;
18153
+ organizationId?: string | null | undefined;
18154
+ }, {
18155
+ createdAt: Date;
18156
+ type: "IssueSLA";
18157
+ action: "breached";
18158
+ webhookId: string;
18159
+ webhookTimestamp: Date;
18160
+ issueData: {
18161
+ number: number;
18162
+ createdAt: Date;
18163
+ id: string;
18164
+ title: string;
18165
+ updatedAt: Date;
18166
+ team: {
18167
+ id: string;
18168
+ name: string;
18169
+ key: string;
18170
+ };
18171
+ teamId: string;
18172
+ sortOrder: number;
18173
+ boardOrder: number;
18174
+ previousIdentifiers: string[];
18175
+ priority: number;
18176
+ priorityLabel: string;
18177
+ state: {
18178
+ id: string;
18179
+ name: string;
18180
+ color: string;
18181
+ type: string;
18182
+ };
18183
+ labels: {
18184
+ id: string;
18185
+ name: string;
18186
+ color: string;
18187
+ }[];
18188
+ labelIds: string[];
18189
+ stateId: string;
18190
+ subscriberIds: string[];
18191
+ archivedAt?: Date | null | undefined;
18192
+ assignee?: {
18193
+ id: string;
18194
+ name: string;
18195
+ } | null | undefined;
18196
+ assigneeId?: string | null | undefined;
18197
+ autoArchivedAt?: Date | null | undefined;
18198
+ autoClosedAt?: Date | null | undefined;
18199
+ canceledAt?: Date | null | undefined;
18200
+ completedAt?: Date | null | undefined;
18201
+ creatorId?: string | null | undefined;
18202
+ cycleId?: string | null | undefined;
18203
+ description?: string | null | undefined;
18204
+ dueDate?: Date | null | undefined;
18205
+ estimate?: number | null | undefined;
18206
+ favoriteId?: string | null | undefined;
18207
+ parentId?: string | null | undefined;
18208
+ projectId?: string | null | undefined;
18209
+ startedAt?: Date | null | undefined;
18210
+ subIssueSortOrder?: number | null | undefined;
18211
+ trashed?: boolean | null | undefined;
18212
+ triagedAt?: Date | null | undefined;
18213
+ };
18214
+ url?: string | null | undefined;
18215
+ organizationId?: string | null | undefined;
18216
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
18217
+ onIssueSLAHighRisk(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
18218
+ createdAt: Date;
18219
+ type: "IssueSLA";
18220
+ action: "highRisk";
18221
+ webhookId: string;
18222
+ webhookTimestamp: Date;
18223
+ issueData: {
18224
+ number: number;
18225
+ createdAt: Date;
18226
+ id: string;
18227
+ title: string;
18228
+ updatedAt: Date;
18229
+ team: {
18230
+ id: string;
18231
+ name: string;
18232
+ key: string;
18233
+ };
18234
+ teamId: string;
18235
+ sortOrder: number;
18236
+ boardOrder: number;
18237
+ previousIdentifiers: string[];
18238
+ priority: number;
18239
+ priorityLabel: string;
18240
+ state: {
18241
+ id: string;
18242
+ name: string;
18243
+ color: string;
18244
+ type: string;
18245
+ };
18246
+ labels: {
18247
+ id: string;
18248
+ name: string;
18249
+ color: string;
18250
+ }[];
18251
+ labelIds: string[];
18252
+ stateId: string;
18253
+ subscriberIds: string[];
18254
+ archivedAt?: Date | null | undefined;
18255
+ assignee?: {
18256
+ id: string;
18257
+ name: string;
18258
+ } | null | undefined;
18259
+ assigneeId?: string | null | undefined;
18260
+ autoArchivedAt?: Date | null | undefined;
18261
+ autoClosedAt?: Date | null | undefined;
18262
+ canceledAt?: Date | null | undefined;
18263
+ completedAt?: Date | null | undefined;
18264
+ creatorId?: string | null | undefined;
18265
+ cycleId?: string | null | undefined;
18266
+ description?: string | null | undefined;
18267
+ dueDate?: Date | null | undefined;
18268
+ estimate?: number | null | undefined;
18269
+ favoriteId?: string | null | undefined;
18270
+ parentId?: string | null | undefined;
18271
+ projectId?: string | null | undefined;
18272
+ startedAt?: Date | null | undefined;
18273
+ subIssueSortOrder?: number | null | undefined;
18274
+ trashed?: boolean | null | undefined;
18275
+ triagedAt?: Date | null | undefined;
18276
+ };
18277
+ url?: string | null | undefined;
18278
+ organizationId?: string | null | undefined;
18279
+ }, {
18280
+ createdAt: Date;
18281
+ type: "IssueSLA";
18282
+ action: "highRisk";
18283
+ webhookId: string;
18284
+ webhookTimestamp: Date;
18285
+ issueData: {
18286
+ number: number;
18287
+ createdAt: Date;
18288
+ id: string;
18289
+ title: string;
18290
+ updatedAt: Date;
18291
+ team: {
18292
+ id: string;
18293
+ name: string;
18294
+ key: string;
18295
+ };
18296
+ teamId: string;
18297
+ sortOrder: number;
18298
+ boardOrder: number;
18299
+ previousIdentifiers: string[];
18300
+ priority: number;
18301
+ priorityLabel: string;
18302
+ state: {
18303
+ id: string;
18304
+ name: string;
18305
+ color: string;
18306
+ type: string;
18307
+ };
18308
+ labels: {
18309
+ id: string;
18310
+ name: string;
18311
+ color: string;
16692
18312
  }[];
16693
18313
  labelIds: string[];
16694
18314
  stateId: string;
@@ -16700,26 +18320,234 @@ declare class Linear implements TriggerIntegration {
16700
18320
  } | null | undefined;
16701
18321
  assigneeId?: string | null | undefined;
16702
18322
  autoArchivedAt?: Date | null | undefined;
16703
- autoClosedAt?: Date | null | undefined;
18323
+ autoClosedAt?: Date | null | undefined;
18324
+ canceledAt?: Date | null | undefined;
18325
+ completedAt?: Date | null | undefined;
18326
+ creatorId?: string | null | undefined;
18327
+ cycleId?: string | null | undefined;
18328
+ description?: string | null | undefined;
18329
+ dueDate?: Date | null | undefined;
18330
+ estimate?: number | null | undefined;
18331
+ favoriteId?: string | null | undefined;
18332
+ parentId?: string | null | undefined;
18333
+ projectId?: string | null | undefined;
18334
+ startedAt?: Date | null | undefined;
18335
+ subIssueSortOrder?: number | null | undefined;
18336
+ trashed?: boolean | null | undefined;
18337
+ triagedAt?: Date | null | undefined;
18338
+ };
18339
+ url?: string | null | undefined;
18340
+ organizationId?: string | null | undefined;
18341
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
18342
+ onProject(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
18343
+ createdAt: Date;
18344
+ type: "Project";
18345
+ data: {
18346
+ description: string;
18347
+ createdAt: Date;
18348
+ id: string;
18349
+ updatedAt: Date;
18350
+ name: string;
18351
+ completedIssueCountHistory: number[];
18352
+ completedScopeHistory: number[];
18353
+ inProgressScopeHistory: number[];
18354
+ issueCountHistory: number[];
18355
+ scopeHistory: number[];
18356
+ color: string;
18357
+ slugId: string;
18358
+ sortOrder: number;
18359
+ state: string;
18360
+ slackIssueComments: boolean;
18361
+ slackIssueStatuses: boolean;
18362
+ slackNewIssue: boolean;
18363
+ creatorId: string;
18364
+ leadId: string;
18365
+ memberIds: string[];
18366
+ milestones: {
18367
+ id: string;
18368
+ name: string;
18369
+ }[];
18370
+ teamIds: string[];
18371
+ archivedAt?: Date | null | undefined;
18372
+ autoArchivedAt?: Date | null | undefined;
18373
+ canceledAt?: Date | null | undefined;
18374
+ completedAt?: Date | null | undefined;
18375
+ content?: string | null | undefined;
18376
+ convertedFromIssueId?: string | null | undefined;
18377
+ icon?: string | null | undefined;
18378
+ integrationsSettingsId?: string | null | undefined;
18379
+ progress?: number | null | undefined;
18380
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
18381
+ roadmaps?: {
18382
+ id: string;
18383
+ name: string;
18384
+ }[] | null | undefined;
18385
+ scope?: number | null | undefined;
18386
+ startDate?: Date | null | undefined;
18387
+ startedAt?: Date | null | undefined;
18388
+ targetDate?: Date | null | undefined;
18389
+ trashed?: boolean | null | undefined;
18390
+ };
18391
+ action: "create";
18392
+ webhookId: string;
18393
+ webhookTimestamp: Date;
18394
+ url?: string | null | undefined;
18395
+ organizationId?: string | null | undefined;
18396
+ } | {
18397
+ createdAt: Date;
18398
+ type: "Project";
18399
+ data: {
18400
+ description: string;
18401
+ createdAt: Date;
18402
+ id: string;
18403
+ updatedAt: Date;
18404
+ name: string;
18405
+ completedIssueCountHistory: number[];
18406
+ completedScopeHistory: number[];
18407
+ inProgressScopeHistory: number[];
18408
+ issueCountHistory: number[];
18409
+ scopeHistory: number[];
18410
+ color: string;
18411
+ slugId: string;
18412
+ sortOrder: number;
18413
+ state: string;
18414
+ slackIssueComments: boolean;
18415
+ slackIssueStatuses: boolean;
18416
+ slackNewIssue: boolean;
18417
+ creatorId: string;
18418
+ leadId: string;
18419
+ memberIds: string[];
18420
+ milestones: {
18421
+ id: string;
18422
+ name: string;
18423
+ }[];
18424
+ teamIds: string[];
18425
+ archivedAt?: Date | null | undefined;
18426
+ autoArchivedAt?: Date | null | undefined;
18427
+ canceledAt?: Date | null | undefined;
18428
+ completedAt?: Date | null | undefined;
18429
+ content?: string | null | undefined;
18430
+ convertedFromIssueId?: string | null | undefined;
18431
+ icon?: string | null | undefined;
18432
+ integrationsSettingsId?: string | null | undefined;
18433
+ progress?: number | null | undefined;
18434
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
18435
+ roadmaps?: {
18436
+ id: string;
18437
+ name: string;
18438
+ }[] | null | undefined;
18439
+ scope?: number | null | undefined;
18440
+ startDate?: Date | null | undefined;
18441
+ startedAt?: Date | null | undefined;
18442
+ targetDate?: Date | null | undefined;
18443
+ trashed?: boolean | null | undefined;
18444
+ };
18445
+ action: "remove";
18446
+ webhookId: string;
18447
+ webhookTimestamp: Date;
18448
+ url?: string | null | undefined;
18449
+ organizationId?: string | null | undefined;
18450
+ } | {
18451
+ createdAt: Date;
18452
+ type: "Project";
18453
+ data: {
18454
+ description: string;
18455
+ createdAt: Date;
18456
+ id: string;
18457
+ updatedAt: Date;
18458
+ name: string;
18459
+ completedIssueCountHistory: number[];
18460
+ completedScopeHistory: number[];
18461
+ inProgressScopeHistory: number[];
18462
+ issueCountHistory: number[];
18463
+ scopeHistory: number[];
18464
+ color: string;
18465
+ slugId: string;
18466
+ sortOrder: number;
18467
+ state: string;
18468
+ slackIssueComments: boolean;
18469
+ slackIssueStatuses: boolean;
18470
+ slackNewIssue: boolean;
18471
+ creatorId: string;
18472
+ leadId: string;
18473
+ memberIds: string[];
18474
+ milestones: {
18475
+ id: string;
18476
+ name: string;
18477
+ }[];
18478
+ teamIds: string[];
18479
+ archivedAt?: Date | null | undefined;
18480
+ autoArchivedAt?: Date | null | undefined;
18481
+ canceledAt?: Date | null | undefined;
18482
+ completedAt?: Date | null | undefined;
18483
+ content?: string | null | undefined;
18484
+ convertedFromIssueId?: string | null | undefined;
18485
+ icon?: string | null | undefined;
18486
+ integrationsSettingsId?: string | null | undefined;
18487
+ progress?: number | null | undefined;
18488
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
18489
+ roadmaps?: {
18490
+ id: string;
18491
+ name: string;
18492
+ }[] | null | undefined;
18493
+ scope?: number | null | undefined;
18494
+ startDate?: Date | null | undefined;
18495
+ startedAt?: Date | null | undefined;
18496
+ targetDate?: Date | null | undefined;
18497
+ trashed?: boolean | null | undefined;
18498
+ };
18499
+ action: "update";
18500
+ webhookId: string;
18501
+ webhookTimestamp: Date;
18502
+ updatedFrom: {
18503
+ archivedAt?: Date | null | undefined;
18504
+ autoArchivedAt?: Date | null | undefined;
16704
18505
  canceledAt?: Date | null | undefined;
18506
+ color?: string | undefined;
16705
18507
  completedAt?: Date | null | undefined;
16706
- creatorId?: string | null | undefined;
16707
- cycleId?: string | null | undefined;
16708
- description?: string | null | undefined;
16709
- dueDate?: Date | null | undefined;
16710
- estimate?: number | null | undefined;
16711
- favoriteId?: string | null | undefined;
16712
- parentId?: string | null | undefined;
16713
- projectId?: string | null | undefined;
18508
+ completedIssueCountHistory?: number[] | undefined;
18509
+ completedScopeHistory?: number[] | undefined;
18510
+ content?: string | null | undefined;
18511
+ convertedFromIssueId?: string | null | undefined;
18512
+ createdAt?: Date | undefined;
18513
+ creatorId?: string | undefined;
18514
+ description?: string | undefined;
18515
+ icon?: string | null | undefined;
18516
+ id?: string | undefined;
18517
+ inProgressScopeHistory?: number[] | undefined;
18518
+ integrationsSettingsId?: string | null | undefined;
18519
+ issueCountHistory?: number[] | undefined;
18520
+ leadId?: string | undefined;
18521
+ memberIds?: string[] | undefined;
18522
+ milestones?: {
18523
+ id: string;
18524
+ name: string;
18525
+ }[] | undefined;
18526
+ name?: string | undefined;
18527
+ progress?: number | null | undefined;
18528
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
18529
+ roadmaps?: {
18530
+ id: string;
18531
+ name: string;
18532
+ }[] | null | undefined;
18533
+ scope?: number | null | undefined;
18534
+ scopeHistory?: number[] | undefined;
18535
+ slackIssueComments?: boolean | undefined;
18536
+ slackIssueStatuses?: boolean | undefined;
18537
+ slackNewIssue?: boolean | undefined;
18538
+ slugId?: string | undefined;
18539
+ sortOrder?: number | undefined;
18540
+ startDate?: Date | null | undefined;
16714
18541
  startedAt?: Date | null | undefined;
16715
- subIssueSortOrder?: number | null | undefined;
18542
+ state?: string | undefined;
18543
+ targetDate?: Date | null | undefined;
18544
+ teamIds?: string[] | undefined;
16716
18545
  trashed?: boolean | null | undefined;
16717
- triagedAt?: Date | null | undefined;
18546
+ updatedAt?: Date | undefined;
16718
18547
  };
16719
18548
  url?: string | null | undefined;
16720
18549
  organizationId?: string | null | undefined;
16721
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16722
- onProject(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
18550
+ }, {
16723
18551
  createdAt: Date;
16724
18552
  type: "Project";
16725
18553
  data: {
@@ -16982,6 +18810,60 @@ declare class Linear implements TriggerIntegration {
16982
18810
  webhookTimestamp: Date;
16983
18811
  url?: string | null | undefined;
16984
18812
  organizationId?: string | null | undefined;
18813
+ }, {
18814
+ createdAt: Date;
18815
+ type: "Project";
18816
+ data: {
18817
+ description: string;
18818
+ createdAt: Date;
18819
+ id: string;
18820
+ updatedAt: Date;
18821
+ name: string;
18822
+ completedIssueCountHistory: number[];
18823
+ completedScopeHistory: number[];
18824
+ inProgressScopeHistory: number[];
18825
+ issueCountHistory: number[];
18826
+ scopeHistory: number[];
18827
+ color: string;
18828
+ slugId: string;
18829
+ sortOrder: number;
18830
+ state: string;
18831
+ slackIssueComments: boolean;
18832
+ slackIssueStatuses: boolean;
18833
+ slackNewIssue: boolean;
18834
+ creatorId: string;
18835
+ leadId: string;
18836
+ memberIds: string[];
18837
+ milestones: {
18838
+ id: string;
18839
+ name: string;
18840
+ }[];
18841
+ teamIds: string[];
18842
+ archivedAt?: Date | null | undefined;
18843
+ autoArchivedAt?: Date | null | undefined;
18844
+ canceledAt?: Date | null | undefined;
18845
+ completedAt?: Date | null | undefined;
18846
+ content?: string | null | undefined;
18847
+ convertedFromIssueId?: string | null | undefined;
18848
+ icon?: string | null | undefined;
18849
+ integrationsSettingsId?: string | null | undefined;
18850
+ progress?: number | null | undefined;
18851
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
18852
+ roadmaps?: {
18853
+ id: string;
18854
+ name: string;
18855
+ }[] | null | undefined;
18856
+ scope?: number | null | undefined;
18857
+ startDate?: Date | null | undefined;
18858
+ startedAt?: Date | null | undefined;
18859
+ targetDate?: Date | null | undefined;
18860
+ trashed?: boolean | null | undefined;
18861
+ };
18862
+ action: "create";
18863
+ webhookId: string;
18864
+ webhookTimestamp: Date;
18865
+ url?: string | null | undefined;
18866
+ organizationId?: string | null | undefined;
16985
18867
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
16986
18868
  onProjectRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
16987
18869
  createdAt: Date;
@@ -17032,13 +18914,167 @@ declare class Linear implements TriggerIntegration {
17032
18914
  targetDate?: Date | null | undefined;
17033
18915
  trashed?: boolean | null | undefined;
17034
18916
  };
17035
- action: "remove";
17036
- webhookId: string;
17037
- webhookTimestamp: Date;
18917
+ action: "remove";
18918
+ webhookId: string;
18919
+ webhookTimestamp: Date;
18920
+ url?: string | null | undefined;
18921
+ organizationId?: string | null | undefined;
18922
+ }, {
18923
+ createdAt: Date;
18924
+ type: "Project";
18925
+ data: {
18926
+ description: string;
18927
+ createdAt: Date;
18928
+ id: string;
18929
+ updatedAt: Date;
18930
+ name: string;
18931
+ completedIssueCountHistory: number[];
18932
+ completedScopeHistory: number[];
18933
+ inProgressScopeHistory: number[];
18934
+ issueCountHistory: number[];
18935
+ scopeHistory: number[];
18936
+ color: string;
18937
+ slugId: string;
18938
+ sortOrder: number;
18939
+ state: string;
18940
+ slackIssueComments: boolean;
18941
+ slackIssueStatuses: boolean;
18942
+ slackNewIssue: boolean;
18943
+ creatorId: string;
18944
+ leadId: string;
18945
+ memberIds: string[];
18946
+ milestones: {
18947
+ id: string;
18948
+ name: string;
18949
+ }[];
18950
+ teamIds: string[];
18951
+ archivedAt?: Date | null | undefined;
18952
+ autoArchivedAt?: Date | null | undefined;
18953
+ canceledAt?: Date | null | undefined;
18954
+ completedAt?: Date | null | undefined;
18955
+ content?: string | null | undefined;
18956
+ convertedFromIssueId?: string | null | undefined;
18957
+ icon?: string | null | undefined;
18958
+ integrationsSettingsId?: string | null | undefined;
18959
+ progress?: number | null | undefined;
18960
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
18961
+ roadmaps?: {
18962
+ id: string;
18963
+ name: string;
18964
+ }[] | null | undefined;
18965
+ scope?: number | null | undefined;
18966
+ startDate?: Date | null | undefined;
18967
+ startedAt?: Date | null | undefined;
18968
+ targetDate?: Date | null | undefined;
18969
+ trashed?: boolean | null | undefined;
18970
+ };
18971
+ action: "remove";
18972
+ webhookId: string;
18973
+ webhookTimestamp: Date;
18974
+ url?: string | null | undefined;
18975
+ organizationId?: string | null | undefined;
18976
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
18977
+ onProjectUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
18978
+ createdAt: Date;
18979
+ type: "Project";
18980
+ data: {
18981
+ description: string;
18982
+ createdAt: Date;
18983
+ id: string;
18984
+ updatedAt: Date;
18985
+ name: string;
18986
+ completedIssueCountHistory: number[];
18987
+ completedScopeHistory: number[];
18988
+ inProgressScopeHistory: number[];
18989
+ issueCountHistory: number[];
18990
+ scopeHistory: number[];
18991
+ color: string;
18992
+ slugId: string;
18993
+ sortOrder: number;
18994
+ state: string;
18995
+ slackIssueComments: boolean;
18996
+ slackIssueStatuses: boolean;
18997
+ slackNewIssue: boolean;
18998
+ creatorId: string;
18999
+ leadId: string;
19000
+ memberIds: string[];
19001
+ milestones: {
19002
+ id: string;
19003
+ name: string;
19004
+ }[];
19005
+ teamIds: string[];
19006
+ archivedAt?: Date | null | undefined;
19007
+ autoArchivedAt?: Date | null | undefined;
19008
+ canceledAt?: Date | null | undefined;
19009
+ completedAt?: Date | null | undefined;
19010
+ content?: string | null | undefined;
19011
+ convertedFromIssueId?: string | null | undefined;
19012
+ icon?: string | null | undefined;
19013
+ integrationsSettingsId?: string | null | undefined;
19014
+ progress?: number | null | undefined;
19015
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
19016
+ roadmaps?: {
19017
+ id: string;
19018
+ name: string;
19019
+ }[] | null | undefined;
19020
+ scope?: number | null | undefined;
19021
+ startDate?: Date | null | undefined;
19022
+ startedAt?: Date | null | undefined;
19023
+ targetDate?: Date | null | undefined;
19024
+ trashed?: boolean | null | undefined;
19025
+ };
19026
+ action: "update";
19027
+ webhookId: string;
19028
+ webhookTimestamp: Date;
19029
+ updatedFrom: {
19030
+ archivedAt?: Date | null | undefined;
19031
+ autoArchivedAt?: Date | null | undefined;
19032
+ canceledAt?: Date | null | undefined;
19033
+ color?: string | undefined;
19034
+ completedAt?: Date | null | undefined;
19035
+ completedIssueCountHistory?: number[] | undefined;
19036
+ completedScopeHistory?: number[] | undefined;
19037
+ content?: string | null | undefined;
19038
+ convertedFromIssueId?: string | null | undefined;
19039
+ createdAt?: Date | undefined;
19040
+ creatorId?: string | undefined;
19041
+ description?: string | undefined;
19042
+ icon?: string | null | undefined;
19043
+ id?: string | undefined;
19044
+ inProgressScopeHistory?: number[] | undefined;
19045
+ integrationsSettingsId?: string | null | undefined;
19046
+ issueCountHistory?: number[] | undefined;
19047
+ leadId?: string | undefined;
19048
+ memberIds?: string[] | undefined;
19049
+ milestones?: {
19050
+ id: string;
19051
+ name: string;
19052
+ }[] | undefined;
19053
+ name?: string | undefined;
19054
+ progress?: number | null | undefined;
19055
+ projectUpdateRemindersPausedUntilAt?: Date | null | undefined;
19056
+ roadmaps?: {
19057
+ id: string;
19058
+ name: string;
19059
+ }[] | null | undefined;
19060
+ scope?: number | null | undefined;
19061
+ scopeHistory?: number[] | undefined;
19062
+ slackIssueComments?: boolean | undefined;
19063
+ slackIssueStatuses?: boolean | undefined;
19064
+ slackNewIssue?: boolean | undefined;
19065
+ slugId?: string | undefined;
19066
+ sortOrder?: number | undefined;
19067
+ startDate?: Date | null | undefined;
19068
+ startedAt?: Date | null | undefined;
19069
+ state?: string | undefined;
19070
+ targetDate?: Date | null | undefined;
19071
+ teamIds?: string[] | undefined;
19072
+ trashed?: boolean | null | undefined;
19073
+ updatedAt?: Date | undefined;
19074
+ };
17038
19075
  url?: string | null | undefined;
17039
19076
  organizationId?: string | null | undefined;
17040
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17041
- onProjectUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
19077
+ }, {
17042
19078
  createdAt: Date;
17043
19079
  type: "Project";
17044
19080
  data: {
@@ -17139,7 +19175,248 @@ declare class Linear implements TriggerIntegration {
17139
19175
  url?: string | null | undefined;
17140
19176
  organizationId?: string | null | undefined;
17141
19177
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17142
- onProjectUpdate(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
19178
+ onProjectUpdate(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
19179
+ createdAt: Date;
19180
+ type: "ProjectUpdate";
19181
+ data: {
19182
+ createdAt: Date;
19183
+ id: string;
19184
+ updatedAt: Date;
19185
+ body: string;
19186
+ user: {
19187
+ id: string;
19188
+ name: string;
19189
+ };
19190
+ project: {
19191
+ id: string;
19192
+ name: string;
19193
+ };
19194
+ projectId: string;
19195
+ userId: string;
19196
+ health: string;
19197
+ archivedAt?: Date | null | undefined;
19198
+ editedAt?: Date | null | undefined;
19199
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19200
+ roadmaps?: {
19201
+ id: string;
19202
+ name: string;
19203
+ }[] | null | undefined;
19204
+ };
19205
+ action: "create";
19206
+ webhookId: string;
19207
+ webhookTimestamp: Date;
19208
+ url?: string | null | undefined;
19209
+ organizationId?: string | null | undefined;
19210
+ } | {
19211
+ createdAt: Date;
19212
+ type: "ProjectUpdate";
19213
+ data: {
19214
+ createdAt: Date;
19215
+ id: string;
19216
+ updatedAt: Date;
19217
+ body: string;
19218
+ user: {
19219
+ id: string;
19220
+ name: string;
19221
+ };
19222
+ project: {
19223
+ id: string;
19224
+ name: string;
19225
+ };
19226
+ projectId: string;
19227
+ userId: string;
19228
+ health: string;
19229
+ archivedAt?: Date | null | undefined;
19230
+ editedAt?: Date | null | undefined;
19231
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19232
+ roadmaps?: {
19233
+ id: string;
19234
+ name: string;
19235
+ }[] | null | undefined;
19236
+ };
19237
+ action: "remove";
19238
+ webhookId: string;
19239
+ webhookTimestamp: Date;
19240
+ url?: string | null | undefined;
19241
+ organizationId?: string | null | undefined;
19242
+ } | {
19243
+ createdAt: Date;
19244
+ type: "ProjectUpdate";
19245
+ data: {
19246
+ createdAt: Date;
19247
+ id: string;
19248
+ updatedAt: Date;
19249
+ body: string;
19250
+ user: {
19251
+ id: string;
19252
+ name: string;
19253
+ };
19254
+ project: {
19255
+ id: string;
19256
+ name: string;
19257
+ };
19258
+ projectId: string;
19259
+ userId: string;
19260
+ health: string;
19261
+ archivedAt?: Date | null | undefined;
19262
+ editedAt?: Date | null | undefined;
19263
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19264
+ roadmaps?: {
19265
+ id: string;
19266
+ name: string;
19267
+ }[] | null | undefined;
19268
+ };
19269
+ action: "update";
19270
+ webhookId: string;
19271
+ webhookTimestamp: Date;
19272
+ updatedFrom: {
19273
+ archivedAt?: Date | null | undefined;
19274
+ body?: string | undefined;
19275
+ createdAt?: Date | undefined;
19276
+ editedAt?: Date | null | undefined;
19277
+ health?: string | undefined;
19278
+ id?: string | undefined;
19279
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19280
+ project?: {
19281
+ id: string;
19282
+ name: string;
19283
+ } | undefined;
19284
+ projectId?: string | undefined;
19285
+ roadmaps?: {
19286
+ id: string;
19287
+ name: string;
19288
+ }[] | null | undefined;
19289
+ updatedAt?: Date | undefined;
19290
+ user?: {
19291
+ id: string;
19292
+ name: string;
19293
+ } | undefined;
19294
+ userId?: string | undefined;
19295
+ };
19296
+ url?: string | null | undefined;
19297
+ organizationId?: string | null | undefined;
19298
+ }, {
19299
+ createdAt: Date;
19300
+ type: "ProjectUpdate";
19301
+ data: {
19302
+ createdAt: Date;
19303
+ id: string;
19304
+ updatedAt: Date;
19305
+ body: string;
19306
+ user: {
19307
+ id: string;
19308
+ name: string;
19309
+ };
19310
+ project: {
19311
+ id: string;
19312
+ name: string;
19313
+ };
19314
+ projectId: string;
19315
+ userId: string;
19316
+ health: string;
19317
+ archivedAt?: Date | null | undefined;
19318
+ editedAt?: Date | null | undefined;
19319
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19320
+ roadmaps?: {
19321
+ id: string;
19322
+ name: string;
19323
+ }[] | null | undefined;
19324
+ };
19325
+ action: "create";
19326
+ webhookId: string;
19327
+ webhookTimestamp: Date;
19328
+ url?: string | null | undefined;
19329
+ organizationId?: string | null | undefined;
19330
+ } | {
19331
+ createdAt: Date;
19332
+ type: "ProjectUpdate";
19333
+ data: {
19334
+ createdAt: Date;
19335
+ id: string;
19336
+ updatedAt: Date;
19337
+ body: string;
19338
+ user: {
19339
+ id: string;
19340
+ name: string;
19341
+ };
19342
+ project: {
19343
+ id: string;
19344
+ name: string;
19345
+ };
19346
+ projectId: string;
19347
+ userId: string;
19348
+ health: string;
19349
+ archivedAt?: Date | null | undefined;
19350
+ editedAt?: Date | null | undefined;
19351
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19352
+ roadmaps?: {
19353
+ id: string;
19354
+ name: string;
19355
+ }[] | null | undefined;
19356
+ };
19357
+ action: "remove";
19358
+ webhookId: string;
19359
+ webhookTimestamp: Date;
19360
+ url?: string | null | undefined;
19361
+ organizationId?: string | null | undefined;
19362
+ } | {
19363
+ createdAt: Date;
19364
+ type: "ProjectUpdate";
19365
+ data: {
19366
+ createdAt: Date;
19367
+ id: string;
19368
+ updatedAt: Date;
19369
+ body: string;
19370
+ user: {
19371
+ id: string;
19372
+ name: string;
19373
+ };
19374
+ project: {
19375
+ id: string;
19376
+ name: string;
19377
+ };
19378
+ projectId: string;
19379
+ userId: string;
19380
+ health: string;
19381
+ archivedAt?: Date | null | undefined;
19382
+ editedAt?: Date | null | undefined;
19383
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19384
+ roadmaps?: {
19385
+ id: string;
19386
+ name: string;
19387
+ }[] | null | undefined;
19388
+ };
19389
+ action: "update";
19390
+ webhookId: string;
19391
+ webhookTimestamp: Date;
19392
+ updatedFrom: {
19393
+ archivedAt?: Date | null | undefined;
19394
+ body?: string | undefined;
19395
+ createdAt?: Date | undefined;
19396
+ editedAt?: Date | null | undefined;
19397
+ health?: string | undefined;
19398
+ id?: string | undefined;
19399
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19400
+ project?: {
19401
+ id: string;
19402
+ name: string;
19403
+ } | undefined;
19404
+ projectId?: string | undefined;
19405
+ roadmaps?: {
19406
+ id: string;
19407
+ name: string;
19408
+ }[] | null | undefined;
19409
+ updatedAt?: Date | undefined;
19410
+ user?: {
19411
+ id: string;
19412
+ name: string;
19413
+ } | undefined;
19414
+ userId?: string | undefined;
19415
+ };
19416
+ url?: string | null | undefined;
19417
+ organizationId?: string | null | undefined;
19418
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
19419
+ onProjectUpdateCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17143
19420
  createdAt: Date;
17144
19421
  type: "ProjectUpdate";
17145
19422
  data: {
@@ -17171,7 +19448,7 @@ declare class Linear implements TriggerIntegration {
17171
19448
  webhookTimestamp: Date;
17172
19449
  url?: string | null | undefined;
17173
19450
  organizationId?: string | null | undefined;
17174
- } | {
19451
+ }, {
17175
19452
  createdAt: Date;
17176
19453
  type: "ProjectUpdate";
17177
19454
  data: {
@@ -17198,12 +19475,13 @@ declare class Linear implements TriggerIntegration {
17198
19475
  name: string;
17199
19476
  }[] | null | undefined;
17200
19477
  };
17201
- action: "remove";
19478
+ action: "create";
17202
19479
  webhookId: string;
17203
19480
  webhookTimestamp: Date;
17204
19481
  url?: string | null | undefined;
17205
19482
  organizationId?: string | null | undefined;
17206
- } | {
19483
+ }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
19484
+ onProjectUpdateRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17207
19485
  createdAt: Date;
17208
19486
  type: "ProjectUpdate";
17209
19487
  data: {
@@ -17230,37 +19508,12 @@ declare class Linear implements TriggerIntegration {
17230
19508
  name: string;
17231
19509
  }[] | null | undefined;
17232
19510
  };
17233
- action: "update";
19511
+ action: "remove";
17234
19512
  webhookId: string;
17235
19513
  webhookTimestamp: Date;
17236
- updatedFrom: {
17237
- archivedAt?: Date | null | undefined;
17238
- body?: string | undefined;
17239
- createdAt?: Date | undefined;
17240
- editedAt?: Date | null | undefined;
17241
- health?: string | undefined;
17242
- id?: string | undefined;
17243
- infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
17244
- project?: {
17245
- id: string;
17246
- name: string;
17247
- } | undefined;
17248
- projectId?: string | undefined;
17249
- roadmaps?: {
17250
- id: string;
17251
- name: string;
17252
- }[] | null | undefined;
17253
- updatedAt?: Date | undefined;
17254
- user?: {
17255
- id: string;
17256
- name: string;
17257
- } | undefined;
17258
- userId?: string | undefined;
17259
- };
17260
19514
  url?: string | null | undefined;
17261
19515
  organizationId?: string | null | undefined;
17262
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17263
- onProjectUpdateCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
19516
+ }, {
17264
19517
  createdAt: Date;
17265
19518
  type: "ProjectUpdate";
17266
19519
  data: {
@@ -17287,13 +19540,13 @@ declare class Linear implements TriggerIntegration {
17287
19540
  name: string;
17288
19541
  }[] | null | undefined;
17289
19542
  };
17290
- action: "create";
19543
+ action: "remove";
17291
19544
  webhookId: string;
17292
19545
  webhookTimestamp: Date;
17293
19546
  url?: string | null | undefined;
17294
19547
  organizationId?: string | null | undefined;
17295
19548
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17296
- onProjectUpdateRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
19549
+ onProjectUpdateUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17297
19550
  createdAt: Date;
17298
19551
  type: "ProjectUpdate";
17299
19552
  data: {
@@ -17320,13 +19573,36 @@ declare class Linear implements TriggerIntegration {
17320
19573
  name: string;
17321
19574
  }[] | null | undefined;
17322
19575
  };
17323
- action: "remove";
19576
+ action: "update";
17324
19577
  webhookId: string;
17325
19578
  webhookTimestamp: Date;
19579
+ updatedFrom: {
19580
+ archivedAt?: Date | null | undefined;
19581
+ body?: string | undefined;
19582
+ createdAt?: Date | undefined;
19583
+ editedAt?: Date | null | undefined;
19584
+ health?: string | undefined;
19585
+ id?: string | undefined;
19586
+ infoSnapshot?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
19587
+ project?: {
19588
+ id: string;
19589
+ name: string;
19590
+ } | undefined;
19591
+ projectId?: string | undefined;
19592
+ roadmaps?: {
19593
+ id: string;
19594
+ name: string;
19595
+ }[] | null | undefined;
19596
+ updatedAt?: Date | undefined;
19597
+ user?: {
19598
+ id: string;
19599
+ name: string;
19600
+ } | undefined;
19601
+ userId?: string | undefined;
19602
+ };
17326
19603
  url?: string | null | undefined;
17327
19604
  organizationId?: string | null | undefined;
17328
- }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17329
- onProjectUpdateUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
19605
+ }, {
17330
19606
  createdAt: Date;
17331
19607
  type: "ProjectUpdate";
17332
19608
  data: {
@@ -17475,6 +19751,98 @@ declare class Linear implements TriggerIntegration {
17475
19751
  };
17476
19752
  url?: string | null | undefined;
17477
19753
  organizationId?: string | null | undefined;
19754
+ }, {
19755
+ createdAt: Date;
19756
+ type: "Reaction";
19757
+ data: {
19758
+ createdAt: Date;
19759
+ id: string;
19760
+ updatedAt: Date;
19761
+ emoji: string;
19762
+ archivedAt?: Date | null | undefined;
19763
+ comment?: {
19764
+ id: string;
19765
+ body: string;
19766
+ userId?: string | null | undefined;
19767
+ } | null | undefined;
19768
+ user?: {
19769
+ id: string;
19770
+ name: string;
19771
+ } | null | undefined;
19772
+ userId?: string | null | undefined;
19773
+ };
19774
+ action: "create";
19775
+ webhookId: string;
19776
+ webhookTimestamp: Date;
19777
+ url?: string | null | undefined;
19778
+ organizationId?: string | null | undefined;
19779
+ } | {
19780
+ createdAt: Date;
19781
+ type: "Reaction";
19782
+ data: {
19783
+ createdAt: Date;
19784
+ id: string;
19785
+ updatedAt: Date;
19786
+ emoji: string;
19787
+ archivedAt?: Date | null | undefined;
19788
+ comment?: {
19789
+ id: string;
19790
+ body: string;
19791
+ userId?: string | null | undefined;
19792
+ } | null | undefined;
19793
+ user?: {
19794
+ id: string;
19795
+ name: string;
19796
+ } | null | undefined;
19797
+ userId?: string | null | undefined;
19798
+ };
19799
+ action: "remove";
19800
+ webhookId: string;
19801
+ webhookTimestamp: Date;
19802
+ url?: string | null | undefined;
19803
+ organizationId?: string | null | undefined;
19804
+ } | {
19805
+ createdAt: Date;
19806
+ type: "Reaction";
19807
+ data: {
19808
+ createdAt: Date;
19809
+ id: string;
19810
+ updatedAt: Date;
19811
+ emoji: string;
19812
+ archivedAt?: Date | null | undefined;
19813
+ comment?: {
19814
+ id: string;
19815
+ body: string;
19816
+ userId?: string | null | undefined;
19817
+ } | null | undefined;
19818
+ user?: {
19819
+ id: string;
19820
+ name: string;
19821
+ } | null | undefined;
19822
+ userId?: string | null | undefined;
19823
+ };
19824
+ action: "update";
19825
+ webhookId: string;
19826
+ webhookTimestamp: Date;
19827
+ updatedFrom: {
19828
+ archivedAt?: Date | null | undefined;
19829
+ comment?: {
19830
+ id: string;
19831
+ body: string;
19832
+ userId?: string | null | undefined;
19833
+ } | null | undefined;
19834
+ createdAt?: Date | undefined;
19835
+ emoji?: string | undefined;
19836
+ id?: string | undefined;
19837
+ updatedAt?: Date | undefined;
19838
+ user?: {
19839
+ id: string;
19840
+ name: string;
19841
+ } | null | undefined;
19842
+ userId?: string | null | undefined;
19843
+ };
19844
+ url?: string | null | undefined;
19845
+ organizationId?: string | null | undefined;
17478
19846
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17479
19847
  onReactionCreated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17480
19848
  createdAt: Date;
@@ -17501,6 +19869,31 @@ declare class Linear implements TriggerIntegration {
17501
19869
  webhookTimestamp: Date;
17502
19870
  url?: string | null | undefined;
17503
19871
  organizationId?: string | null | undefined;
19872
+ }, {
19873
+ createdAt: Date;
19874
+ type: "Reaction";
19875
+ data: {
19876
+ createdAt: Date;
19877
+ id: string;
19878
+ updatedAt: Date;
19879
+ emoji: string;
19880
+ archivedAt?: Date | null | undefined;
19881
+ comment?: {
19882
+ id: string;
19883
+ body: string;
19884
+ userId?: string | null | undefined;
19885
+ } | null | undefined;
19886
+ user?: {
19887
+ id: string;
19888
+ name: string;
19889
+ } | null | undefined;
19890
+ userId?: string | null | undefined;
19891
+ };
19892
+ action: "create";
19893
+ webhookId: string;
19894
+ webhookTimestamp: Date;
19895
+ url?: string | null | undefined;
19896
+ organizationId?: string | null | undefined;
17504
19897
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17505
19898
  onReactionRemoved(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
17506
19899
  createdAt: Date;
@@ -17527,6 +19920,31 @@ declare class Linear implements TriggerIntegration {
17527
19920
  webhookTimestamp: Date;
17528
19921
  url?: string | null | undefined;
17529
19922
  organizationId?: string | null | undefined;
19923
+ }, {
19924
+ createdAt: Date;
19925
+ type: "Reaction";
19926
+ data: {
19927
+ createdAt: Date;
19928
+ id: string;
19929
+ updatedAt: Date;
19930
+ emoji: string;
19931
+ archivedAt?: Date | null | undefined;
19932
+ comment?: {
19933
+ id: string;
19934
+ body: string;
19935
+ userId?: string | null | undefined;
19936
+ } | null | undefined;
19937
+ user?: {
19938
+ id: string;
19939
+ name: string;
19940
+ } | null | undefined;
19941
+ userId?: string | null | undefined;
19942
+ };
19943
+ action: "remove";
19944
+ webhookId: string;
19945
+ webhookTimestamp: Date;
19946
+ url?: string | null | undefined;
19947
+ organizationId?: string | null | undefined;
17530
19948
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17531
19949
  /** Good luck ever triggering this! */
17532
19950
  onReactionUpdated(params?: TriggerParams): _trigger_dev_sdk.ExternalSourceTrigger<_trigger_dev_sdk.EventSpecification<{
@@ -17571,6 +19989,48 @@ declare class Linear implements TriggerIntegration {
17571
19989
  };
17572
19990
  url?: string | null | undefined;
17573
19991
  organizationId?: string | null | undefined;
19992
+ }, {
19993
+ createdAt: Date;
19994
+ type: "Reaction";
19995
+ data: {
19996
+ createdAt: Date;
19997
+ id: string;
19998
+ updatedAt: Date;
19999
+ emoji: string;
20000
+ archivedAt?: Date | null | undefined;
20001
+ comment?: {
20002
+ id: string;
20003
+ body: string;
20004
+ userId?: string | null | undefined;
20005
+ } | null | undefined;
20006
+ user?: {
20007
+ id: string;
20008
+ name: string;
20009
+ } | null | undefined;
20010
+ userId?: string | null | undefined;
20011
+ };
20012
+ action: "update";
20013
+ webhookId: string;
20014
+ webhookTimestamp: Date;
20015
+ updatedFrom: {
20016
+ archivedAt?: Date | null | undefined;
20017
+ comment?: {
20018
+ id: string;
20019
+ body: string;
20020
+ userId?: string | null | undefined;
20021
+ } | null | undefined;
20022
+ createdAt?: Date | undefined;
20023
+ emoji?: string | undefined;
20024
+ id?: string | undefined;
20025
+ updatedAt?: Date | undefined;
20026
+ user?: {
20027
+ id: string;
20028
+ name: string;
20029
+ } | null | undefined;
20030
+ userId?: string | null | undefined;
20031
+ };
20032
+ url?: string | null | undefined;
20033
+ organizationId?: string | null | undefined;
17574
20034
  }>, _trigger_dev_sdk.ExternalSource<Linear, TriggerParams, "HTTP", {}>>;
17575
20035
  webhook: (key: IntegrationTaskKey, params: {
17576
20036
  id: string;