@frogbotai/piece-monday 0.38.0 → 0.40.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.
- package/dist/define.d.ts +66 -8
- package/dist/define.d.ts.map +1 -1
- package/dist/index.d.ts +95 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/triggers.d.ts +190 -56
- package/dist/triggers.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/define.d.ts
CHANGED
|
@@ -11,22 +11,51 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
11
11
|
sample?: (TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON) | undefined;
|
|
12
12
|
} & {
|
|
13
13
|
type: "webhook";
|
|
14
|
-
onEnable(args:
|
|
14
|
+
onEnable(args: {
|
|
15
|
+
input: import("zod").infer<TInput>;
|
|
16
|
+
client: import("./client.js").MondayClient;
|
|
17
|
+
req: import("frogbot").FrogBotRequest;
|
|
18
|
+
options: Record<string, never>;
|
|
19
|
+
} & {
|
|
15
20
|
webhookUrl: string;
|
|
16
21
|
}): Promise<TState>;
|
|
17
|
-
onDisable(args:
|
|
22
|
+
onDisable(args: {
|
|
23
|
+
input: import("zod").infer<TInput>;
|
|
24
|
+
client: import("./client.js").MondayClient;
|
|
25
|
+
req: import("frogbot").FrogBotRequest;
|
|
26
|
+
options: Record<string, never>;
|
|
27
|
+
} & {
|
|
18
28
|
state: TState;
|
|
19
29
|
}): Promise<void>;
|
|
20
30
|
renew?: {
|
|
21
31
|
schedule: string;
|
|
22
|
-
run(args:
|
|
32
|
+
run(args: {
|
|
33
|
+
input: import("zod").infer<TInput>;
|
|
34
|
+
client: import("./client.js").MondayClient;
|
|
35
|
+
req: import("frogbot").FrogBotRequest;
|
|
36
|
+
options: Record<string, never>;
|
|
37
|
+
} & {
|
|
23
38
|
state: TState;
|
|
24
39
|
webhookUrl: string;
|
|
25
40
|
}): Promise<TState>;
|
|
26
41
|
} | undefined;
|
|
27
|
-
run(args:
|
|
42
|
+
run(args: {
|
|
43
|
+
input: import("zod").infer<TInput>;
|
|
44
|
+
client: import("./client.js").MondayClient;
|
|
45
|
+
req: import("frogbot").FrogBotRequest;
|
|
46
|
+
options: Record<string, never>;
|
|
47
|
+
} & {
|
|
28
48
|
state: TState;
|
|
29
49
|
}): Promise<import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[]>;
|
|
50
|
+
reply?(args: {
|
|
51
|
+
input: import("zod").infer<TInput>;
|
|
52
|
+
client: import("./client.js").MondayClient;
|
|
53
|
+
req: import("frogbot").FrogBotRequest;
|
|
54
|
+
options: Record<string, never>;
|
|
55
|
+
} & {
|
|
56
|
+
state: TState;
|
|
57
|
+
events: import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[];
|
|
58
|
+
}): Response | Promise<Response>;
|
|
30
59
|
} & {
|
|
31
60
|
slug: TSlug;
|
|
32
61
|
}) => {
|
|
@@ -38,22 +67,51 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
38
67
|
sample?: (TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON) | undefined;
|
|
39
68
|
} & {
|
|
40
69
|
type: "webhook";
|
|
41
|
-
onEnable(args:
|
|
70
|
+
onEnable(args: {
|
|
71
|
+
input: import("zod").infer<TInput>;
|
|
72
|
+
client: import("./client.js").MondayClient;
|
|
73
|
+
req: import("frogbot").FrogBotRequest;
|
|
74
|
+
options: Record<string, never>;
|
|
75
|
+
} & {
|
|
42
76
|
webhookUrl: string;
|
|
43
77
|
}): Promise<TState>;
|
|
44
|
-
onDisable(args:
|
|
78
|
+
onDisable(args: {
|
|
79
|
+
input: import("zod").infer<TInput>;
|
|
80
|
+
client: import("./client.js").MondayClient;
|
|
81
|
+
req: import("frogbot").FrogBotRequest;
|
|
82
|
+
options: Record<string, never>;
|
|
83
|
+
} & {
|
|
45
84
|
state: TState;
|
|
46
85
|
}): Promise<void>;
|
|
47
86
|
renew?: {
|
|
48
87
|
schedule: string;
|
|
49
|
-
run(args:
|
|
88
|
+
run(args: {
|
|
89
|
+
input: import("zod").infer<TInput>;
|
|
90
|
+
client: import("./client.js").MondayClient;
|
|
91
|
+
req: import("frogbot").FrogBotRequest;
|
|
92
|
+
options: Record<string, never>;
|
|
93
|
+
} & {
|
|
50
94
|
state: TState;
|
|
51
95
|
webhookUrl: string;
|
|
52
96
|
}): Promise<TState>;
|
|
53
97
|
} | undefined;
|
|
54
|
-
run(args:
|
|
98
|
+
run(args: {
|
|
99
|
+
input: import("zod").infer<TInput>;
|
|
100
|
+
client: import("./client.js").MondayClient;
|
|
101
|
+
req: import("frogbot").FrogBotRequest;
|
|
102
|
+
options: Record<string, never>;
|
|
103
|
+
} & {
|
|
55
104
|
state: TState;
|
|
56
105
|
}): Promise<import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[]>;
|
|
106
|
+
reply?(args: {
|
|
107
|
+
input: import("zod").infer<TInput>;
|
|
108
|
+
client: import("./client.js").MondayClient;
|
|
109
|
+
req: import("frogbot").FrogBotRequest;
|
|
110
|
+
options: Record<string, never>;
|
|
111
|
+
} & {
|
|
112
|
+
state: TState;
|
|
113
|
+
events: import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[];
|
|
114
|
+
}): Response | Promise<Response>;
|
|
57
115
|
} & {
|
|
58
116
|
slug: TSlug;
|
|
59
117
|
};
|
package/dist/define.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAIA,eAAO,MAAQ,YAAY;;;;GAAE,oBAAoB
|
|
1
|
+
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAIA,eAAO,MAAQ,YAAY;;;;GAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -94,25 +94,40 @@ export declare const createMonday: import("frogbot").PieceFactory<{
|
|
|
94
94
|
sample?: Record<string, unknown> | undefined;
|
|
95
95
|
} & {
|
|
96
96
|
type: "webhook";
|
|
97
|
-
onEnable(args:
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
onEnable(args: {
|
|
98
|
+
input: {
|
|
99
|
+
boardId: string;
|
|
100
|
+
};
|
|
101
|
+
client: import("./client.js").MondayClient;
|
|
102
|
+
req: import("frogbot").FrogBotRequest;
|
|
103
|
+
options: Record<string, never>;
|
|
104
|
+
} & {
|
|
100
105
|
webhookUrl: string;
|
|
101
106
|
}): Promise<{
|
|
102
107
|
webhookId: string;
|
|
103
108
|
}>;
|
|
104
|
-
onDisable(args:
|
|
105
|
-
|
|
106
|
-
|
|
109
|
+
onDisable(args: {
|
|
110
|
+
input: {
|
|
111
|
+
boardId: string;
|
|
112
|
+
};
|
|
113
|
+
client: import("./client.js").MondayClient;
|
|
114
|
+
req: import("frogbot").FrogBotRequest;
|
|
115
|
+
options: Record<string, never>;
|
|
116
|
+
} & {
|
|
107
117
|
state: {
|
|
108
118
|
webhookId: string;
|
|
109
119
|
};
|
|
110
120
|
}): Promise<void>;
|
|
111
121
|
renew?: {
|
|
112
122
|
schedule: string;
|
|
113
|
-
run(args:
|
|
114
|
-
|
|
115
|
-
|
|
123
|
+
run(args: {
|
|
124
|
+
input: {
|
|
125
|
+
boardId: string;
|
|
126
|
+
};
|
|
127
|
+
client: import("./client.js").MondayClient;
|
|
128
|
+
req: import("frogbot").FrogBotRequest;
|
|
129
|
+
options: Record<string, never>;
|
|
130
|
+
} & {
|
|
116
131
|
state: {
|
|
117
132
|
webhookId: string;
|
|
118
133
|
};
|
|
@@ -121,13 +136,31 @@ export declare const createMonday: import("frogbot").PieceFactory<{
|
|
|
121
136
|
webhookId: string;
|
|
122
137
|
}>;
|
|
123
138
|
} | undefined;
|
|
124
|
-
run(args:
|
|
125
|
-
|
|
126
|
-
|
|
139
|
+
run(args: {
|
|
140
|
+
input: {
|
|
141
|
+
boardId: string;
|
|
142
|
+
};
|
|
143
|
+
client: import("./client.js").MondayClient;
|
|
144
|
+
req: import("frogbot").FrogBotRequest;
|
|
145
|
+
options: Record<string, never>;
|
|
146
|
+
} & {
|
|
127
147
|
state: {
|
|
128
148
|
webhookId: string;
|
|
129
149
|
};
|
|
130
150
|
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
151
|
+
reply?(args: {
|
|
152
|
+
input: {
|
|
153
|
+
boardId: string;
|
|
154
|
+
};
|
|
155
|
+
client: import("./client.js").MondayClient;
|
|
156
|
+
req: import("frogbot").FrogBotRequest;
|
|
157
|
+
options: Record<string, never>;
|
|
158
|
+
} & {
|
|
159
|
+
state: {
|
|
160
|
+
webhookId: string;
|
|
161
|
+
};
|
|
162
|
+
events: import("frogbot").TriggerEvent<Record<string, unknown>>[];
|
|
163
|
+
}): Response | Promise<Response>;
|
|
131
164
|
} & {
|
|
132
165
|
slug: "itemCreated";
|
|
133
166
|
}) | ({
|
|
@@ -142,28 +175,43 @@ export declare const createMonday: import("frogbot").PieceFactory<{
|
|
|
142
175
|
sample?: Record<string, unknown> | undefined;
|
|
143
176
|
} & {
|
|
144
177
|
type: "webhook";
|
|
145
|
-
onEnable(args:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
178
|
+
onEnable(args: {
|
|
179
|
+
input: {
|
|
180
|
+
boardId: string;
|
|
181
|
+
columnId: string;
|
|
182
|
+
};
|
|
183
|
+
client: import("./client.js").MondayClient;
|
|
184
|
+
req: import("frogbot").FrogBotRequest;
|
|
185
|
+
options: Record<string, never>;
|
|
186
|
+
} & {
|
|
149
187
|
webhookUrl: string;
|
|
150
188
|
}): Promise<{
|
|
151
189
|
webhookId: string;
|
|
152
190
|
}>;
|
|
153
|
-
onDisable(args:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
191
|
+
onDisable(args: {
|
|
192
|
+
input: {
|
|
193
|
+
boardId: string;
|
|
194
|
+
columnId: string;
|
|
195
|
+
};
|
|
196
|
+
client: import("./client.js").MondayClient;
|
|
197
|
+
req: import("frogbot").FrogBotRequest;
|
|
198
|
+
options: Record<string, never>;
|
|
199
|
+
} & {
|
|
157
200
|
state: {
|
|
158
201
|
webhookId: string;
|
|
159
202
|
};
|
|
160
203
|
}): Promise<void>;
|
|
161
204
|
renew?: {
|
|
162
205
|
schedule: string;
|
|
163
|
-
run(args:
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
206
|
+
run(args: {
|
|
207
|
+
input: {
|
|
208
|
+
boardId: string;
|
|
209
|
+
columnId: string;
|
|
210
|
+
};
|
|
211
|
+
client: import("./client.js").MondayClient;
|
|
212
|
+
req: import("frogbot").FrogBotRequest;
|
|
213
|
+
options: Record<string, never>;
|
|
214
|
+
} & {
|
|
167
215
|
state: {
|
|
168
216
|
webhookId: string;
|
|
169
217
|
};
|
|
@@ -172,14 +220,33 @@ export declare const createMonday: import("frogbot").PieceFactory<{
|
|
|
172
220
|
webhookId: string;
|
|
173
221
|
}>;
|
|
174
222
|
} | undefined;
|
|
175
|
-
run(args:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
223
|
+
run(args: {
|
|
224
|
+
input: {
|
|
225
|
+
boardId: string;
|
|
226
|
+
columnId: string;
|
|
227
|
+
};
|
|
228
|
+
client: import("./client.js").MondayClient;
|
|
229
|
+
req: import("frogbot").FrogBotRequest;
|
|
230
|
+
options: Record<string, never>;
|
|
231
|
+
} & {
|
|
179
232
|
state: {
|
|
180
233
|
webhookId: string;
|
|
181
234
|
};
|
|
182
235
|
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
236
|
+
reply?(args: {
|
|
237
|
+
input: {
|
|
238
|
+
boardId: string;
|
|
239
|
+
columnId: string;
|
|
240
|
+
};
|
|
241
|
+
client: import("./client.js").MondayClient;
|
|
242
|
+
req: import("frogbot").FrogBotRequest;
|
|
243
|
+
options: Record<string, never>;
|
|
244
|
+
} & {
|
|
245
|
+
state: {
|
|
246
|
+
webhookId: string;
|
|
247
|
+
};
|
|
248
|
+
events: import("frogbot").TriggerEvent<Record<string, unknown>>[];
|
|
249
|
+
}): Response | Promise<Response>;
|
|
183
250
|
} & {
|
|
184
251
|
slug: "columnUpdated";
|
|
185
252
|
}))[];
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAIjD,eAAO,MAAM,iBAAiB,oLAA6C,CAAC;AAC5E,eAAO,MAAM,kBAAkB,qCAAgD,CAAC;AAEhF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAIjD,eAAO,MAAM,iBAAiB,oLAA6C,CAAC;AAC5E,eAAO,MAAM,kBAAkB,qCAAgD,CAAC;AAEhF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBvB,CAAC"}
|
package/dist/triggers.d.ts
CHANGED
|
@@ -10,25 +10,40 @@ export declare const itemCreated: {
|
|
|
10
10
|
sample?: Record<string, unknown> | undefined;
|
|
11
11
|
} & {
|
|
12
12
|
type: "webhook";
|
|
13
|
-
onEnable(args:
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
onEnable(args: {
|
|
14
|
+
input: {
|
|
15
|
+
boardId: string;
|
|
16
|
+
};
|
|
17
|
+
client: import("./client.js").MondayClient;
|
|
18
|
+
req: import("frogbot").FrogBotRequest;
|
|
19
|
+
options: Record<string, never>;
|
|
20
|
+
} & {
|
|
16
21
|
webhookUrl: string;
|
|
17
22
|
}): Promise<{
|
|
18
23
|
webhookId: string;
|
|
19
24
|
}>;
|
|
20
|
-
onDisable(args:
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
onDisable(args: {
|
|
26
|
+
input: {
|
|
27
|
+
boardId: string;
|
|
28
|
+
};
|
|
29
|
+
client: import("./client.js").MondayClient;
|
|
30
|
+
req: import("frogbot").FrogBotRequest;
|
|
31
|
+
options: Record<string, never>;
|
|
32
|
+
} & {
|
|
23
33
|
state: {
|
|
24
34
|
webhookId: string;
|
|
25
35
|
};
|
|
26
36
|
}): Promise<void>;
|
|
27
37
|
renew?: {
|
|
28
38
|
schedule: string;
|
|
29
|
-
run(args:
|
|
30
|
-
|
|
31
|
-
|
|
39
|
+
run(args: {
|
|
40
|
+
input: {
|
|
41
|
+
boardId: string;
|
|
42
|
+
};
|
|
43
|
+
client: import("./client.js").MondayClient;
|
|
44
|
+
req: import("frogbot").FrogBotRequest;
|
|
45
|
+
options: Record<string, never>;
|
|
46
|
+
} & {
|
|
32
47
|
state: {
|
|
33
48
|
webhookId: string;
|
|
34
49
|
};
|
|
@@ -37,13 +52,31 @@ export declare const itemCreated: {
|
|
|
37
52
|
webhookId: string;
|
|
38
53
|
}>;
|
|
39
54
|
} | undefined;
|
|
40
|
-
run(args:
|
|
41
|
-
|
|
42
|
-
|
|
55
|
+
run(args: {
|
|
56
|
+
input: {
|
|
57
|
+
boardId: string;
|
|
58
|
+
};
|
|
59
|
+
client: import("./client.js").MondayClient;
|
|
60
|
+
req: import("frogbot").FrogBotRequest;
|
|
61
|
+
options: Record<string, never>;
|
|
62
|
+
} & {
|
|
43
63
|
state: {
|
|
44
64
|
webhookId: string;
|
|
45
65
|
};
|
|
46
66
|
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
67
|
+
reply?(args: {
|
|
68
|
+
input: {
|
|
69
|
+
boardId: string;
|
|
70
|
+
};
|
|
71
|
+
client: import("./client.js").MondayClient;
|
|
72
|
+
req: import("frogbot").FrogBotRequest;
|
|
73
|
+
options: Record<string, never>;
|
|
74
|
+
} & {
|
|
75
|
+
state: {
|
|
76
|
+
webhookId: string;
|
|
77
|
+
};
|
|
78
|
+
events: import("frogbot").TriggerEvent<Record<string, unknown>>[];
|
|
79
|
+
}): Response | Promise<Response>;
|
|
47
80
|
} & {
|
|
48
81
|
slug: "itemCreated";
|
|
49
82
|
};
|
|
@@ -59,28 +92,43 @@ export declare const columnUpdated: {
|
|
|
59
92
|
sample?: Record<string, unknown> | undefined;
|
|
60
93
|
} & {
|
|
61
94
|
type: "webhook";
|
|
62
|
-
onEnable(args:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
95
|
+
onEnable(args: {
|
|
96
|
+
input: {
|
|
97
|
+
boardId: string;
|
|
98
|
+
columnId: string;
|
|
99
|
+
};
|
|
100
|
+
client: import("./client.js").MondayClient;
|
|
101
|
+
req: import("frogbot").FrogBotRequest;
|
|
102
|
+
options: Record<string, never>;
|
|
103
|
+
} & {
|
|
66
104
|
webhookUrl: string;
|
|
67
105
|
}): Promise<{
|
|
68
106
|
webhookId: string;
|
|
69
107
|
}>;
|
|
70
|
-
onDisable(args:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
108
|
+
onDisable(args: {
|
|
109
|
+
input: {
|
|
110
|
+
boardId: string;
|
|
111
|
+
columnId: string;
|
|
112
|
+
};
|
|
113
|
+
client: import("./client.js").MondayClient;
|
|
114
|
+
req: import("frogbot").FrogBotRequest;
|
|
115
|
+
options: Record<string, never>;
|
|
116
|
+
} & {
|
|
74
117
|
state: {
|
|
75
118
|
webhookId: string;
|
|
76
119
|
};
|
|
77
120
|
}): Promise<void>;
|
|
78
121
|
renew?: {
|
|
79
122
|
schedule: string;
|
|
80
|
-
run(args:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
123
|
+
run(args: {
|
|
124
|
+
input: {
|
|
125
|
+
boardId: string;
|
|
126
|
+
columnId: string;
|
|
127
|
+
};
|
|
128
|
+
client: import("./client.js").MondayClient;
|
|
129
|
+
req: import("frogbot").FrogBotRequest;
|
|
130
|
+
options: Record<string, never>;
|
|
131
|
+
} & {
|
|
84
132
|
state: {
|
|
85
133
|
webhookId: string;
|
|
86
134
|
};
|
|
@@ -89,14 +137,33 @@ export declare const columnUpdated: {
|
|
|
89
137
|
webhookId: string;
|
|
90
138
|
}>;
|
|
91
139
|
} | undefined;
|
|
92
|
-
run(args:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
140
|
+
run(args: {
|
|
141
|
+
input: {
|
|
142
|
+
boardId: string;
|
|
143
|
+
columnId: string;
|
|
144
|
+
};
|
|
145
|
+
client: import("./client.js").MondayClient;
|
|
146
|
+
req: import("frogbot").FrogBotRequest;
|
|
147
|
+
options: Record<string, never>;
|
|
148
|
+
} & {
|
|
96
149
|
state: {
|
|
97
150
|
webhookId: string;
|
|
98
151
|
};
|
|
99
152
|
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
153
|
+
reply?(args: {
|
|
154
|
+
input: {
|
|
155
|
+
boardId: string;
|
|
156
|
+
columnId: string;
|
|
157
|
+
};
|
|
158
|
+
client: import("./client.js").MondayClient;
|
|
159
|
+
req: import("frogbot").FrogBotRequest;
|
|
160
|
+
options: Record<string, never>;
|
|
161
|
+
} & {
|
|
162
|
+
state: {
|
|
163
|
+
webhookId: string;
|
|
164
|
+
};
|
|
165
|
+
events: import("frogbot").TriggerEvent<Record<string, unknown>>[];
|
|
166
|
+
}): Response | Promise<Response>;
|
|
100
167
|
} & {
|
|
101
168
|
slug: "columnUpdated";
|
|
102
169
|
};
|
|
@@ -111,25 +178,40 @@ export declare const mondayTriggers: (({
|
|
|
111
178
|
sample?: Record<string, unknown> | undefined;
|
|
112
179
|
} & {
|
|
113
180
|
type: "webhook";
|
|
114
|
-
onEnable(args:
|
|
115
|
-
|
|
116
|
-
|
|
181
|
+
onEnable(args: {
|
|
182
|
+
input: {
|
|
183
|
+
boardId: string;
|
|
184
|
+
};
|
|
185
|
+
client: import("./client.js").MondayClient;
|
|
186
|
+
req: import("frogbot").FrogBotRequest;
|
|
187
|
+
options: Record<string, never>;
|
|
188
|
+
} & {
|
|
117
189
|
webhookUrl: string;
|
|
118
190
|
}): Promise<{
|
|
119
191
|
webhookId: string;
|
|
120
192
|
}>;
|
|
121
|
-
onDisable(args:
|
|
122
|
-
|
|
123
|
-
|
|
193
|
+
onDisable(args: {
|
|
194
|
+
input: {
|
|
195
|
+
boardId: string;
|
|
196
|
+
};
|
|
197
|
+
client: import("./client.js").MondayClient;
|
|
198
|
+
req: import("frogbot").FrogBotRequest;
|
|
199
|
+
options: Record<string, never>;
|
|
200
|
+
} & {
|
|
124
201
|
state: {
|
|
125
202
|
webhookId: string;
|
|
126
203
|
};
|
|
127
204
|
}): Promise<void>;
|
|
128
205
|
renew?: {
|
|
129
206
|
schedule: string;
|
|
130
|
-
run(args:
|
|
131
|
-
|
|
132
|
-
|
|
207
|
+
run(args: {
|
|
208
|
+
input: {
|
|
209
|
+
boardId: string;
|
|
210
|
+
};
|
|
211
|
+
client: import("./client.js").MondayClient;
|
|
212
|
+
req: import("frogbot").FrogBotRequest;
|
|
213
|
+
options: Record<string, never>;
|
|
214
|
+
} & {
|
|
133
215
|
state: {
|
|
134
216
|
webhookId: string;
|
|
135
217
|
};
|
|
@@ -138,13 +220,31 @@ export declare const mondayTriggers: (({
|
|
|
138
220
|
webhookId: string;
|
|
139
221
|
}>;
|
|
140
222
|
} | undefined;
|
|
141
|
-
run(args:
|
|
142
|
-
|
|
143
|
-
|
|
223
|
+
run(args: {
|
|
224
|
+
input: {
|
|
225
|
+
boardId: string;
|
|
226
|
+
};
|
|
227
|
+
client: import("./client.js").MondayClient;
|
|
228
|
+
req: import("frogbot").FrogBotRequest;
|
|
229
|
+
options: Record<string, never>;
|
|
230
|
+
} & {
|
|
144
231
|
state: {
|
|
145
232
|
webhookId: string;
|
|
146
233
|
};
|
|
147
234
|
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
235
|
+
reply?(args: {
|
|
236
|
+
input: {
|
|
237
|
+
boardId: string;
|
|
238
|
+
};
|
|
239
|
+
client: import("./client.js").MondayClient;
|
|
240
|
+
req: import("frogbot").FrogBotRequest;
|
|
241
|
+
options: Record<string, never>;
|
|
242
|
+
} & {
|
|
243
|
+
state: {
|
|
244
|
+
webhookId: string;
|
|
245
|
+
};
|
|
246
|
+
events: import("frogbot").TriggerEvent<Record<string, unknown>>[];
|
|
247
|
+
}): Response | Promise<Response>;
|
|
148
248
|
} & {
|
|
149
249
|
slug: "itemCreated";
|
|
150
250
|
}) | ({
|
|
@@ -159,28 +259,43 @@ export declare const mondayTriggers: (({
|
|
|
159
259
|
sample?: Record<string, unknown> | undefined;
|
|
160
260
|
} & {
|
|
161
261
|
type: "webhook";
|
|
162
|
-
onEnable(args:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
262
|
+
onEnable(args: {
|
|
263
|
+
input: {
|
|
264
|
+
boardId: string;
|
|
265
|
+
columnId: string;
|
|
266
|
+
};
|
|
267
|
+
client: import("./client.js").MondayClient;
|
|
268
|
+
req: import("frogbot").FrogBotRequest;
|
|
269
|
+
options: Record<string, never>;
|
|
270
|
+
} & {
|
|
166
271
|
webhookUrl: string;
|
|
167
272
|
}): Promise<{
|
|
168
273
|
webhookId: string;
|
|
169
274
|
}>;
|
|
170
|
-
onDisable(args:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
275
|
+
onDisable(args: {
|
|
276
|
+
input: {
|
|
277
|
+
boardId: string;
|
|
278
|
+
columnId: string;
|
|
279
|
+
};
|
|
280
|
+
client: import("./client.js").MondayClient;
|
|
281
|
+
req: import("frogbot").FrogBotRequest;
|
|
282
|
+
options: Record<string, never>;
|
|
283
|
+
} & {
|
|
174
284
|
state: {
|
|
175
285
|
webhookId: string;
|
|
176
286
|
};
|
|
177
287
|
}): Promise<void>;
|
|
178
288
|
renew?: {
|
|
179
289
|
schedule: string;
|
|
180
|
-
run(args:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
290
|
+
run(args: {
|
|
291
|
+
input: {
|
|
292
|
+
boardId: string;
|
|
293
|
+
columnId: string;
|
|
294
|
+
};
|
|
295
|
+
client: import("./client.js").MondayClient;
|
|
296
|
+
req: import("frogbot").FrogBotRequest;
|
|
297
|
+
options: Record<string, never>;
|
|
298
|
+
} & {
|
|
184
299
|
state: {
|
|
185
300
|
webhookId: string;
|
|
186
301
|
};
|
|
@@ -189,14 +304,33 @@ export declare const mondayTriggers: (({
|
|
|
189
304
|
webhookId: string;
|
|
190
305
|
}>;
|
|
191
306
|
} | undefined;
|
|
192
|
-
run(args:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
307
|
+
run(args: {
|
|
308
|
+
input: {
|
|
309
|
+
boardId: string;
|
|
310
|
+
columnId: string;
|
|
311
|
+
};
|
|
312
|
+
client: import("./client.js").MondayClient;
|
|
313
|
+
req: import("frogbot").FrogBotRequest;
|
|
314
|
+
options: Record<string, never>;
|
|
315
|
+
} & {
|
|
196
316
|
state: {
|
|
197
317
|
webhookId: string;
|
|
198
318
|
};
|
|
199
319
|
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
320
|
+
reply?(args: {
|
|
321
|
+
input: {
|
|
322
|
+
boardId: string;
|
|
323
|
+
columnId: string;
|
|
324
|
+
};
|
|
325
|
+
client: import("./client.js").MondayClient;
|
|
326
|
+
req: import("frogbot").FrogBotRequest;
|
|
327
|
+
options: Record<string, never>;
|
|
328
|
+
} & {
|
|
329
|
+
state: {
|
|
330
|
+
webhookId: string;
|
|
331
|
+
};
|
|
332
|
+
events: import("frogbot").TriggerEvent<Record<string, unknown>>[];
|
|
333
|
+
}): Response | Promise<Response>;
|
|
200
334
|
} & {
|
|
201
335
|
slug: "columnUpdated";
|
|
202
336
|
}))[];
|
package/dist/triggers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../src/triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6FxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../src/triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6FxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAC;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-monday",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "monday tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"zod": "^4.3.6"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"frogbot": "0.
|
|
25
|
+
"frogbot": "0.40.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "6.0.3",
|
|
29
|
-
"frogbot": "0.
|
|
29
|
+
"frogbot": "0.40.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|