@automate.ax/catalog 0.86.2 → 0.87.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.
@@ -30,7 +30,183 @@ const GITHUB_ACTIONS_ACCOUNT = {
30
30
  ],
31
31
  serviceId: "github",
32
32
  };
33
+ const GITHUB_DEPLOYMENTS_ACCOUNT = {
34
+ connectionOptions: [
35
+ {
36
+ requiredScopes: ["deployments:read"],
37
+ },
38
+ ],
39
+ serviceId: "github",
40
+ };
41
+ const GITHUB_COMMIT_STATUSES_ACCOUNT = {
42
+ connectionOptions: [
43
+ {
44
+ requiredScopes: ["statuses:read"],
45
+ },
46
+ ],
47
+ serviceId: "github",
48
+ };
49
+ const GITHUB_CHECKS_ACCOUNT = {
50
+ connectionOptions: [
51
+ {
52
+ requiredScopes: ["checks:read"],
53
+ },
54
+ ],
55
+ serviceId: "github",
56
+ };
57
+ const GITHUB_CHECKS_WRITE_ACCOUNT = {
58
+ connectionOptions: [
59
+ {
60
+ requiredScopes: ["checks:write"],
61
+ },
62
+ ],
63
+ serviceId: "github",
64
+ };
33
65
  export const githubTriggerDefinitions = {
66
+ githubBranchCreated: {
67
+ account: GITHUB_CONTENTS_ACCOUNT,
68
+ type: "github.branch.created",
69
+ },
70
+ githubBranchDeleted: {
71
+ account: GITHUB_CONTENTS_ACCOUNT,
72
+ type: "github.branch.deleted",
73
+ },
74
+ githubCheckRunActionRequired: {
75
+ account: GITHUB_CHECKS_ACCOUNT,
76
+ type: "github.check-run.action-required",
77
+ },
78
+ githubCheckRunCancelled: {
79
+ account: GITHUB_CHECKS_ACCOUNT,
80
+ type: "github.check-run.cancelled",
81
+ },
82
+ githubCheckRunCompleted: {
83
+ account: GITHUB_CHECKS_ACCOUNT,
84
+ type: "github.check-run.completed",
85
+ },
86
+ githubCheckRunCreated: {
87
+ account: GITHUB_CHECKS_ACCOUNT,
88
+ type: "github.check-run.created",
89
+ },
90
+ githubCheckRunEvent: {
91
+ account: GITHUB_CHECKS_ACCOUNT,
92
+ type: "github.check-run.event",
93
+ },
94
+ githubCheckRunFailed: {
95
+ account: GITHUB_CHECKS_ACCOUNT,
96
+ type: "github.check-run.failed",
97
+ },
98
+ githubCheckRunRerequested: {
99
+ account: GITHUB_CHECKS_WRITE_ACCOUNT,
100
+ type: "github.check-run.rerequested",
101
+ },
102
+ githubCheckRunRequestedAction: {
103
+ account: GITHUB_CHECKS_WRITE_ACCOUNT,
104
+ type: "github.check-run.requested-action",
105
+ },
106
+ githubCheckRunSucceeded: {
107
+ account: GITHUB_CHECKS_ACCOUNT,
108
+ type: "github.check-run.succeeded",
109
+ },
110
+ githubCheckRunStartupFailed: {
111
+ account: GITHUB_CHECKS_ACCOUNT,
112
+ type: "github.check-run.startup-failed",
113
+ },
114
+ githubCheckRunTimedOut: {
115
+ account: GITHUB_CHECKS_ACCOUNT,
116
+ type: "github.check-run.timed-out",
117
+ },
118
+ githubCheckSuiteActionRequired: {
119
+ account: GITHUB_CHECKS_ACCOUNT,
120
+ type: "github.check-suite.action-required",
121
+ },
122
+ githubCheckSuiteCancelled: {
123
+ account: GITHUB_CHECKS_ACCOUNT,
124
+ type: "github.check-suite.cancelled",
125
+ },
126
+ githubCheckSuiteCompleted: {
127
+ account: GITHUB_CHECKS_ACCOUNT,
128
+ type: "github.check-suite.completed",
129
+ },
130
+ githubCheckSuiteEvent: {
131
+ account: GITHUB_CHECKS_ACCOUNT,
132
+ type: "github.check-suite.event",
133
+ },
134
+ githubCheckSuiteFailed: {
135
+ account: GITHUB_CHECKS_ACCOUNT,
136
+ type: "github.check-suite.failed",
137
+ },
138
+ githubCheckSuiteRerequested: {
139
+ account: GITHUB_CHECKS_WRITE_ACCOUNT,
140
+ type: "github.check-suite.rerequested",
141
+ },
142
+ githubCheckSuiteRequested: {
143
+ account: GITHUB_CHECKS_WRITE_ACCOUNT,
144
+ type: "github.check-suite.requested",
145
+ },
146
+ githubCheckSuiteSucceeded: {
147
+ account: GITHUB_CHECKS_ACCOUNT,
148
+ type: "github.check-suite.succeeded",
149
+ },
150
+ githubCheckSuiteStartupFailed: {
151
+ account: GITHUB_CHECKS_ACCOUNT,
152
+ type: "github.check-suite.startup-failed",
153
+ },
154
+ githubCheckSuiteTimedOut: {
155
+ account: GITHUB_CHECKS_ACCOUNT,
156
+ type: "github.check-suite.timed-out",
157
+ },
158
+ githubDeploymentCreated: {
159
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
160
+ type: "github.deployment.created",
161
+ },
162
+ githubDeploymentStatusErrored: {
163
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
164
+ type: "github.deployment-status.errored",
165
+ },
166
+ githubDeploymentStatusEvent: {
167
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
168
+ type: "github.deployment-status.event",
169
+ },
170
+ githubDeploymentStatusFailed: {
171
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
172
+ type: "github.deployment-status.failed",
173
+ },
174
+ githubDeploymentStatusInactive: {
175
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
176
+ type: "github.deployment-status.inactive",
177
+ },
178
+ githubDeploymentStatusPending: {
179
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
180
+ type: "github.deployment-status.pending",
181
+ },
182
+ githubDeploymentStatusQueued: {
183
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
184
+ type: "github.deployment-status.queued",
185
+ },
186
+ githubDeploymentStatusStarted: {
187
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
188
+ type: "github.deployment-status.started",
189
+ },
190
+ githubDeploymentStatusSucceeded: {
191
+ account: GITHUB_DEPLOYMENTS_ACCOUNT,
192
+ type: "github.deployment-status.succeeded",
193
+ },
194
+ githubIssueCommentCreated: {
195
+ account: GITHUB_ISSUES_ACCOUNT,
196
+ type: "github.issue-comment.created",
197
+ },
198
+ githubIssueCommentDeleted: {
199
+ account: GITHUB_ISSUES_ACCOUNT,
200
+ type: "github.issue-comment.deleted",
201
+ },
202
+ githubIssueCommentEdited: {
203
+ account: GITHUB_ISSUES_ACCOUNT,
204
+ type: "github.issue-comment.edited",
205
+ },
206
+ githubIssueCommentEvent: {
207
+ account: GITHUB_ISSUES_ACCOUNT,
208
+ type: "github.issue-comment.event",
209
+ },
34
210
  githubIssueClosed: {
35
211
  account: GITHUB_ISSUES_ACCOUNT,
36
212
  type: "github.issue.closed",
@@ -88,6 +264,22 @@ export const githubTriggerDefinitions = {
88
264
  account: GITHUB_PULL_REQUESTS_ACCOUNT,
89
265
  type: "github.pull-request-review.submitted",
90
266
  },
267
+ githubPullRequestReviewCommentCreated: {
268
+ account: GITHUB_PULL_REQUESTS_ACCOUNT,
269
+ type: "github.pull-request-review-comment.created",
270
+ },
271
+ githubPullRequestReviewCommentDeleted: {
272
+ account: GITHUB_PULL_REQUESTS_ACCOUNT,
273
+ type: "github.pull-request-review-comment.deleted",
274
+ },
275
+ githubPullRequestReviewCommentEdited: {
276
+ account: GITHUB_PULL_REQUESTS_ACCOUNT,
277
+ type: "github.pull-request-review-comment.edited",
278
+ },
279
+ githubPullRequestReviewCommentEvent: {
280
+ account: GITHUB_PULL_REQUESTS_ACCOUNT,
281
+ type: "github.pull-request-review-comment.event",
282
+ },
91
283
  githubPullRequestSynchronized: {
92
284
  account: GITHUB_PULL_REQUESTS_ACCOUNT,
93
285
  type: "github.pull-request.synchronized",
@@ -104,6 +296,86 @@ export const githubTriggerDefinitions = {
104
296
  account: GITHUB_CONTENTS_ACCOUNT,
105
297
  type: "github.release.published",
106
298
  },
299
+ githubRefCreated: {
300
+ account: GITHUB_CONTENTS_ACCOUNT,
301
+ type: "github.ref.created",
302
+ },
303
+ githubRefDeleted: {
304
+ account: GITHUB_CONTENTS_ACCOUNT,
305
+ type: "github.ref.deleted",
306
+ },
307
+ githubRepositoryDispatch: {
308
+ account: GITHUB_CONTENTS_ACCOUNT,
309
+ type: "github.repository-dispatch",
310
+ },
311
+ githubStatusErrored: {
312
+ account: GITHUB_COMMIT_STATUSES_ACCOUNT,
313
+ type: "github.status.errored",
314
+ },
315
+ githubStatusEvent: {
316
+ account: GITHUB_COMMIT_STATUSES_ACCOUNT,
317
+ type: "github.status.event",
318
+ },
319
+ githubStatusFailed: {
320
+ account: GITHUB_COMMIT_STATUSES_ACCOUNT,
321
+ type: "github.status.failed",
322
+ },
323
+ githubStatusPending: {
324
+ account: GITHUB_COMMIT_STATUSES_ACCOUNT,
325
+ type: "github.status.pending",
326
+ },
327
+ githubStatusSucceeded: {
328
+ account: GITHUB_COMMIT_STATUSES_ACCOUNT,
329
+ type: "github.status.succeeded",
330
+ },
331
+ githubTagCreated: {
332
+ account: GITHUB_CONTENTS_ACCOUNT,
333
+ type: "github.tag.created",
334
+ },
335
+ githubTagDeleted: {
336
+ account: GITHUB_CONTENTS_ACCOUNT,
337
+ type: "github.tag.deleted",
338
+ },
339
+ githubWorkflowDispatch: {
340
+ account: GITHUB_CONTENTS_ACCOUNT,
341
+ type: "github.workflow-dispatch",
342
+ },
343
+ githubWorkflowJobCancelled: {
344
+ account: GITHUB_ACTIONS_ACCOUNT,
345
+ type: "github.workflow-job.cancelled",
346
+ },
347
+ githubWorkflowJobCompleted: {
348
+ account: GITHUB_ACTIONS_ACCOUNT,
349
+ type: "github.workflow-job.completed",
350
+ },
351
+ githubWorkflowJobEvent: {
352
+ account: GITHUB_ACTIONS_ACCOUNT,
353
+ type: "github.workflow-job.event",
354
+ },
355
+ githubWorkflowJobFailed: {
356
+ account: GITHUB_ACTIONS_ACCOUNT,
357
+ type: "github.workflow-job.failed",
358
+ },
359
+ githubWorkflowJobQueued: {
360
+ account: GITHUB_ACTIONS_ACCOUNT,
361
+ type: "github.workflow-job.queued",
362
+ },
363
+ githubWorkflowJobStarted: {
364
+ account: GITHUB_ACTIONS_ACCOUNT,
365
+ type: "github.workflow-job.started",
366
+ },
367
+ githubWorkflowJobSucceeded: {
368
+ account: GITHUB_ACTIONS_ACCOUNT,
369
+ type: "github.workflow-job.succeeded",
370
+ },
371
+ githubWorkflowJobTimedOut: {
372
+ account: GITHUB_ACTIONS_ACCOUNT,
373
+ type: "github.workflow-job.timed-out",
374
+ },
375
+ githubWorkflowJobWaiting: {
376
+ account: GITHUB_ACTIONS_ACCOUNT,
377
+ type: "github.workflow-job.waiting",
378
+ },
107
379
  githubWorkflowRunCancelled: {
108
380
  account: GITHUB_ACTIONS_ACCOUNT,
109
381
  type: "github.workflow-run.cancelled",