@activepieces/piece-github 0.8.3 → 0.8.7

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.
Files changed (125) hide show
  1. package/package.json +7 -17
  2. package/src/index.js +98 -75
  3. package/src/index.d.ts +0 -6
  4. package/src/index.d.ts.map +0 -1
  5. package/src/index.js.map +0 -1
  6. package/src/lib/actions/add-labels-to-issue.d.ts +0 -33
  7. package/src/lib/actions/add-labels-to-issue.d.ts.map +0 -1
  8. package/src/lib/actions/add-labels-to-issue.js +0 -41
  9. package/src/lib/actions/add-labels-to-issue.js.map +0 -1
  10. package/src/lib/actions/create-branch.d.ts +0 -25
  11. package/src/lib/actions/create-branch.d.ts.map +0 -1
  12. package/src/lib/actions/create-branch.js +0 -50
  13. package/src/lib/actions/create-branch.js.map +0 -1
  14. package/src/lib/actions/create-comment-on-a-issue.d.ts +0 -17
  15. package/src/lib/actions/create-comment-on-a-issue.d.ts.map +0 -1
  16. package/src/lib/actions/create-comment-on-a-issue.js +0 -48
  17. package/src/lib/actions/create-comment-on-a-issue.js.map +0 -1
  18. package/src/lib/actions/create-commit-comment.d.ts +0 -19
  19. package/src/lib/actions/create-commit-comment.d.ts.map +0 -1
  20. package/src/lib/actions/create-commit-comment.js +0 -65
  21. package/src/lib/actions/create-commit-comment.js.map +0 -1
  22. package/src/lib/actions/create-discussion-comment.d.ts +0 -17
  23. package/src/lib/actions/create-discussion-comment.d.ts.map +0 -1
  24. package/src/lib/actions/create-discussion-comment.js +0 -65
  25. package/src/lib/actions/create-discussion-comment.js.map +0 -1
  26. package/src/lib/actions/create-gist.d.ts +0 -11
  27. package/src/lib/actions/create-gist.d.ts.map +0 -1
  28. package/src/lib/actions/create-gist.js +0 -68
  29. package/src/lib/actions/create-gist.js.map +0 -1
  30. package/src/lib/actions/create-issue.d.ts +0 -35
  31. package/src/lib/actions/create-issue.d.ts.map +0 -1
  32. package/src/lib/actions/create-issue.js +0 -58
  33. package/src/lib/actions/create-issue.js.map +0 -1
  34. package/src/lib/actions/create-pull-request-review-comment.d.ts +0 -20
  35. package/src/lib/actions/create-pull-request-review-comment.d.ts.map +0 -1
  36. package/src/lib/actions/create-pull-request-review-comment.js +0 -66
  37. package/src/lib/actions/create-pull-request-review-comment.js.map +0 -1
  38. package/src/lib/actions/delete-branch.d.ts +0 -24
  39. package/src/lib/actions/delete-branch.d.ts.map +0 -1
  40. package/src/lib/actions/delete-branch.js +0 -36
  41. package/src/lib/actions/delete-branch.js.map +0 -1
  42. package/src/lib/actions/find-branch.d.ts +0 -16
  43. package/src/lib/actions/find-branch.d.ts.map +0 -1
  44. package/src/lib/actions/find-branch.js +0 -55
  45. package/src/lib/actions/find-branch.js.map +0 -1
  46. package/src/lib/actions/find-issue.d.ts +0 -17
  47. package/src/lib/actions/find-issue.d.ts.map +0 -1
  48. package/src/lib/actions/find-issue.js +0 -65
  49. package/src/lib/actions/find-issue.js.map +0 -1
  50. package/src/lib/actions/find-user.d.ts +0 -8
  51. package/src/lib/actions/find-user.d.ts.map +0 -1
  52. package/src/lib/actions/find-user.js +0 -54
  53. package/src/lib/actions/find-user.js.map +0 -1
  54. package/src/lib/actions/get-issue-information.d.ts +0 -16
  55. package/src/lib/actions/get-issue-information.d.ts.map +0 -1
  56. package/src/lib/actions/get-issue-information.js +0 -40
  57. package/src/lib/actions/get-issue-information.js.map +0 -1
  58. package/src/lib/actions/lock-issue.d.ts +0 -21
  59. package/src/lib/actions/lock-issue.d.ts.map +0 -1
  60. package/src/lib/actions/lock-issue.js +0 -60
  61. package/src/lib/actions/lock-issue.js.map +0 -1
  62. package/src/lib/actions/raw-graphql-query.d.ts +0 -9
  63. package/src/lib/actions/raw-graphql-query.d.ts.map +0 -1
  64. package/src/lib/actions/raw-graphql-query.js +0 -41
  65. package/src/lib/actions/raw-graphql-query.js.map +0 -1
  66. package/src/lib/actions/unlock-issue.d.ts +0 -16
  67. package/src/lib/actions/unlock-issue.d.ts.map +0 -1
  68. package/src/lib/actions/unlock-issue.js +0 -40
  69. package/src/lib/actions/unlock-issue.js.map +0 -1
  70. package/src/lib/actions/update-issue.d.ts +0 -55
  71. package/src/lib/actions/update-issue.d.ts.map +0 -1
  72. package/src/lib/actions/update-issue.js +0 -86
  73. package/src/lib/actions/update-issue.js.map +0 -1
  74. package/src/lib/auth.d.ts +0 -12
  75. package/src/lib/auth.d.ts.map +0 -1
  76. package/src/lib/auth.js +0 -75
  77. package/src/lib/auth.js.map +0 -1
  78. package/src/lib/common/auth-helpers.d.ts +0 -20
  79. package/src/lib/common/auth-helpers.d.ts.map +0 -1
  80. package/src/lib/common/auth-helpers.js +0 -118
  81. package/src/lib/common/auth-helpers.js.map +0 -1
  82. package/src/lib/common/index.d.ts +0 -82
  83. package/src/lib/common/index.d.ts.map +0 -1
  84. package/src/lib/common/index.js +0 -322
  85. package/src/lib/common/index.js.map +0 -1
  86. package/src/lib/trigger/index.d.ts +0 -1349
  87. package/src/lib/trigger/index.d.ts.map +0 -1
  88. package/src/lib/trigger/index.js +0 -1208
  89. package/src/lib/trigger/index.js.map +0 -1
  90. package/src/lib/trigger/new-branch.d.ts +0 -55
  91. package/src/lib/trigger/new-branch.d.ts.map +0 -1
  92. package/src/lib/trigger/new-branch.js +0 -81
  93. package/src/lib/trigger/new-branch.js.map +0 -1
  94. package/src/lib/trigger/new-collaborator.d.ts +0 -55
  95. package/src/lib/trigger/new-collaborator.d.ts.map +0 -1
  96. package/src/lib/trigger/new-collaborator.js +0 -88
  97. package/src/lib/trigger/new-collaborator.js.map +0 -1
  98. package/src/lib/trigger/new-commit.d.ts +0 -55
  99. package/src/lib/trigger/new-commit.d.ts.map +0 -1
  100. package/src/lib/trigger/new-commit.js +0 -88
  101. package/src/lib/trigger/new-commit.js.map +0 -1
  102. package/src/lib/trigger/new-label.d.ts +0 -55
  103. package/src/lib/trigger/new-label.d.ts.map +0 -1
  104. package/src/lib/trigger/new-label.js +0 -86
  105. package/src/lib/trigger/new-label.js.map +0 -1
  106. package/src/lib/trigger/new-mention.d.ts +0 -55
  107. package/src/lib/trigger/new-mention.d.ts.map +0 -1
  108. package/src/lib/trigger/new-mention.js +0 -101
  109. package/src/lib/trigger/new-mention.js.map +0 -1
  110. package/src/lib/trigger/new-milestone.d.ts +0 -55
  111. package/src/lib/trigger/new-milestone.d.ts.map +0 -1
  112. package/src/lib/trigger/new-milestone.js +0 -89
  113. package/src/lib/trigger/new-milestone.js.map +0 -1
  114. package/src/lib/trigger/new-release.d.ts +0 -55
  115. package/src/lib/trigger/new-release.d.ts.map +0 -1
  116. package/src/lib/trigger/new-release.js +0 -85
  117. package/src/lib/trigger/new-release.js.map +0 -1
  118. package/src/lib/trigger/new-review-request.d.ts +0 -55
  119. package/src/lib/trigger/new-review-request.d.ts.map +0 -1
  120. package/src/lib/trigger/new-review-request.js +0 -78
  121. package/src/lib/trigger/new-review-request.js.map +0 -1
  122. package/src/lib/trigger/register-trigger.d.ts +0 -60
  123. package/src/lib/trigger/register-trigger.d.ts.map +0 -1
  124. package/src/lib/trigger/register-trigger.js +0 -73
  125. package/src/lib/trigger/register-trigger.js.map +0 -1
