@frogbotai/piece-linear 0.39.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAQzC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQ7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAe,MAAM,aAAa,CAAC;AAY9D,eAAO,MAAM,aAAa,+GAOhB,CAAC;AACX,eAAO,MAAM,cAAc,mIAQjB,CAAC;AACX,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BvB,CAAC;AA0BF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAXkB,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkClE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAQzC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQ7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAe,MAAM,aAAa,CAAC;AAY9D,eAAO,MAAM,aAAa,+GAOhB,CAAC;AACX,eAAO,MAAM,cAAc,mIAQjB,CAAC;AACX,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BvB,CAAC;AA0BF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAXkB,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkClE,CAAC"}
@@ -11,40 +11,55 @@ export declare const commentCreated: {
11
11
  sample?: import("frogbot").PieceJSON | undefined;
12
12
  } & {
13
13
  type: "webhook";
14
- onEnable(args: import("frogbot").PieceRunArgs<{
15
- teamIds?: string[] | undefined;
16
- authorIds?: string[] | undefined;
17
- }, {
18
- channelMode: "agent-sessions" | "comments";
19
- webhookSecret?: string | undefined;
20
- botUsername?: string | undefined;
21
- }, import("@linear/sdk").LinearClient> & {
14
+ onEnable(args: {
15
+ input: {
16
+ teamIds?: string[] | undefined;
17
+ authorIds?: string[] | undefined;
18
+ };
19
+ client: import("@linear/sdk").LinearClient;
20
+ options: {
21
+ channelMode: "agent-sessions" | "comments";
22
+ webhookSecret?: string | undefined;
23
+ botUsername?: string | undefined;
24
+ };
25
+ req: import("frogbot").FrogBotRequest;
26
+ } & {
22
27
  webhookUrl: string;
23
28
  }): Promise<{
24
29
  webhookId: string;
25
30
  }>;
26
- onDisable(args: import("frogbot").PieceRunArgs<{
27
- teamIds?: string[] | undefined;
28
- authorIds?: string[] | undefined;
29
- }, {
30
- channelMode: "agent-sessions" | "comments";
31
- webhookSecret?: string | undefined;
32
- botUsername?: string | undefined;
33
- }, import("@linear/sdk").LinearClient> & {
31
+ onDisable(args: {
32
+ input: {
33
+ teamIds?: string[] | undefined;
34
+ authorIds?: string[] | undefined;
35
+ };
36
+ client: import("@linear/sdk").LinearClient;
37
+ options: {
38
+ channelMode: "agent-sessions" | "comments";
39
+ webhookSecret?: string | undefined;
40
+ botUsername?: string | undefined;
41
+ };
42
+ req: import("frogbot").FrogBotRequest;
43
+ } & {
34
44
  state: {
35
45
  webhookId: string;
36
46
  };
37
47
  }): Promise<void>;
38
48
  renew?: {
39
49
  schedule: string;
40
- run(args: import("frogbot").PieceRunArgs<{
41
- teamIds?: string[] | undefined;
42
- authorIds?: string[] | undefined;
43
- }, {
44
- channelMode: "agent-sessions" | "comments";
45
- webhookSecret?: string | undefined;
46
- botUsername?: string | undefined;
47
- }, import("@linear/sdk").LinearClient> & {
50
+ run(args: {
51
+ input: {
52
+ teamIds?: string[] | undefined;
53
+ authorIds?: string[] | undefined;
54
+ };
55
+ client: import("@linear/sdk").LinearClient;
56
+ options: {
57
+ channelMode: "agent-sessions" | "comments";
58
+ webhookSecret?: string | undefined;
59
+ botUsername?: string | undefined;
60
+ };
61
+ req: import("frogbot").FrogBotRequest;
62
+ } & {
48
63
  state: {
49
64
  webhookId: string;
50
65
  };
@@ -53,18 +68,41 @@ export declare const commentCreated: {
53
68
  webhookId: string;
54
69
  }>;
55
70
  } | undefined;
56
- run(args: import("frogbot").PieceRunArgs<{
57
- teamIds?: string[] | undefined;
58
- authorIds?: string[] | undefined;
59
- }, {
60
- channelMode: "agent-sessions" | "comments";
61
- webhookSecret?: string | undefined;
62
- botUsername?: string | undefined;
63
- }, import("@linear/sdk").LinearClient> & {
71
+ run(args: {
72
+ input: {
73
+ teamIds?: string[] | undefined;
74
+ authorIds?: string[] | undefined;
75
+ };
76
+ client: import("@linear/sdk").LinearClient;
77
+ options: {
78
+ channelMode: "agent-sessions" | "comments";
79
+ webhookSecret?: string | undefined;
80
+ botUsername?: string | undefined;
81
+ };
82
+ req: import("frogbot").FrogBotRequest;
83
+ } & {
64
84
  state: {
65
85
  webhookId: string;
66
86
  };
67
87
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
88
+ reply?(args: {
89
+ input: {
90
+ teamIds?: string[] | undefined;
91
+ authorIds?: string[] | undefined;
92
+ };
93
+ client: import("@linear/sdk").LinearClient;
94
+ options: {
95
+ channelMode: "agent-sessions" | "comments";
96
+ webhookSecret?: string | undefined;
97
+ botUsername?: string | undefined;
98
+ };
99
+ req: import("frogbot").FrogBotRequest;
100
+ } & {
101
+ state: {
102
+ webhookId: string;
103
+ };
104
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
105
+ }): Response | Promise<Response>;
68
106
  } & {
69
107
  slug: "commentCreated";
70
108
  };
@@ -1 +1 @@
1
- {"version":3,"file":"commentCreated.d.ts","sourceRoot":"","sources":["../../src/triggers/commentCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAczB,CAAC"}
1
+ {"version":3,"file":"commentCreated.d.ts","sourceRoot":"","sources":["../../src/triggers/commentCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAczB,CAAC"}
@@ -10,37 +10,52 @@ export declare const issueCreated: {
10
10
  sample?: import("frogbot").PieceJSON | undefined;
11
11
  } & {
12
12
  type: "webhook";
13
- onEnable(args: import("frogbot").PieceRunArgs<{
14
- teamId: string;
15
- }, {
16
- channelMode: "agent-sessions" | "comments";
17
- webhookSecret?: string | undefined;
18
- botUsername?: string | undefined;
19
- }, import("@linear/sdk").LinearClient> & {
13
+ onEnable(args: {
14
+ input: {
15
+ teamId: string;
16
+ };
17
+ client: import("@linear/sdk").LinearClient;
18
+ options: {
19
+ channelMode: "agent-sessions" | "comments";
20
+ webhookSecret?: string | undefined;
21
+ botUsername?: string | undefined;
22
+ };
23
+ req: import("frogbot").FrogBotRequest;
24
+ } & {
20
25
  webhookUrl: string;
21
26
  }): Promise<{
22
27
  webhookId: string;
23
28
  }>;
24
- onDisable(args: import("frogbot").PieceRunArgs<{
25
- teamId: string;
26
- }, {
27
- channelMode: "agent-sessions" | "comments";
28
- webhookSecret?: string | undefined;
29
- botUsername?: string | undefined;
30
- }, import("@linear/sdk").LinearClient> & {
29
+ onDisable(args: {
30
+ input: {
31
+ teamId: string;
32
+ };
33
+ client: import("@linear/sdk").LinearClient;
34
+ options: {
35
+ channelMode: "agent-sessions" | "comments";
36
+ webhookSecret?: string | undefined;
37
+ botUsername?: string | undefined;
38
+ };
39
+ req: import("frogbot").FrogBotRequest;
40
+ } & {
31
41
  state: {
32
42
  webhookId: string;
33
43
  };
34
44
  }): Promise<void>;
35
45
  renew?: {
36
46
  schedule: string;
37
- run(args: import("frogbot").PieceRunArgs<{
38
- teamId: string;
39
- }, {
40
- channelMode: "agent-sessions" | "comments";
41
- webhookSecret?: string | undefined;
42
- botUsername?: string | undefined;
43
- }, import("@linear/sdk").LinearClient> & {
47
+ run(args: {
48
+ input: {
49
+ teamId: string;
50
+ };
51
+ client: import("@linear/sdk").LinearClient;
52
+ options: {
53
+ channelMode: "agent-sessions" | "comments";
54
+ webhookSecret?: string | undefined;
55
+ botUsername?: string | undefined;
56
+ };
57
+ req: import("frogbot").FrogBotRequest;
58
+ } & {
44
59
  state: {
45
60
  webhookId: string;
46
61
  };
@@ -49,17 +64,39 @@ export declare const issueCreated: {
49
64
  webhookId: string;
50
65
  }>;
51
66
  } | undefined;
52
- run(args: import("frogbot").PieceRunArgs<{
53
- teamId: string;
54
- }, {
55
- channelMode: "agent-sessions" | "comments";
56
- webhookSecret?: string | undefined;
57
- botUsername?: string | undefined;
58
- }, import("@linear/sdk").LinearClient> & {
67
+ run(args: {
68
+ input: {
69
+ teamId: string;
70
+ };
71
+ client: import("@linear/sdk").LinearClient;
72
+ options: {
73
+ channelMode: "agent-sessions" | "comments";
74
+ webhookSecret?: string | undefined;
75
+ botUsername?: string | undefined;
76
+ };
77
+ req: import("frogbot").FrogBotRequest;
78
+ } & {
59
79
  state: {
60
80
  webhookId: string;
61
81
  };
62
82
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
83
+ reply?(args: {
84
+ input: {
85
+ teamId: string;
86
+ };
87
+ client: import("@linear/sdk").LinearClient;
88
+ options: {
89
+ channelMode: "agent-sessions" | "comments";
90
+ webhookSecret?: string | undefined;
91
+ botUsername?: string | undefined;
92
+ };
93
+ req: import("frogbot").FrogBotRequest;
94
+ } & {
95
+ state: {
96
+ webhookId: string;
97
+ };
98
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
99
+ }): Response | Promise<Response>;
63
100
  } & {
64
101
  slug: "issueCreated";
65
102
  };
@@ -1 +1 @@
1
- {"version":3,"file":"issueCreated.d.ts","sourceRoot":"","sources":["../../src/triggers/issueCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
1
+ {"version":3,"file":"issueCreated.d.ts","sourceRoot":"","sources":["../../src/triggers/issueCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
@@ -10,37 +10,52 @@ export declare const issueRemoved: {
10
10
  sample?: import("frogbot").PieceJSON | undefined;
11
11
  } & {
12
12
  type: "webhook";
13
- onEnable(args: import("frogbot").PieceRunArgs<{
14
- teamId: string;
15
- }, {
16
- channelMode: "agent-sessions" | "comments";
17
- webhookSecret?: string | undefined;
18
- botUsername?: string | undefined;
19
- }, import("@linear/sdk").LinearClient> & {
13
+ onEnable(args: {
14
+ input: {
15
+ teamId: string;
16
+ };
17
+ client: import("@linear/sdk").LinearClient;
18
+ options: {
19
+ channelMode: "agent-sessions" | "comments";
20
+ webhookSecret?: string | undefined;
21
+ botUsername?: string | undefined;
22
+ };
23
+ req: import("frogbot").FrogBotRequest;
24
+ } & {
20
25
  webhookUrl: string;
21
26
  }): Promise<{
22
27
  webhookId: string;
23
28
  }>;
24
- onDisable(args: import("frogbot").PieceRunArgs<{
25
- teamId: string;
26
- }, {
27
- channelMode: "agent-sessions" | "comments";
28
- webhookSecret?: string | undefined;
29
- botUsername?: string | undefined;
30
- }, import("@linear/sdk").LinearClient> & {
29
+ onDisable(args: {
30
+ input: {
31
+ teamId: string;
32
+ };
33
+ client: import("@linear/sdk").LinearClient;
34
+ options: {
35
+ channelMode: "agent-sessions" | "comments";
36
+ webhookSecret?: string | undefined;
37
+ botUsername?: string | undefined;
38
+ };
39
+ req: import("frogbot").FrogBotRequest;
40
+ } & {
31
41
  state: {
32
42
  webhookId: string;
33
43
  };
34
44
  }): Promise<void>;
35
45
  renew?: {
36
46
  schedule: string;
37
- run(args: import("frogbot").PieceRunArgs<{
38
- teamId: string;
39
- }, {
40
- channelMode: "agent-sessions" | "comments";
41
- webhookSecret?: string | undefined;
42
- botUsername?: string | undefined;
43
- }, import("@linear/sdk").LinearClient> & {
47
+ run(args: {
48
+ input: {
49
+ teamId: string;
50
+ };
51
+ client: import("@linear/sdk").LinearClient;
52
+ options: {
53
+ channelMode: "agent-sessions" | "comments";
54
+ webhookSecret?: string | undefined;
55
+ botUsername?: string | undefined;
56
+ };
57
+ req: import("frogbot").FrogBotRequest;
58
+ } & {
44
59
  state: {
45
60
  webhookId: string;
46
61
  };
@@ -49,17 +64,39 @@ export declare const issueRemoved: {
49
64
  webhookId: string;
50
65
  }>;
51
66
  } | undefined;
52
- run(args: import("frogbot").PieceRunArgs<{
53
- teamId: string;
54
- }, {
55
- channelMode: "agent-sessions" | "comments";
56
- webhookSecret?: string | undefined;
57
- botUsername?: string | undefined;
58
- }, import("@linear/sdk").LinearClient> & {
67
+ run(args: {
68
+ input: {
69
+ teamId: string;
70
+ };
71
+ client: import("@linear/sdk").LinearClient;
72
+ options: {
73
+ channelMode: "agent-sessions" | "comments";
74
+ webhookSecret?: string | undefined;
75
+ botUsername?: string | undefined;
76
+ };
77
+ req: import("frogbot").FrogBotRequest;
78
+ } & {
59
79
  state: {
60
80
  webhookId: string;
61
81
  };
62
82
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
83
+ reply?(args: {
84
+ input: {
85
+ teamId: string;
86
+ };
87
+ client: import("@linear/sdk").LinearClient;
88
+ options: {
89
+ channelMode: "agent-sessions" | "comments";
90
+ webhookSecret?: string | undefined;
91
+ botUsername?: string | undefined;
92
+ };
93
+ req: import("frogbot").FrogBotRequest;
94
+ } & {
95
+ state: {
96
+ webhookId: string;
97
+ };
98
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
99
+ }): Response | Promise<Response>;
63
100
  } & {
64
101
  slug: "issueRemoved";
65
102
  };
@@ -1 +1 @@
1
- {"version":3,"file":"issueRemoved.d.ts","sourceRoot":"","sources":["../../src/triggers/issueRemoved.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
1
+ {"version":3,"file":"issueRemoved.d.ts","sourceRoot":"","sources":["../../src/triggers/issueRemoved.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
@@ -10,37 +10,52 @@ export declare const issueUpdated: {
10
10
  sample?: import("frogbot").PieceJSON | undefined;
11
11
  } & {
12
12
  type: "webhook";
13
- onEnable(args: import("frogbot").PieceRunArgs<{
14
- teamId?: string | undefined;
15
- }, {
16
- channelMode: "agent-sessions" | "comments";
17
- webhookSecret?: string | undefined;
18
- botUsername?: string | undefined;
19
- }, import("@linear/sdk").LinearClient> & {
13
+ onEnable(args: {
14
+ input: {
15
+ teamId?: string | undefined;
16
+ };
17
+ client: import("@linear/sdk").LinearClient;
18
+ options: {
19
+ channelMode: "agent-sessions" | "comments";
20
+ webhookSecret?: string | undefined;
21
+ botUsername?: string | undefined;
22
+ };
23
+ req: import("frogbot").FrogBotRequest;
24
+ } & {
20
25
  webhookUrl: string;
21
26
  }): Promise<{
22
27
  webhookId: string;
23
28
  }>;
24
- onDisable(args: import("frogbot").PieceRunArgs<{
25
- teamId?: string | undefined;
26
- }, {
27
- channelMode: "agent-sessions" | "comments";
28
- webhookSecret?: string | undefined;
29
- botUsername?: string | undefined;
30
- }, import("@linear/sdk").LinearClient> & {
29
+ onDisable(args: {
30
+ input: {
31
+ teamId?: string | undefined;
32
+ };
33
+ client: import("@linear/sdk").LinearClient;
34
+ options: {
35
+ channelMode: "agent-sessions" | "comments";
36
+ webhookSecret?: string | undefined;
37
+ botUsername?: string | undefined;
38
+ };
39
+ req: import("frogbot").FrogBotRequest;
40
+ } & {
31
41
  state: {
32
42
  webhookId: string;
33
43
  };
34
44
  }): Promise<void>;
35
45
  renew?: {
36
46
  schedule: string;
37
- run(args: import("frogbot").PieceRunArgs<{
38
- teamId?: string | undefined;
39
- }, {
40
- channelMode: "agent-sessions" | "comments";
41
- webhookSecret?: string | undefined;
42
- botUsername?: string | undefined;
43
- }, import("@linear/sdk").LinearClient> & {
47
+ run(args: {
48
+ input: {
49
+ teamId?: string | undefined;
50
+ };
51
+ client: import("@linear/sdk").LinearClient;
52
+ options: {
53
+ channelMode: "agent-sessions" | "comments";
54
+ webhookSecret?: string | undefined;
55
+ botUsername?: string | undefined;
56
+ };
57
+ req: import("frogbot").FrogBotRequest;
58
+ } & {
44
59
  state: {
45
60
  webhookId: string;
46
61
  };
@@ -49,17 +64,39 @@ export declare const issueUpdated: {
49
64
  webhookId: string;
50
65
  }>;
51
66
  } | undefined;
52
- run(args: import("frogbot").PieceRunArgs<{
53
- teamId?: string | undefined;
54
- }, {
55
- channelMode: "agent-sessions" | "comments";
56
- webhookSecret?: string | undefined;
57
- botUsername?: string | undefined;
58
- }, import("@linear/sdk").LinearClient> & {
67
+ run(args: {
68
+ input: {
69
+ teamId?: string | undefined;
70
+ };
71
+ client: import("@linear/sdk").LinearClient;
72
+ options: {
73
+ channelMode: "agent-sessions" | "comments";
74
+ webhookSecret?: string | undefined;
75
+ botUsername?: string | undefined;
76
+ };
77
+ req: import("frogbot").FrogBotRequest;
78
+ } & {
59
79
  state: {
60
80
  webhookId: string;
61
81
  };
62
82
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
83
+ reply?(args: {
84
+ input: {
85
+ teamId?: string | undefined;
86
+ };
87
+ client: import("@linear/sdk").LinearClient;
88
+ options: {
89
+ channelMode: "agent-sessions" | "comments";
90
+ webhookSecret?: string | undefined;
91
+ botUsername?: string | undefined;
92
+ };
93
+ req: import("frogbot").FrogBotRequest;
94
+ } & {
95
+ state: {
96
+ webhookId: string;
97
+ };
98
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
99
+ }): Response | Promise<Response>;
63
100
  } & {
64
101
  slug: "issueUpdated";
65
102
  };
@@ -1 +1 @@
1
- {"version":3,"file":"issueUpdated.d.ts","sourceRoot":"","sources":["../../src/triggers/issueUpdated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
1
+ {"version":3,"file":"issueUpdated.d.ts","sourceRoot":"","sources":["../../src/triggers/issueUpdated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
@@ -8,31 +8,46 @@ export declare const projectCreated: {
8
8
  sample?: import("frogbot").PieceJSON | undefined;
9
9
  } & {
10
10
  type: "webhook";
11
- onEnable(args: import("frogbot").PieceRunArgs<Record<string, never>, {
12
- channelMode: "agent-sessions" | "comments";
13
- webhookSecret?: string | undefined;
14
- botUsername?: string | undefined;
15
- }, import("@linear/sdk").LinearClient> & {
11
+ onEnable(args: {
12
+ input: Record<string, never>;
13
+ client: import("@linear/sdk").LinearClient;
14
+ options: {
15
+ channelMode: "agent-sessions" | "comments";
16
+ webhookSecret?: string | undefined;
17
+ botUsername?: string | undefined;
18
+ };
19
+ req: import("frogbot").FrogBotRequest;
20
+ } & {
16
21
  webhookUrl: string;
17
22
  }): Promise<{
18
23
  webhookId: string;
19
24
  }>;
20
- onDisable(args: import("frogbot").PieceRunArgs<Record<string, never>, {
21
- channelMode: "agent-sessions" | "comments";
22
- webhookSecret?: string | undefined;
23
- botUsername?: string | undefined;
24
- }, import("@linear/sdk").LinearClient> & {
25
+ onDisable(args: {
26
+ input: Record<string, never>;
27
+ client: import("@linear/sdk").LinearClient;
28
+ options: {
29
+ channelMode: "agent-sessions" | "comments";
30
+ webhookSecret?: string | undefined;
31
+ botUsername?: string | undefined;
32
+ };
33
+ req: import("frogbot").FrogBotRequest;
34
+ } & {
25
35
  state: {
26
36
  webhookId: string;
27
37
  };
28
38
  }): Promise<void>;
29
39
  renew?: {
30
40
  schedule: string;
31
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
32
- channelMode: "agent-sessions" | "comments";
33
- webhookSecret?: string | undefined;
34
- botUsername?: string | undefined;
35
- }, import("@linear/sdk").LinearClient> & {
41
+ run(args: {
42
+ input: Record<string, never>;
43
+ client: import("@linear/sdk").LinearClient;
44
+ options: {
45
+ channelMode: "agent-sessions" | "comments";
46
+ webhookSecret?: string | undefined;
47
+ botUsername?: string | undefined;
48
+ };
49
+ req: import("frogbot").FrogBotRequest;
50
+ } & {
36
51
  state: {
37
52
  webhookId: string;
38
53
  };
@@ -41,15 +56,35 @@ export declare const projectCreated: {
41
56
  webhookId: string;
42
57
  }>;
43
58
  } | undefined;
44
- run(args: import("frogbot").PieceRunArgs<Record<string, never>, {
45
- channelMode: "agent-sessions" | "comments";
46
- webhookSecret?: string | undefined;
47
- botUsername?: string | undefined;
48
- }, import("@linear/sdk").LinearClient> & {
59
+ run(args: {
60
+ input: Record<string, never>;
61
+ client: import("@linear/sdk").LinearClient;
62
+ options: {
63
+ channelMode: "agent-sessions" | "comments";
64
+ webhookSecret?: string | undefined;
65
+ botUsername?: string | undefined;
66
+ };
67
+ req: import("frogbot").FrogBotRequest;
68
+ } & {
49
69
  state: {
50
70
  webhookId: string;
51
71
  };
52
72
  }): Promise<import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[]>;
73
+ reply?(args: {
74
+ input: Record<string, never>;
75
+ client: import("@linear/sdk").LinearClient;
76
+ options: {
77
+ channelMode: "agent-sessions" | "comments";
78
+ webhookSecret?: string | undefined;
79
+ botUsername?: string | undefined;
80
+ };
81
+ req: import("frogbot").FrogBotRequest;
82
+ } & {
83
+ state: {
84
+ webhookId: string;
85
+ };
86
+ events: import("frogbot").TriggerEvent<import("frogbot").PieceJSON>[];
87
+ }): Response | Promise<Response>;
53
88
  } & {
54
89
  slug: "projectCreated";
55
90
  };
@@ -1 +1 @@
1
- {"version":3,"file":"projectCreated.d.ts","sourceRoot":"","sources":["../../src/triggers/projectCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzB,CAAC"}
1
+ {"version":3,"file":"projectCreated.d.ts","sourceRoot":"","sources":["../../src/triggers/projectCreated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzB,CAAC"}