@corsair-dev/linear 0.1.4 → 0.1.6

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.
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { LinearEndpointInputs, LinearEndpointOutputs } from './endpoints';
3
3
  import { LinearSchema } from './schema';
4
4
  import type { CommentCreatedEvent, CommentDeletedEvent, CommentUpdatedEvent, IssueCreatedEvent, IssueDeletedEvent, IssueUpdatedEvent, LinearWebhookOutputs, LinearWebhookPayload, ProjectCreatedEvent, ProjectDeletedEvent, ProjectUpdatedEvent } from './webhooks';
5
5
  export type LinearPluginOptions = {
6
- authType?: PickAuth<'api_key' | 'oauth_2'>;
6
+ authType?: PickAuth<'api_key' | 'oauth_2' | 'managed'>;
7
7
  key?: string;
8
8
  webhookSecret?: string;
9
9
  hooks?: InternalLinearPlugin['hooks'];
@@ -63,7 +63,7 @@ declare const linearWebhooksNested: {
63
63
  id: string;
64
64
  identifier: string;
65
65
  title: string;
66
- priority: 0 | 3 | 2 | 1 | 4;
66
+ priority: 0 | 1 | 3 | 2 | 4;
67
67
  sortOrder: number;
68
68
  previousIdentifiers: string[];
69
69
  createdAt: string;
@@ -97,7 +97,7 @@ declare const linearWebhooksNested: {
97
97
  id: string;
98
98
  identifier: string;
99
99
  title: string;
100
- priority: 0 | 3 | 2 | 1 | 4;
100
+ priority: 0 | 1 | 3 | 2 | 4;
101
101
  sortOrder: number;
102
102
  previousIdentifiers: string[];
103
103
  createdAt: string;
@@ -128,7 +128,7 @@ declare const linearWebhooksNested: {
128
128
  identifier?: string | undefined;
129
129
  title?: string | undefined;
130
130
  description?: string | undefined;
131
- priority?: 0 | 3 | 2 | 1 | 4 | undefined;
131
+ priority?: 0 | 1 | 3 | 2 | 4 | undefined;
132
132
  estimate?: number | undefined;
133
133
  sortOrder?: number | undefined;
134
134
  startedAt?: string | undefined;
@@ -157,7 +157,7 @@ declare const linearWebhooksNested: {
157
157
  id: string;
158
158
  identifier: string;
159
159
  title: string;
160
- priority: 0 | 3 | 2 | 1 | 4;
160
+ priority: 0 | 1 | 3 | 2 | 4;
161
161
  sortOrder: number;
162
162
  previousIdentifiers: string[];
163
163
  createdAt: string;
@@ -258,9 +258,9 @@ declare const linearWebhooksNested: {
258
258
  [x: string]: any;
259
259
  id: string;
260
260
  name: string;
261
- priority: 0 | 3 | 2 | 1 | 4;
261
+ priority: 0 | 1 | 3 | 2 | 4;
262
262
  sortOrder: number;
263
- state: "completed" | "planned" | "started" | "paused" | "canceled";
263
+ state: "completed" | "canceled" | "planned" | "started" | "paused";
264
264
  progress: number;
265
265
  url: string;
266
266
  completedScopeHistory: number[];
@@ -289,9 +289,9 @@ declare const linearWebhooksNested: {
289
289
  [x: string]: any;
290
290
  id: string;
291
291
  name: string;
292
- priority: 0 | 3 | 2 | 1 | 4;
292
+ priority: 0 | 1 | 3 | 2 | 4;
293
293
  sortOrder: number;
294
- state: "completed" | "planned" | "started" | "paused" | "canceled";
294
+ state: "completed" | "canceled" | "planned" | "started" | "paused";
295
295
  progress: number;
296
296
  url: string;
297
297
  completedScopeHistory: number[];
@@ -319,9 +319,9 @@ declare const linearWebhooksNested: {
319
319
  description?: string | undefined;
320
320
  icon?: string | undefined;
321
321
  color?: string | undefined;
322
- priority?: 0 | 3 | 2 | 1 | 4 | undefined;
322
+ priority?: 0 | 1 | 3 | 2 | 4 | undefined;
323
323
  sortOrder?: number | undefined;
324
- state?: "completed" | "planned" | "started" | "paused" | "canceled" | undefined;
324
+ state?: "completed" | "canceled" | "planned" | "started" | "paused" | undefined;
325
325
  progress?: number | undefined;
326
326
  url?: string | undefined;
327
327
  startDate?: string | undefined;
@@ -343,9 +343,9 @@ declare const linearWebhooksNested: {
343
343
  [x: string]: any;
344
344
  id: string;
345
345
  name: string;
346
- priority: 0 | 3 | 2 | 1 | 4;
346
+ priority: 0 | 1 | 3 | 2 | 4;
347
347
  sortOrder: number;
348
- state: "completed" | "planned" | "started" | "paused" | "canceled";
348
+ state: "completed" | "canceled" | "planned" | "started" | "paused";
349
349
  progress: number;
350
350
  url: string;
351
351
  completedScopeHistory: number[];
@@ -410,7 +410,7 @@ export declare const linearEndpointSchemas: {
410
410
  nodes: import("zod").ZodArray<import("zod").ZodType<{
411
411
  id: string;
412
412
  title: string;
413
- priority: 0 | 3 | 2 | 1 | 4;
413
+ priority: 0 | 1 | 3 | 2 | 4;
414
414
  sortOrder: number;
415
415
  number: number;
416
416
  identifier: string;
@@ -418,7 +418,7 @@ export declare const linearEndpointSchemas: {
418
418
  state: {
419
419
  id: string;
420
420
  name: string;
421
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
421
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
422
422
  color?: string | undefined;
423
423
  position?: number | undefined;
424
424
  };
@@ -444,7 +444,7 @@ export declare const linearEndpointSchemas: {
444
444
  project?: {
445
445
  id: string;
446
446
  name: string;
447
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
447
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
448
448
  } | null | undefined;
449
449
  cycle?: {
450
450
  id: string;
@@ -479,7 +479,7 @@ export declare const linearEndpointSchemas: {
479
479
  parent?: ({
480
480
  id: string;
481
481
  title: string;
482
- priority: 0 | 3 | 2 | 1 | 4;
482
+ priority: 0 | 1 | 3 | 2 | 4;
483
483
  sortOrder: number;
484
484
  number: number;
485
485
  identifier: string;
@@ -487,7 +487,7 @@ export declare const linearEndpointSchemas: {
487
487
  state: {
488
488
  id: string;
489
489
  name: string;
490
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
490
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
491
491
  color?: string | undefined;
492
492
  position?: number | undefined;
493
493
  };
@@ -513,7 +513,7 @@ export declare const linearEndpointSchemas: {
513
513
  project?: {
514
514
  id: string;
515
515
  name: string;
516
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
516
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
517
517
  } | null | undefined;
518
518
  cycle?: {
519
519
  id: string;
@@ -548,7 +548,7 @@ export declare const linearEndpointSchemas: {
548
548
  }, unknown, import("zod/v4/core").$ZodTypeInternals<{
549
549
  id: string;
550
550
  title: string;
551
- priority: 0 | 3 | 2 | 1 | 4;
551
+ priority: 0 | 1 | 3 | 2 | 4;
552
552
  sortOrder: number;
553
553
  number: number;
554
554
  identifier: string;
@@ -556,7 +556,7 @@ export declare const linearEndpointSchemas: {
556
556
  state: {
557
557
  id: string;
558
558
  name: string;
559
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
559
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
560
560
  color?: string | undefined;
561
561
  position?: number | undefined;
562
562
  };
@@ -582,7 +582,7 @@ export declare const linearEndpointSchemas: {
582
582
  project?: {
583
583
  id: string;
584
584
  name: string;
585
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
585
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
586
586
  } | null | undefined;
587
587
  cycle?: {
588
588
  id: string;
@@ -617,7 +617,7 @@ export declare const linearEndpointSchemas: {
617
617
  parent?: ({
618
618
  id: string;
619
619
  title: string;
620
- priority: 0 | 3 | 2 | 1 | 4;
620
+ priority: 0 | 1 | 3 | 2 | 4;
621
621
  sortOrder: number;
622
622
  number: number;
623
623
  identifier: string;
@@ -625,7 +625,7 @@ export declare const linearEndpointSchemas: {
625
625
  state: {
626
626
  id: string;
627
627
  name: string;
628
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
628
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
629
629
  color?: string | undefined;
630
630
  position?: number | undefined;
631
631
  };
@@ -651,7 +651,7 @@ export declare const linearEndpointSchemas: {
651
651
  project?: {
652
652
  id: string;
653
653
  name: string;
654
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
654
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
655
655
  } | null | undefined;
656
656
  cycle?: {
657
657
  id: string;
@@ -699,7 +699,7 @@ export declare const linearEndpointSchemas: {
699
699
  readonly output: import("zod").ZodType<{
700
700
  id: string;
701
701
  title: string;
702
- priority: 0 | 3 | 2 | 1 | 4;
702
+ priority: 0 | 1 | 3 | 2 | 4;
703
703
  sortOrder: number;
704
704
  number: number;
705
705
  identifier: string;
@@ -707,7 +707,7 @@ export declare const linearEndpointSchemas: {
707
707
  state: {
708
708
  id: string;
709
709
  name: string;
710
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
710
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
711
711
  color?: string | undefined;
712
712
  position?: number | undefined;
713
713
  };
@@ -733,7 +733,7 @@ export declare const linearEndpointSchemas: {
733
733
  project?: {
734
734
  id: string;
735
735
  name: string;
736
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
736
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
737
737
  } | null | undefined;
738
738
  cycle?: {
739
739
  id: string;
@@ -768,7 +768,7 @@ export declare const linearEndpointSchemas: {
768
768
  parent?: ({
769
769
  id: string;
770
770
  title: string;
771
- priority: 0 | 3 | 2 | 1 | 4;
771
+ priority: 0 | 1 | 3 | 2 | 4;
772
772
  sortOrder: number;
773
773
  number: number;
774
774
  identifier: string;
@@ -776,7 +776,7 @@ export declare const linearEndpointSchemas: {
776
776
  state: {
777
777
  id: string;
778
778
  name: string;
779
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
779
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
780
780
  color?: string | undefined;
781
781
  position?: number | undefined;
782
782
  };
@@ -802,7 +802,7 @@ export declare const linearEndpointSchemas: {
802
802
  project?: {
803
803
  id: string;
804
804
  name: string;
805
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
805
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
806
806
  } | null | undefined;
807
807
  cycle?: {
808
808
  id: string;
@@ -837,7 +837,7 @@ export declare const linearEndpointSchemas: {
837
837
  }, unknown, import("zod/v4/core").$ZodTypeInternals<{
838
838
  id: string;
839
839
  title: string;
840
- priority: 0 | 3 | 2 | 1 | 4;
840
+ priority: 0 | 1 | 3 | 2 | 4;
841
841
  sortOrder: number;
842
842
  number: number;
843
843
  identifier: string;
@@ -845,7 +845,7 @@ export declare const linearEndpointSchemas: {
845
845
  state: {
846
846
  id: string;
847
847
  name: string;
848
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
848
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
849
849
  color?: string | undefined;
850
850
  position?: number | undefined;
851
851
  };
@@ -871,7 +871,7 @@ export declare const linearEndpointSchemas: {
871
871
  project?: {
872
872
  id: string;
873
873
  name: string;
874
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
874
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
875
875
  } | null | undefined;
876
876
  cycle?: {
877
877
  id: string;
@@ -906,7 +906,7 @@ export declare const linearEndpointSchemas: {
906
906
  parent?: ({
907
907
  id: string;
908
908
  title: string;
909
- priority: 0 | 3 | 2 | 1 | 4;
909
+ priority: 0 | 1 | 3 | 2 | 4;
910
910
  sortOrder: number;
911
911
  number: number;
912
912
  identifier: string;
@@ -914,7 +914,7 @@ export declare const linearEndpointSchemas: {
914
914
  state: {
915
915
  id: string;
916
916
  name: string;
917
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
917
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
918
918
  color?: string | undefined;
919
919
  position?: number | undefined;
920
920
  };
@@ -940,7 +940,7 @@ export declare const linearEndpointSchemas: {
940
940
  project?: {
941
941
  id: string;
942
942
  name: string;
943
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
943
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
944
944
  } | null | undefined;
945
945
  cycle?: {
946
946
  id: string;
@@ -1005,8 +1005,8 @@ export declare const linearEndpointSchemas: {
1005
1005
  name: import("zod").ZodString;
1006
1006
  type: import("zod").ZodEnum<{
1007
1007
  completed: "completed";
1008
- started: "started";
1009
1008
  canceled: "canceled";
1009
+ started: "started";
1010
1010
  backlog: "backlog";
1011
1011
  unstarted: "unstarted";
1012
1012
  }>;
@@ -1067,8 +1067,8 @@ export declare const linearEndpointSchemas: {
1067
1067
  name: import("zod").ZodString;
1068
1068
  type: import("zod").ZodEnum<{
1069
1069
  completed: "completed";
1070
- started: "started";
1071
1070
  canceled: "canceled";
1071
+ started: "started";
1072
1072
  backlog: "backlog";
1073
1073
  unstarted: "unstarted";
1074
1074
  }>;
@@ -1115,7 +1115,7 @@ export declare const linearEndpointSchemas: {
1115
1115
  issue: {
1116
1116
  id: string;
1117
1117
  title: string;
1118
- priority: 0 | 3 | 2 | 1 | 4;
1118
+ priority: 0 | 1 | 3 | 2 | 4;
1119
1119
  sortOrder: number;
1120
1120
  number: number;
1121
1121
  identifier: string;
@@ -1123,7 +1123,7 @@ export declare const linearEndpointSchemas: {
1123
1123
  state: {
1124
1124
  id: string;
1125
1125
  name: string;
1126
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
1126
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
1127
1127
  color: string;
1128
1128
  position: number;
1129
1129
  team: {
@@ -1233,7 +1233,7 @@ export declare const linearEndpointSchemas: {
1233
1233
  project?: {
1234
1234
  id: string;
1235
1235
  name: string;
1236
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
1236
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
1237
1237
  priority: number;
1238
1238
  sortOrder: number;
1239
1239
  teams: {
@@ -1307,7 +1307,7 @@ export declare const linearEndpointSchemas: {
1307
1307
  parent?: ({
1308
1308
  id: string;
1309
1309
  title: string;
1310
- priority: 0 | 3 | 2 | 1 | 4;
1310
+ priority: 0 | 1 | 3 | 2 | 4;
1311
1311
  sortOrder: number;
1312
1312
  number: number;
1313
1313
  identifier: string;
@@ -1315,7 +1315,7 @@ export declare const linearEndpointSchemas: {
1315
1315
  state: {
1316
1316
  id: string;
1317
1317
  name: string;
1318
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
1318
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
1319
1319
  color: string;
1320
1320
  position: number;
1321
1321
  team: {
@@ -1425,7 +1425,7 @@ export declare const linearEndpointSchemas: {
1425
1425
  project?: {
1426
1426
  id: string;
1427
1427
  name: string;
1428
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
1428
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
1429
1429
  priority: number;
1430
1430
  sortOrder: number;
1431
1431
  teams: {
@@ -1519,7 +1519,7 @@ export declare const linearEndpointSchemas: {
1519
1519
  issue: {
1520
1520
  id: string;
1521
1521
  title: string;
1522
- priority: 0 | 3 | 2 | 1 | 4;
1522
+ priority: 0 | 1 | 3 | 2 | 4;
1523
1523
  sortOrder: number;
1524
1524
  number: number;
1525
1525
  identifier: string;
@@ -1527,7 +1527,7 @@ export declare const linearEndpointSchemas: {
1527
1527
  state: {
1528
1528
  id: string;
1529
1529
  name: string;
1530
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
1530
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
1531
1531
  color: string;
1532
1532
  position: number;
1533
1533
  team: {
@@ -1637,7 +1637,7 @@ export declare const linearEndpointSchemas: {
1637
1637
  project?: {
1638
1638
  id: string;
1639
1639
  name: string;
1640
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
1640
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
1641
1641
  priority: number;
1642
1642
  sortOrder: number;
1643
1643
  teams: {
@@ -1711,7 +1711,7 @@ export declare const linearEndpointSchemas: {
1711
1711
  parent?: ({
1712
1712
  id: string;
1713
1713
  title: string;
1714
- priority: 0 | 3 | 2 | 1 | 4;
1714
+ priority: 0 | 1 | 3 | 2 | 4;
1715
1715
  sortOrder: number;
1716
1716
  number: number;
1717
1717
  identifier: string;
@@ -1719,7 +1719,7 @@ export declare const linearEndpointSchemas: {
1719
1719
  state: {
1720
1720
  id: string;
1721
1721
  name: string;
1722
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
1722
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
1723
1723
  color: string;
1724
1724
  position: number;
1725
1725
  team: {
@@ -1829,7 +1829,7 @@ export declare const linearEndpointSchemas: {
1829
1829
  project?: {
1830
1830
  id: string;
1831
1831
  name: string;
1832
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
1832
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
1833
1833
  priority: number;
1834
1834
  sortOrder: number;
1835
1835
  teams: {
@@ -1923,7 +1923,7 @@ export declare const linearEndpointSchemas: {
1923
1923
  issue: {
1924
1924
  id: string;
1925
1925
  title: string;
1926
- priority: 0 | 3 | 2 | 1 | 4;
1926
+ priority: 0 | 1 | 3 | 2 | 4;
1927
1927
  sortOrder: number;
1928
1928
  number: number;
1929
1929
  identifier: string;
@@ -1931,7 +1931,7 @@ export declare const linearEndpointSchemas: {
1931
1931
  state: {
1932
1932
  id: string;
1933
1933
  name: string;
1934
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
1934
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
1935
1935
  color: string;
1936
1936
  position: number;
1937
1937
  team: {
@@ -2041,7 +2041,7 @@ export declare const linearEndpointSchemas: {
2041
2041
  project?: {
2042
2042
  id: string;
2043
2043
  name: string;
2044
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
2044
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
2045
2045
  priority: number;
2046
2046
  sortOrder: number;
2047
2047
  teams: {
@@ -2115,7 +2115,7 @@ export declare const linearEndpointSchemas: {
2115
2115
  parent?: ({
2116
2116
  id: string;
2117
2117
  title: string;
2118
- priority: 0 | 3 | 2 | 1 | 4;
2118
+ priority: 0 | 1 | 3 | 2 | 4;
2119
2119
  sortOrder: number;
2120
2120
  number: number;
2121
2121
  identifier: string;
@@ -2123,7 +2123,7 @@ export declare const linearEndpointSchemas: {
2123
2123
  state: {
2124
2124
  id: string;
2125
2125
  name: string;
2126
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
2126
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
2127
2127
  color: string;
2128
2128
  position: number;
2129
2129
  team: {
@@ -2233,7 +2233,7 @@ export declare const linearEndpointSchemas: {
2233
2233
  project?: {
2234
2234
  id: string;
2235
2235
  name: string;
2236
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
2236
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
2237
2237
  priority: number;
2238
2238
  sortOrder: number;
2239
2239
  teams: {
@@ -2327,7 +2327,7 @@ export declare const linearEndpointSchemas: {
2327
2327
  issue: {
2328
2328
  id: string;
2329
2329
  title: string;
2330
- priority: 0 | 3 | 2 | 1 | 4;
2330
+ priority: 0 | 1 | 3 | 2 | 4;
2331
2331
  sortOrder: number;
2332
2332
  number: number;
2333
2333
  identifier: string;
@@ -2335,7 +2335,7 @@ export declare const linearEndpointSchemas: {
2335
2335
  state: {
2336
2336
  id: string;
2337
2337
  name: string;
2338
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
2338
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
2339
2339
  color: string;
2340
2340
  position: number;
2341
2341
  team: {
@@ -2445,7 +2445,7 @@ export declare const linearEndpointSchemas: {
2445
2445
  project?: {
2446
2446
  id: string;
2447
2447
  name: string;
2448
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
2448
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
2449
2449
  priority: number;
2450
2450
  sortOrder: number;
2451
2451
  teams: {
@@ -2519,7 +2519,7 @@ export declare const linearEndpointSchemas: {
2519
2519
  parent?: ({
2520
2520
  id: string;
2521
2521
  title: string;
2522
- priority: 0 | 3 | 2 | 1 | 4;
2522
+ priority: 0 | 1 | 3 | 2 | 4;
2523
2523
  sortOrder: number;
2524
2524
  number: number;
2525
2525
  identifier: string;
@@ -2527,7 +2527,7 @@ export declare const linearEndpointSchemas: {
2527
2527
  state: {
2528
2528
  id: string;
2529
2529
  name: string;
2530
- type: "completed" | "started" | "canceled" | "backlog" | "unstarted";
2530
+ type: "completed" | "canceled" | "started" | "backlog" | "unstarted";
2531
2531
  color: string;
2532
2532
  position: number;
2533
2533
  team: {
@@ -2637,7 +2637,7 @@ export declare const linearEndpointSchemas: {
2637
2637
  project?: {
2638
2638
  id: string;
2639
2639
  name: string;
2640
- state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
2640
+ state: "completed" | "canceled" | "planned" | "started" | "paused" | "backlog";
2641
2641
  priority: number;
2642
2642
  sortOrder: number;
2643
2643
  teams: {
@@ -2809,10 +2809,10 @@ export declare const linearEndpointSchemas: {
2809
2809
  color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2810
2810
  state: import("zod").ZodEnum<{
2811
2811
  completed: "completed";
2812
+ canceled: "canceled";
2812
2813
  planned: "planned";
2813
2814
  started: "started";
2814
2815
  paused: "paused";
2815
- canceled: "canceled";
2816
2816
  backlog: "backlog";
2817
2817
  }>;
2818
2818
  priority: import("zod").ZodNumber;
@@ -2857,10 +2857,10 @@ export declare const linearEndpointSchemas: {
2857
2857
  color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2858
2858
  state: import("zod").ZodEnum<{
2859
2859
  completed: "completed";
2860
+ canceled: "canceled";
2860
2861
  planned: "planned";
2861
2862
  started: "started";
2862
2863
  paused: "paused";
2863
- canceled: "canceled";
2864
2864
  backlog: "backlog";
2865
2865
  }>;
2866
2866
  priority: import("zod").ZodNumber;
@@ -2896,10 +2896,10 @@ export declare const linearEndpointSchemas: {
2896
2896
  leadId: import("zod").ZodOptional<import("zod").ZodString>;
2897
2897
  state: import("zod").ZodOptional<import("zod").ZodEnum<{
2898
2898
  completed: "completed";
2899
+ canceled: "canceled";
2899
2900
  planned: "planned";
2900
2901
  started: "started";
2901
2902
  paused: "paused";
2902
- canceled: "canceled";
2903
2903
  }>>;
2904
2904
  priority: import("zod").ZodOptional<import("zod").ZodNumber>;
2905
2905
  startDate: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2913,10 +2913,10 @@ export declare const linearEndpointSchemas: {
2913
2913
  color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2914
2914
  state: import("zod").ZodEnum<{
2915
2915
  completed: "completed";
2916
+ canceled: "canceled";
2916
2917
  planned: "planned";
2917
2918
  started: "started";
2918
2919
  paused: "paused";
2919
- canceled: "canceled";
2920
2920
  backlog: "backlog";
2921
2921
  }>;
2922
2922
  priority: import("zod").ZodNumber;
@@ -2955,10 +2955,10 @@ export declare const linearEndpointSchemas: {
2955
2955
  leadId: import("zod").ZodOptional<import("zod").ZodString>;
2956
2956
  state: import("zod").ZodOptional<import("zod").ZodEnum<{
2957
2957
  completed: "completed";
2958
+ canceled: "canceled";
2958
2959
  planned: "planned";
2959
2960
  started: "started";
2960
2961
  paused: "paused";
2961
- canceled: "canceled";
2962
2962
  }>>;
2963
2963
  priority: import("zod").ZodOptional<import("zod").ZodNumber>;
2964
2964
  startDate: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2973,10 +2973,10 @@ export declare const linearEndpointSchemas: {
2973
2973
  color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2974
2974
  state: import("zod").ZodEnum<{
2975
2975
  completed: "completed";
2976
+ canceled: "canceled";
2976
2977
  planned: "planned";
2977
2978
  started: "started";
2978
2979
  paused: "paused";
2979
- canceled: "canceled";
2980
2980
  backlog: "backlog";
2981
2981
  }>;
2982
2982
  priority: import("zod").ZodNumber;
@@ -3095,6 +3095,17 @@ export declare const linearEndpointSchemas: {
3095
3095
  };
3096
3096
  };
3097
3097
  declare const defaultAuthType: "api_key";
3098
+ export declare const linearAuthConfig: {
3099
+ readonly api_key: {
3100
+ readonly account: readonly ["organization_id"];
3101
+ };
3102
+ readonly oauth_2: {
3103
+ readonly account: readonly ["organization_id"];
3104
+ };
3105
+ readonly managed: {
3106
+ readonly account: readonly ["organization_id"];
3107
+ };
3108
+ };
3098
3109
  export type BaseLinearPlugin<T extends LinearPluginOptions> = CorsairPlugin<'linear', typeof LinearSchema, typeof linearEndpointsNested, typeof linearWebhooksNested, T, typeof defaultAuthType>;
3099
3110
  /**
3100
3111
  * We have to type the internal plugin separately from the external plugin
@@ -3107,4 +3118,5 @@ export declare function linear<const T extends LinearPluginOptions>(incomingOpti
3107
3118
  export { createLinearEventMatch, verifyLinearWebhookSignature, } from './webhooks/types';
3108
3119
  export type { CommentCreatedEvent, CommentDeletedEvent, CommentUpdatedEvent, IssueCreatedEvent, IssueDeletedEvent, IssueUpdatedEvent, LinearEventMap, LinearEventName, LinearWebhookEvent, LinearWebhookOutputs, ProjectCreatedEvent, ProjectDeletedEvent, ProjectUpdatedEvent, WebhookData, } from './webhooks/types';
3109
3120
  export type { Comment, CommentConnection, CommentCreateResponse, CommentDeleteResponse, CommentsListResponse, CommentUpdateResponse, CreateCommentInput, CreateIssueInput, CreateProjectInput, Cycle, Issue, IssueConnection, IssueCreateResponse, IssueDeleteResponse, IssueGetResponse, IssuePriority, IssuesListResponse, IssueUpdateResponse, Label, LinearEndpointInputs, LinearEndpointOutputs, PageInfo, Project, ProjectConnection, ProjectCreateResponse, ProjectDeleteResponse, ProjectGetResponse, ProjectState, ProjectsListResponse, ProjectUpdateResponse, Team, TeamConnection, TeamGetResponse, TeamsListResponse, UpdateCommentInput, UpdateIssueInput, UpdateProjectInput, User, WorkflowState, WorkflowStateType, } from './endpoints/types';
3121
+ export * from './error-handlers';
3110
3122
  //# sourceMappingURL=index.d.ts.map