@@ -1,1349 +0,0 @@
1
- export declare enum GithubEventType {
2
- PULL_REQUEST = "pull_request",
3
- STAR = "star",
4
- ISSUES = "issues",
5
- PUSH = "push",
6
- DISCUSSION = "discussion",
7
- DISCUSSION_COMMENT = "discussion_comment"
8
- }
9
- export declare const registered: ({
10
- name: GithubEventType;
11
- displayName: string;
12
- description: string;
13
- sampleData: {
14
- action: string;
15
- number: number;
16
- pull_request: {
17
- url: string;
18
- id: number;
19
- node_id: string;
20
- html_url: string;
21
- diff_url: string;
22
- patch_url: string;
23
- issue_url: string;
24
- number: number;
25
- state: string;
26
- locked: boolean;
27
- title: string;
28
- user: {
29
- login: string;
30
- id: number;
31
- node_id: string;
32
- avatar_url: string;
33
- gravatar_id: string;
34
- url: string;
35
- html_url: string;
36
- followers_url: string;
37
- following_url: string;
38
- gists_url: string;
39
- starred_url: string;
40
- subscriptions_url: string;
41
- organizations_url: string;
42
- repos_url: string;
43
- events_url: string;
44
- received_events_url: string;
45
- type: string;
46
- site_admin: boolean;
47
- };
48
- body: string;
49
- created_at: string;
50
- updated_at: string;
51
- closed_at: null;
52
- merged_at: null;
53
- merge_commit_sha: null;
54
- assignee: null;
55
- assignees: never[];
56
- requested_reviewers: never[];
57
- requested_teams: never[];
58
- labels: never[];
59
- milestone: null;
60
- draft: boolean;
61
- commits_url: string;
62
- review_comments_url: string;
63
- review_comment_url: string;
64
- comments_url: string;
65
- statuses_url: string;
66
- head: {
67
- label: string;
68
- ref: string;
69
- sha: string;
70
- user: ObjectConstructor[];
71
- repo: ObjectConstructor[];
72
- };
73
- base: {
74
- label: string;
75
- ref: string;
76
- sha: string;
77
- user: ObjectConstructor[];
78
- repo: ObjectConstructor[];
79
- };
80
- author_association: string;
81
- auto_merge: null;
82
- active_lock_reason: null;
83
- merged: boolean;
84
- mergeable: null;
85
- rebaseable: null;
86
- mergeable_state: string;
87
- merged_by: null;
88
- comments: number;
89
- review_comments: number;
90
- maintainer_can_modify: boolean;
91
- commits: number;
92
- additions: number;
93
- deletions: number;
94
- changed_files: number;
95
- };
96
- repository: {
97
- id: number;
98
- node_id: string;
99
- name: string;
100
- full_name: string;
101
- private: boolean;
102
- owner: {
103
- login: string;
104
- id: number;
105
- node_id: string;
106
- avatar_url: string;
107
- gravatar_id: string;
108
- url: string;
109
- html_url: string;
110
- followers_url: string;
111
- following_url: string;
112
- gists_url: string;
113
- starred_url: string;
114
- subscriptions_url: string;
115
- organizations_url: string;
116
- repos_url: string;
117
- events_url: string;
118
- received_events_url: string;
119
- type: string;
120
- site_admin: boolean;
121
- user_view_type?: undefined;
122
- };
123
- html_url: string;
124
- description: string;
125
- fork: boolean;
126
- url: string;
127
- forks_url: string;
128
- keys_url: string;
129
- collaborators_url: string;
130
- teams_url: string;
131
- hooks_url: string;
132
- issue_events_url: string;
133
- events_url: string;
134
- assignees_url: string;
135
- branches_url: string;
136
- tags_url: string;
137
- blobs_url: string;
138
- git_tags_url: string;
139
- git_refs_url: string;
140
- trees_url: string;
141
- statuses_url: string;
142
- languages_url: string;
143
- stargazers_url: string;
144
- contributors_url: string;
145
- subscribers_url: string;
146
- subscription_url: string;
147
- commits_url: string;
148
- git_commits_url: string;
149
- comments_url: string;
150
- issue_comment_url: string;
151
- contents_url: string;
152
- compare_url: string;
153
- merges_url: string;
154
- archive_url: string;
155
- downloads_url: string;
156
- issues_url: string;
157
- pulls_url: string;
158
- milestones_url: string;
159
- notifications_url: string;
160
- labels_url: string;
161
- releases_url: string;
162
- deployments_url: string;
163
- created_at: string;
164
- updated_at: string;
165
- pushed_at: string;
166
- git_url: string;
167
- ssh_url: string;
168
- clone_url: string;
169
- svn_url: string;
170
- homepage: null;
171
- size: number;
172
- stargazers_count: number;
173
- watchers_count: number;
174
- language: string;
175
- has_issues: boolean;
176
- has_projects: boolean;
177
- has_downloads: boolean;
178
- has_wiki: boolean;
179
- has_pages: boolean;
180
- has_discussions: boolean;
181
- forks_count: number;
182
- mirror_url: null;
183
- archived: boolean;
184
- disabled: boolean;
185
- open_issues_count: number;
186
- license: null;
187
- allow_forking: boolean;
188
- is_template: boolean;
189
- web_commit_signoff_required: boolean;
190
- topics: never[];
191
- visibility: string;
192
- forks: number;
193
- open_issues: number;
194
- watchers: number;
195
- default_branch: string;
196
- custom_properties?: undefined;
197
- };
198
- sender: {
199
- login: string;
200
- id: number;
201
- node_id: string;
202
- avatar_url: string;
203
- gravatar_id: string;
204
- url: string;
205
- html_url: string;
206
- followers_url: string;
207
- following_url: string;
208
- gists_url: string;
209
- starred_url: string;
210
- subscriptions_url: string;
211
- organizations_url: string;
212
- repos_url: string;
213
- events_url: string;
214
- received_events_url: string;
215
- type: string;
216
- site_admin: boolean;
217
- user_view_type?: undefined;
218
- };
219
- starred_at?: undefined;
220
- issue?: undefined;
221
- after?: undefined;
222
- base_ref?: undefined;
223
- before?: undefined;
224
- commits?: undefined;
225
- compare?: undefined;
226
- created?: undefined;
227
- deleted?: undefined;
228
- enterprise?: undefined;
229
- forced?: undefined;
230
- head_commit?: undefined;
231
- installation?: undefined;
232
- organization?: undefined;
233
- pusher?: undefined;
234
- ref?: undefined;
235
- discussion?: undefined;
236
- comment?: undefined;
237
- };
238
- } | {
239
- name: GithubEventType;
240
- displayName: string;
241
- description: string;
242
- sampleData: {
243
- action: string;
244
- starred_at: string;
245
- repository: {
246
- id: number;
247
- node_id: string;
248
- name: string;
249
- full_name: string;
250
- private: boolean;
251
- owner: {
252
- login: string;
253
- id: number;
254
- node_id: string;
255
- avatar_url: string;
256
- gravatar_id: string;
257
- url: string;
258
- html_url: string;
259
- followers_url: string;
260
- following_url: string;
261
- gists_url: string;
262
- starred_url: string;
263
- subscriptions_url: string;
264
- organizations_url: string;
265
- repos_url: string;
266
- events_url: string;
267
- received_events_url: string;
268
- type: string;
269
- site_admin: boolean;
270
- user_view_type?: undefined;
271
- };
272
- html_url: string;
273
- description: string;
274
- fork: boolean;
275
- url: string;
276
- forks_url: string;
277
- keys_url: string;
278
- collaborators_url: string;
279
- teams_url: string;
280
- hooks_url: string;
281
- issue_events_url: string;
282
- events_url: string;
283
- assignees_url: string;
284
- branches_url: string;
285
- tags_url: string;
286
- blobs_url: string;
287
- git_tags_url: string;
288
- git_refs_url: string;
289
- trees_url: string;
290
- statuses_url: string;
291
- languages_url: string;
292
- stargazers_url: string;
293
- contributors_url: string;
294
- subscribers_url: string;
295
- subscription_url: string;
296
- commits_url: string;
297
- git_commits_url: string;
298
- comments_url: string;
299
- issue_comment_url: string;
300
- contents_url: string;
301
- compare_url: string;
302
- merges_url: string;
303
- archive_url: string;
304
- downloads_url: string;
305
- issues_url: string;
306
- pulls_url: string;
307
- milestones_url: string;
308
- notifications_url: string;
309
- labels_url: string;
310
- releases_url: string;
311
- deployments_url: string;
312
- created_at: string;
313
- updated_at: string;
314
- pushed_at: string;
315
- git_url: string;
316
- ssh_url: string;
317
- clone_url: string;
318
- svn_url: string;
319
- homepage: null;
320
- size: number;
321
- stargazers_count: number;
322
- watchers_count: number;
323
- language: string;
324
- has_issues: boolean;
325
- has_projects: boolean;
326
- has_downloads: boolean;
327
- has_wiki: boolean;
328
- has_pages: boolean;
329
- has_discussions: boolean;
330
- forks_count: number;
331
- mirror_url: null;
332
- archived: boolean;
333
- disabled: boolean;
334
- open_issues_count: number;
335
- license: null;
336
- allow_forking: boolean;
337
- is_template: boolean;
338
- web_commit_signoff_required: boolean;
339
- topics: never[];
340
- visibility: string;
341
- forks: number;
342
- open_issues: number;
343
- watchers: number;
344
- default_branch: string;
345
- custom_properties?: undefined;
346
- };
347
- sender: {
348
- login: string;
349
- id: number;
350
- node_id: string;
351
- avatar_url: string;
352
- gravatar_id: string;
353
- url: string;
354
- html_url: string;
355
- followers_url: string;
356
- following_url: string;
357
- gists_url: string;
358
- starred_url: string;
359
- subscriptions_url: string;
360
- organizations_url: string;
361
- repos_url: string;
362
- events_url: string;
363
- received_events_url: string;
364
- type: string;
365
- site_admin: boolean;
366
- user_view_type?: undefined;
367
- };
368
- number?: undefined;
369
- pull_request?: undefined;
370
- issue?: undefined;
371
- after?: undefined;
372
- base_ref?: undefined;
373
- before?: undefined;
374
- commits?: undefined;
375
- compare?: undefined;
376
- created?: undefined;
377
- deleted?: undefined;
378
- enterprise?: undefined;
379
- forced?: undefined;
380
- head_commit?: undefined;
381
- installation?: undefined;
382
- organization?: undefined;
383
- pusher?: undefined;
384
- ref?: undefined;
385
- discussion?: undefined;
386
- comment?: undefined;
387
- };
388
- } | {
389
- name: GithubEventType;
390
- displayName: string;
391
- description: string;
392
- sampleData: {
393
- action: string;
394
- issue: {
395
- url: string;
396
- repository_url: string;
397
- labels_url: string;
398
- comments_url: string;
399
- events_url: string;
400
- html_url: string;
401
- id: number;
402
- node_id: string;
403
- number: number;
404
- title: string;
405
- user: {
406
- login: string;
407
- id: number;
408
- node_id: string;
409
- avatar_url: string;
410
- gravatar_id: string;
411
- url: string;
412
- html_url: string;
413
- followers_url: string;
414
- following_url: string;
415
- gists_url: string;
416
- starred_url: string;
417
- subscriptions_url: string;
418
- organizations_url: string;
419
- repos_url: string;
420
- events_url: string;
421
- received_events_url: string;
422
- type: string;
423
- site_admin: boolean;
424
- };
425
- labels: never[];
426
- state: string;
427
- locked: boolean;
428
- assignee: null;
429
- assignees: never[];
430
- milestone: null;
431
- comments: number;
432
- created_at: string;
433
- updated_at: string;
434
- closed_at: null;
435
- author_association: string;
436
- active_lock_reason: null;
437
- body: string;
438
- reactions: {
439
- url: string;
440
- total_count: number;
441
- '+1': number;
442
- '-1': number;
443
- laugh: number;
444
- hooray: number;
445
- confused: number;
446
- heart: number;
447
- rocket: number;
448
- eyes: number;
449
- };
450
- timeline_url: string;
451
- performed_via_github_app: null;
452
- state_reason: null;
453
- };
454
- repository: {
455
- id: number;
456
- node_id: string;
457
- name: string;
458
- full_name: string;
459
- private: boolean;
460
- owner: {
461
- login: string;
462
- id: number;
463
- node_id: string;
464
- avatar_url: string;
465
- gravatar_id: string;
466
- url: string;
467
- html_url: string;
468
- followers_url: string;
469
- following_url: string;
470
- gists_url: string;
471
- starred_url: string;
472
- subscriptions_url: string;
473
- organizations_url: string;
474
- repos_url: string;
475
- events_url: string;
476
- received_events_url: string;
477
- type: string;
478
- site_admin: boolean;
479
- user_view_type?: undefined;
480
- };
481
- html_url: string;
482
- description: string;
483
- fork: boolean;
484
- url: string;
485
- forks_url: string;
486
- keys_url: string;
487
- collaborators_url: string;
488
- teams_url: string;
489
- hooks_url: string;
490
- issue_events_url: string;
491
- events_url: string;
492
- assignees_url: string;
493
- branches_url: string;
494
- tags_url: string;
495
- blobs_url: string;
496
- git_tags_url: string;
497
- git_refs_url: string;
498
- trees_url: string;
499
- statuses_url: string;
500
- languages_url: string;
501
- stargazers_url: string;
502
- contributors_url: string;
503
- subscribers_url: string;
504
- subscription_url: string;
505
- commits_url: string;
506
- git_commits_url: string;
507
- comments_url: string;
508
- issue_comment_url: string;
509
- contents_url: string;
510
- compare_url: string;
511
- merges_url: string;
512
- archive_url: string;
513
- downloads_url: string;
514
- issues_url: string;
515
- pulls_url: string;
516
- milestones_url: string;
517
- notifications_url: string;
518
- labels_url: string;
519
- releases_url: string;
520
- deployments_url: string;
521
- created_at: string;
522
- updated_at: string;
523
- pushed_at: string;
524
- git_url: string;
525
- ssh_url: string;
526
- clone_url: string;
527
- svn_url: string;
528
- homepage: null;
529
- size: number;
530
- stargazers_count: number;
531
- watchers_count: number;
532
- language: string;
533
- has_issues: boolean;
534
- has_projects: boolean;
535
- has_downloads: boolean;
536
- has_wiki: boolean;
537
- has_pages: boolean;
538
- has_discussions: boolean;
539
- forks_count: number;
540
- mirror_url: null;
541
- archived: boolean;
542
- disabled: boolean;
543
- open_issues_count: number;
544
- license: null;
545
- allow_forking: boolean;
546
- is_template: boolean;
547
- web_commit_signoff_required: boolean;
548
- topics: never[];
549
- visibility: string;
550
- forks: number;
551
- open_issues: number;
552
- watchers: number;
553
- default_branch: string;
554
- custom_properties?: undefined;
555
- };
556
- sender: {
557
- login: string;
558
- id: number;
559
- node_id: string;
560
- avatar_url: string;
561
- gravatar_id: string;
562
- url: string;
563
- html_url: string;
564
- followers_url: string;
565
- following_url: string;
566
- gists_url: string;
567
- starred_url: string;
568
- subscriptions_url: string;
569
- organizations_url: string;
570
- repos_url: string;
571
- events_url: string;
572
- received_events_url: string;
573
- type: string;
574
- site_admin: boolean;
575
- user_view_type?: undefined;
576
- };
577
- number?: undefined;
578
- pull_request?: undefined;
579
- starred_at?: undefined;
580
- after?: undefined;
581
- base_ref?: undefined;
582
- before?: undefined;
583
- commits?: undefined;
584
- compare?: undefined;
585
- created?: undefined;
586
- deleted?: undefined;
587
- enterprise?: undefined;
588
- forced?: undefined;
589
- head_commit?: undefined;
590
- installation?: undefined;
591
- organization?: undefined;
592
- pusher?: undefined;
593
- ref?: undefined;
594
- discussion?: undefined;
595
- comment?: undefined;
596
- };
597
- } | {
598
- name: GithubEventType;
599
- displayName: string;
600
- description: string;
601
- sampleData: {
602
- after: string;
603
- base_ref: string;
604
- before: string;
605
- commits: {
606
- added: string[];
607
- author: {
608
- username: string;
609
- name: string;
610
- email: string;
611
- };
612
- committer: {
613
- username: string;
614
- name: string;
615
- email: string;
616
- };
617
- distinct: boolean;
618
- id: string;
619
- message: string;
620
- modified: string[];
621
- removed: string[];
622
- timestamp: string;
623
- tree_id: string;
624
- url: string;
625
- }[];
626
- compare: string;
627
- created: boolean;
628
- deleted: boolean;
629
- enterprise: {};
630
- forced: boolean;
631
- head_commit: {};
632
- installation: {};
633
- organization: {
634
- login?: undefined;
635
- id?: undefined;
636
- node_id?: undefined;
637
- url?: undefined;
638
- repos_url?: undefined;
639
- events_url?: undefined;
640
- hooks_url?: undefined;
641
- issues_url?: undefined;
642
- members_url?: undefined;
643
- public_members_url?: undefined;
644
- avatar_url?: undefined;
645
- description?: undefined;
646
- };
647
- pusher: {
648
- username: string;
649
- name: string;
650
- email: string;
651
- };
652
- ref: string;
653
- repository: {
654
- id: number;
655
- node_id: string;
656
- name: string;
657
- full_name: string;
658
- private: boolean;
659
- owner: {
660
- login: string;
661
- id: number;
662
- node_id: string;
663
- avatar_url: string;
664
- gravatar_id: string;
665
- url: string;
666
- html_url: string;
667
- followers_url: string;
668
- following_url: string;
669
- gists_url: string;
670
- starred_url: string;
671
- subscriptions_url: string;
672
- organizations_url: string;
673
- repos_url: string;
674
- events_url: string;
675
- received_events_url: string;
676
- type: string;
677
- site_admin: boolean;
678
- user_view_type?: undefined;
679
- };
680
- html_url: string;
681
- description: string;
682
- fork: boolean;
683
- url: string;
684
- forks_url: string;
685
- keys_url: string;
686
- collaborators_url: string;
687
- teams_url: string;
688
- hooks_url: string;
689
- issue_events_url: string;
690
- events_url: string;
691
- assignees_url: string;
692
- branches_url: string;
693
- tags_url: string;
694
- blobs_url: string;
695
- git_tags_url: string;
696
- git_refs_url: string;
697
- trees_url: string;
698
- statuses_url: string;
699
- languages_url: string;
700
- stargazers_url: string;
701
- contributors_url: string;
702
- subscribers_url: string;
703
- subscription_url: string;
704
- commits_url: string;
705
- git_commits_url: string;
706
- comments_url: string;
707
- issue_comment_url: string;
708
- contents_url: string;
709
- compare_url: string;
710
- merges_url: string;
711
- archive_url: string;
712
- downloads_url: string;
713
- issues_url: string;
714
- pulls_url: string;
715
- milestones_url: string;
716
- notifications_url: string;
717
- labels_url: string;
718
- releases_url: string;
719
- deployments_url: string;
720
- created_at: string;
721
- updated_at: string;
722
- pushed_at: string;
723
- git_url: string;
724
- ssh_url: string;
725
- clone_url: string;
726
- svn_url: string;
727
- homepage: null;
728
- size: number;
729
- stargazers_count: number;
730
- watchers_count: number;
731
- language: string;
732
- has_issues: boolean;
733
- has_projects: boolean;
734
- has_downloads: boolean;
735
- has_wiki: boolean;
736
- has_pages: boolean;
737
- has_discussions: boolean;
738
- forks_count: number;
739
- mirror_url: null;
740
- archived: boolean;
741
- disabled: boolean;
742
- open_issues_count: number;
743
- license: null;
744
- allow_forking: boolean;
745
- is_template: boolean;
746
- web_commit_signoff_required: boolean;
747
- topics: never[];
748
- visibility: string;
749
- forks: number;
750
- open_issues: number;
751
- watchers: number;
752
- default_branch: string;
753
- custom_properties?: undefined;
754
- };
755
- sender: {
756
- login: string;
757
- id: number;
758
- node_id: string;
759
- avatar_url: string;
760
- gravatar_id: string;
761
- url: string;
762
- html_url: string;
763
- followers_url: string;
764
- following_url: string;
765
- gists_url: string;
766
- starred_url: string;
767
- subscriptions_url: string;
768
- organizations_url: string;
769
- repos_url: string;
770
- events_url: string;
771
- received_events_url: string;
772
- type: string;
773
- site_admin: boolean;
774
- user_view_type?: undefined;
775
- };
776
- action?: undefined;
777
- number?: undefined;
778
- pull_request?: undefined;
779
- starred_at?: undefined;
780
- issue?: undefined;
781
- discussion?: undefined;
782
- comment?: undefined;
783
- };
784
- } | {
785
- name: GithubEventType;
786
- displayName: string;
787
- description: string;
788
- sampleData: {
789
- action: string;
790
- discussion: {
791
- repository_url: string;
792
- category: {
793
- id: number;
794
- node_id: string;
795
- repository_id: number;
796
- emoji: string;
797
- name: string;
798
- description: string;
799
- created_at: string;
800
- updated_at: string;
801
- slug: string;
802
- is_answerable: boolean;
803
- };
804
- answer_html_url: null;
805
- answer_chosen_at: null;
806
- answer_chosen_by: null;
807
- html_url: string;
808
- id: number;
809
- node_id: string;
810
- number: number;
811
- title: string;
812
- user: {
813
- login: string;
814
- id: number;
815
- node_id: string;
816
- avatar_url: string;
817
- gravatar_id: string;
818
- url: string;
819
- html_url: string;
820
- followers_url: string;
821
- following_url: string;
822
- gists_url: string;
823
- starred_url: string;
824
- subscriptions_url: string;
825
- organizations_url: string;
826
- repos_url: string;
827
- events_url: string;
828
- received_events_url: string;
829
- type: string;
830
- user_view_type: string;
831
- site_admin: boolean;
832
- };
833
- labels: never[];
834
- state: string;
835
- state_reason: null;
836
- locked: boolean;
837
- comments: number;
838
- created_at: string;
839
- updated_at: string;
840
- author_association: string;
841
- active_lock_reason: null;
842
- body: string;
843
- reactions: {
844
- url: string;
845
- total_count: number;
846
- '+1': number;
847
- '-1': number;
848
- laugh: number;
849
- hooray: number;
850
- confused: number;
851
- heart: number;
852
- rocket: number;
853
- eyes: number;
854
- };
855
- timeline_url: string;
856
- };
857
- repository: {
858
- id: number;
859
- node_id: string;
860
- name: string;
861
- full_name: string;
862
- private: boolean;
863
- owner: {
864
- login: string;
865
- id: number;
866
- node_id: string;
867
- avatar_url: string;
868
- gravatar_id: string;
869
- url: string;
870
- html_url: string;
871
- followers_url: string;
872
- following_url: string;
873
- gists_url: string;
874
- starred_url: string;
875
- subscriptions_url: string;
876
- organizations_url: string;
877
- repos_url: string;
878
- events_url: string;
879
- received_events_url: string;
880
- type: string;
881
- user_view_type: string;
882
- site_admin: boolean;
883
- };
884
- html_url: string;
885
- description: string;
886
- fork: boolean;
887
- url: string;
888
- forks_url: string;
889
- keys_url: string;
890
- collaborators_url: string;
891
- teams_url: string;
892
- hooks_url: string;
893
- issue_events_url: string;
894
- events_url: string;
895
- assignees_url: string;
896
- branches_url: string;
897
- tags_url: string;
898
- blobs_url: string;
899
- git_tags_url: string;
900
- git_refs_url: string;
901
- trees_url: string;
902
- statuses_url: string;
903
- languages_url: string;
904
- stargazers_url: string;
905
- contributors_url: string;
906
- subscribers_url: string;
907
- subscription_url: string;
908
- commits_url: string;
909
- git_commits_url: string;
910
- comments_url: string;
911
- issue_comment_url: string;
912
- contents_url: string;
913
- compare_url: string;
914
- merges_url: string;
915
- archive_url: string;
916
- downloads_url: string;
917
- issues_url: string;
918
- pulls_url: string;
919
- milestones_url: string;
920
- notifications_url: string;
921
- labels_url: string;
922
- releases_url: string;
923
- deployments_url: string;
924
- created_at: string;
925
- updated_at: string;
926
- pushed_at: string;
927
- git_url: string;
928
- ssh_url: string;
929
- clone_url: string;
930
- svn_url: string;
931
- homepage: string;
932
- size: number;
933
- stargazers_count: number;
934
- watchers_count: number;
935
- language: null;
936
- has_issues: boolean;
937
- has_projects: boolean;
938
- has_downloads: boolean;
939
- has_wiki: boolean;
940
- has_pages: boolean;
941
- has_discussions: boolean;
942
- forks_count: number;
943
- mirror_url: null;
944
- archived: boolean;
945
- disabled: boolean;
946
- open_issues_count: number;
947
- license: null;
948
- allow_forking: boolean;
949
- is_template: boolean;
950
- web_commit_signoff_required: boolean;
951
- topics: never[];
952
- visibility: string;
953
- forks: number;
954
- open_issues: number;
955
- watchers: number;
956
- default_branch: string;
957
- custom_properties: {};
958
- };
959
- organization: {
960
- login: string;
961
- id: number;
962
- node_id: string;
963
- url: string;
964
- repos_url: string;
965
- events_url: string;
966
- hooks_url: string;
967
- issues_url: string;
968
- members_url: string;
969
- public_members_url: string;
970
- avatar_url: string;
971
- description: string;
972
- };
973
- sender: {
974
- login: string;
975
- id: number;
976
- node_id: string;
977
- avatar_url: string;
978
- gravatar_id: string;
979
- url: string;
980
- html_url: string;
981
- followers_url: string;
982
- following_url: string;
983
- gists_url: string;
984
- starred_url: string;
985
- subscriptions_url: string;
986
- organizations_url: string;
987
- repos_url: string;
988
- events_url: string;
989
- received_events_url: string;
990
- type: string;
991
- user_view_type: string;
992
- site_admin: boolean;
993
- };
994
- number?: undefined;
995
- pull_request?: undefined;
996
- starred_at?: undefined;
997
- issue?: undefined;
998
- after?: undefined;
999
- base_ref?: undefined;
1000
- before?: undefined;
1001
- commits?: undefined;
1002
- compare?: undefined;
1003
- created?: undefined;
1004
- deleted?: undefined;
1005
- enterprise?: undefined;
1006
- forced?: undefined;
1007
- head_commit?: undefined;
1008
- installation?: undefined;
1009
- pusher?: undefined;
1010
- ref?: undefined;
1011
- comment?: undefined;
1012
- };
1013
- } | {
1014
- name: GithubEventType;
1015
- displayName: string;
1016
- description: string;
1017
- sampleData: {
1018
- action: string;
1019
- comment: {
1020
- id: number;
1021
- node_id: string;
1022
- html_url: string;
1023
- parent_id: number;
1024
- child_comment_count: number;
1025
- repository_url: string;
1026
- discussion_id: number;
1027
- author_association: string;
1028
- user: {
1029
- login: string;
1030
- id: number;
1031
- node_id: string;
1032
- avatar_url: string;
1033
- gravatar_id: string;
1034
- url: string;
1035
- html_url: string;
1036
- followers_url: string;
1037
- following_url: string;
1038
- gists_url: string;
1039
- starred_url: string;
1040
- subscriptions_url: string;
1041
- organizations_url: string;
1042
- repos_url: string;
1043
- events_url: string;
1044
- received_events_url: string;
1045
- type: string;
1046
- user_view_type: string;
1047
- site_admin: boolean;
1048
- };
1049
- created_at: string;
1050
- updated_at: string;
1051
- body: string;
1052
- reactions: {
1053
- url: string;
1054
- total_count: number;
1055
- '+1': number;
1056
- '-1': number;
1057
- laugh: number;
1058
- hooray: number;
1059
- confused: number;
1060
- heart: number;
1061
- rocket: number;
1062
- eyes: number;
1063
- };
1064
- };
1065
- discussion: {
1066
- repository_url: string;
1067
- category: {
1068
- id: number;
1069
- node_id: string;
1070
- repository_id: number;
1071
- emoji: string;
1072
- name: string;
1073
- description: string;
1074
- created_at: string;
1075
- updated_at: string;
1076
- slug: string;
1077
- is_answerable: boolean;
1078
- };
1079
- answer_html_url: null;
1080
- answer_chosen_at: null;
1081
- answer_chosen_by: null;
1082
- html_url: string;
1083
- id: number;
1084
- node_id: string;
1085
- number: number;
1086
- title: string;
1087
- user: {
1088
- login: string;
1089
- id: number;
1090
- node_id: string;
1091
- avatar_url: string;
1092
- gravatar_id: string;
1093
- url: string;
1094
- html_url: string;
1095
- followers_url: string;
1096
- following_url: string;
1097
- gists_url: string;
1098
- starred_url: string;
1099
- subscriptions_url: string;
1100
- organizations_url: string;
1101
- repos_url: string;
1102
- events_url: string;
1103
- received_events_url: string;
1104
- type: string;
1105
- user_view_type: string;
1106
- site_admin: boolean;
1107
- };
1108
- labels: {
1109
- id: number;
1110
- node_id: string;
1111
- url: string;
1112
- name: string;
1113
- color: string;
1114
- default: boolean;
1115
- description: string;
1116
- }[];
1117
- state: string;
1118
- state_reason: null;
1119
- locked: boolean;
1120
- comments: number;
1121
- created_at: string;
1122
- updated_at: string;
1123
- author_association: string;
1124
- active_lock_reason: null;
1125
- body: string;
1126
- reactions: {
1127
- url: string;
1128
- total_count: number;
1129
- '+1': number;
1130
- '-1': number;
1131
- laugh: number;
1132
- hooray: number;
1133
- confused: number;
1134
- heart: number;
1135
- rocket: number;
1136
- eyes: number;
1137
- };
1138
- timeline_url: string;
1139
- };
1140
- repository: {
1141
- id: number;
1142
- node_id: string;
1143
- name: string;
1144
- full_name: string;
1145
- private: boolean;
1146
- owner: {
1147
- login: string;
1148
- id: number;
1149
- node_id: string;
1150
- avatar_url: string;
1151
- gravatar_id: string;
1152
- url: string;
1153
- html_url: string;
1154
- followers_url: string;
1155
- following_url: string;
1156
- gists_url: string;
1157
- starred_url: string;
1158
- subscriptions_url: string;
1159
- organizations_url: string;
1160
- repos_url: string;
1161
- events_url: string;
1162
- received_events_url: string;
1163
- type: string;
1164
- user_view_type: string;
1165
- site_admin: boolean;
1166
- };
1167
- html_url: string;
1168
- description: string;
1169
- fork: boolean;
1170
- url: string;
1171
- forks_url: string;
1172
- keys_url: string;
1173
- collaborators_url: string;
1174
- teams_url: string;
1175
- hooks_url: string;
1176
- issue_events_url: string;
1177
- events_url: string;
1178
- assignees_url: string;
1179
- branches_url: string;
1180
- tags_url: string;
1181
- blobs_url: string;
1182
- git_tags_url: string;
1183
- git_refs_url: string;
1184
- trees_url: string;
1185
- statuses_url: string;
1186
- languages_url: string;
1187
- stargazers_url: string;
1188
- contributors_url: string;
1189
- subscribers_url: string;
1190
- subscription_url: string;
1191
- commits_url: string;
1192
- git_commits_url: string;
1193
- comments_url: string;
1194
- issue_comment_url: string;
1195
- contents_url: string;
1196
- compare_url: string;
1197
- merges_url: string;
1198
- archive_url: string;
1199
- downloads_url: string;
1200
- issues_url: string;
1201
- pulls_url: string;
1202
- milestones_url: string;
1203
- notifications_url: string;
1204
- labels_url: string;
1205
- releases_url: string;
1206
- deployments_url: string;
1207
- created_at: string;
1208
- updated_at: string;
1209
- pushed_at: string;
1210
- git_url: string;
1211
- ssh_url: string;
1212
- clone_url: string;
1213
- svn_url: string;
1214
- homepage: string;
1215
- size: number;
1216
- stargazers_count: number;
1217
- watchers_count: number;
1218
- language: null;
1219
- has_issues: boolean;
1220
- has_projects: boolean;
1221
- has_downloads: boolean;
1222
- has_wiki: boolean;
1223
- has_pages: boolean;
1224
- has_discussions: boolean;
1225
- forks_count: number;
1226
- mirror_url: null;
1227
- archived: boolean;
1228
- disabled: boolean;
1229
- open_issues_count: number;
1230
- license: null;
1231
- allow_forking: boolean;
1232
- is_template: boolean;
1233
- web_commit_signoff_required: boolean;
1234
- topics: never[];
1235
- visibility: string;
1236
- forks: number;
1237
- open_issues: number;
1238
- watchers: number;
1239
- default_branch: string;
1240
- custom_properties: {};
1241
- };
1242
- organization: {
1243
- login: string;
1244
- id: number;
1245
- node_id: string;
1246
- url: string;
1247
- repos_url: string;
1248
- events_url: string;
1249
- hooks_url: string;
1250
- issues_url: string;
1251
- members_url: string;
1252
- public_members_url: string;
1253
- avatar_url: string;
1254
- description: string;
1255
- };
1256
- sender: {
1257
- login: string;
1258
- id: number;
1259
- node_id: string;
1260
- avatar_url: string;
1261
- gravatar_id: string;
1262
- url: string;
1263
- html_url: string;
1264
- followers_url: string;
1265
- following_url: string;
1266
- gists_url: string;
1267
- starred_url: string;
1268
- subscriptions_url: string;
1269
- organizations_url: string;
1270
- repos_url: string;
1271
- events_url: string;
1272
- received_events_url: string;
1273
- type: string;
1274
- user_view_type: string;
1275
- site_admin: boolean;
1276
- };
1277
- number?: undefined;
1278
- pull_request?: undefined;
1279
- starred_at?: undefined;
1280
- issue?: undefined;
1281
- after?: undefined;
1282
- base_ref?: undefined;
1283
- before?: undefined;
1284
- commits?: undefined;
1285
- compare?: undefined;
1286
- created?: undefined;
1287
- deleted?: undefined;
1288
- enterprise?: undefined;
1289
- forced?: undefined;
1290
- head_commit?: undefined;
1291
- installation?: undefined;
1292
- pusher?: undefined;
1293
- ref?: undefined;
1294
- };
1295
- })[];
1296
- export declare const githubTriggers: (import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1297
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1298
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1299
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1300
- }>)[], {
1301
- repository: import("@activepieces/pieces-framework").DropdownProperty<{
1302
- repo: string;
1303
- owner: string;
1304
- }, true, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1305
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1306
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1307
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1308
- }>)[]>;
1309
- }> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1310
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1311
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1312
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1313
- }>)[], {
1314
- repository: import("@activepieces/pieces-framework").DropdownProperty<{
1315
- repo: string;
1316
- owner: string;
1317
- }, true, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1318
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1319
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1320
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1321
- }>)[]>;
1322
- }> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1323
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1324
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1325
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1326
- }>)[], {
1327
- repository: import("@activepieces/pieces-framework").DropdownProperty<{
1328
- repo: string;
1329
- owner: string;
1330
- }, true, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1331
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1332
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1333
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1334
- }>)[]>;
1335
- }> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1336
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1337
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1338
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1339
- }>)[], {
1340
- repository: import("@activepieces/pieces-framework").DropdownProperty<{
1341
- repo: string;
1342
- owner: string;
1343
- }, true, (import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props> | import("@activepieces/pieces-framework").CustomAuthProperty<{
1344
- appId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1345
- installationId: import("@activepieces/pieces-framework").ShortTextProperty<true>;
1346
- privateKey: import("@activepieces/pieces-framework").SecretTextProperty<true>;
1347
- }>)[]>;
1348
- }>)[];
1349
- //# sourceMappingURL=index.d.ts.map