@automate.ax/catalog 0.110.0 → 0.111.1

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,35 +1,206 @@
1
1
  export declare const asanaTriggerDefinitions: {
2
+ readonly asanaAttachmentDeleted: {
3
+ readonly account: {
4
+ readonly connectionOptions: readonly [{
5
+ readonly requiredScopes: readonly ["default"];
6
+ }];
7
+ readonly serviceId: "asana";
8
+ };
9
+ readonly type: "asana.attachment.deleted";
10
+ };
11
+ readonly asanaAttachmentRestored: {
12
+ readonly account: {
13
+ readonly connectionOptions: readonly [{
14
+ readonly requiredScopes: readonly ["default"];
15
+ }];
16
+ readonly serviceId: "asana";
17
+ };
18
+ readonly type: "asana.attachment.restored";
19
+ };
2
20
  readonly asanaCommentAdded: {
3
21
  readonly account: {
4
22
  readonly connectionOptions: readonly [{
5
- readonly requiredScopes: readonly [];
23
+ readonly requiredScopes: readonly ["default"];
6
24
  }];
7
25
  readonly serviceId: "asana";
8
26
  };
9
27
  readonly type: "asana.comment.added";
10
28
  };
11
- readonly asanaEvent: {
29
+ readonly asanaCommentDeleted: {
30
+ readonly account: {
31
+ readonly connectionOptions: readonly [{
32
+ readonly requiredScopes: readonly ["default"];
33
+ }];
34
+ readonly serviceId: "asana";
35
+ };
36
+ readonly type: "asana.comment.deleted";
37
+ };
38
+ readonly asanaCommentRestored: {
39
+ readonly account: {
40
+ readonly connectionOptions: readonly [{
41
+ readonly requiredScopes: readonly ["default"];
42
+ }];
43
+ readonly serviceId: "asana";
44
+ };
45
+ readonly type: "asana.comment.restored";
46
+ };
47
+ readonly asanaCommentUpdated: {
48
+ readonly account: {
49
+ readonly connectionOptions: readonly [{
50
+ readonly requiredScopes: readonly ["default"];
51
+ }];
52
+ readonly serviceId: "asana";
53
+ };
54
+ readonly type: "asana.comment.updated";
55
+ };
56
+ readonly asanaProjectAdded: {
57
+ readonly account: {
58
+ readonly connectionOptions: readonly [{
59
+ readonly requiredScopes: readonly ["default"];
60
+ }];
61
+ readonly serviceId: "asana";
62
+ };
63
+ readonly type: "asana.project.added";
64
+ };
65
+ readonly asanaProjectChanged: {
66
+ readonly account: {
67
+ readonly connectionOptions: readonly [{
68
+ readonly requiredScopes: readonly ["default"];
69
+ }];
70
+ readonly serviceId: "asana";
71
+ };
72
+ readonly type: "asana.project.changed";
73
+ };
74
+ readonly asanaProjectDeleted: {
75
+ readonly account: {
76
+ readonly connectionOptions: readonly [{
77
+ readonly requiredScopes: readonly ["default"];
78
+ }];
79
+ readonly serviceId: "asana";
80
+ };
81
+ readonly type: "asana.project.deleted";
82
+ };
83
+ readonly asanaProjectRemoved: {
84
+ readonly account: {
85
+ readonly connectionOptions: readonly [{
86
+ readonly requiredScopes: readonly ["default"];
87
+ }];
88
+ readonly serviceId: "asana";
89
+ };
90
+ readonly type: "asana.project.removed";
91
+ };
92
+ readonly asanaProjectRestored: {
93
+ readonly account: {
94
+ readonly connectionOptions: readonly [{
95
+ readonly requiredScopes: readonly ["default"];
96
+ }];
97
+ readonly serviceId: "asana";
98
+ };
99
+ readonly type: "asana.project.restored";
100
+ };
101
+ readonly asanaResourceEvent: {
102
+ readonly account: {
103
+ readonly connectionOptions: readonly [{
104
+ readonly requiredScopes: readonly ["default"];
105
+ }];
106
+ readonly serviceId: "asana";
107
+ };
108
+ readonly type: "asana.resource.event";
109
+ };
110
+ readonly asanaSectionAdded: {
111
+ readonly account: {
112
+ readonly connectionOptions: readonly [{
113
+ readonly requiredScopes: readonly ["default"];
114
+ }];
115
+ readonly serviceId: "asana";
116
+ };
117
+ readonly type: "asana.section.added";
118
+ };
119
+ readonly asanaSectionChanged: {
120
+ readonly account: {
121
+ readonly connectionOptions: readonly [{
122
+ readonly requiredScopes: readonly ["default"];
123
+ }];
124
+ readonly serviceId: "asana";
125
+ };
126
+ readonly type: "asana.section.changed";
127
+ };
128
+ readonly asanaSectionDeleted: {
129
+ readonly account: {
130
+ readonly connectionOptions: readonly [{
131
+ readonly requiredScopes: readonly ["default"];
132
+ }];
133
+ readonly serviceId: "asana";
134
+ };
135
+ readonly type: "asana.section.deleted";
136
+ };
137
+ readonly asanaSectionRestored: {
138
+ readonly account: {
139
+ readonly connectionOptions: readonly [{
140
+ readonly requiredScopes: readonly ["default"];
141
+ }];
142
+ readonly serviceId: "asana";
143
+ };
144
+ readonly type: "asana.section.restored";
145
+ };
146
+ readonly asanaTagAdded: {
147
+ readonly account: {
148
+ readonly connectionOptions: readonly [{
149
+ readonly requiredScopes: readonly ["default"];
150
+ }];
151
+ readonly serviceId: "asana";
152
+ };
153
+ readonly type: "asana.tag.added";
154
+ };
155
+ readonly asanaTagChanged: {
156
+ readonly account: {
157
+ readonly connectionOptions: readonly [{
158
+ readonly requiredScopes: readonly ["default"];
159
+ }];
160
+ readonly serviceId: "asana";
161
+ };
162
+ readonly type: "asana.tag.changed";
163
+ };
164
+ readonly asanaTagDeleted: {
12
165
  readonly account: {
13
166
  readonly connectionOptions: readonly [{
14
- readonly requiredScopes: readonly [];
167
+ readonly requiredScopes: readonly ["default"];
15
168
  }];
16
169
  readonly serviceId: "asana";
17
170
  };
18
- readonly type: "asana.event";
171
+ readonly type: "asana.tag.deleted";
172
+ };
173
+ readonly asanaTagRestored: {
174
+ readonly account: {
175
+ readonly connectionOptions: readonly [{
176
+ readonly requiredScopes: readonly ["default"];
177
+ }];
178
+ readonly serviceId: "asana";
179
+ };
180
+ readonly type: "asana.tag.restored";
19
181
  };
20
182
  readonly asanaTaskAdded: {
21
183
  readonly account: {
22
184
  readonly connectionOptions: readonly [{
23
- readonly requiredScopes: readonly [];
185
+ readonly requiredScopes: readonly ["default"];
24
186
  }];
25
187
  readonly serviceId: "asana";
26
188
  };
27
189
  readonly type: "asana.task.added";
28
190
  };
191
+ readonly asanaTaskAssigned: {
192
+ readonly account: {
193
+ readonly connectionOptions: readonly [{
194
+ readonly requiredScopes: readonly ["default"];
195
+ }];
196
+ readonly serviceId: "asana";
197
+ };
198
+ readonly type: "asana.task.assigned";
199
+ };
29
200
  readonly asanaTaskChanged: {
30
201
  readonly account: {
31
202
  readonly connectionOptions: readonly [{
32
- readonly requiredScopes: readonly [];
203
+ readonly requiredScopes: readonly ["default"];
33
204
  }];
34
205
  readonly serviceId: "asana";
35
206
  };
@@ -38,7 +209,7 @@ export declare const asanaTriggerDefinitions: {
38
209
  readonly asanaTaskCompleted: {
39
210
  readonly account: {
40
211
  readonly connectionOptions: readonly [{
41
- readonly requiredScopes: readonly [];
212
+ readonly requiredScopes: readonly ["default"];
42
213
  }];
43
214
  readonly serviceId: "asana";
44
215
  };
@@ -47,19 +218,109 @@ export declare const asanaTriggerDefinitions: {
47
218
  readonly asanaTaskDeleted: {
48
219
  readonly account: {
49
220
  readonly connectionOptions: readonly [{
50
- readonly requiredScopes: readonly [];
221
+ readonly requiredScopes: readonly ["default"];
51
222
  }];
52
223
  readonly serviceId: "asana";
53
224
  };
54
225
  readonly type: "asana.task.deleted";
55
226
  };
227
+ readonly asanaTaskDueDateChanged: {
228
+ readonly account: {
229
+ readonly connectionOptions: readonly [{
230
+ readonly requiredScopes: readonly ["default"];
231
+ }];
232
+ readonly serviceId: "asana";
233
+ };
234
+ readonly type: "asana.task.due-date.changed";
235
+ };
236
+ readonly asanaTaskFollowerAdded: {
237
+ readonly account: {
238
+ readonly connectionOptions: readonly [{
239
+ readonly requiredScopes: readonly ["default"];
240
+ }];
241
+ readonly serviceId: "asana";
242
+ };
243
+ readonly type: "asana.task.follower.added";
244
+ };
245
+ readonly asanaTaskFollowerRemoved: {
246
+ readonly account: {
247
+ readonly connectionOptions: readonly [{
248
+ readonly requiredScopes: readonly ["default"];
249
+ }];
250
+ readonly serviceId: "asana";
251
+ };
252
+ readonly type: "asana.task.follower.removed";
253
+ };
254
+ readonly asanaTaskIncomplete: {
255
+ readonly account: {
256
+ readonly connectionOptions: readonly [{
257
+ readonly requiredScopes: readonly ["default"];
258
+ }];
259
+ readonly serviceId: "asana";
260
+ };
261
+ readonly type: "asana.task.incomplete";
262
+ };
263
+ readonly asanaTaskProjectAdded: {
264
+ readonly account: {
265
+ readonly connectionOptions: readonly [{
266
+ readonly requiredScopes: readonly ["default"];
267
+ }];
268
+ readonly serviceId: "asana";
269
+ };
270
+ readonly type: "asana.task.project.added";
271
+ };
272
+ readonly asanaTaskProjectRemoved: {
273
+ readonly account: {
274
+ readonly connectionOptions: readonly [{
275
+ readonly requiredScopes: readonly ["default"];
276
+ }];
277
+ readonly serviceId: "asana";
278
+ };
279
+ readonly type: "asana.task.project.removed";
280
+ };
56
281
  readonly asanaTaskRemoved: {
57
282
  readonly account: {
58
283
  readonly connectionOptions: readonly [{
59
- readonly requiredScopes: readonly [];
284
+ readonly requiredScopes: readonly ["default"];
60
285
  }];
61
286
  readonly serviceId: "asana";
62
287
  };
63
288
  readonly type: "asana.task.removed";
64
289
  };
290
+ readonly asanaTaskRestored: {
291
+ readonly account: {
292
+ readonly connectionOptions: readonly [{
293
+ readonly requiredScopes: readonly ["default"];
294
+ }];
295
+ readonly serviceId: "asana";
296
+ };
297
+ readonly type: "asana.task.restored";
298
+ };
299
+ readonly asanaTaskTagAdded: {
300
+ readonly account: {
301
+ readonly connectionOptions: readonly [{
302
+ readonly requiredScopes: readonly ["default"];
303
+ }];
304
+ readonly serviceId: "asana";
305
+ };
306
+ readonly type: "asana.task.tag.added";
307
+ };
308
+ readonly asanaTaskTagRemoved: {
309
+ readonly account: {
310
+ readonly connectionOptions: readonly [{
311
+ readonly requiredScopes: readonly ["default"];
312
+ }];
313
+ readonly serviceId: "asana";
314
+ };
315
+ readonly type: "asana.task.tag.removed";
316
+ };
317
+ readonly asanaTaskUnassigned: {
318
+ readonly account: {
319
+ readonly connectionOptions: readonly [{
320
+ readonly requiredScopes: readonly ["default"];
321
+ }];
322
+ readonly serviceId: "asana";
323
+ };
324
+ readonly type: "asana.task.unassigned";
325
+ };
65
326
  };
@@ -1,38 +1,50 @@
1
1
  const ASANA_ACCOUNT = {
2
- connectionOptions: [
3
- {
4
- requiredScopes: [],
5
- },
6
- ],
2
+ connectionOptions: [{ requiredScopes: ["default"] }],
7
3
  serviceId: "asana",
8
4
  };
9
5
  export const asanaTriggerDefinitions = {
10
- asanaCommentAdded: {
11
- account: ASANA_ACCOUNT,
12
- type: "asana.comment.added",
13
- },
14
- asanaEvent: {
15
- account: ASANA_ACCOUNT,
16
- type: "asana.event",
17
- },
18
- asanaTaskAdded: {
19
- account: ASANA_ACCOUNT,
20
- type: "asana.task.added",
21
- },
22
- asanaTaskChanged: {
23
- account: ASANA_ACCOUNT,
24
- type: "asana.task.changed",
25
- },
26
- asanaTaskCompleted: {
27
- account: ASANA_ACCOUNT,
28
- type: "asana.task.completed",
29
- },
30
- asanaTaskDeleted: {
31
- account: ASANA_ACCOUNT,
32
- type: "asana.task.deleted",
33
- },
34
- asanaTaskRemoved: {
35
- account: ASANA_ACCOUNT,
36
- type: "asana.task.removed",
37
- },
6
+ asanaAttachmentDeleted: definition("asana.attachment.deleted"),
7
+ asanaAttachmentRestored: definition("asana.attachment.restored"),
8
+ asanaCommentAdded: definition("asana.comment.added"),
9
+ asanaCommentDeleted: definition("asana.comment.deleted"),
10
+ asanaCommentRestored: definition("asana.comment.restored"),
11
+ asanaCommentUpdated: definition("asana.comment.updated"),
12
+ asanaProjectAdded: definition("asana.project.added"),
13
+ asanaProjectChanged: definition("asana.project.changed"),
14
+ asanaProjectDeleted: definition("asana.project.deleted"),
15
+ asanaProjectRemoved: definition("asana.project.removed"),
16
+ asanaProjectRestored: definition("asana.project.restored"),
17
+ asanaResourceEvent: definition("asana.resource.event"),
18
+ asanaSectionAdded: definition("asana.section.added"),
19
+ asanaSectionChanged: definition("asana.section.changed"),
20
+ asanaSectionDeleted: definition("asana.section.deleted"),
21
+ asanaSectionRestored: definition("asana.section.restored"),
22
+ asanaTagAdded: definition("asana.tag.added"),
23
+ asanaTagChanged: definition("asana.tag.changed"),
24
+ asanaTagDeleted: definition("asana.tag.deleted"),
25
+ asanaTagRestored: definition("asana.tag.restored"),
26
+ asanaTaskAdded: definition("asana.task.added"),
27
+ asanaTaskAssigned: definition("asana.task.assigned"),
28
+ asanaTaskChanged: definition("asana.task.changed"),
29
+ asanaTaskCompleted: definition("asana.task.completed"),
30
+ asanaTaskDeleted: definition("asana.task.deleted"),
31
+ asanaTaskDueDateChanged: definition("asana.task.due-date.changed"),
32
+ asanaTaskFollowerAdded: definition("asana.task.follower.added"),
33
+ asanaTaskFollowerRemoved: definition("asana.task.follower.removed"),
34
+ asanaTaskIncomplete: definition("asana.task.incomplete"),
35
+ asanaTaskProjectAdded: definition("asana.task.project.added"),
36
+ asanaTaskProjectRemoved: definition("asana.task.project.removed"),
37
+ asanaTaskRemoved: definition("asana.task.removed"),
38
+ asanaTaskRestored: definition("asana.task.restored"),
39
+ asanaTaskTagAdded: definition("asana.task.tag.added"),
40
+ asanaTaskTagRemoved: definition("asana.task.tag.removed"),
41
+ asanaTaskUnassigned: definition("asana.task.unassigned"),
38
42
  };
43
+ /**
44
+ * Builds one full-permission Asana trigger definition.
45
+ *
46
+ * @param type - Internal event type.
47
+ */
48
+ function definition(type) {
49
+ return { account: ASANA_ACCOUNT, type };
50
+ }
@@ -4905,37 +4905,208 @@ export declare const triggerDefinitions: {
4905
4905
  readonly name: "Brevo email unsubscribed";
4906
4906
  readonly type: "brevo.transactional.unsubscribed";
4907
4907
  };
4908
+ readonly asanaAttachmentDeleted: {
4909
+ readonly account: {
4910
+ readonly connectionOptions: readonly [{
4911
+ readonly requiredScopes: readonly ["default"];
4912
+ }];
4913
+ readonly serviceId: "asana";
4914
+ };
4915
+ readonly type: "asana.attachment.deleted";
4916
+ };
4917
+ readonly asanaAttachmentRestored: {
4918
+ readonly account: {
4919
+ readonly connectionOptions: readonly [{
4920
+ readonly requiredScopes: readonly ["default"];
4921
+ }];
4922
+ readonly serviceId: "asana";
4923
+ };
4924
+ readonly type: "asana.attachment.restored";
4925
+ };
4908
4926
  readonly asanaCommentAdded: {
4909
4927
  readonly account: {
4910
4928
  readonly connectionOptions: readonly [{
4911
- readonly requiredScopes: readonly [];
4929
+ readonly requiredScopes: readonly ["default"];
4912
4930
  }];
4913
4931
  readonly serviceId: "asana";
4914
4932
  };
4915
4933
  readonly type: "asana.comment.added";
4916
4934
  };
4917
- readonly asanaEvent: {
4935
+ readonly asanaCommentDeleted: {
4918
4936
  readonly account: {
4919
4937
  readonly connectionOptions: readonly [{
4920
- readonly requiredScopes: readonly [];
4938
+ readonly requiredScopes: readonly ["default"];
4939
+ }];
4940
+ readonly serviceId: "asana";
4941
+ };
4942
+ readonly type: "asana.comment.deleted";
4943
+ };
4944
+ readonly asanaCommentRestored: {
4945
+ readonly account: {
4946
+ readonly connectionOptions: readonly [{
4947
+ readonly requiredScopes: readonly ["default"];
4948
+ }];
4949
+ readonly serviceId: "asana";
4950
+ };
4951
+ readonly type: "asana.comment.restored";
4952
+ };
4953
+ readonly asanaCommentUpdated: {
4954
+ readonly account: {
4955
+ readonly connectionOptions: readonly [{
4956
+ readonly requiredScopes: readonly ["default"];
4957
+ }];
4958
+ readonly serviceId: "asana";
4959
+ };
4960
+ readonly type: "asana.comment.updated";
4961
+ };
4962
+ readonly asanaProjectAdded: {
4963
+ readonly account: {
4964
+ readonly connectionOptions: readonly [{
4965
+ readonly requiredScopes: readonly ["default"];
4966
+ }];
4967
+ readonly serviceId: "asana";
4968
+ };
4969
+ readonly type: "asana.project.added";
4970
+ };
4971
+ readonly asanaProjectChanged: {
4972
+ readonly account: {
4973
+ readonly connectionOptions: readonly [{
4974
+ readonly requiredScopes: readonly ["default"];
4975
+ }];
4976
+ readonly serviceId: "asana";
4977
+ };
4978
+ readonly type: "asana.project.changed";
4979
+ };
4980
+ readonly asanaProjectDeleted: {
4981
+ readonly account: {
4982
+ readonly connectionOptions: readonly [{
4983
+ readonly requiredScopes: readonly ["default"];
4984
+ }];
4985
+ readonly serviceId: "asana";
4986
+ };
4987
+ readonly type: "asana.project.deleted";
4988
+ };
4989
+ readonly asanaProjectRemoved: {
4990
+ readonly account: {
4991
+ readonly connectionOptions: readonly [{
4992
+ readonly requiredScopes: readonly ["default"];
4993
+ }];
4994
+ readonly serviceId: "asana";
4995
+ };
4996
+ readonly type: "asana.project.removed";
4997
+ };
4998
+ readonly asanaProjectRestored: {
4999
+ readonly account: {
5000
+ readonly connectionOptions: readonly [{
5001
+ readonly requiredScopes: readonly ["default"];
5002
+ }];
5003
+ readonly serviceId: "asana";
5004
+ };
5005
+ readonly type: "asana.project.restored";
5006
+ };
5007
+ readonly asanaResourceEvent: {
5008
+ readonly account: {
5009
+ readonly connectionOptions: readonly [{
5010
+ readonly requiredScopes: readonly ["default"];
5011
+ }];
5012
+ readonly serviceId: "asana";
5013
+ };
5014
+ readonly type: "asana.resource.event";
5015
+ };
5016
+ readonly asanaSectionAdded: {
5017
+ readonly account: {
5018
+ readonly connectionOptions: readonly [{
5019
+ readonly requiredScopes: readonly ["default"];
5020
+ }];
5021
+ readonly serviceId: "asana";
5022
+ };
5023
+ readonly type: "asana.section.added";
5024
+ };
5025
+ readonly asanaSectionChanged: {
5026
+ readonly account: {
5027
+ readonly connectionOptions: readonly [{
5028
+ readonly requiredScopes: readonly ["default"];
5029
+ }];
5030
+ readonly serviceId: "asana";
5031
+ };
5032
+ readonly type: "asana.section.changed";
5033
+ };
5034
+ readonly asanaSectionDeleted: {
5035
+ readonly account: {
5036
+ readonly connectionOptions: readonly [{
5037
+ readonly requiredScopes: readonly ["default"];
5038
+ }];
5039
+ readonly serviceId: "asana";
5040
+ };
5041
+ readonly type: "asana.section.deleted";
5042
+ };
5043
+ readonly asanaSectionRestored: {
5044
+ readonly account: {
5045
+ readonly connectionOptions: readonly [{
5046
+ readonly requiredScopes: readonly ["default"];
5047
+ }];
5048
+ readonly serviceId: "asana";
5049
+ };
5050
+ readonly type: "asana.section.restored";
5051
+ };
5052
+ readonly asanaTagAdded: {
5053
+ readonly account: {
5054
+ readonly connectionOptions: readonly [{
5055
+ readonly requiredScopes: readonly ["default"];
5056
+ }];
5057
+ readonly serviceId: "asana";
5058
+ };
5059
+ readonly type: "asana.tag.added";
5060
+ };
5061
+ readonly asanaTagChanged: {
5062
+ readonly account: {
5063
+ readonly connectionOptions: readonly [{
5064
+ readonly requiredScopes: readonly ["default"];
4921
5065
  }];
4922
5066
  readonly serviceId: "asana";
4923
5067
  };
4924
- readonly type: "asana.event";
5068
+ readonly type: "asana.tag.changed";
5069
+ };
5070
+ readonly asanaTagDeleted: {
5071
+ readonly account: {
5072
+ readonly connectionOptions: readonly [{
5073
+ readonly requiredScopes: readonly ["default"];
5074
+ }];
5075
+ readonly serviceId: "asana";
5076
+ };
5077
+ readonly type: "asana.tag.deleted";
5078
+ };
5079
+ readonly asanaTagRestored: {
5080
+ readonly account: {
5081
+ readonly connectionOptions: readonly [{
5082
+ readonly requiredScopes: readonly ["default"];
5083
+ }];
5084
+ readonly serviceId: "asana";
5085
+ };
5086
+ readonly type: "asana.tag.restored";
4925
5087
  };
4926
5088
  readonly asanaTaskAdded: {
4927
5089
  readonly account: {
4928
5090
  readonly connectionOptions: readonly [{
4929
- readonly requiredScopes: readonly [];
5091
+ readonly requiredScopes: readonly ["default"];
4930
5092
  }];
4931
5093
  readonly serviceId: "asana";
4932
5094
  };
4933
5095
  readonly type: "asana.task.added";
4934
5096
  };
5097
+ readonly asanaTaskAssigned: {
5098
+ readonly account: {
5099
+ readonly connectionOptions: readonly [{
5100
+ readonly requiredScopes: readonly ["default"];
5101
+ }];
5102
+ readonly serviceId: "asana";
5103
+ };
5104
+ readonly type: "asana.task.assigned";
5105
+ };
4935
5106
  readonly asanaTaskChanged: {
4936
5107
  readonly account: {
4937
5108
  readonly connectionOptions: readonly [{
4938
- readonly requiredScopes: readonly [];
5109
+ readonly requiredScopes: readonly ["default"];
4939
5110
  }];
4940
5111
  readonly serviceId: "asana";
4941
5112
  };
@@ -4944,7 +5115,7 @@ export declare const triggerDefinitions: {
4944
5115
  readonly asanaTaskCompleted: {
4945
5116
  readonly account: {
4946
5117
  readonly connectionOptions: readonly [{
4947
- readonly requiredScopes: readonly [];
5118
+ readonly requiredScopes: readonly ["default"];
4948
5119
  }];
4949
5120
  readonly serviceId: "asana";
4950
5121
  };
@@ -4953,21 +5124,111 @@ export declare const triggerDefinitions: {
4953
5124
  readonly asanaTaskDeleted: {
4954
5125
  readonly account: {
4955
5126
  readonly connectionOptions: readonly [{
4956
- readonly requiredScopes: readonly [];
5127
+ readonly requiredScopes: readonly ["default"];
4957
5128
  }];
4958
5129
  readonly serviceId: "asana";
4959
5130
  };
4960
5131
  readonly type: "asana.task.deleted";
4961
5132
  };
5133
+ readonly asanaTaskDueDateChanged: {
5134
+ readonly account: {
5135
+ readonly connectionOptions: readonly [{
5136
+ readonly requiredScopes: readonly ["default"];
5137
+ }];
5138
+ readonly serviceId: "asana";
5139
+ };
5140
+ readonly type: "asana.task.due-date.changed";
5141
+ };
5142
+ readonly asanaTaskFollowerAdded: {
5143
+ readonly account: {
5144
+ readonly connectionOptions: readonly [{
5145
+ readonly requiredScopes: readonly ["default"];
5146
+ }];
5147
+ readonly serviceId: "asana";
5148
+ };
5149
+ readonly type: "asana.task.follower.added";
5150
+ };
5151
+ readonly asanaTaskFollowerRemoved: {
5152
+ readonly account: {
5153
+ readonly connectionOptions: readonly [{
5154
+ readonly requiredScopes: readonly ["default"];
5155
+ }];
5156
+ readonly serviceId: "asana";
5157
+ };
5158
+ readonly type: "asana.task.follower.removed";
5159
+ };
5160
+ readonly asanaTaskIncomplete: {
5161
+ readonly account: {
5162
+ readonly connectionOptions: readonly [{
5163
+ readonly requiredScopes: readonly ["default"];
5164
+ }];
5165
+ readonly serviceId: "asana";
5166
+ };
5167
+ readonly type: "asana.task.incomplete";
5168
+ };
5169
+ readonly asanaTaskProjectAdded: {
5170
+ readonly account: {
5171
+ readonly connectionOptions: readonly [{
5172
+ readonly requiredScopes: readonly ["default"];
5173
+ }];
5174
+ readonly serviceId: "asana";
5175
+ };
5176
+ readonly type: "asana.task.project.added";
5177
+ };
5178
+ readonly asanaTaskProjectRemoved: {
5179
+ readonly account: {
5180
+ readonly connectionOptions: readonly [{
5181
+ readonly requiredScopes: readonly ["default"];
5182
+ }];
5183
+ readonly serviceId: "asana";
5184
+ };
5185
+ readonly type: "asana.task.project.removed";
5186
+ };
4962
5187
  readonly asanaTaskRemoved: {
4963
5188
  readonly account: {
4964
5189
  readonly connectionOptions: readonly [{
4965
- readonly requiredScopes: readonly [];
5190
+ readonly requiredScopes: readonly ["default"];
4966
5191
  }];
4967
5192
  readonly serviceId: "asana";
4968
5193
  };
4969
5194
  readonly type: "asana.task.removed";
4970
5195
  };
5196
+ readonly asanaTaskRestored: {
5197
+ readonly account: {
5198
+ readonly connectionOptions: readonly [{
5199
+ readonly requiredScopes: readonly ["default"];
5200
+ }];
5201
+ readonly serviceId: "asana";
5202
+ };
5203
+ readonly type: "asana.task.restored";
5204
+ };
5205
+ readonly asanaTaskTagAdded: {
5206
+ readonly account: {
5207
+ readonly connectionOptions: readonly [{
5208
+ readonly requiredScopes: readonly ["default"];
5209
+ }];
5210
+ readonly serviceId: "asana";
5211
+ };
5212
+ readonly type: "asana.task.tag.added";
5213
+ };
5214
+ readonly asanaTaskTagRemoved: {
5215
+ readonly account: {
5216
+ readonly connectionOptions: readonly [{
5217
+ readonly requiredScopes: readonly ["default"];
5218
+ }];
5219
+ readonly serviceId: "asana";
5220
+ };
5221
+ readonly type: "asana.task.tag.removed";
5222
+ };
5223
+ readonly asanaTaskUnassigned: {
5224
+ readonly account: {
5225
+ readonly connectionOptions: readonly [{
5226
+ readonly requiredScopes: readonly ["default"];
5227
+ }];
5228
+ readonly serviceId: "asana";
5229
+ };
5230
+ readonly type: "asana.task.unassigned";
5231
+ };
4971
5232
  readonly automateActionFailed: {
4972
5233
  readonly account: {
4973
5234
  readonly connectionOptions: readonly [{
@@ -5490,7 +5751,25 @@ export declare const triggerCatalog: ({
5490
5751
  name: string;
5491
5752
  account: {
5492
5753
  readonly connectionOptions: readonly [{
5493
- readonly requiredScopes: readonly [];
5754
+ readonly requiredScopes: readonly ["default"];
5755
+ }];
5756
+ readonly serviceId: "asana";
5757
+ };
5758
+ type: "asana.attachment.deleted";
5759
+ } | {
5760
+ name: string;
5761
+ account: {
5762
+ readonly connectionOptions: readonly [{
5763
+ readonly requiredScopes: readonly ["default"];
5764
+ }];
5765
+ readonly serviceId: "asana";
5766
+ };
5767
+ type: "asana.attachment.restored";
5768
+ } | {
5769
+ name: string;
5770
+ account: {
5771
+ readonly connectionOptions: readonly [{
5772
+ readonly requiredScopes: readonly ["default"];
5494
5773
  }];
5495
5774
  readonly serviceId: "asana";
5496
5775
  };
@@ -5499,16 +5778,160 @@ export declare const triggerCatalog: ({
5499
5778
  name: string;
5500
5779
  account: {
5501
5780
  readonly connectionOptions: readonly [{
5502
- readonly requiredScopes: readonly [];
5781
+ readonly requiredScopes: readonly ["default"];
5503
5782
  }];
5504
5783
  readonly serviceId: "asana";
5505
5784
  };
5506
- type: "asana.event";
5785
+ type: "asana.comment.deleted";
5507
5786
  } | {
5508
5787
  name: string;
5509
5788
  account: {
5510
5789
  readonly connectionOptions: readonly [{
5511
- readonly requiredScopes: readonly [];
5790
+ readonly requiredScopes: readonly ["default"];
5791
+ }];
5792
+ readonly serviceId: "asana";
5793
+ };
5794
+ type: "asana.comment.restored";
5795
+ } | {
5796
+ name: string;
5797
+ account: {
5798
+ readonly connectionOptions: readonly [{
5799
+ readonly requiredScopes: readonly ["default"];
5800
+ }];
5801
+ readonly serviceId: "asana";
5802
+ };
5803
+ type: "asana.comment.updated";
5804
+ } | {
5805
+ name: string;
5806
+ account: {
5807
+ readonly connectionOptions: readonly [{
5808
+ readonly requiredScopes: readonly ["default"];
5809
+ }];
5810
+ readonly serviceId: "asana";
5811
+ };
5812
+ type: "asana.project.added";
5813
+ } | {
5814
+ name: string;
5815
+ account: {
5816
+ readonly connectionOptions: readonly [{
5817
+ readonly requiredScopes: readonly ["default"];
5818
+ }];
5819
+ readonly serviceId: "asana";
5820
+ };
5821
+ type: "asana.project.changed";
5822
+ } | {
5823
+ name: string;
5824
+ account: {
5825
+ readonly connectionOptions: readonly [{
5826
+ readonly requiredScopes: readonly ["default"];
5827
+ }];
5828
+ readonly serviceId: "asana";
5829
+ };
5830
+ type: "asana.project.deleted";
5831
+ } | {
5832
+ name: string;
5833
+ account: {
5834
+ readonly connectionOptions: readonly [{
5835
+ readonly requiredScopes: readonly ["default"];
5836
+ }];
5837
+ readonly serviceId: "asana";
5838
+ };
5839
+ type: "asana.project.removed";
5840
+ } | {
5841
+ name: string;
5842
+ account: {
5843
+ readonly connectionOptions: readonly [{
5844
+ readonly requiredScopes: readonly ["default"];
5845
+ }];
5846
+ readonly serviceId: "asana";
5847
+ };
5848
+ type: "asana.project.restored";
5849
+ } | {
5850
+ name: string;
5851
+ account: {
5852
+ readonly connectionOptions: readonly [{
5853
+ readonly requiredScopes: readonly ["default"];
5854
+ }];
5855
+ readonly serviceId: "asana";
5856
+ };
5857
+ type: "asana.resource.event";
5858
+ } | {
5859
+ name: string;
5860
+ account: {
5861
+ readonly connectionOptions: readonly [{
5862
+ readonly requiredScopes: readonly ["default"];
5863
+ }];
5864
+ readonly serviceId: "asana";
5865
+ };
5866
+ type: "asana.section.added";
5867
+ } | {
5868
+ name: string;
5869
+ account: {
5870
+ readonly connectionOptions: readonly [{
5871
+ readonly requiredScopes: readonly ["default"];
5872
+ }];
5873
+ readonly serviceId: "asana";
5874
+ };
5875
+ type: "asana.section.changed";
5876
+ } | {
5877
+ name: string;
5878
+ account: {
5879
+ readonly connectionOptions: readonly [{
5880
+ readonly requiredScopes: readonly ["default"];
5881
+ }];
5882
+ readonly serviceId: "asana";
5883
+ };
5884
+ type: "asana.section.deleted";
5885
+ } | {
5886
+ name: string;
5887
+ account: {
5888
+ readonly connectionOptions: readonly [{
5889
+ readonly requiredScopes: readonly ["default"];
5890
+ }];
5891
+ readonly serviceId: "asana";
5892
+ };
5893
+ type: "asana.section.restored";
5894
+ } | {
5895
+ name: string;
5896
+ account: {
5897
+ readonly connectionOptions: readonly [{
5898
+ readonly requiredScopes: readonly ["default"];
5899
+ }];
5900
+ readonly serviceId: "asana";
5901
+ };
5902
+ type: "asana.tag.added";
5903
+ } | {
5904
+ name: string;
5905
+ account: {
5906
+ readonly connectionOptions: readonly [{
5907
+ readonly requiredScopes: readonly ["default"];
5908
+ }];
5909
+ readonly serviceId: "asana";
5910
+ };
5911
+ type: "asana.tag.changed";
5912
+ } | {
5913
+ name: string;
5914
+ account: {
5915
+ readonly connectionOptions: readonly [{
5916
+ readonly requiredScopes: readonly ["default"];
5917
+ }];
5918
+ readonly serviceId: "asana";
5919
+ };
5920
+ type: "asana.tag.deleted";
5921
+ } | {
5922
+ name: string;
5923
+ account: {
5924
+ readonly connectionOptions: readonly [{
5925
+ readonly requiredScopes: readonly ["default"];
5926
+ }];
5927
+ readonly serviceId: "asana";
5928
+ };
5929
+ type: "asana.tag.restored";
5930
+ } | {
5931
+ name: string;
5932
+ account: {
5933
+ readonly connectionOptions: readonly [{
5934
+ readonly requiredScopes: readonly ["default"];
5512
5935
  }];
5513
5936
  readonly serviceId: "asana";
5514
5937
  };
@@ -5517,7 +5940,16 @@ export declare const triggerCatalog: ({
5517
5940
  name: string;
5518
5941
  account: {
5519
5942
  readonly connectionOptions: readonly [{
5520
- readonly requiredScopes: readonly [];
5943
+ readonly requiredScopes: readonly ["default"];
5944
+ }];
5945
+ readonly serviceId: "asana";
5946
+ };
5947
+ type: "asana.task.assigned";
5948
+ } | {
5949
+ name: string;
5950
+ account: {
5951
+ readonly connectionOptions: readonly [{
5952
+ readonly requiredScopes: readonly ["default"];
5521
5953
  }];
5522
5954
  readonly serviceId: "asana";
5523
5955
  };
@@ -5526,7 +5958,7 @@ export declare const triggerCatalog: ({
5526
5958
  name: string;
5527
5959
  account: {
5528
5960
  readonly connectionOptions: readonly [{
5529
- readonly requiredScopes: readonly [];
5961
+ readonly requiredScopes: readonly ["default"];
5530
5962
  }];
5531
5963
  readonly serviceId: "asana";
5532
5964
  };
@@ -5535,7 +5967,7 @@ export declare const triggerCatalog: ({
5535
5967
  name: string;
5536
5968
  account: {
5537
5969
  readonly connectionOptions: readonly [{
5538
- readonly requiredScopes: readonly [];
5970
+ readonly requiredScopes: readonly ["default"];
5539
5971
  }];
5540
5972
  readonly serviceId: "asana";
5541
5973
  };
@@ -5544,11 +5976,101 @@ export declare const triggerCatalog: ({
5544
5976
  name: string;
5545
5977
  account: {
5546
5978
  readonly connectionOptions: readonly [{
5547
- readonly requiredScopes: readonly [];
5979
+ readonly requiredScopes: readonly ["default"];
5980
+ }];
5981
+ readonly serviceId: "asana";
5982
+ };
5983
+ type: "asana.task.due-date.changed";
5984
+ } | {
5985
+ name: string;
5986
+ account: {
5987
+ readonly connectionOptions: readonly [{
5988
+ readonly requiredScopes: readonly ["default"];
5989
+ }];
5990
+ readonly serviceId: "asana";
5991
+ };
5992
+ type: "asana.task.follower.added";
5993
+ } | {
5994
+ name: string;
5995
+ account: {
5996
+ readonly connectionOptions: readonly [{
5997
+ readonly requiredScopes: readonly ["default"];
5998
+ }];
5999
+ readonly serviceId: "asana";
6000
+ };
6001
+ type: "asana.task.follower.removed";
6002
+ } | {
6003
+ name: string;
6004
+ account: {
6005
+ readonly connectionOptions: readonly [{
6006
+ readonly requiredScopes: readonly ["default"];
6007
+ }];
6008
+ readonly serviceId: "asana";
6009
+ };
6010
+ type: "asana.task.incomplete";
6011
+ } | {
6012
+ name: string;
6013
+ account: {
6014
+ readonly connectionOptions: readonly [{
6015
+ readonly requiredScopes: readonly ["default"];
6016
+ }];
6017
+ readonly serviceId: "asana";
6018
+ };
6019
+ type: "asana.task.project.added";
6020
+ } | {
6021
+ name: string;
6022
+ account: {
6023
+ readonly connectionOptions: readonly [{
6024
+ readonly requiredScopes: readonly ["default"];
6025
+ }];
6026
+ readonly serviceId: "asana";
6027
+ };
6028
+ type: "asana.task.project.removed";
6029
+ } | {
6030
+ name: string;
6031
+ account: {
6032
+ readonly connectionOptions: readonly [{
6033
+ readonly requiredScopes: readonly ["default"];
5548
6034
  }];
5549
6035
  readonly serviceId: "asana";
5550
6036
  };
5551
6037
  type: "asana.task.removed";
6038
+ } | {
6039
+ name: string;
6040
+ account: {
6041
+ readonly connectionOptions: readonly [{
6042
+ readonly requiredScopes: readonly ["default"];
6043
+ }];
6044
+ readonly serviceId: "asana";
6045
+ };
6046
+ type: "asana.task.restored";
6047
+ } | {
6048
+ name: string;
6049
+ account: {
6050
+ readonly connectionOptions: readonly [{
6051
+ readonly requiredScopes: readonly ["default"];
6052
+ }];
6053
+ readonly serviceId: "asana";
6054
+ };
6055
+ type: "asana.task.tag.added";
6056
+ } | {
6057
+ name: string;
6058
+ account: {
6059
+ readonly connectionOptions: readonly [{
6060
+ readonly requiredScopes: readonly ["default"];
6061
+ }];
6062
+ readonly serviceId: "asana";
6063
+ };
6064
+ type: "asana.task.tag.removed";
6065
+ } | {
6066
+ name: string;
6067
+ account: {
6068
+ readonly connectionOptions: readonly [{
6069
+ readonly requiredScopes: readonly ["default"];
6070
+ }];
6071
+ readonly serviceId: "asana";
6072
+ };
6073
+ type: "asana.task.unassigned";
5552
6074
  } | {
5553
6075
  name: string;
5554
6076
  account: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/catalog",
3
- "version": "0.110.0",
3
+ "version": "0.111.1",
4
4
  "description": "Shared integration service and trigger definitions for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,41 +1,54 @@
1
1
  import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
2
2
 
3
3
  const ASANA_ACCOUNT = {
4
- connectionOptions: [
5
- {
6
- requiredScopes: [],
7
- },
8
- ],
4
+ connectionOptions: [{ requiredScopes: ["default"] }],
9
5
  serviceId: "asana",
10
6
  } as const satisfies IntegrationAccountRequirement
11
7
 
12
8
  export const asanaTriggerDefinitions = {
13
- asanaCommentAdded: {
14
- account: ASANA_ACCOUNT,
15
- type: "asana.comment.added",
16
- },
17
- asanaEvent: {
18
- account: ASANA_ACCOUNT,
19
- type: "asana.event",
20
- },
21
- asanaTaskAdded: {
22
- account: ASANA_ACCOUNT,
23
- type: "asana.task.added",
24
- },
25
- asanaTaskChanged: {
26
- account: ASANA_ACCOUNT,
27
- type: "asana.task.changed",
28
- },
29
- asanaTaskCompleted: {
30
- account: ASANA_ACCOUNT,
31
- type: "asana.task.completed",
32
- },
33
- asanaTaskDeleted: {
34
- account: ASANA_ACCOUNT,
35
- type: "asana.task.deleted",
36
- },
37
- asanaTaskRemoved: {
38
- account: ASANA_ACCOUNT,
39
- type: "asana.task.removed",
40
- },
9
+ asanaAttachmentDeleted: definition("asana.attachment.deleted"),
10
+ asanaAttachmentRestored: definition("asana.attachment.restored"),
11
+ asanaCommentAdded: definition("asana.comment.added"),
12
+ asanaCommentDeleted: definition("asana.comment.deleted"),
13
+ asanaCommentRestored: definition("asana.comment.restored"),
14
+ asanaCommentUpdated: definition("asana.comment.updated"),
15
+ asanaProjectAdded: definition("asana.project.added"),
16
+ asanaProjectChanged: definition("asana.project.changed"),
17
+ asanaProjectDeleted: definition("asana.project.deleted"),
18
+ asanaProjectRemoved: definition("asana.project.removed"),
19
+ asanaProjectRestored: definition("asana.project.restored"),
20
+ asanaResourceEvent: definition("asana.resource.event"),
21
+ asanaSectionAdded: definition("asana.section.added"),
22
+ asanaSectionChanged: definition("asana.section.changed"),
23
+ asanaSectionDeleted: definition("asana.section.deleted"),
24
+ asanaSectionRestored: definition("asana.section.restored"),
25
+ asanaTagAdded: definition("asana.tag.added"),
26
+ asanaTagChanged: definition("asana.tag.changed"),
27
+ asanaTagDeleted: definition("asana.tag.deleted"),
28
+ asanaTagRestored: definition("asana.tag.restored"),
29
+ asanaTaskAdded: definition("asana.task.added"),
30
+ asanaTaskAssigned: definition("asana.task.assigned"),
31
+ asanaTaskChanged: definition("asana.task.changed"),
32
+ asanaTaskCompleted: definition("asana.task.completed"),
33
+ asanaTaskDeleted: definition("asana.task.deleted"),
34
+ asanaTaskDueDateChanged: definition("asana.task.due-date.changed"),
35
+ asanaTaskFollowerAdded: definition("asana.task.follower.added"),
36
+ asanaTaskFollowerRemoved: definition("asana.task.follower.removed"),
37
+ asanaTaskIncomplete: definition("asana.task.incomplete"),
38
+ asanaTaskProjectAdded: definition("asana.task.project.added"),
39
+ asanaTaskProjectRemoved: definition("asana.task.project.removed"),
40
+ asanaTaskRemoved: definition("asana.task.removed"),
41
+ asanaTaskRestored: definition("asana.task.restored"),
42
+ asanaTaskTagAdded: definition("asana.task.tag.added"),
43
+ asanaTaskTagRemoved: definition("asana.task.tag.removed"),
44
+ asanaTaskUnassigned: definition("asana.task.unassigned"),
41
45
  } as const satisfies Record<string, TriggerDefinition>
46
+
47
+ /**
48
+ * Builds one full-permission Asana trigger definition.
49
+ *
50
+ * @param type - Internal event type.
51
+ */
52
+ function definition<TType extends string>(type: TType) {
53
+ return { account: ASANA_ACCOUNT, type } as const
54
+ }