@tomsd/github-repo-js 0.2.2 → 0.2.4

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 (41) hide show
  1. package/README.md +3 -3
  2. package/dist/index.d.ts +443 -5094
  3. package/dist/index.iife.js +1 -0
  4. package/dist/index.mjs +1 -0
  5. package/dist/modules/base.d.ts +31 -0
  6. package/dist/modules/blob.d.ts +68 -0
  7. package/dist/modules/blobs.d.ts +67 -0
  8. package/dist/modules/github-classes.d.ts +4647 -0
  9. package/dist/modules/issue-comments.d.ts +101 -0
  10. package/dist/modules/issue.d.ts +330 -0
  11. package/dist/modules/my-issues.d.ts +289 -0
  12. package/dist/modules/organization-audit-log.d.ts +22 -0
  13. package/dist/modules/organization-repositories.d.ts +591 -0
  14. package/dist/modules/pull-commits.d.ts +177 -0
  15. package/dist/modules/pull-reviewers.d.ts +41 -0
  16. package/dist/modules/reference-get.d.ts +67 -0
  17. package/dist/modules/reference.d.ts +73 -0
  18. package/dist/modules/repository-artifact.d.ts +118 -0
  19. package/dist/modules/repository-artifacts.d.ts +118 -0
  20. package/dist/modules/repository-branch.d.ts +82 -0
  21. package/dist/modules/repository-branches.d.ts +66 -0
  22. package/dist/modules/repository-commits.d.ts +211 -0
  23. package/dist/modules/repository-issues.d.ts +317 -0
  24. package/dist/modules/repository-latest-release.d.ts +21 -0
  25. package/dist/modules/repository-pull.d.ts +458 -0
  26. package/dist/modules/repository-pulls.d.ts +369 -0
  27. package/dist/modules/repository-references.d.ts +82 -0
  28. package/dist/modules/repository-releases.d.ts +171 -0
  29. package/dist/modules/repository-runs.d.ts +206 -0
  30. package/dist/modules/repository-trees.d.ts +99 -0
  31. package/dist/modules/repository.d.ts +2267 -0
  32. package/dist/modules/tree.d.ts +82 -0
  33. package/dist/modules/user-organizations.d.ts +84 -0
  34. package/dist/modules/user-repositories.d.ts +597 -0
  35. package/dist/modules/user.d.ts +500 -0
  36. package/dist/repl.mjs +4 -0
  37. package/dist/utils/index.d.ts +6 -0
  38. package/package.json +6 -6
  39. package/dist/index.global.js +0 -1
  40. package/dist/index.js +0 -1
  41. package/dist/repl.js +0 -4
@@ -0,0 +1,4647 @@
1
+ export declare function readyGitHubClasses(token: string): {
2
+ GitHubMyIssues: {
3
+ new (): {
4
+ get apiEndpoint(): string;
5
+ get pageSizeForRequest(): number;
6
+ getList(query?: Record<string, string>): Promise<{
7
+ id: number;
8
+ node_id: string;
9
+ url: string;
10
+ repository_url: string;
11
+ labels_url: string;
12
+ comments_url: string;
13
+ events_url: string;
14
+ html_url: string;
15
+ number: number;
16
+ state: string;
17
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
18
+ title: string;
19
+ body?: string | null;
20
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
21
+ labels: import("@octokit/openapi-types").OneOf<[string, {
22
+ id?: number;
23
+ node_id?: string;
24
+ url?: string;
25
+ name?: string;
26
+ description?: string | null;
27
+ color?: string | null;
28
+ default?: boolean;
29
+ }]>[];
30
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
31
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
32
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
33
+ locked: boolean;
34
+ active_lock_reason?: string | null;
35
+ comments: number;
36
+ pull_request?: {
37
+ merged_at?: string | null;
38
+ diff_url: string | null;
39
+ html_url: string | null;
40
+ patch_url: string | null;
41
+ url: string | null;
42
+ };
43
+ closed_at: string | null;
44
+ created_at: string;
45
+ updated_at: string;
46
+ draft?: boolean;
47
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
48
+ body_html?: string;
49
+ body_text?: string;
50
+ timeline_url?: string;
51
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
52
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
53
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
54
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
55
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
56
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
57
+ parent_issue_url?: string | null;
58
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
59
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
60
+ }[]>;
61
+ token: string;
62
+ get apiOrigin(): string;
63
+ get requestHeaders(): {
64
+ accept: string;
65
+ authorization: string;
66
+ "X-GitHub-Api-Version": string;
67
+ };
68
+ getPagedList(query?: Record<string, string>): Promise<{
69
+ id: number;
70
+ node_id: string;
71
+ url: string;
72
+ repository_url: string;
73
+ labels_url: string;
74
+ comments_url: string;
75
+ events_url: string;
76
+ html_url: string;
77
+ number: number;
78
+ state: string;
79
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
80
+ title: string;
81
+ body?: string | null;
82
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
83
+ labels: import("@octokit/openapi-types").OneOf<[string, {
84
+ id?: number;
85
+ node_id?: string;
86
+ url?: string;
87
+ name?: string;
88
+ description?: string | null;
89
+ color?: string | null;
90
+ default?: boolean;
91
+ }]>[];
92
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
93
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
94
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
95
+ locked: boolean;
96
+ active_lock_reason?: string | null;
97
+ comments: number;
98
+ pull_request?: {
99
+ merged_at?: string | null;
100
+ diff_url: string | null;
101
+ html_url: string | null;
102
+ patch_url: string | null;
103
+ url: string | null;
104
+ };
105
+ closed_at: string | null;
106
+ created_at: string;
107
+ updated_at: string;
108
+ draft?: boolean;
109
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
110
+ body_html?: string;
111
+ body_text?: string;
112
+ timeline_url?: string;
113
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
114
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
115
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
116
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
117
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
118
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
119
+ parent_issue_url?: string | null;
120
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
121
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
122
+ }[]>;
123
+ get(): Promise<{
124
+ id: number;
125
+ node_id: string;
126
+ url: string;
127
+ repository_url: string;
128
+ labels_url: string;
129
+ comments_url: string;
130
+ events_url: string;
131
+ html_url: string;
132
+ number: number;
133
+ state: string;
134
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
135
+ title: string;
136
+ body?: string | null;
137
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
138
+ labels: import("@octokit/openapi-types").OneOf<[string, {
139
+ id?: number;
140
+ node_id?: string;
141
+ url?: string;
142
+ name?: string;
143
+ description?: string | null;
144
+ color?: string | null;
145
+ default?: boolean;
146
+ }]>[];
147
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
148
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
149
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
150
+ locked: boolean;
151
+ active_lock_reason?: string | null;
152
+ comments: number;
153
+ pull_request?: {
154
+ merged_at?: string | null;
155
+ diff_url: string | null;
156
+ html_url: string | null;
157
+ patch_url: string | null;
158
+ url: string | null;
159
+ };
160
+ closed_at: string | null;
161
+ created_at: string;
162
+ updated_at: string;
163
+ draft?: boolean;
164
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
165
+ body_html?: string;
166
+ body_text?: string;
167
+ timeline_url?: string;
168
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
169
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
170
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
171
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
172
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
173
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
174
+ parent_issue_url?: string | null;
175
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
176
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
177
+ }>;
178
+ post(body: unknown): Promise<{
179
+ id: number;
180
+ node_id: string;
181
+ url: string;
182
+ repository_url: string;
183
+ labels_url: string;
184
+ comments_url: string;
185
+ events_url: string;
186
+ html_url: string;
187
+ number: number;
188
+ state: string;
189
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
190
+ title: string;
191
+ body?: string | null;
192
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
193
+ labels: import("@octokit/openapi-types").OneOf<[string, {
194
+ id?: number;
195
+ node_id?: string;
196
+ url?: string;
197
+ name?: string;
198
+ description?: string | null;
199
+ color?: string | null;
200
+ default?: boolean;
201
+ }]>[];
202
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
203
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
204
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
205
+ locked: boolean;
206
+ active_lock_reason?: string | null;
207
+ comments: number;
208
+ pull_request?: {
209
+ merged_at?: string | null;
210
+ diff_url: string | null;
211
+ html_url: string | null;
212
+ patch_url: string | null;
213
+ url: string | null;
214
+ };
215
+ closed_at: string | null;
216
+ created_at: string;
217
+ updated_at: string;
218
+ draft?: boolean;
219
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
220
+ body_html?: string;
221
+ body_text?: string;
222
+ timeline_url?: string;
223
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
224
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
225
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
226
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
227
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
228
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
229
+ parent_issue_url?: string | null;
230
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
231
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
232
+ }>;
233
+ patch(body: unknown): Promise<{
234
+ id: number;
235
+ node_id: string;
236
+ url: string;
237
+ repository_url: string;
238
+ labels_url: string;
239
+ comments_url: string;
240
+ events_url: string;
241
+ html_url: string;
242
+ number: number;
243
+ state: string;
244
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
245
+ title: string;
246
+ body?: string | null;
247
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
248
+ labels: import("@octokit/openapi-types").OneOf<[string, {
249
+ id?: number;
250
+ node_id?: string;
251
+ url?: string;
252
+ name?: string;
253
+ description?: string | null;
254
+ color?: string | null;
255
+ default?: boolean;
256
+ }]>[];
257
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
258
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
259
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
260
+ locked: boolean;
261
+ active_lock_reason?: string | null;
262
+ comments: number;
263
+ pull_request?: {
264
+ merged_at?: string | null;
265
+ diff_url: string | null;
266
+ html_url: string | null;
267
+ patch_url: string | null;
268
+ url: string | null;
269
+ };
270
+ closed_at: string | null;
271
+ created_at: string;
272
+ updated_at: string;
273
+ draft?: boolean;
274
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
275
+ body_html?: string;
276
+ body_text?: string;
277
+ timeline_url?: string;
278
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
279
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
280
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
281
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
282
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
283
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
284
+ parent_issue_url?: string | null;
285
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
286
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
287
+ }>;
288
+ delete(): Promise<void>;
289
+ };
290
+ };
291
+ GitHubOrganizationRepositories: {
292
+ new (org: string): {
293
+ org: string;
294
+ get apiEndpoint(): string;
295
+ token: string;
296
+ get apiOrigin(): string;
297
+ get requestHeaders(): {
298
+ accept: string;
299
+ authorization: string;
300
+ "X-GitHub-Api-Version": string;
301
+ };
302
+ get pageSizeForRequest(): number;
303
+ getPagedList(query?: Record<string, string>): Promise<{
304
+ id: number;
305
+ node_id: string;
306
+ name: string;
307
+ full_name: string;
308
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
309
+ private: boolean;
310
+ html_url: string;
311
+ description: string | null;
312
+ fork: boolean;
313
+ url: string;
314
+ archive_url: string;
315
+ assignees_url: string;
316
+ blobs_url: string;
317
+ branches_url: string;
318
+ collaborators_url: string;
319
+ comments_url: string;
320
+ commits_url: string;
321
+ compare_url: string;
322
+ contents_url: string;
323
+ contributors_url: string;
324
+ deployments_url: string;
325
+ downloads_url: string;
326
+ events_url: string;
327
+ forks_url: string;
328
+ git_commits_url: string;
329
+ git_refs_url: string;
330
+ git_tags_url: string;
331
+ git_url?: string;
332
+ issue_comment_url: string;
333
+ issue_events_url: string;
334
+ issues_url: string;
335
+ keys_url: string;
336
+ labels_url: string;
337
+ languages_url: string;
338
+ merges_url: string;
339
+ milestones_url: string;
340
+ notifications_url: string;
341
+ pulls_url: string;
342
+ releases_url: string;
343
+ ssh_url?: string;
344
+ stargazers_url: string;
345
+ statuses_url: string;
346
+ subscribers_url: string;
347
+ subscription_url: string;
348
+ tags_url: string;
349
+ teams_url: string;
350
+ trees_url: string;
351
+ clone_url?: string;
352
+ mirror_url?: string | null;
353
+ hooks_url: string;
354
+ svn_url?: string;
355
+ homepage?: string | null;
356
+ language?: string | null;
357
+ forks_count?: number;
358
+ stargazers_count?: number;
359
+ watchers_count?: number;
360
+ size?: number;
361
+ default_branch?: string;
362
+ open_issues_count?: number;
363
+ is_template?: boolean;
364
+ topics?: string[];
365
+ has_issues?: boolean;
366
+ has_projects?: boolean;
367
+ has_wiki?: boolean;
368
+ has_pages?: boolean;
369
+ has_downloads?: boolean;
370
+ has_discussions?: boolean;
371
+ archived?: boolean;
372
+ disabled?: boolean;
373
+ visibility?: string;
374
+ pushed_at?: string | null;
375
+ created_at?: string | null;
376
+ updated_at?: string | null;
377
+ permissions?: {
378
+ admin?: boolean;
379
+ maintain?: boolean;
380
+ push?: boolean;
381
+ triage?: boolean;
382
+ pull?: boolean;
383
+ };
384
+ role_name?: string;
385
+ temp_clone_token?: string;
386
+ delete_branch_on_merge?: boolean;
387
+ subscribers_count?: number;
388
+ network_count?: number;
389
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
390
+ license?: {
391
+ key?: string;
392
+ name?: string;
393
+ spdx_id?: string;
394
+ url?: string;
395
+ node_id?: string;
396
+ } | null;
397
+ forks?: number;
398
+ open_issues?: number;
399
+ watchers?: number;
400
+ allow_forking?: boolean;
401
+ web_commit_signoff_required?: boolean;
402
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
403
+ custom_properties?: {
404
+ [key: string]: unknown;
405
+ };
406
+ }[]>;
407
+ getList(query?: Record<string, string>): Promise<{
408
+ id: number;
409
+ node_id: string;
410
+ name: string;
411
+ full_name: string;
412
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
413
+ private: boolean;
414
+ html_url: string;
415
+ description: string | null;
416
+ fork: boolean;
417
+ url: string;
418
+ archive_url: string;
419
+ assignees_url: string;
420
+ blobs_url: string;
421
+ branches_url: string;
422
+ collaborators_url: string;
423
+ comments_url: string;
424
+ commits_url: string;
425
+ compare_url: string;
426
+ contents_url: string;
427
+ contributors_url: string;
428
+ deployments_url: string;
429
+ downloads_url: string;
430
+ events_url: string;
431
+ forks_url: string;
432
+ git_commits_url: string;
433
+ git_refs_url: string;
434
+ git_tags_url: string;
435
+ git_url?: string;
436
+ issue_comment_url: string;
437
+ issue_events_url: string;
438
+ issues_url: string;
439
+ keys_url: string;
440
+ labels_url: string;
441
+ languages_url: string;
442
+ merges_url: string;
443
+ milestones_url: string;
444
+ notifications_url: string;
445
+ pulls_url: string;
446
+ releases_url: string;
447
+ ssh_url?: string;
448
+ stargazers_url: string;
449
+ statuses_url: string;
450
+ subscribers_url: string;
451
+ subscription_url: string;
452
+ tags_url: string;
453
+ teams_url: string;
454
+ trees_url: string;
455
+ clone_url?: string;
456
+ mirror_url?: string | null;
457
+ hooks_url: string;
458
+ svn_url?: string;
459
+ homepage?: string | null;
460
+ language?: string | null;
461
+ forks_count?: number;
462
+ stargazers_count?: number;
463
+ watchers_count?: number;
464
+ size?: number;
465
+ default_branch?: string;
466
+ open_issues_count?: number;
467
+ is_template?: boolean;
468
+ topics?: string[];
469
+ has_issues?: boolean;
470
+ has_projects?: boolean;
471
+ has_wiki?: boolean;
472
+ has_pages?: boolean;
473
+ has_downloads?: boolean;
474
+ has_discussions?: boolean;
475
+ archived?: boolean;
476
+ disabled?: boolean;
477
+ visibility?: string;
478
+ pushed_at?: string | null;
479
+ created_at?: string | null;
480
+ updated_at?: string | null;
481
+ permissions?: {
482
+ admin?: boolean;
483
+ maintain?: boolean;
484
+ push?: boolean;
485
+ triage?: boolean;
486
+ pull?: boolean;
487
+ };
488
+ role_name?: string;
489
+ temp_clone_token?: string;
490
+ delete_branch_on_merge?: boolean;
491
+ subscribers_count?: number;
492
+ network_count?: number;
493
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
494
+ license?: {
495
+ key?: string;
496
+ name?: string;
497
+ spdx_id?: string;
498
+ url?: string;
499
+ node_id?: string;
500
+ } | null;
501
+ forks?: number;
502
+ open_issues?: number;
503
+ watchers?: number;
504
+ allow_forking?: boolean;
505
+ web_commit_signoff_required?: boolean;
506
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
507
+ custom_properties?: {
508
+ [key: string]: unknown;
509
+ };
510
+ }[]>;
511
+ get(): Promise<{
512
+ id: number;
513
+ node_id: string;
514
+ name: string;
515
+ full_name: string;
516
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
517
+ private: boolean;
518
+ html_url: string;
519
+ description: string | null;
520
+ fork: boolean;
521
+ url: string;
522
+ archive_url: string;
523
+ assignees_url: string;
524
+ blobs_url: string;
525
+ branches_url: string;
526
+ collaborators_url: string;
527
+ comments_url: string;
528
+ commits_url: string;
529
+ compare_url: string;
530
+ contents_url: string;
531
+ contributors_url: string;
532
+ deployments_url: string;
533
+ downloads_url: string;
534
+ events_url: string;
535
+ forks_url: string;
536
+ git_commits_url: string;
537
+ git_refs_url: string;
538
+ git_tags_url: string;
539
+ git_url?: string;
540
+ issue_comment_url: string;
541
+ issue_events_url: string;
542
+ issues_url: string;
543
+ keys_url: string;
544
+ labels_url: string;
545
+ languages_url: string;
546
+ merges_url: string;
547
+ milestones_url: string;
548
+ notifications_url: string;
549
+ pulls_url: string;
550
+ releases_url: string;
551
+ ssh_url?: string;
552
+ stargazers_url: string;
553
+ statuses_url: string;
554
+ subscribers_url: string;
555
+ subscription_url: string;
556
+ tags_url: string;
557
+ teams_url: string;
558
+ trees_url: string;
559
+ clone_url?: string;
560
+ mirror_url?: string | null;
561
+ hooks_url: string;
562
+ svn_url?: string;
563
+ homepage?: string | null;
564
+ language?: string | null;
565
+ forks_count?: number;
566
+ stargazers_count?: number;
567
+ watchers_count?: number;
568
+ size?: number;
569
+ default_branch?: string;
570
+ open_issues_count?: number;
571
+ is_template?: boolean;
572
+ topics?: string[];
573
+ has_issues?: boolean;
574
+ has_projects?: boolean;
575
+ has_wiki?: boolean;
576
+ has_pages?: boolean;
577
+ has_downloads?: boolean;
578
+ has_discussions?: boolean;
579
+ archived?: boolean;
580
+ disabled?: boolean;
581
+ visibility?: string;
582
+ pushed_at?: string | null;
583
+ created_at?: string | null;
584
+ updated_at?: string | null;
585
+ permissions?: {
586
+ admin?: boolean;
587
+ maintain?: boolean;
588
+ push?: boolean;
589
+ triage?: boolean;
590
+ pull?: boolean;
591
+ };
592
+ role_name?: string;
593
+ temp_clone_token?: string;
594
+ delete_branch_on_merge?: boolean;
595
+ subscribers_count?: number;
596
+ network_count?: number;
597
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
598
+ license?: {
599
+ key?: string;
600
+ name?: string;
601
+ spdx_id?: string;
602
+ url?: string;
603
+ node_id?: string;
604
+ } | null;
605
+ forks?: number;
606
+ open_issues?: number;
607
+ watchers?: number;
608
+ allow_forking?: boolean;
609
+ web_commit_signoff_required?: boolean;
610
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
611
+ custom_properties?: {
612
+ [key: string]: unknown;
613
+ };
614
+ }>;
615
+ post(body: {
616
+ name: string;
617
+ description?: string;
618
+ homepage?: string;
619
+ private?: boolean;
620
+ visibility?: "public" | "private";
621
+ has_issues?: boolean;
622
+ has_projects?: boolean;
623
+ has_wiki?: boolean;
624
+ has_downloads?: boolean;
625
+ is_template?: boolean;
626
+ team_id?: number;
627
+ auto_init?: boolean;
628
+ gitignore_template?: string;
629
+ license_template?: string;
630
+ allow_squash_merge?: boolean;
631
+ allow_merge_commit?: boolean;
632
+ allow_rebase_merge?: boolean;
633
+ allow_auto_merge?: boolean;
634
+ delete_branch_on_merge?: boolean;
635
+ use_squash_pr_title_as_default?: boolean;
636
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
637
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
638
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
639
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
640
+ custom_properties?: {
641
+ [key: string]: unknown;
642
+ };
643
+ }): Promise<{
644
+ id: number;
645
+ node_id: string;
646
+ name: string;
647
+ full_name: string;
648
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
649
+ private: boolean;
650
+ html_url: string;
651
+ description: string | null;
652
+ fork: boolean;
653
+ url: string;
654
+ archive_url: string;
655
+ assignees_url: string;
656
+ blobs_url: string;
657
+ branches_url: string;
658
+ collaborators_url: string;
659
+ comments_url: string;
660
+ commits_url: string;
661
+ compare_url: string;
662
+ contents_url: string;
663
+ contributors_url: string;
664
+ deployments_url: string;
665
+ downloads_url: string;
666
+ events_url: string;
667
+ forks_url: string;
668
+ git_commits_url: string;
669
+ git_refs_url: string;
670
+ git_tags_url: string;
671
+ git_url?: string;
672
+ issue_comment_url: string;
673
+ issue_events_url: string;
674
+ issues_url: string;
675
+ keys_url: string;
676
+ labels_url: string;
677
+ languages_url: string;
678
+ merges_url: string;
679
+ milestones_url: string;
680
+ notifications_url: string;
681
+ pulls_url: string;
682
+ releases_url: string;
683
+ ssh_url?: string;
684
+ stargazers_url: string;
685
+ statuses_url: string;
686
+ subscribers_url: string;
687
+ subscription_url: string;
688
+ tags_url: string;
689
+ teams_url: string;
690
+ trees_url: string;
691
+ clone_url?: string;
692
+ mirror_url?: string | null;
693
+ hooks_url: string;
694
+ svn_url?: string;
695
+ homepage?: string | null;
696
+ language?: string | null;
697
+ forks_count?: number;
698
+ stargazers_count?: number;
699
+ watchers_count?: number;
700
+ size?: number;
701
+ default_branch?: string;
702
+ open_issues_count?: number;
703
+ is_template?: boolean;
704
+ topics?: string[];
705
+ has_issues?: boolean;
706
+ has_projects?: boolean;
707
+ has_wiki?: boolean;
708
+ has_pages?: boolean;
709
+ has_downloads?: boolean;
710
+ has_discussions?: boolean;
711
+ archived?: boolean;
712
+ disabled?: boolean;
713
+ visibility?: string;
714
+ pushed_at?: string | null;
715
+ created_at?: string | null;
716
+ updated_at?: string | null;
717
+ permissions?: {
718
+ admin?: boolean;
719
+ maintain?: boolean;
720
+ push?: boolean;
721
+ triage?: boolean;
722
+ pull?: boolean;
723
+ };
724
+ role_name?: string;
725
+ temp_clone_token?: string;
726
+ delete_branch_on_merge?: boolean;
727
+ subscribers_count?: number;
728
+ network_count?: number;
729
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
730
+ license?: {
731
+ key?: string;
732
+ name?: string;
733
+ spdx_id?: string;
734
+ url?: string;
735
+ node_id?: string;
736
+ } | null;
737
+ forks?: number;
738
+ open_issues?: number;
739
+ watchers?: number;
740
+ allow_forking?: boolean;
741
+ web_commit_signoff_required?: boolean;
742
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
743
+ custom_properties?: {
744
+ [key: string]: unknown;
745
+ };
746
+ }>;
747
+ patch(body: {
748
+ name: string;
749
+ description?: string;
750
+ homepage?: string;
751
+ private?: boolean;
752
+ visibility?: "public" | "private";
753
+ has_issues?: boolean;
754
+ has_projects?: boolean;
755
+ has_wiki?: boolean;
756
+ has_downloads?: boolean;
757
+ is_template?: boolean;
758
+ team_id?: number;
759
+ auto_init?: boolean;
760
+ gitignore_template?: string;
761
+ license_template?: string;
762
+ allow_squash_merge?: boolean;
763
+ allow_merge_commit?: boolean;
764
+ allow_rebase_merge?: boolean;
765
+ allow_auto_merge?: boolean;
766
+ delete_branch_on_merge?: boolean;
767
+ use_squash_pr_title_as_default?: boolean;
768
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
769
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
770
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
771
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
772
+ custom_properties?: {
773
+ [key: string]: unknown;
774
+ };
775
+ }): Promise<{
776
+ id: number;
777
+ node_id: string;
778
+ name: string;
779
+ full_name: string;
780
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
781
+ private: boolean;
782
+ html_url: string;
783
+ description: string | null;
784
+ fork: boolean;
785
+ url: string;
786
+ archive_url: string;
787
+ assignees_url: string;
788
+ blobs_url: string;
789
+ branches_url: string;
790
+ collaborators_url: string;
791
+ comments_url: string;
792
+ commits_url: string;
793
+ compare_url: string;
794
+ contents_url: string;
795
+ contributors_url: string;
796
+ deployments_url: string;
797
+ downloads_url: string;
798
+ events_url: string;
799
+ forks_url: string;
800
+ git_commits_url: string;
801
+ git_refs_url: string;
802
+ git_tags_url: string;
803
+ git_url?: string;
804
+ issue_comment_url: string;
805
+ issue_events_url: string;
806
+ issues_url: string;
807
+ keys_url: string;
808
+ labels_url: string;
809
+ languages_url: string;
810
+ merges_url: string;
811
+ milestones_url: string;
812
+ notifications_url: string;
813
+ pulls_url: string;
814
+ releases_url: string;
815
+ ssh_url?: string;
816
+ stargazers_url: string;
817
+ statuses_url: string;
818
+ subscribers_url: string;
819
+ subscription_url: string;
820
+ tags_url: string;
821
+ teams_url: string;
822
+ trees_url: string;
823
+ clone_url?: string;
824
+ mirror_url?: string | null;
825
+ hooks_url: string;
826
+ svn_url?: string;
827
+ homepage?: string | null;
828
+ language?: string | null;
829
+ forks_count?: number;
830
+ stargazers_count?: number;
831
+ watchers_count?: number;
832
+ size?: number;
833
+ default_branch?: string;
834
+ open_issues_count?: number;
835
+ is_template?: boolean;
836
+ topics?: string[];
837
+ has_issues?: boolean;
838
+ has_projects?: boolean;
839
+ has_wiki?: boolean;
840
+ has_pages?: boolean;
841
+ has_downloads?: boolean;
842
+ has_discussions?: boolean;
843
+ archived?: boolean;
844
+ disabled?: boolean;
845
+ visibility?: string;
846
+ pushed_at?: string | null;
847
+ created_at?: string | null;
848
+ updated_at?: string | null;
849
+ permissions?: {
850
+ admin?: boolean;
851
+ maintain?: boolean;
852
+ push?: boolean;
853
+ triage?: boolean;
854
+ pull?: boolean;
855
+ };
856
+ role_name?: string;
857
+ temp_clone_token?: string;
858
+ delete_branch_on_merge?: boolean;
859
+ subscribers_count?: number;
860
+ network_count?: number;
861
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
862
+ license?: {
863
+ key?: string;
864
+ name?: string;
865
+ spdx_id?: string;
866
+ url?: string;
867
+ node_id?: string;
868
+ } | null;
869
+ forks?: number;
870
+ open_issues?: number;
871
+ watchers?: number;
872
+ allow_forking?: boolean;
873
+ web_commit_signoff_required?: boolean;
874
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
875
+ custom_properties?: {
876
+ [key: string]: unknown;
877
+ };
878
+ }>;
879
+ delete(): Promise<void>;
880
+ };
881
+ };
882
+ GitHubRepository: {
883
+ new (owner: string, repo: string): {
884
+ get apiEndpoint(): string;
885
+ getArtifacts(query?: {
886
+ name: string;
887
+ }): Promise<{
888
+ id: number;
889
+ node_id: string;
890
+ name: string;
891
+ size_in_bytes: number;
892
+ url: string;
893
+ archive_download_url: string;
894
+ expired: boolean;
895
+ created_at: string | null;
896
+ expires_at: string | null;
897
+ updated_at: string | null;
898
+ digest?: string | null;
899
+ workflow_run?: {
900
+ id?: number;
901
+ repository_id?: number;
902
+ head_repository_id?: number;
903
+ head_branch?: string;
904
+ head_sha?: string;
905
+ } | null;
906
+ }[]>;
907
+ getArtifact(artifactId: number): Promise<{
908
+ id: number;
909
+ node_id: string;
910
+ name: string;
911
+ size_in_bytes: number;
912
+ url: string;
913
+ archive_download_url: string;
914
+ expired: boolean;
915
+ created_at: string | null;
916
+ expires_at: string | null;
917
+ updated_at: string | null;
918
+ digest?: string | null;
919
+ workflow_run?: {
920
+ id?: number;
921
+ repository_id?: number;
922
+ head_repository_id?: number;
923
+ head_branch?: string;
924
+ head_sha?: string;
925
+ } | null;
926
+ }>;
927
+ getArtifactZipBlob(artifactId: number): Promise<Blob>;
928
+ getBranches(): Promise<{
929
+ name: string;
930
+ commit: {
931
+ sha: string;
932
+ url: string;
933
+ };
934
+ protected: boolean;
935
+ protection?: import("@octokit/openapi-types").components["schemas"]["branch-protection"];
936
+ protection_url?: string;
937
+ }[]>;
938
+ getBranch(branchName: string): Promise<{
939
+ name: string;
940
+ commit: import("@octokit/openapi-types").components["schemas"]["commit"];
941
+ _links: {
942
+ html: string;
943
+ self: string;
944
+ };
945
+ protected: boolean;
946
+ protection: import("@octokit/openapi-types").components["schemas"]["branch-protection"];
947
+ protection_url: string;
948
+ pattern?: string;
949
+ required_approving_review_count?: number;
950
+ }>;
951
+ getReferences(refName: string): Promise<{
952
+ ref: string;
953
+ node_id: string;
954
+ url: string;
955
+ object: {
956
+ type: string;
957
+ sha: string;
958
+ url: string;
959
+ };
960
+ }[]>;
961
+ getBranchReferences(): Promise<{
962
+ ref: string;
963
+ node_id: string;
964
+ url: string;
965
+ object: {
966
+ type: string;
967
+ sha: string;
968
+ url: string;
969
+ };
970
+ }[]>;
971
+ getTagReferences(): Promise<{
972
+ ref: string;
973
+ node_id: string;
974
+ url: string;
975
+ object: {
976
+ type: string;
977
+ sha: string;
978
+ url: string;
979
+ };
980
+ }[]>;
981
+ postReference(body: {
982
+ ref: string;
983
+ sha: string;
984
+ }): Promise<{
985
+ ref: string;
986
+ node_id: string;
987
+ url: string;
988
+ object: {
989
+ type: string;
990
+ sha: string;
991
+ url: string;
992
+ };
993
+ }>;
994
+ getReference(ref: string): Promise<{
995
+ ref: string;
996
+ node_id: string;
997
+ url: string;
998
+ object: {
999
+ type: string;
1000
+ sha: string;
1001
+ url: string;
1002
+ };
1003
+ }>;
1004
+ getBranchReference(branchName: string): Promise<{
1005
+ ref: string;
1006
+ node_id: string;
1007
+ url: string;
1008
+ object: {
1009
+ type: string;
1010
+ sha: string;
1011
+ url: string;
1012
+ };
1013
+ }>;
1014
+ getTagReference(tagName: string): Promise<{
1015
+ ref: string;
1016
+ node_id: string;
1017
+ url: string;
1018
+ object: {
1019
+ type: string;
1020
+ sha: string;
1021
+ url: string;
1022
+ };
1023
+ }>;
1024
+ patchReference(ref: string, body: {
1025
+ sha: string;
1026
+ force?: boolean;
1027
+ }): Promise<{
1028
+ ref: string;
1029
+ node_id: string;
1030
+ url: string;
1031
+ object: {
1032
+ type: string;
1033
+ sha: string;
1034
+ url: string;
1035
+ };
1036
+ }>;
1037
+ deleteReference(ref: string): Promise<void>;
1038
+ getBlob(fileSha: string): Promise<{
1039
+ content: string;
1040
+ encoding: string;
1041
+ url: string;
1042
+ sha: string;
1043
+ size: number | null;
1044
+ node_id: string;
1045
+ highlighted_content?: string;
1046
+ }>;
1047
+ postBlob(body: {
1048
+ content: string;
1049
+ encoding?: string;
1050
+ }): Promise<{
1051
+ content: string;
1052
+ encoding: string;
1053
+ url: string;
1054
+ sha: string;
1055
+ size: number | null;
1056
+ node_id: string;
1057
+ highlighted_content?: string;
1058
+ }>;
1059
+ getTree(sha: string): Promise<{
1060
+ sha: string;
1061
+ url?: string;
1062
+ truncated: boolean;
1063
+ tree: {
1064
+ path: string;
1065
+ mode: string;
1066
+ type: string;
1067
+ sha: string;
1068
+ size?: number;
1069
+ url?: string;
1070
+ }[];
1071
+ }>;
1072
+ postTree(body: {
1073
+ tree: {
1074
+ path?: string;
1075
+ mode?: "100644" | "100755" | "040000" | "160000" | "120000";
1076
+ type?: "blob" | "tree" | "commit";
1077
+ sha?: string | null;
1078
+ content?: string;
1079
+ }[];
1080
+ base_tree?: string;
1081
+ }): Promise<{
1082
+ sha: string;
1083
+ url?: string;
1084
+ truncated: boolean;
1085
+ tree: {
1086
+ path: string;
1087
+ mode: string;
1088
+ type: string;
1089
+ sha: string;
1090
+ size?: number;
1091
+ url?: string;
1092
+ }[];
1093
+ }>;
1094
+ getIssues(query?: Record<string, string>): Promise<{
1095
+ id: number;
1096
+ node_id: string;
1097
+ url: string;
1098
+ repository_url: string;
1099
+ labels_url: string;
1100
+ comments_url: string;
1101
+ events_url: string;
1102
+ html_url: string;
1103
+ number: number;
1104
+ state: string;
1105
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1106
+ title: string;
1107
+ body?: string | null;
1108
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1109
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1110
+ id?: number;
1111
+ node_id?: string;
1112
+ url?: string;
1113
+ name?: string;
1114
+ description?: string | null;
1115
+ color?: string | null;
1116
+ default?: boolean;
1117
+ }]>[];
1118
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1119
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1120
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1121
+ locked: boolean;
1122
+ active_lock_reason?: string | null;
1123
+ comments: number;
1124
+ pull_request?: {
1125
+ merged_at?: string | null;
1126
+ diff_url: string | null;
1127
+ html_url: string | null;
1128
+ patch_url: string | null;
1129
+ url: string | null;
1130
+ };
1131
+ closed_at: string | null;
1132
+ created_at: string;
1133
+ updated_at: string;
1134
+ draft?: boolean;
1135
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1136
+ body_html?: string;
1137
+ body_text?: string;
1138
+ timeline_url?: string;
1139
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1140
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1141
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1142
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1143
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1144
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1145
+ parent_issue_url?: string | null;
1146
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1147
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1148
+ }[]>;
1149
+ postIssue(body: {
1150
+ title: string | number;
1151
+ body?: string;
1152
+ assignee?: string | null;
1153
+ milestone?: string | number | null;
1154
+ labels?: import("@octokit/openapi-types").OneOf<[string, {
1155
+ id?: number;
1156
+ name?: string;
1157
+ description?: string | null;
1158
+ color?: string | null;
1159
+ }]>[];
1160
+ assignees?: string[];
1161
+ type?: string | null;
1162
+ }): Promise<{
1163
+ id: number;
1164
+ node_id: string;
1165
+ url: string;
1166
+ repository_url: string;
1167
+ labels_url: string;
1168
+ comments_url: string;
1169
+ events_url: string;
1170
+ html_url: string;
1171
+ number: number;
1172
+ state: string;
1173
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1174
+ title: string;
1175
+ body?: string | null;
1176
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1177
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1178
+ id?: number;
1179
+ node_id?: string;
1180
+ url?: string;
1181
+ name?: string;
1182
+ description?: string | null;
1183
+ color?: string | null;
1184
+ default?: boolean;
1185
+ }]>[];
1186
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1187
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1188
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1189
+ locked: boolean;
1190
+ active_lock_reason?: string | null;
1191
+ comments: number;
1192
+ pull_request?: {
1193
+ merged_at?: string | null;
1194
+ diff_url: string | null;
1195
+ html_url: string | null;
1196
+ patch_url: string | null;
1197
+ url: string | null;
1198
+ };
1199
+ closed_at: string | null;
1200
+ created_at: string;
1201
+ updated_at: string;
1202
+ draft?: boolean;
1203
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1204
+ body_html?: string;
1205
+ body_text?: string;
1206
+ timeline_url?: string;
1207
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1208
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1209
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1210
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1211
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1212
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1213
+ parent_issue_url?: string | null;
1214
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1215
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1216
+ }>;
1217
+ issue(issueNumber: number): {
1218
+ get apiEndpoint(): string;
1219
+ getComments(): Promise<{
1220
+ id: number;
1221
+ node_id: string;
1222
+ url: string;
1223
+ body?: string;
1224
+ body_text?: string;
1225
+ body_html?: string;
1226
+ html_url: string;
1227
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1228
+ created_at: string;
1229
+ updated_at: string;
1230
+ issue_url: string;
1231
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1232
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1233
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1234
+ }[]>;
1235
+ postComment(body: {
1236
+ body: string;
1237
+ }): Promise<{
1238
+ id: number;
1239
+ node_id: string;
1240
+ url: string;
1241
+ body?: string;
1242
+ body_text?: string;
1243
+ body_html?: string;
1244
+ html_url: string;
1245
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1246
+ created_at: string;
1247
+ updated_at: string;
1248
+ issue_url: string;
1249
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1250
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1251
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1252
+ }>;
1253
+ issueNumber: number;
1254
+ owner: string;
1255
+ repo: string;
1256
+ token: string;
1257
+ get apiOrigin(): string;
1258
+ get requestHeaders(): {
1259
+ accept: string;
1260
+ authorization: string;
1261
+ "X-GitHub-Api-Version": string;
1262
+ };
1263
+ get pageSizeForRequest(): number;
1264
+ getPagedList(query?: Record<string, string>): Promise<{
1265
+ id: number;
1266
+ node_id: string;
1267
+ url: string;
1268
+ repository_url: string;
1269
+ labels_url: string;
1270
+ comments_url: string;
1271
+ events_url: string;
1272
+ html_url: string;
1273
+ number: number;
1274
+ state: string;
1275
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1276
+ title: string;
1277
+ body?: string | null;
1278
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1279
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1280
+ id?: number;
1281
+ node_id?: string;
1282
+ url?: string;
1283
+ name?: string;
1284
+ description?: string | null;
1285
+ color?: string | null;
1286
+ default?: boolean;
1287
+ }]>[];
1288
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1289
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1290
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1291
+ locked: boolean;
1292
+ active_lock_reason?: string | null;
1293
+ comments: number;
1294
+ pull_request?: {
1295
+ merged_at?: string | null;
1296
+ diff_url: string | null;
1297
+ html_url: string | null;
1298
+ patch_url: string | null;
1299
+ url: string | null;
1300
+ };
1301
+ closed_at: string | null;
1302
+ created_at: string;
1303
+ updated_at: string;
1304
+ draft?: boolean;
1305
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1306
+ body_html?: string;
1307
+ body_text?: string;
1308
+ timeline_url?: string;
1309
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1310
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1311
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1312
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1313
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1314
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1315
+ parent_issue_url?: string | null;
1316
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1317
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1318
+ }[]>;
1319
+ getList(query?: Record<string, string>): Promise<{
1320
+ id: number;
1321
+ node_id: string;
1322
+ url: string;
1323
+ repository_url: string;
1324
+ labels_url: string;
1325
+ comments_url: string;
1326
+ events_url: string;
1327
+ html_url: string;
1328
+ number: number;
1329
+ state: string;
1330
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1331
+ title: string;
1332
+ body?: string | null;
1333
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1334
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1335
+ id?: number;
1336
+ node_id?: string;
1337
+ url?: string;
1338
+ name?: string;
1339
+ description?: string | null;
1340
+ color?: string | null;
1341
+ default?: boolean;
1342
+ }]>[];
1343
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1344
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1345
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1346
+ locked: boolean;
1347
+ active_lock_reason?: string | null;
1348
+ comments: number;
1349
+ pull_request?: {
1350
+ merged_at?: string | null;
1351
+ diff_url: string | null;
1352
+ html_url: string | null;
1353
+ patch_url: string | null;
1354
+ url: string | null;
1355
+ };
1356
+ closed_at: string | null;
1357
+ created_at: string;
1358
+ updated_at: string;
1359
+ draft?: boolean;
1360
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1361
+ body_html?: string;
1362
+ body_text?: string;
1363
+ timeline_url?: string;
1364
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1365
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1366
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1367
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1368
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1369
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1370
+ parent_issue_url?: string | null;
1371
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1372
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1373
+ }[]>;
1374
+ get(): Promise<{
1375
+ id: number;
1376
+ node_id: string;
1377
+ url: string;
1378
+ repository_url: string;
1379
+ labels_url: string;
1380
+ comments_url: string;
1381
+ events_url: string;
1382
+ html_url: string;
1383
+ number: number;
1384
+ state: string;
1385
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1386
+ title: string;
1387
+ body?: string | null;
1388
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1389
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1390
+ id?: number;
1391
+ node_id?: string;
1392
+ url?: string;
1393
+ name?: string;
1394
+ description?: string | null;
1395
+ color?: string | null;
1396
+ default?: boolean;
1397
+ }]>[];
1398
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1399
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1400
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1401
+ locked: boolean;
1402
+ active_lock_reason?: string | null;
1403
+ comments: number;
1404
+ pull_request?: {
1405
+ merged_at?: string | null;
1406
+ diff_url: string | null;
1407
+ html_url: string | null;
1408
+ patch_url: string | null;
1409
+ url: string | null;
1410
+ };
1411
+ closed_at: string | null;
1412
+ created_at: string;
1413
+ updated_at: string;
1414
+ draft?: boolean;
1415
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1416
+ body_html?: string;
1417
+ body_text?: string;
1418
+ timeline_url?: string;
1419
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1420
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1421
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1422
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1423
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1424
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1425
+ parent_issue_url?: string | null;
1426
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1427
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1428
+ }>;
1429
+ post(body: {
1430
+ data: never;
1431
+ }): Promise<{
1432
+ id: number;
1433
+ node_id: string;
1434
+ url: string;
1435
+ repository_url: string;
1436
+ labels_url: string;
1437
+ comments_url: string;
1438
+ events_url: string;
1439
+ html_url: string;
1440
+ number: number;
1441
+ state: string;
1442
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1443
+ title: string;
1444
+ body?: string | null;
1445
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1446
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1447
+ id?: number;
1448
+ node_id?: string;
1449
+ url?: string;
1450
+ name?: string;
1451
+ description?: string | null;
1452
+ color?: string | null;
1453
+ default?: boolean;
1454
+ }]>[];
1455
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1456
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1457
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1458
+ locked: boolean;
1459
+ active_lock_reason?: string | null;
1460
+ comments: number;
1461
+ pull_request?: {
1462
+ merged_at?: string | null;
1463
+ diff_url: string | null;
1464
+ html_url: string | null;
1465
+ patch_url: string | null;
1466
+ url: string | null;
1467
+ };
1468
+ closed_at: string | null;
1469
+ created_at: string;
1470
+ updated_at: string;
1471
+ draft?: boolean;
1472
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1473
+ body_html?: string;
1474
+ body_text?: string;
1475
+ timeline_url?: string;
1476
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1477
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1478
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1479
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1480
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1481
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1482
+ parent_issue_url?: string | null;
1483
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1484
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1485
+ }>;
1486
+ patch(body: {
1487
+ data: never;
1488
+ }): Promise<{
1489
+ id: number;
1490
+ node_id: string;
1491
+ url: string;
1492
+ repository_url: string;
1493
+ labels_url: string;
1494
+ comments_url: string;
1495
+ events_url: string;
1496
+ html_url: string;
1497
+ number: number;
1498
+ state: string;
1499
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1500
+ title: string;
1501
+ body?: string | null;
1502
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1503
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1504
+ id?: number;
1505
+ node_id?: string;
1506
+ url?: string;
1507
+ name?: string;
1508
+ description?: string | null;
1509
+ color?: string | null;
1510
+ default?: boolean;
1511
+ }]>[];
1512
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1513
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1514
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1515
+ locked: boolean;
1516
+ active_lock_reason?: string | null;
1517
+ comments: number;
1518
+ pull_request?: {
1519
+ merged_at?: string | null;
1520
+ diff_url: string | null;
1521
+ html_url: string | null;
1522
+ patch_url: string | null;
1523
+ url: string | null;
1524
+ };
1525
+ closed_at: string | null;
1526
+ created_at: string;
1527
+ updated_at: string;
1528
+ draft?: boolean;
1529
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1530
+ body_html?: string;
1531
+ body_text?: string;
1532
+ timeline_url?: string;
1533
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1534
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1535
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1536
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1537
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1538
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1539
+ parent_issue_url?: string | null;
1540
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1541
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1542
+ }>;
1543
+ delete(): Promise<void>;
1544
+ };
1545
+ getIssue(issueNumber: number): Promise<{
1546
+ id: number;
1547
+ node_id: string;
1548
+ url: string;
1549
+ repository_url: string;
1550
+ labels_url: string;
1551
+ comments_url: string;
1552
+ events_url: string;
1553
+ html_url: string;
1554
+ number: number;
1555
+ state: string;
1556
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1557
+ title: string;
1558
+ body?: string | null;
1559
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1560
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1561
+ id?: number;
1562
+ node_id?: string;
1563
+ url?: string;
1564
+ name?: string;
1565
+ description?: string | null;
1566
+ color?: string | null;
1567
+ default?: boolean;
1568
+ }]>[];
1569
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1570
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1571
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1572
+ locked: boolean;
1573
+ active_lock_reason?: string | null;
1574
+ comments: number;
1575
+ pull_request?: {
1576
+ merged_at?: string | null;
1577
+ diff_url: string | null;
1578
+ html_url: string | null;
1579
+ patch_url: string | null;
1580
+ url: string | null;
1581
+ };
1582
+ closed_at: string | null;
1583
+ created_at: string;
1584
+ updated_at: string;
1585
+ draft?: boolean;
1586
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1587
+ body_html?: string;
1588
+ body_text?: string;
1589
+ timeline_url?: string;
1590
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1591
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1592
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1593
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1594
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1595
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1596
+ parent_issue_url?: string | null;
1597
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1598
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1599
+ }>;
1600
+ patchIssue(issueNumber: number, body: {
1601
+ data: never;
1602
+ }): Promise<{
1603
+ id: number;
1604
+ node_id: string;
1605
+ url: string;
1606
+ repository_url: string;
1607
+ labels_url: string;
1608
+ comments_url: string;
1609
+ events_url: string;
1610
+ html_url: string;
1611
+ number: number;
1612
+ state: string;
1613
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
1614
+ title: string;
1615
+ body?: string | null;
1616
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1617
+ labels: import("@octokit/openapi-types").OneOf<[string, {
1618
+ id?: number;
1619
+ node_id?: string;
1620
+ url?: string;
1621
+ name?: string;
1622
+ description?: string | null;
1623
+ color?: string | null;
1624
+ default?: boolean;
1625
+ }]>[];
1626
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1627
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1628
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1629
+ locked: boolean;
1630
+ active_lock_reason?: string | null;
1631
+ comments: number;
1632
+ pull_request?: {
1633
+ merged_at?: string | null;
1634
+ diff_url: string | null;
1635
+ html_url: string | null;
1636
+ patch_url: string | null;
1637
+ url: string | null;
1638
+ };
1639
+ closed_at: string | null;
1640
+ created_at: string;
1641
+ updated_at: string;
1642
+ draft?: boolean;
1643
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1644
+ body_html?: string;
1645
+ body_text?: string;
1646
+ timeline_url?: string;
1647
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
1648
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
1649
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
1650
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
1651
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1652
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
1653
+ parent_issue_url?: string | null;
1654
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
1655
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
1656
+ }>;
1657
+ getPulls(query?: Record<string, string>): Promise<{
1658
+ url: string;
1659
+ id: number;
1660
+ node_id: string;
1661
+ html_url: string;
1662
+ diff_url: string;
1663
+ patch_url: string;
1664
+ issue_url: string;
1665
+ commits_url: string;
1666
+ review_comments_url: string;
1667
+ review_comment_url: string;
1668
+ comments_url: string;
1669
+ statuses_url: string;
1670
+ number: number;
1671
+ state: string;
1672
+ locked: boolean;
1673
+ title: string;
1674
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1675
+ body: string | null;
1676
+ labels: {
1677
+ id: number;
1678
+ node_id: string;
1679
+ url: string;
1680
+ name: string;
1681
+ description: string;
1682
+ color: string;
1683
+ default: boolean;
1684
+ }[];
1685
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1686
+ active_lock_reason?: string | null;
1687
+ created_at: string;
1688
+ updated_at: string;
1689
+ closed_at: string | null;
1690
+ merged_at: string | null;
1691
+ merge_commit_sha: string | null;
1692
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1693
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1694
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1695
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team"][] | null;
1696
+ head: {
1697
+ label: string;
1698
+ ref: string;
1699
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1700
+ sha: string;
1701
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1702
+ };
1703
+ base: {
1704
+ label: string;
1705
+ ref: string;
1706
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1707
+ sha: string;
1708
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1709
+ };
1710
+ _links: {
1711
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1712
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1713
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1714
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1715
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1716
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1717
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1718
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1719
+ };
1720
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1721
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1722
+ draft?: boolean;
1723
+ }[]>;
1724
+ postPull(body: {
1725
+ title?: string;
1726
+ head: string;
1727
+ head_repo?: string;
1728
+ base: string;
1729
+ body?: string;
1730
+ maintainer_can_modify?: boolean;
1731
+ draft?: boolean;
1732
+ issue?: number;
1733
+ }): Promise<{
1734
+ url: string;
1735
+ id: number;
1736
+ node_id: string;
1737
+ html_url: string;
1738
+ diff_url: string;
1739
+ patch_url: string;
1740
+ issue_url: string;
1741
+ commits_url: string;
1742
+ review_comments_url: string;
1743
+ review_comment_url: string;
1744
+ comments_url: string;
1745
+ statuses_url: string;
1746
+ number: number;
1747
+ state: string;
1748
+ locked: boolean;
1749
+ title: string;
1750
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1751
+ body: string | null;
1752
+ labels: {
1753
+ id: number;
1754
+ node_id: string;
1755
+ url: string;
1756
+ name: string;
1757
+ description: string;
1758
+ color: string;
1759
+ default: boolean;
1760
+ }[];
1761
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1762
+ active_lock_reason?: string | null;
1763
+ created_at: string;
1764
+ updated_at: string;
1765
+ closed_at: string | null;
1766
+ merged_at: string | null;
1767
+ merge_commit_sha: string | null;
1768
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1769
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1770
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1771
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team"][] | null;
1772
+ head: {
1773
+ label: string;
1774
+ ref: string;
1775
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1776
+ sha: string;
1777
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1778
+ };
1779
+ base: {
1780
+ label: string;
1781
+ ref: string;
1782
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1783
+ sha: string;
1784
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1785
+ };
1786
+ _links: {
1787
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1788
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1789
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1790
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1791
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1792
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1793
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1794
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1795
+ };
1796
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1797
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1798
+ draft?: boolean;
1799
+ }>;
1800
+ pull(pullNumber: number): {
1801
+ get apiEndpoint(): string;
1802
+ getCommits(): Promise<{
1803
+ url: string;
1804
+ sha: string;
1805
+ node_id: string;
1806
+ html_url: string;
1807
+ comments_url: string;
1808
+ commit: {
1809
+ url: string;
1810
+ author: import("@octokit/openapi-types").components["schemas"]["nullable-git-user"];
1811
+ committer: import("@octokit/openapi-types").components["schemas"]["nullable-git-user"];
1812
+ message: string;
1813
+ comment_count: number;
1814
+ tree: {
1815
+ sha: string;
1816
+ url: string;
1817
+ };
1818
+ verification?: import("@octokit/openapi-types").components["schemas"]["verification"];
1819
+ };
1820
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["empty-object"] | null;
1821
+ committer: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["empty-object"] | null;
1822
+ parents: {
1823
+ sha: string;
1824
+ url: string;
1825
+ html_url?: string;
1826
+ }[];
1827
+ stats?: {
1828
+ additions?: number;
1829
+ deletions?: number;
1830
+ total?: number;
1831
+ };
1832
+ files?: import("@octokit/openapi-types").components["schemas"]["diff-entry"][];
1833
+ }[]>;
1834
+ getReviewers(): Promise<{
1835
+ users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
1836
+ teams: import("@octokit/openapi-types").components["schemas"]["team"][];
1837
+ }>;
1838
+ postReviewers(body: {
1839
+ data: never;
1840
+ }): Promise<{
1841
+ users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
1842
+ teams: import("@octokit/openapi-types").components["schemas"]["team"][];
1843
+ }>;
1844
+ pullNumber: number;
1845
+ owner: string;
1846
+ repo: string;
1847
+ token: string;
1848
+ get apiOrigin(): string;
1849
+ get requestHeaders(): {
1850
+ accept: string;
1851
+ authorization: string;
1852
+ "X-GitHub-Api-Version": string;
1853
+ };
1854
+ get pageSizeForRequest(): number;
1855
+ getPagedList(query?: Record<string, string>): Promise<{
1856
+ url: string;
1857
+ id: number;
1858
+ node_id: string;
1859
+ html_url: string;
1860
+ diff_url: string;
1861
+ patch_url: string;
1862
+ issue_url: string;
1863
+ commits_url: string;
1864
+ review_comments_url: string;
1865
+ review_comment_url: string;
1866
+ comments_url: string;
1867
+ statuses_url: string;
1868
+ number: number;
1869
+ state: "open" | "closed";
1870
+ locked: boolean;
1871
+ title: string;
1872
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1873
+ body: string | null;
1874
+ labels: {
1875
+ id: number;
1876
+ node_id: string;
1877
+ url: string;
1878
+ name: string;
1879
+ description: string | null;
1880
+ color: string;
1881
+ default: boolean;
1882
+ }[];
1883
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1884
+ active_lock_reason?: string | null;
1885
+ created_at: string;
1886
+ updated_at: string;
1887
+ closed_at: string | null;
1888
+ merged_at: string | null;
1889
+ merge_commit_sha: string | null;
1890
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1891
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1892
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1893
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1894
+ head: {
1895
+ label: string;
1896
+ ref: string;
1897
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1898
+ sha: string;
1899
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1900
+ };
1901
+ base: {
1902
+ label: string;
1903
+ ref: string;
1904
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1905
+ sha: string;
1906
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1907
+ };
1908
+ _links: {
1909
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1910
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1911
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1912
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1913
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1914
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1915
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1916
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1917
+ };
1918
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1919
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1920
+ draft?: boolean;
1921
+ merged: boolean;
1922
+ mergeable: boolean | null;
1923
+ rebaseable?: boolean | null;
1924
+ mergeable_state: string;
1925
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1926
+ comments: number;
1927
+ review_comments: number;
1928
+ maintainer_can_modify: boolean;
1929
+ commits: number;
1930
+ additions: number;
1931
+ deletions: number;
1932
+ changed_files: number;
1933
+ }[]>;
1934
+ getList(query?: Record<string, string>): Promise<{
1935
+ url: string;
1936
+ id: number;
1937
+ node_id: string;
1938
+ html_url: string;
1939
+ diff_url: string;
1940
+ patch_url: string;
1941
+ issue_url: string;
1942
+ commits_url: string;
1943
+ review_comments_url: string;
1944
+ review_comment_url: string;
1945
+ comments_url: string;
1946
+ statuses_url: string;
1947
+ number: number;
1948
+ state: "open" | "closed";
1949
+ locked: boolean;
1950
+ title: string;
1951
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1952
+ body: string | null;
1953
+ labels: {
1954
+ id: number;
1955
+ node_id: string;
1956
+ url: string;
1957
+ name: string;
1958
+ description: string | null;
1959
+ color: string;
1960
+ default: boolean;
1961
+ }[];
1962
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1963
+ active_lock_reason?: string | null;
1964
+ created_at: string;
1965
+ updated_at: string;
1966
+ closed_at: string | null;
1967
+ merged_at: string | null;
1968
+ merge_commit_sha: string | null;
1969
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1970
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1971
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1972
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1973
+ head: {
1974
+ label: string;
1975
+ ref: string;
1976
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1977
+ sha: string;
1978
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1979
+ };
1980
+ base: {
1981
+ label: string;
1982
+ ref: string;
1983
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1984
+ sha: string;
1985
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1986
+ };
1987
+ _links: {
1988
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1989
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1990
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1991
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1992
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1993
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1994
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1995
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1996
+ };
1997
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1998
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1999
+ draft?: boolean;
2000
+ merged: boolean;
2001
+ mergeable: boolean | null;
2002
+ rebaseable?: boolean | null;
2003
+ mergeable_state: string;
2004
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2005
+ comments: number;
2006
+ review_comments: number;
2007
+ maintainer_can_modify: boolean;
2008
+ commits: number;
2009
+ additions: number;
2010
+ deletions: number;
2011
+ changed_files: number;
2012
+ }[]>;
2013
+ get(): Promise<{
2014
+ url: string;
2015
+ id: number;
2016
+ node_id: string;
2017
+ html_url: string;
2018
+ diff_url: string;
2019
+ patch_url: string;
2020
+ issue_url: string;
2021
+ commits_url: string;
2022
+ review_comments_url: string;
2023
+ review_comment_url: string;
2024
+ comments_url: string;
2025
+ statuses_url: string;
2026
+ number: number;
2027
+ state: "open" | "closed";
2028
+ locked: boolean;
2029
+ title: string;
2030
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2031
+ body: string | null;
2032
+ labels: {
2033
+ id: number;
2034
+ node_id: string;
2035
+ url: string;
2036
+ name: string;
2037
+ description: string | null;
2038
+ color: string;
2039
+ default: boolean;
2040
+ }[];
2041
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
2042
+ active_lock_reason?: string | null;
2043
+ created_at: string;
2044
+ updated_at: string;
2045
+ closed_at: string | null;
2046
+ merged_at: string | null;
2047
+ merge_commit_sha: string | null;
2048
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2049
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2050
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2051
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
2052
+ head: {
2053
+ label: string;
2054
+ ref: string;
2055
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2056
+ sha: string;
2057
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2058
+ };
2059
+ base: {
2060
+ label: string;
2061
+ ref: string;
2062
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2063
+ sha: string;
2064
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2065
+ };
2066
+ _links: {
2067
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
2068
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
2069
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
2070
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
2071
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
2072
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
2073
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
2074
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
2075
+ };
2076
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
2077
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
2078
+ draft?: boolean;
2079
+ merged: boolean;
2080
+ mergeable: boolean | null;
2081
+ rebaseable?: boolean | null;
2082
+ mergeable_state: string;
2083
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2084
+ comments: number;
2085
+ review_comments: number;
2086
+ maintainer_can_modify: boolean;
2087
+ commits: number;
2088
+ additions: number;
2089
+ deletions: number;
2090
+ changed_files: number;
2091
+ }>;
2092
+ post(body: {
2093
+ data: never;
2094
+ }): Promise<{
2095
+ url: string;
2096
+ id: number;
2097
+ node_id: string;
2098
+ html_url: string;
2099
+ diff_url: string;
2100
+ patch_url: string;
2101
+ issue_url: string;
2102
+ commits_url: string;
2103
+ review_comments_url: string;
2104
+ review_comment_url: string;
2105
+ comments_url: string;
2106
+ statuses_url: string;
2107
+ number: number;
2108
+ state: "open" | "closed";
2109
+ locked: boolean;
2110
+ title: string;
2111
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2112
+ body: string | null;
2113
+ labels: {
2114
+ id: number;
2115
+ node_id: string;
2116
+ url: string;
2117
+ name: string;
2118
+ description: string | null;
2119
+ color: string;
2120
+ default: boolean;
2121
+ }[];
2122
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
2123
+ active_lock_reason?: string | null;
2124
+ created_at: string;
2125
+ updated_at: string;
2126
+ closed_at: string | null;
2127
+ merged_at: string | null;
2128
+ merge_commit_sha: string | null;
2129
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2130
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2131
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2132
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
2133
+ head: {
2134
+ label: string;
2135
+ ref: string;
2136
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2137
+ sha: string;
2138
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2139
+ };
2140
+ base: {
2141
+ label: string;
2142
+ ref: string;
2143
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2144
+ sha: string;
2145
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2146
+ };
2147
+ _links: {
2148
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
2149
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
2150
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
2151
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
2152
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
2153
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
2154
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
2155
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
2156
+ };
2157
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
2158
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
2159
+ draft?: boolean;
2160
+ merged: boolean;
2161
+ mergeable: boolean | null;
2162
+ rebaseable?: boolean | null;
2163
+ mergeable_state: string;
2164
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2165
+ comments: number;
2166
+ review_comments: number;
2167
+ maintainer_can_modify: boolean;
2168
+ commits: number;
2169
+ additions: number;
2170
+ deletions: number;
2171
+ changed_files: number;
2172
+ }>;
2173
+ patch(body: {
2174
+ data: never;
2175
+ }): Promise<{
2176
+ url: string;
2177
+ id: number;
2178
+ node_id: string;
2179
+ html_url: string;
2180
+ diff_url: string;
2181
+ patch_url: string;
2182
+ issue_url: string;
2183
+ commits_url: string;
2184
+ review_comments_url: string;
2185
+ review_comment_url: string;
2186
+ comments_url: string;
2187
+ statuses_url: string;
2188
+ number: number;
2189
+ state: "open" | "closed";
2190
+ locked: boolean;
2191
+ title: string;
2192
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2193
+ body: string | null;
2194
+ labels: {
2195
+ id: number;
2196
+ node_id: string;
2197
+ url: string;
2198
+ name: string;
2199
+ description: string | null;
2200
+ color: string;
2201
+ default: boolean;
2202
+ }[];
2203
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
2204
+ active_lock_reason?: string | null;
2205
+ created_at: string;
2206
+ updated_at: string;
2207
+ closed_at: string | null;
2208
+ merged_at: string | null;
2209
+ merge_commit_sha: string | null;
2210
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2211
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2212
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2213
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
2214
+ head: {
2215
+ label: string;
2216
+ ref: string;
2217
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2218
+ sha: string;
2219
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2220
+ };
2221
+ base: {
2222
+ label: string;
2223
+ ref: string;
2224
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2225
+ sha: string;
2226
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2227
+ };
2228
+ _links: {
2229
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
2230
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
2231
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
2232
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
2233
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
2234
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
2235
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
2236
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
2237
+ };
2238
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
2239
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
2240
+ draft?: boolean;
2241
+ merged: boolean;
2242
+ mergeable: boolean | null;
2243
+ rebaseable?: boolean | null;
2244
+ mergeable_state: string;
2245
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2246
+ comments: number;
2247
+ review_comments: number;
2248
+ maintainer_can_modify: boolean;
2249
+ commits: number;
2250
+ additions: number;
2251
+ deletions: number;
2252
+ changed_files: number;
2253
+ }>;
2254
+ delete(): Promise<void>;
2255
+ };
2256
+ getPull(pullNumber: number): Promise<{
2257
+ url: string;
2258
+ id: number;
2259
+ node_id: string;
2260
+ html_url: string;
2261
+ diff_url: string;
2262
+ patch_url: string;
2263
+ issue_url: string;
2264
+ commits_url: string;
2265
+ review_comments_url: string;
2266
+ review_comment_url: string;
2267
+ comments_url: string;
2268
+ statuses_url: string;
2269
+ number: number;
2270
+ state: "open" | "closed";
2271
+ locked: boolean;
2272
+ title: string;
2273
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2274
+ body: string | null;
2275
+ labels: {
2276
+ id: number;
2277
+ node_id: string;
2278
+ url: string;
2279
+ name: string;
2280
+ description: string | null;
2281
+ color: string;
2282
+ default: boolean;
2283
+ }[];
2284
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
2285
+ active_lock_reason?: string | null;
2286
+ created_at: string;
2287
+ updated_at: string;
2288
+ closed_at: string | null;
2289
+ merged_at: string | null;
2290
+ merge_commit_sha: string | null;
2291
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2292
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2293
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2294
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
2295
+ head: {
2296
+ label: string;
2297
+ ref: string;
2298
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2299
+ sha: string;
2300
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2301
+ };
2302
+ base: {
2303
+ label: string;
2304
+ ref: string;
2305
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2306
+ sha: string;
2307
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2308
+ };
2309
+ _links: {
2310
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
2311
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
2312
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
2313
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
2314
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
2315
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
2316
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
2317
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
2318
+ };
2319
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
2320
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
2321
+ draft?: boolean;
2322
+ merged: boolean;
2323
+ mergeable: boolean | null;
2324
+ rebaseable?: boolean | null;
2325
+ mergeable_state: string;
2326
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2327
+ comments: number;
2328
+ review_comments: number;
2329
+ maintainer_can_modify: boolean;
2330
+ commits: number;
2331
+ additions: number;
2332
+ deletions: number;
2333
+ changed_files: number;
2334
+ }>;
2335
+ patchPull(pullNumber: number, body: {
2336
+ data: never;
2337
+ }): Promise<{
2338
+ url: string;
2339
+ id: number;
2340
+ node_id: string;
2341
+ html_url: string;
2342
+ diff_url: string;
2343
+ patch_url: string;
2344
+ issue_url: string;
2345
+ commits_url: string;
2346
+ review_comments_url: string;
2347
+ review_comment_url: string;
2348
+ comments_url: string;
2349
+ statuses_url: string;
2350
+ number: number;
2351
+ state: "open" | "closed";
2352
+ locked: boolean;
2353
+ title: string;
2354
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2355
+ body: string | null;
2356
+ labels: {
2357
+ id: number;
2358
+ node_id: string;
2359
+ url: string;
2360
+ name: string;
2361
+ description: string | null;
2362
+ color: string;
2363
+ default: boolean;
2364
+ }[];
2365
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
2366
+ active_lock_reason?: string | null;
2367
+ created_at: string;
2368
+ updated_at: string;
2369
+ closed_at: string | null;
2370
+ merged_at: string | null;
2371
+ merge_commit_sha: string | null;
2372
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2373
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2374
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
2375
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
2376
+ head: {
2377
+ label: string;
2378
+ ref: string;
2379
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2380
+ sha: string;
2381
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2382
+ };
2383
+ base: {
2384
+ label: string;
2385
+ ref: string;
2386
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
2387
+ sha: string;
2388
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2389
+ };
2390
+ _links: {
2391
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
2392
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
2393
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
2394
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
2395
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
2396
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
2397
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
2398
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
2399
+ };
2400
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
2401
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
2402
+ draft?: boolean;
2403
+ merged: boolean;
2404
+ mergeable: boolean | null;
2405
+ rebaseable?: boolean | null;
2406
+ mergeable_state: string;
2407
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2408
+ comments: number;
2409
+ review_comments: number;
2410
+ maintainer_can_modify: boolean;
2411
+ commits: number;
2412
+ additions: number;
2413
+ deletions: number;
2414
+ changed_files: number;
2415
+ }>;
2416
+ getReleases(query?: Record<string, string>): Promise<{
2417
+ url: string;
2418
+ html_url: string;
2419
+ assets_url: string;
2420
+ upload_url: string;
2421
+ tarball_url: string | null;
2422
+ zipball_url: string | null;
2423
+ id: number;
2424
+ node_id: string;
2425
+ tag_name: string;
2426
+ target_commitish: string;
2427
+ name: string | null;
2428
+ body?: string | null;
2429
+ draft: boolean;
2430
+ prerelease: boolean;
2431
+ immutable?: boolean;
2432
+ created_at: string;
2433
+ published_at: string | null;
2434
+ updated_at?: string | null;
2435
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2436
+ assets: import("@octokit/openapi-types").components["schemas"]["release-asset"][];
2437
+ body_html?: string;
2438
+ body_text?: string;
2439
+ mentions_count?: number;
2440
+ discussion_url?: string;
2441
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
2442
+ }[]>;
2443
+ postRelease(body: {
2444
+ tag_name: string;
2445
+ target_commitish?: string;
2446
+ name?: string;
2447
+ body?: string;
2448
+ draft?: boolean;
2449
+ prerelease?: boolean;
2450
+ discussion_category_name?: string;
2451
+ generate_release_notes?: boolean;
2452
+ make_latest?: "true" | "false" | "legacy";
2453
+ }): Promise<{
2454
+ url: string;
2455
+ html_url: string;
2456
+ assets_url: string;
2457
+ upload_url: string;
2458
+ tarball_url: string | null;
2459
+ zipball_url: string | null;
2460
+ id: number;
2461
+ node_id: string;
2462
+ tag_name: string;
2463
+ target_commitish: string;
2464
+ name: string | null;
2465
+ body?: string | null;
2466
+ draft: boolean;
2467
+ prerelease: boolean;
2468
+ immutable?: boolean;
2469
+ created_at: string;
2470
+ published_at: string | null;
2471
+ updated_at?: string | null;
2472
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2473
+ assets: import("@octokit/openapi-types").components["schemas"]["release-asset"][];
2474
+ body_html?: string;
2475
+ body_text?: string;
2476
+ mentions_count?: number;
2477
+ discussion_url?: string;
2478
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
2479
+ }>;
2480
+ getLatestRelease(): Promise<never>;
2481
+ postCommit(body: {
2482
+ message: string;
2483
+ tree: string;
2484
+ parents?: string[];
2485
+ author?: {
2486
+ name: string;
2487
+ email: string;
2488
+ date?: string;
2489
+ };
2490
+ committer?: {
2491
+ name?: string;
2492
+ email?: string;
2493
+ date?: string;
2494
+ };
2495
+ signature?: string;
2496
+ }): Promise<{
2497
+ sha: string;
2498
+ node_id: string;
2499
+ url: string;
2500
+ author: {
2501
+ date: string;
2502
+ email: string;
2503
+ name: string;
2504
+ };
2505
+ committer: {
2506
+ date: string;
2507
+ email: string;
2508
+ name: string;
2509
+ };
2510
+ message: string;
2511
+ tree: {
2512
+ sha: string;
2513
+ url: string;
2514
+ };
2515
+ parents: {
2516
+ sha: string;
2517
+ url: string;
2518
+ html_url: string;
2519
+ }[];
2520
+ verification: {
2521
+ verified: boolean;
2522
+ reason: string;
2523
+ signature: string | null;
2524
+ payload: string | null;
2525
+ verified_at: string | null;
2526
+ };
2527
+ html_url: string;
2528
+ }>;
2529
+ getRuns(query?: Record<string, string | number>): Promise<{
2530
+ id: number;
2531
+ name?: string | null;
2532
+ node_id: string;
2533
+ check_suite_id?: number;
2534
+ check_suite_node_id?: string;
2535
+ head_branch: string | null;
2536
+ head_sha: string;
2537
+ path: string;
2538
+ run_number: number;
2539
+ run_attempt?: number;
2540
+ referenced_workflows?: import("@octokit/openapi-types").components["schemas"]["referenced-workflow"][] | null;
2541
+ event: string;
2542
+ status: string | null;
2543
+ conclusion: string | null;
2544
+ workflow_id: number;
2545
+ url: string;
2546
+ html_url: string;
2547
+ pull_requests: import("@octokit/openapi-types").components["schemas"]["pull-request-minimal"][] | null;
2548
+ created_at: string;
2549
+ updated_at: string;
2550
+ actor?: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2551
+ triggering_actor?: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2552
+ run_started_at?: string;
2553
+ jobs_url: string;
2554
+ logs_url: string;
2555
+ check_suite_url: string;
2556
+ artifacts_url: string;
2557
+ cancel_url: string;
2558
+ rerun_url: string;
2559
+ previous_attempt_url?: string | null;
2560
+ workflow_url: string;
2561
+ head_commit: import("@octokit/openapi-types").components["schemas"]["nullable-simple-commit"];
2562
+ repository: import("@octokit/openapi-types").components["schemas"]["minimal-repository"];
2563
+ head_repository: import("@octokit/openapi-types").components["schemas"]["minimal-repository"];
2564
+ head_repository_id?: number;
2565
+ display_title: string;
2566
+ }[]>;
2567
+ owner: string;
2568
+ repo: string;
2569
+ token: string;
2570
+ get apiOrigin(): string;
2571
+ get requestHeaders(): {
2572
+ accept: string;
2573
+ authorization: string;
2574
+ "X-GitHub-Api-Version": string;
2575
+ };
2576
+ get pageSizeForRequest(): number;
2577
+ getPagedList(query?: Record<string, string>): Promise<{
2578
+ id: number;
2579
+ node_id: string;
2580
+ name: string;
2581
+ full_name: string;
2582
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2583
+ private: boolean;
2584
+ html_url: string;
2585
+ description: string | null;
2586
+ fork: boolean;
2587
+ url: string;
2588
+ archive_url: string;
2589
+ assignees_url: string;
2590
+ blobs_url: string;
2591
+ branches_url: string;
2592
+ collaborators_url: string;
2593
+ comments_url: string;
2594
+ commits_url: string;
2595
+ compare_url: string;
2596
+ contents_url: string;
2597
+ contributors_url: string;
2598
+ deployments_url: string;
2599
+ downloads_url: string;
2600
+ events_url: string;
2601
+ forks_url: string;
2602
+ git_commits_url: string;
2603
+ git_refs_url: string;
2604
+ git_tags_url: string;
2605
+ git_url: string;
2606
+ issue_comment_url: string;
2607
+ issue_events_url: string;
2608
+ issues_url: string;
2609
+ keys_url: string;
2610
+ labels_url: string;
2611
+ languages_url: string;
2612
+ merges_url: string;
2613
+ milestones_url: string;
2614
+ notifications_url: string;
2615
+ pulls_url: string;
2616
+ releases_url: string;
2617
+ ssh_url: string;
2618
+ stargazers_url: string;
2619
+ statuses_url: string;
2620
+ subscribers_url: string;
2621
+ subscription_url: string;
2622
+ tags_url: string;
2623
+ teams_url: string;
2624
+ trees_url: string;
2625
+ clone_url: string;
2626
+ mirror_url: string | null;
2627
+ hooks_url: string;
2628
+ svn_url: string;
2629
+ homepage: string | null;
2630
+ language: string | null;
2631
+ forks_count: number;
2632
+ stargazers_count: number;
2633
+ watchers_count: number;
2634
+ size: number;
2635
+ default_branch: string;
2636
+ open_issues_count: number;
2637
+ is_template?: boolean;
2638
+ topics?: string[];
2639
+ has_issues: boolean;
2640
+ has_projects: boolean;
2641
+ has_wiki: boolean;
2642
+ has_pages: boolean;
2643
+ has_downloads?: boolean;
2644
+ has_discussions: boolean;
2645
+ archived: boolean;
2646
+ disabled: boolean;
2647
+ visibility?: string;
2648
+ pushed_at: string;
2649
+ created_at: string;
2650
+ updated_at: string;
2651
+ permissions?: {
2652
+ admin: boolean;
2653
+ maintain?: boolean;
2654
+ push: boolean;
2655
+ triage?: boolean;
2656
+ pull: boolean;
2657
+ };
2658
+ allow_rebase_merge?: boolean;
2659
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
2660
+ temp_clone_token?: string | null;
2661
+ allow_squash_merge?: boolean;
2662
+ allow_auto_merge?: boolean;
2663
+ delete_branch_on_merge?: boolean;
2664
+ allow_merge_commit?: boolean;
2665
+ allow_update_branch?: boolean;
2666
+ use_squash_pr_title_as_default?: boolean;
2667
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
2668
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
2669
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
2670
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
2671
+ allow_forking?: boolean;
2672
+ web_commit_signoff_required?: boolean;
2673
+ subscribers_count: number;
2674
+ network_count: number;
2675
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
2676
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2677
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
2678
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
2679
+ forks: number;
2680
+ master_branch?: string;
2681
+ open_issues: number;
2682
+ watchers: number;
2683
+ anonymous_access_enabled?: boolean;
2684
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
2685
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
2686
+ custom_properties?: {
2687
+ [key: string]: unknown;
2688
+ };
2689
+ }[]>;
2690
+ getList(query?: Record<string, string>): Promise<{
2691
+ id: number;
2692
+ node_id: string;
2693
+ name: string;
2694
+ full_name: string;
2695
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2696
+ private: boolean;
2697
+ html_url: string;
2698
+ description: string | null;
2699
+ fork: boolean;
2700
+ url: string;
2701
+ archive_url: string;
2702
+ assignees_url: string;
2703
+ blobs_url: string;
2704
+ branches_url: string;
2705
+ collaborators_url: string;
2706
+ comments_url: string;
2707
+ commits_url: string;
2708
+ compare_url: string;
2709
+ contents_url: string;
2710
+ contributors_url: string;
2711
+ deployments_url: string;
2712
+ downloads_url: string;
2713
+ events_url: string;
2714
+ forks_url: string;
2715
+ git_commits_url: string;
2716
+ git_refs_url: string;
2717
+ git_tags_url: string;
2718
+ git_url: string;
2719
+ issue_comment_url: string;
2720
+ issue_events_url: string;
2721
+ issues_url: string;
2722
+ keys_url: string;
2723
+ labels_url: string;
2724
+ languages_url: string;
2725
+ merges_url: string;
2726
+ milestones_url: string;
2727
+ notifications_url: string;
2728
+ pulls_url: string;
2729
+ releases_url: string;
2730
+ ssh_url: string;
2731
+ stargazers_url: string;
2732
+ statuses_url: string;
2733
+ subscribers_url: string;
2734
+ subscription_url: string;
2735
+ tags_url: string;
2736
+ teams_url: string;
2737
+ trees_url: string;
2738
+ clone_url: string;
2739
+ mirror_url: string | null;
2740
+ hooks_url: string;
2741
+ svn_url: string;
2742
+ homepage: string | null;
2743
+ language: string | null;
2744
+ forks_count: number;
2745
+ stargazers_count: number;
2746
+ watchers_count: number;
2747
+ size: number;
2748
+ default_branch: string;
2749
+ open_issues_count: number;
2750
+ is_template?: boolean;
2751
+ topics?: string[];
2752
+ has_issues: boolean;
2753
+ has_projects: boolean;
2754
+ has_wiki: boolean;
2755
+ has_pages: boolean;
2756
+ has_downloads?: boolean;
2757
+ has_discussions: boolean;
2758
+ archived: boolean;
2759
+ disabled: boolean;
2760
+ visibility?: string;
2761
+ pushed_at: string;
2762
+ created_at: string;
2763
+ updated_at: string;
2764
+ permissions?: {
2765
+ admin: boolean;
2766
+ maintain?: boolean;
2767
+ push: boolean;
2768
+ triage?: boolean;
2769
+ pull: boolean;
2770
+ };
2771
+ allow_rebase_merge?: boolean;
2772
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
2773
+ temp_clone_token?: string | null;
2774
+ allow_squash_merge?: boolean;
2775
+ allow_auto_merge?: boolean;
2776
+ delete_branch_on_merge?: boolean;
2777
+ allow_merge_commit?: boolean;
2778
+ allow_update_branch?: boolean;
2779
+ use_squash_pr_title_as_default?: boolean;
2780
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
2781
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
2782
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
2783
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
2784
+ allow_forking?: boolean;
2785
+ web_commit_signoff_required?: boolean;
2786
+ subscribers_count: number;
2787
+ network_count: number;
2788
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
2789
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2790
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
2791
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
2792
+ forks: number;
2793
+ master_branch?: string;
2794
+ open_issues: number;
2795
+ watchers: number;
2796
+ anonymous_access_enabled?: boolean;
2797
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
2798
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
2799
+ custom_properties?: {
2800
+ [key: string]: unknown;
2801
+ };
2802
+ }[]>;
2803
+ get(): Promise<{
2804
+ id: number;
2805
+ node_id: string;
2806
+ name: string;
2807
+ full_name: string;
2808
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2809
+ private: boolean;
2810
+ html_url: string;
2811
+ description: string | null;
2812
+ fork: boolean;
2813
+ url: string;
2814
+ archive_url: string;
2815
+ assignees_url: string;
2816
+ blobs_url: string;
2817
+ branches_url: string;
2818
+ collaborators_url: string;
2819
+ comments_url: string;
2820
+ commits_url: string;
2821
+ compare_url: string;
2822
+ contents_url: string;
2823
+ contributors_url: string;
2824
+ deployments_url: string;
2825
+ downloads_url: string;
2826
+ events_url: string;
2827
+ forks_url: string;
2828
+ git_commits_url: string;
2829
+ git_refs_url: string;
2830
+ git_tags_url: string;
2831
+ git_url: string;
2832
+ issue_comment_url: string;
2833
+ issue_events_url: string;
2834
+ issues_url: string;
2835
+ keys_url: string;
2836
+ labels_url: string;
2837
+ languages_url: string;
2838
+ merges_url: string;
2839
+ milestones_url: string;
2840
+ notifications_url: string;
2841
+ pulls_url: string;
2842
+ releases_url: string;
2843
+ ssh_url: string;
2844
+ stargazers_url: string;
2845
+ statuses_url: string;
2846
+ subscribers_url: string;
2847
+ subscription_url: string;
2848
+ tags_url: string;
2849
+ teams_url: string;
2850
+ trees_url: string;
2851
+ clone_url: string;
2852
+ mirror_url: string | null;
2853
+ hooks_url: string;
2854
+ svn_url: string;
2855
+ homepage: string | null;
2856
+ language: string | null;
2857
+ forks_count: number;
2858
+ stargazers_count: number;
2859
+ watchers_count: number;
2860
+ size: number;
2861
+ default_branch: string;
2862
+ open_issues_count: number;
2863
+ is_template?: boolean;
2864
+ topics?: string[];
2865
+ has_issues: boolean;
2866
+ has_projects: boolean;
2867
+ has_wiki: boolean;
2868
+ has_pages: boolean;
2869
+ has_downloads?: boolean;
2870
+ has_discussions: boolean;
2871
+ archived: boolean;
2872
+ disabled: boolean;
2873
+ visibility?: string;
2874
+ pushed_at: string;
2875
+ created_at: string;
2876
+ updated_at: string;
2877
+ permissions?: {
2878
+ admin: boolean;
2879
+ maintain?: boolean;
2880
+ push: boolean;
2881
+ triage?: boolean;
2882
+ pull: boolean;
2883
+ };
2884
+ allow_rebase_merge?: boolean;
2885
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
2886
+ temp_clone_token?: string | null;
2887
+ allow_squash_merge?: boolean;
2888
+ allow_auto_merge?: boolean;
2889
+ delete_branch_on_merge?: boolean;
2890
+ allow_merge_commit?: boolean;
2891
+ allow_update_branch?: boolean;
2892
+ use_squash_pr_title_as_default?: boolean;
2893
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
2894
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
2895
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
2896
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
2897
+ allow_forking?: boolean;
2898
+ web_commit_signoff_required?: boolean;
2899
+ subscribers_count: number;
2900
+ network_count: number;
2901
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
2902
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2903
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
2904
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
2905
+ forks: number;
2906
+ master_branch?: string;
2907
+ open_issues: number;
2908
+ watchers: number;
2909
+ anonymous_access_enabled?: boolean;
2910
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
2911
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
2912
+ custom_properties?: {
2913
+ [key: string]: unknown;
2914
+ };
2915
+ }>;
2916
+ post(body: {
2917
+ data: never;
2918
+ }): Promise<{
2919
+ id: number;
2920
+ node_id: string;
2921
+ name: string;
2922
+ full_name: string;
2923
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2924
+ private: boolean;
2925
+ html_url: string;
2926
+ description: string | null;
2927
+ fork: boolean;
2928
+ url: string;
2929
+ archive_url: string;
2930
+ assignees_url: string;
2931
+ blobs_url: string;
2932
+ branches_url: string;
2933
+ collaborators_url: string;
2934
+ comments_url: string;
2935
+ commits_url: string;
2936
+ compare_url: string;
2937
+ contents_url: string;
2938
+ contributors_url: string;
2939
+ deployments_url: string;
2940
+ downloads_url: string;
2941
+ events_url: string;
2942
+ forks_url: string;
2943
+ git_commits_url: string;
2944
+ git_refs_url: string;
2945
+ git_tags_url: string;
2946
+ git_url: string;
2947
+ issue_comment_url: string;
2948
+ issue_events_url: string;
2949
+ issues_url: string;
2950
+ keys_url: string;
2951
+ labels_url: string;
2952
+ languages_url: string;
2953
+ merges_url: string;
2954
+ milestones_url: string;
2955
+ notifications_url: string;
2956
+ pulls_url: string;
2957
+ releases_url: string;
2958
+ ssh_url: string;
2959
+ stargazers_url: string;
2960
+ statuses_url: string;
2961
+ subscribers_url: string;
2962
+ subscription_url: string;
2963
+ tags_url: string;
2964
+ teams_url: string;
2965
+ trees_url: string;
2966
+ clone_url: string;
2967
+ mirror_url: string | null;
2968
+ hooks_url: string;
2969
+ svn_url: string;
2970
+ homepage: string | null;
2971
+ language: string | null;
2972
+ forks_count: number;
2973
+ stargazers_count: number;
2974
+ watchers_count: number;
2975
+ size: number;
2976
+ default_branch: string;
2977
+ open_issues_count: number;
2978
+ is_template?: boolean;
2979
+ topics?: string[];
2980
+ has_issues: boolean;
2981
+ has_projects: boolean;
2982
+ has_wiki: boolean;
2983
+ has_pages: boolean;
2984
+ has_downloads?: boolean;
2985
+ has_discussions: boolean;
2986
+ archived: boolean;
2987
+ disabled: boolean;
2988
+ visibility?: string;
2989
+ pushed_at: string;
2990
+ created_at: string;
2991
+ updated_at: string;
2992
+ permissions?: {
2993
+ admin: boolean;
2994
+ maintain?: boolean;
2995
+ push: boolean;
2996
+ triage?: boolean;
2997
+ pull: boolean;
2998
+ };
2999
+ allow_rebase_merge?: boolean;
3000
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
3001
+ temp_clone_token?: string | null;
3002
+ allow_squash_merge?: boolean;
3003
+ allow_auto_merge?: boolean;
3004
+ delete_branch_on_merge?: boolean;
3005
+ allow_merge_commit?: boolean;
3006
+ allow_update_branch?: boolean;
3007
+ use_squash_pr_title_as_default?: boolean;
3008
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
3009
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
3010
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
3011
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
3012
+ allow_forking?: boolean;
3013
+ web_commit_signoff_required?: boolean;
3014
+ subscribers_count: number;
3015
+ network_count: number;
3016
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
3017
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3018
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
3019
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
3020
+ forks: number;
3021
+ master_branch?: string;
3022
+ open_issues: number;
3023
+ watchers: number;
3024
+ anonymous_access_enabled?: boolean;
3025
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
3026
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
3027
+ custom_properties?: {
3028
+ [key: string]: unknown;
3029
+ };
3030
+ }>;
3031
+ patch(body: {
3032
+ data: never;
3033
+ }): Promise<{
3034
+ id: number;
3035
+ node_id: string;
3036
+ name: string;
3037
+ full_name: string;
3038
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
3039
+ private: boolean;
3040
+ html_url: string;
3041
+ description: string | null;
3042
+ fork: boolean;
3043
+ url: string;
3044
+ archive_url: string;
3045
+ assignees_url: string;
3046
+ blobs_url: string;
3047
+ branches_url: string;
3048
+ collaborators_url: string;
3049
+ comments_url: string;
3050
+ commits_url: string;
3051
+ compare_url: string;
3052
+ contents_url: string;
3053
+ contributors_url: string;
3054
+ deployments_url: string;
3055
+ downloads_url: string;
3056
+ events_url: string;
3057
+ forks_url: string;
3058
+ git_commits_url: string;
3059
+ git_refs_url: string;
3060
+ git_tags_url: string;
3061
+ git_url: string;
3062
+ issue_comment_url: string;
3063
+ issue_events_url: string;
3064
+ issues_url: string;
3065
+ keys_url: string;
3066
+ labels_url: string;
3067
+ languages_url: string;
3068
+ merges_url: string;
3069
+ milestones_url: string;
3070
+ notifications_url: string;
3071
+ pulls_url: string;
3072
+ releases_url: string;
3073
+ ssh_url: string;
3074
+ stargazers_url: string;
3075
+ statuses_url: string;
3076
+ subscribers_url: string;
3077
+ subscription_url: string;
3078
+ tags_url: string;
3079
+ teams_url: string;
3080
+ trees_url: string;
3081
+ clone_url: string;
3082
+ mirror_url: string | null;
3083
+ hooks_url: string;
3084
+ svn_url: string;
3085
+ homepage: string | null;
3086
+ language: string | null;
3087
+ forks_count: number;
3088
+ stargazers_count: number;
3089
+ watchers_count: number;
3090
+ size: number;
3091
+ default_branch: string;
3092
+ open_issues_count: number;
3093
+ is_template?: boolean;
3094
+ topics?: string[];
3095
+ has_issues: boolean;
3096
+ has_projects: boolean;
3097
+ has_wiki: boolean;
3098
+ has_pages: boolean;
3099
+ has_downloads?: boolean;
3100
+ has_discussions: boolean;
3101
+ archived: boolean;
3102
+ disabled: boolean;
3103
+ visibility?: string;
3104
+ pushed_at: string;
3105
+ created_at: string;
3106
+ updated_at: string;
3107
+ permissions?: {
3108
+ admin: boolean;
3109
+ maintain?: boolean;
3110
+ push: boolean;
3111
+ triage?: boolean;
3112
+ pull: boolean;
3113
+ };
3114
+ allow_rebase_merge?: boolean;
3115
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
3116
+ temp_clone_token?: string | null;
3117
+ allow_squash_merge?: boolean;
3118
+ allow_auto_merge?: boolean;
3119
+ delete_branch_on_merge?: boolean;
3120
+ allow_merge_commit?: boolean;
3121
+ allow_update_branch?: boolean;
3122
+ use_squash_pr_title_as_default?: boolean;
3123
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
3124
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
3125
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
3126
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
3127
+ allow_forking?: boolean;
3128
+ web_commit_signoff_required?: boolean;
3129
+ subscribers_count: number;
3130
+ network_count: number;
3131
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
3132
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3133
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
3134
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
3135
+ forks: number;
3136
+ master_branch?: string;
3137
+ open_issues: number;
3138
+ watchers: number;
3139
+ anonymous_access_enabled?: boolean;
3140
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
3141
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
3142
+ custom_properties?: {
3143
+ [key: string]: unknown;
3144
+ };
3145
+ }>;
3146
+ delete(): Promise<void>;
3147
+ };
3148
+ };
3149
+ GitHubRepositoryIssues: {
3150
+ new (owner: string, repo: string): {
3151
+ get apiEndpoint(): string;
3152
+ get pageSizeForRequest(): number;
3153
+ getList(query?: Record<string, string>): Promise<{
3154
+ id: number;
3155
+ node_id: string;
3156
+ url: string;
3157
+ repository_url: string;
3158
+ labels_url: string;
3159
+ comments_url: string;
3160
+ events_url: string;
3161
+ html_url: string;
3162
+ number: number;
3163
+ state: string;
3164
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
3165
+ title: string;
3166
+ body?: string | null;
3167
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3168
+ labels: import("@octokit/openapi-types").OneOf<[string, {
3169
+ id?: number;
3170
+ node_id?: string;
3171
+ url?: string;
3172
+ name?: string;
3173
+ description?: string | null;
3174
+ color?: string | null;
3175
+ default?: boolean;
3176
+ }]>[];
3177
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3178
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
3179
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
3180
+ locked: boolean;
3181
+ active_lock_reason?: string | null;
3182
+ comments: number;
3183
+ pull_request?: {
3184
+ merged_at?: string | null;
3185
+ diff_url: string | null;
3186
+ html_url: string | null;
3187
+ patch_url: string | null;
3188
+ url: string | null;
3189
+ };
3190
+ closed_at: string | null;
3191
+ created_at: string;
3192
+ updated_at: string;
3193
+ draft?: boolean;
3194
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3195
+ body_html?: string;
3196
+ body_text?: string;
3197
+ timeline_url?: string;
3198
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
3199
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
3200
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
3201
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
3202
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
3203
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
3204
+ parent_issue_url?: string | null;
3205
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
3206
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
3207
+ }[]>;
3208
+ owner: string;
3209
+ repo: string;
3210
+ token: string;
3211
+ get apiOrigin(): string;
3212
+ get requestHeaders(): {
3213
+ accept: string;
3214
+ authorization: string;
3215
+ "X-GitHub-Api-Version": string;
3216
+ };
3217
+ getPagedList(query?: Record<string, string>): Promise<{
3218
+ id: number;
3219
+ node_id: string;
3220
+ url: string;
3221
+ repository_url: string;
3222
+ labels_url: string;
3223
+ comments_url: string;
3224
+ events_url: string;
3225
+ html_url: string;
3226
+ number: number;
3227
+ state: string;
3228
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
3229
+ title: string;
3230
+ body?: string | null;
3231
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3232
+ labels: import("@octokit/openapi-types").OneOf<[string, {
3233
+ id?: number;
3234
+ node_id?: string;
3235
+ url?: string;
3236
+ name?: string;
3237
+ description?: string | null;
3238
+ color?: string | null;
3239
+ default?: boolean;
3240
+ }]>[];
3241
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3242
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
3243
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
3244
+ locked: boolean;
3245
+ active_lock_reason?: string | null;
3246
+ comments: number;
3247
+ pull_request?: {
3248
+ merged_at?: string | null;
3249
+ diff_url: string | null;
3250
+ html_url: string | null;
3251
+ patch_url: string | null;
3252
+ url: string | null;
3253
+ };
3254
+ closed_at: string | null;
3255
+ created_at: string;
3256
+ updated_at: string;
3257
+ draft?: boolean;
3258
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3259
+ body_html?: string;
3260
+ body_text?: string;
3261
+ timeline_url?: string;
3262
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
3263
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
3264
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
3265
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
3266
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
3267
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
3268
+ parent_issue_url?: string | null;
3269
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
3270
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
3271
+ }[]>;
3272
+ get(): Promise<{
3273
+ id: number;
3274
+ node_id: string;
3275
+ url: string;
3276
+ repository_url: string;
3277
+ labels_url: string;
3278
+ comments_url: string;
3279
+ events_url: string;
3280
+ html_url: string;
3281
+ number: number;
3282
+ state: string;
3283
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
3284
+ title: string;
3285
+ body?: string | null;
3286
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3287
+ labels: import("@octokit/openapi-types").OneOf<[string, {
3288
+ id?: number;
3289
+ node_id?: string;
3290
+ url?: string;
3291
+ name?: string;
3292
+ description?: string | null;
3293
+ color?: string | null;
3294
+ default?: boolean;
3295
+ }]>[];
3296
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3297
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
3298
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
3299
+ locked: boolean;
3300
+ active_lock_reason?: string | null;
3301
+ comments: number;
3302
+ pull_request?: {
3303
+ merged_at?: string | null;
3304
+ diff_url: string | null;
3305
+ html_url: string | null;
3306
+ patch_url: string | null;
3307
+ url: string | null;
3308
+ };
3309
+ closed_at: string | null;
3310
+ created_at: string;
3311
+ updated_at: string;
3312
+ draft?: boolean;
3313
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3314
+ body_html?: string;
3315
+ body_text?: string;
3316
+ timeline_url?: string;
3317
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
3318
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
3319
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
3320
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
3321
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
3322
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
3323
+ parent_issue_url?: string | null;
3324
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
3325
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
3326
+ }>;
3327
+ post(body: {
3328
+ title: string | number;
3329
+ body?: string;
3330
+ assignee?: string | null;
3331
+ milestone?: string | number | null;
3332
+ labels?: import("@octokit/openapi-types").OneOf<[string, {
3333
+ id?: number;
3334
+ name?: string;
3335
+ description?: string | null;
3336
+ color?: string | null;
3337
+ }]>[];
3338
+ assignees?: string[];
3339
+ type?: string | null;
3340
+ }): Promise<{
3341
+ id: number;
3342
+ node_id: string;
3343
+ url: string;
3344
+ repository_url: string;
3345
+ labels_url: string;
3346
+ comments_url: string;
3347
+ events_url: string;
3348
+ html_url: string;
3349
+ number: number;
3350
+ state: string;
3351
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
3352
+ title: string;
3353
+ body?: string | null;
3354
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3355
+ labels: import("@octokit/openapi-types").OneOf<[string, {
3356
+ id?: number;
3357
+ node_id?: string;
3358
+ url?: string;
3359
+ name?: string;
3360
+ description?: string | null;
3361
+ color?: string | null;
3362
+ default?: boolean;
3363
+ }]>[];
3364
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3365
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
3366
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
3367
+ locked: boolean;
3368
+ active_lock_reason?: string | null;
3369
+ comments: number;
3370
+ pull_request?: {
3371
+ merged_at?: string | null;
3372
+ diff_url: string | null;
3373
+ html_url: string | null;
3374
+ patch_url: string | null;
3375
+ url: string | null;
3376
+ };
3377
+ closed_at: string | null;
3378
+ created_at: string;
3379
+ updated_at: string;
3380
+ draft?: boolean;
3381
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3382
+ body_html?: string;
3383
+ body_text?: string;
3384
+ timeline_url?: string;
3385
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
3386
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
3387
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
3388
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
3389
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
3390
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
3391
+ parent_issue_url?: string | null;
3392
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
3393
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
3394
+ }>;
3395
+ patch(body: {
3396
+ title: string | number;
3397
+ body?: string;
3398
+ assignee?: string | null;
3399
+ milestone?: string | number | null;
3400
+ labels?: import("@octokit/openapi-types").OneOf<[string, {
3401
+ id?: number;
3402
+ name?: string;
3403
+ description?: string | null;
3404
+ color?: string | null;
3405
+ }]>[];
3406
+ assignees?: string[];
3407
+ type?: string | null;
3408
+ }): Promise<{
3409
+ id: number;
3410
+ node_id: string;
3411
+ url: string;
3412
+ repository_url: string;
3413
+ labels_url: string;
3414
+ comments_url: string;
3415
+ events_url: string;
3416
+ html_url: string;
3417
+ number: number;
3418
+ state: string;
3419
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
3420
+ title: string;
3421
+ body?: string | null;
3422
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3423
+ labels: import("@octokit/openapi-types").OneOf<[string, {
3424
+ id?: number;
3425
+ node_id?: string;
3426
+ url?: string;
3427
+ name?: string;
3428
+ description?: string | null;
3429
+ color?: string | null;
3430
+ default?: boolean;
3431
+ }]>[];
3432
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3433
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
3434
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
3435
+ locked: boolean;
3436
+ active_lock_reason?: string | null;
3437
+ comments: number;
3438
+ pull_request?: {
3439
+ merged_at?: string | null;
3440
+ diff_url: string | null;
3441
+ html_url: string | null;
3442
+ patch_url: string | null;
3443
+ url: string | null;
3444
+ };
3445
+ closed_at: string | null;
3446
+ created_at: string;
3447
+ updated_at: string;
3448
+ draft?: boolean;
3449
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
3450
+ body_html?: string;
3451
+ body_text?: string;
3452
+ timeline_url?: string;
3453
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
3454
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
3455
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
3456
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
3457
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
3458
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
3459
+ parent_issue_url?: string | null;
3460
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
3461
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
3462
+ }>;
3463
+ delete(): Promise<void>;
3464
+ };
3465
+ };
3466
+ GitHubUser: {
3467
+ new (): {
3468
+ get apiEndpoint(): string;
3469
+ token: string;
3470
+ get apiOrigin(): string;
3471
+ get requestHeaders(): {
3472
+ accept: string;
3473
+ authorization: string;
3474
+ "X-GitHub-Api-Version": string;
3475
+ };
3476
+ get pageSizeForRequest(): number;
3477
+ getPagedList(query?: Record<string, string>): Promise<({
3478
+ login: string;
3479
+ id: number;
3480
+ user_view_type?: string;
3481
+ node_id: string;
3482
+ avatar_url: string;
3483
+ gravatar_id: string | null;
3484
+ url: string;
3485
+ html_url: string;
3486
+ followers_url: string;
3487
+ following_url: string;
3488
+ gists_url: string;
3489
+ starred_url: string;
3490
+ subscriptions_url: string;
3491
+ organizations_url: string;
3492
+ repos_url: string;
3493
+ events_url: string;
3494
+ received_events_url: string;
3495
+ type: string;
3496
+ site_admin: boolean;
3497
+ name: string | null;
3498
+ company: string | null;
3499
+ blog: string | null;
3500
+ location: string | null;
3501
+ email: string | null;
3502
+ notification_email?: string | null;
3503
+ hireable: boolean | null;
3504
+ bio: string | null;
3505
+ twitter_username?: string | null;
3506
+ public_repos: number;
3507
+ public_gists: number;
3508
+ followers: number;
3509
+ following: number;
3510
+ created_at: string;
3511
+ updated_at: string;
3512
+ private_gists: number;
3513
+ total_private_repos: number;
3514
+ owned_private_repos: number;
3515
+ disk_usage: number;
3516
+ collaborators: number;
3517
+ two_factor_authentication: boolean;
3518
+ plan?: {
3519
+ collaborators: number;
3520
+ name: string;
3521
+ space: number;
3522
+ private_repos: number;
3523
+ };
3524
+ business_plus?: boolean;
3525
+ ldap_dn?: string;
3526
+ } | {
3527
+ login: string;
3528
+ id: number;
3529
+ user_view_type?: string;
3530
+ node_id: string;
3531
+ avatar_url: string;
3532
+ gravatar_id: string | null;
3533
+ url: string;
3534
+ html_url: string;
3535
+ followers_url: string;
3536
+ following_url: string;
3537
+ gists_url: string;
3538
+ starred_url: string;
3539
+ subscriptions_url: string;
3540
+ organizations_url: string;
3541
+ repos_url: string;
3542
+ events_url: string;
3543
+ received_events_url: string;
3544
+ type: string;
3545
+ site_admin: boolean;
3546
+ name: string | null;
3547
+ company: string | null;
3548
+ blog: string | null;
3549
+ location: string | null;
3550
+ email: string | null;
3551
+ notification_email?: string | null;
3552
+ hireable: boolean | null;
3553
+ bio: string | null;
3554
+ twitter_username?: string | null;
3555
+ public_repos: number;
3556
+ public_gists: number;
3557
+ followers: number;
3558
+ following: number;
3559
+ created_at: string;
3560
+ updated_at: string;
3561
+ plan?: {
3562
+ collaborators: number;
3563
+ name: string;
3564
+ space: number;
3565
+ private_repos: number;
3566
+ };
3567
+ private_gists?: number;
3568
+ total_private_repos?: number;
3569
+ owned_private_repos?: number;
3570
+ disk_usage?: number;
3571
+ collaborators?: number;
3572
+ })[]>;
3573
+ getList(query?: Record<string, string>): Promise<({
3574
+ login: string;
3575
+ id: number;
3576
+ user_view_type?: string;
3577
+ node_id: string;
3578
+ avatar_url: string;
3579
+ gravatar_id: string | null;
3580
+ url: string;
3581
+ html_url: string;
3582
+ followers_url: string;
3583
+ following_url: string;
3584
+ gists_url: string;
3585
+ starred_url: string;
3586
+ subscriptions_url: string;
3587
+ organizations_url: string;
3588
+ repos_url: string;
3589
+ events_url: string;
3590
+ received_events_url: string;
3591
+ type: string;
3592
+ site_admin: boolean;
3593
+ name: string | null;
3594
+ company: string | null;
3595
+ blog: string | null;
3596
+ location: string | null;
3597
+ email: string | null;
3598
+ notification_email?: string | null;
3599
+ hireable: boolean | null;
3600
+ bio: string | null;
3601
+ twitter_username?: string | null;
3602
+ public_repos: number;
3603
+ public_gists: number;
3604
+ followers: number;
3605
+ following: number;
3606
+ created_at: string;
3607
+ updated_at: string;
3608
+ private_gists: number;
3609
+ total_private_repos: number;
3610
+ owned_private_repos: number;
3611
+ disk_usage: number;
3612
+ collaborators: number;
3613
+ two_factor_authentication: boolean;
3614
+ plan?: {
3615
+ collaborators: number;
3616
+ name: string;
3617
+ space: number;
3618
+ private_repos: number;
3619
+ };
3620
+ business_plus?: boolean;
3621
+ ldap_dn?: string;
3622
+ } | {
3623
+ login: string;
3624
+ id: number;
3625
+ user_view_type?: string;
3626
+ node_id: string;
3627
+ avatar_url: string;
3628
+ gravatar_id: string | null;
3629
+ url: string;
3630
+ html_url: string;
3631
+ followers_url: string;
3632
+ following_url: string;
3633
+ gists_url: string;
3634
+ starred_url: string;
3635
+ subscriptions_url: string;
3636
+ organizations_url: string;
3637
+ repos_url: string;
3638
+ events_url: string;
3639
+ received_events_url: string;
3640
+ type: string;
3641
+ site_admin: boolean;
3642
+ name: string | null;
3643
+ company: string | null;
3644
+ blog: string | null;
3645
+ location: string | null;
3646
+ email: string | null;
3647
+ notification_email?: string | null;
3648
+ hireable: boolean | null;
3649
+ bio: string | null;
3650
+ twitter_username?: string | null;
3651
+ public_repos: number;
3652
+ public_gists: number;
3653
+ followers: number;
3654
+ following: number;
3655
+ created_at: string;
3656
+ updated_at: string;
3657
+ plan?: {
3658
+ collaborators: number;
3659
+ name: string;
3660
+ space: number;
3661
+ private_repos: number;
3662
+ };
3663
+ private_gists?: number;
3664
+ total_private_repos?: number;
3665
+ owned_private_repos?: number;
3666
+ disk_usage?: number;
3667
+ collaborators?: number;
3668
+ })[]>;
3669
+ get(): Promise<{
3670
+ login: string;
3671
+ id: number;
3672
+ user_view_type?: string;
3673
+ node_id: string;
3674
+ avatar_url: string;
3675
+ gravatar_id: string | null;
3676
+ url: string;
3677
+ html_url: string;
3678
+ followers_url: string;
3679
+ following_url: string;
3680
+ gists_url: string;
3681
+ starred_url: string;
3682
+ subscriptions_url: string;
3683
+ organizations_url: string;
3684
+ repos_url: string;
3685
+ events_url: string;
3686
+ received_events_url: string;
3687
+ type: string;
3688
+ site_admin: boolean;
3689
+ name: string | null;
3690
+ company: string | null;
3691
+ blog: string | null;
3692
+ location: string | null;
3693
+ email: string | null;
3694
+ notification_email?: string | null;
3695
+ hireable: boolean | null;
3696
+ bio: string | null;
3697
+ twitter_username?: string | null;
3698
+ public_repos: number;
3699
+ public_gists: number;
3700
+ followers: number;
3701
+ following: number;
3702
+ created_at: string;
3703
+ updated_at: string;
3704
+ private_gists: number;
3705
+ total_private_repos: number;
3706
+ owned_private_repos: number;
3707
+ disk_usage: number;
3708
+ collaborators: number;
3709
+ two_factor_authentication: boolean;
3710
+ plan?: {
3711
+ collaborators: number;
3712
+ name: string;
3713
+ space: number;
3714
+ private_repos: number;
3715
+ };
3716
+ business_plus?: boolean;
3717
+ ldap_dn?: string;
3718
+ } | {
3719
+ login: string;
3720
+ id: number;
3721
+ user_view_type?: string;
3722
+ node_id: string;
3723
+ avatar_url: string;
3724
+ gravatar_id: string | null;
3725
+ url: string;
3726
+ html_url: string;
3727
+ followers_url: string;
3728
+ following_url: string;
3729
+ gists_url: string;
3730
+ starred_url: string;
3731
+ subscriptions_url: string;
3732
+ organizations_url: string;
3733
+ repos_url: string;
3734
+ events_url: string;
3735
+ received_events_url: string;
3736
+ type: string;
3737
+ site_admin: boolean;
3738
+ name: string | null;
3739
+ company: string | null;
3740
+ blog: string | null;
3741
+ location: string | null;
3742
+ email: string | null;
3743
+ notification_email?: string | null;
3744
+ hireable: boolean | null;
3745
+ bio: string | null;
3746
+ twitter_username?: string | null;
3747
+ public_repos: number;
3748
+ public_gists: number;
3749
+ followers: number;
3750
+ following: number;
3751
+ created_at: string;
3752
+ updated_at: string;
3753
+ plan?: {
3754
+ collaborators: number;
3755
+ name: string;
3756
+ space: number;
3757
+ private_repos: number;
3758
+ };
3759
+ private_gists?: number;
3760
+ total_private_repos?: number;
3761
+ owned_private_repos?: number;
3762
+ disk_usage?: number;
3763
+ collaborators?: number;
3764
+ }>;
3765
+ post(body: {
3766
+ blog?: string;
3767
+ name?: string;
3768
+ }): Promise<{
3769
+ login: string;
3770
+ id: number;
3771
+ user_view_type?: string;
3772
+ node_id: string;
3773
+ avatar_url: string;
3774
+ gravatar_id: string | null;
3775
+ url: string;
3776
+ html_url: string;
3777
+ followers_url: string;
3778
+ following_url: string;
3779
+ gists_url: string;
3780
+ starred_url: string;
3781
+ subscriptions_url: string;
3782
+ organizations_url: string;
3783
+ repos_url: string;
3784
+ events_url: string;
3785
+ received_events_url: string;
3786
+ type: string;
3787
+ site_admin: boolean;
3788
+ name: string | null;
3789
+ company: string | null;
3790
+ blog: string | null;
3791
+ location: string | null;
3792
+ email: string | null;
3793
+ notification_email?: string | null;
3794
+ hireable: boolean | null;
3795
+ bio: string | null;
3796
+ twitter_username?: string | null;
3797
+ public_repos: number;
3798
+ public_gists: number;
3799
+ followers: number;
3800
+ following: number;
3801
+ created_at: string;
3802
+ updated_at: string;
3803
+ private_gists: number;
3804
+ total_private_repos: number;
3805
+ owned_private_repos: number;
3806
+ disk_usage: number;
3807
+ collaborators: number;
3808
+ two_factor_authentication: boolean;
3809
+ plan?: {
3810
+ collaborators: number;
3811
+ name: string;
3812
+ space: number;
3813
+ private_repos: number;
3814
+ };
3815
+ business_plus?: boolean;
3816
+ ldap_dn?: string;
3817
+ } | {
3818
+ login: string;
3819
+ id: number;
3820
+ user_view_type?: string;
3821
+ node_id: string;
3822
+ avatar_url: string;
3823
+ gravatar_id: string | null;
3824
+ url: string;
3825
+ html_url: string;
3826
+ followers_url: string;
3827
+ following_url: string;
3828
+ gists_url: string;
3829
+ starred_url: string;
3830
+ subscriptions_url: string;
3831
+ organizations_url: string;
3832
+ repos_url: string;
3833
+ events_url: string;
3834
+ received_events_url: string;
3835
+ type: string;
3836
+ site_admin: boolean;
3837
+ name: string | null;
3838
+ company: string | null;
3839
+ blog: string | null;
3840
+ location: string | null;
3841
+ email: string | null;
3842
+ notification_email?: string | null;
3843
+ hireable: boolean | null;
3844
+ bio: string | null;
3845
+ twitter_username?: string | null;
3846
+ public_repos: number;
3847
+ public_gists: number;
3848
+ followers: number;
3849
+ following: number;
3850
+ created_at: string;
3851
+ updated_at: string;
3852
+ plan?: {
3853
+ collaborators: number;
3854
+ name: string;
3855
+ space: number;
3856
+ private_repos: number;
3857
+ };
3858
+ private_gists?: number;
3859
+ total_private_repos?: number;
3860
+ owned_private_repos?: number;
3861
+ disk_usage?: number;
3862
+ collaborators?: number;
3863
+ }>;
3864
+ patch(body: {
3865
+ blog?: string;
3866
+ name?: string;
3867
+ }): Promise<{
3868
+ login: string;
3869
+ id: number;
3870
+ user_view_type?: string;
3871
+ node_id: string;
3872
+ avatar_url: string;
3873
+ gravatar_id: string | null;
3874
+ url: string;
3875
+ html_url: string;
3876
+ followers_url: string;
3877
+ following_url: string;
3878
+ gists_url: string;
3879
+ starred_url: string;
3880
+ subscriptions_url: string;
3881
+ organizations_url: string;
3882
+ repos_url: string;
3883
+ events_url: string;
3884
+ received_events_url: string;
3885
+ type: string;
3886
+ site_admin: boolean;
3887
+ name: string | null;
3888
+ company: string | null;
3889
+ blog: string | null;
3890
+ location: string | null;
3891
+ email: string | null;
3892
+ notification_email?: string | null;
3893
+ hireable: boolean | null;
3894
+ bio: string | null;
3895
+ twitter_username?: string | null;
3896
+ public_repos: number;
3897
+ public_gists: number;
3898
+ followers: number;
3899
+ following: number;
3900
+ created_at: string;
3901
+ updated_at: string;
3902
+ private_gists: number;
3903
+ total_private_repos: number;
3904
+ owned_private_repos: number;
3905
+ disk_usage: number;
3906
+ collaborators: number;
3907
+ two_factor_authentication: boolean;
3908
+ plan?: {
3909
+ collaborators: number;
3910
+ name: string;
3911
+ space: number;
3912
+ private_repos: number;
3913
+ };
3914
+ business_plus?: boolean;
3915
+ ldap_dn?: string;
3916
+ } | {
3917
+ login: string;
3918
+ id: number;
3919
+ user_view_type?: string;
3920
+ node_id: string;
3921
+ avatar_url: string;
3922
+ gravatar_id: string | null;
3923
+ url: string;
3924
+ html_url: string;
3925
+ followers_url: string;
3926
+ following_url: string;
3927
+ gists_url: string;
3928
+ starred_url: string;
3929
+ subscriptions_url: string;
3930
+ organizations_url: string;
3931
+ repos_url: string;
3932
+ events_url: string;
3933
+ received_events_url: string;
3934
+ type: string;
3935
+ site_admin: boolean;
3936
+ name: string | null;
3937
+ company: string | null;
3938
+ blog: string | null;
3939
+ location: string | null;
3940
+ email: string | null;
3941
+ notification_email?: string | null;
3942
+ hireable: boolean | null;
3943
+ bio: string | null;
3944
+ twitter_username?: string | null;
3945
+ public_repos: number;
3946
+ public_gists: number;
3947
+ followers: number;
3948
+ following: number;
3949
+ created_at: string;
3950
+ updated_at: string;
3951
+ plan?: {
3952
+ collaborators: number;
3953
+ name: string;
3954
+ space: number;
3955
+ private_repos: number;
3956
+ };
3957
+ private_gists?: number;
3958
+ total_private_repos?: number;
3959
+ owned_private_repos?: number;
3960
+ disk_usage?: number;
3961
+ collaborators?: number;
3962
+ }>;
3963
+ delete(): Promise<void>;
3964
+ };
3965
+ };
3966
+ GitHubUserOrganizations: {
3967
+ new (): {
3968
+ get apiEndpoint(): string;
3969
+ get pageSizeForRequest(): number;
3970
+ getList(query?: Record<string, string>): Promise<{
3971
+ login: string;
3972
+ id: number;
3973
+ node_id: string;
3974
+ url: string;
3975
+ repos_url: string;
3976
+ events_url: string;
3977
+ hooks_url: string;
3978
+ issues_url: string;
3979
+ members_url: string;
3980
+ public_members_url: string;
3981
+ avatar_url: string;
3982
+ description: string | null;
3983
+ }[]>;
3984
+ token: string;
3985
+ get apiOrigin(): string;
3986
+ get requestHeaders(): {
3987
+ accept: string;
3988
+ authorization: string;
3989
+ "X-GitHub-Api-Version": string;
3990
+ };
3991
+ getPagedList(query?: Record<string, string>): Promise<{
3992
+ login: string;
3993
+ id: number;
3994
+ node_id: string;
3995
+ url: string;
3996
+ repos_url: string;
3997
+ events_url: string;
3998
+ hooks_url: string;
3999
+ issues_url: string;
4000
+ members_url: string;
4001
+ public_members_url: string;
4002
+ avatar_url: string;
4003
+ description: string | null;
4004
+ }[]>;
4005
+ get(): Promise<{
4006
+ login: string;
4007
+ id: number;
4008
+ node_id: string;
4009
+ url: string;
4010
+ repos_url: string;
4011
+ events_url: string;
4012
+ hooks_url: string;
4013
+ issues_url: string;
4014
+ members_url: string;
4015
+ public_members_url: string;
4016
+ avatar_url: string;
4017
+ description: string | null;
4018
+ }>;
4019
+ post(body: {}): Promise<{
4020
+ login: string;
4021
+ id: number;
4022
+ node_id: string;
4023
+ url: string;
4024
+ repos_url: string;
4025
+ events_url: string;
4026
+ hooks_url: string;
4027
+ issues_url: string;
4028
+ members_url: string;
4029
+ public_members_url: string;
4030
+ avatar_url: string;
4031
+ description: string | null;
4032
+ }>;
4033
+ patch(body: {}): Promise<{
4034
+ login: string;
4035
+ id: number;
4036
+ node_id: string;
4037
+ url: string;
4038
+ repos_url: string;
4039
+ events_url: string;
4040
+ hooks_url: string;
4041
+ issues_url: string;
4042
+ members_url: string;
4043
+ public_members_url: string;
4044
+ avatar_url: string;
4045
+ description: string | null;
4046
+ }>;
4047
+ delete(): Promise<void>;
4048
+ };
4049
+ };
4050
+ GitHubUserRepositories: {
4051
+ new (): {
4052
+ get apiEndpoint(): string;
4053
+ get pageSizeForRequest(): number;
4054
+ getList(query?: Record<string, string>): Promise<{
4055
+ id: number;
4056
+ node_id: string;
4057
+ name: string;
4058
+ full_name: string;
4059
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
4060
+ forks: number;
4061
+ permissions?: {
4062
+ admin: boolean;
4063
+ pull: boolean;
4064
+ triage?: boolean;
4065
+ push: boolean;
4066
+ maintain?: boolean;
4067
+ };
4068
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
4069
+ private: boolean;
4070
+ html_url: string;
4071
+ description: string | null;
4072
+ fork: boolean;
4073
+ url: string;
4074
+ archive_url: string;
4075
+ assignees_url: string;
4076
+ blobs_url: string;
4077
+ branches_url: string;
4078
+ collaborators_url: string;
4079
+ comments_url: string;
4080
+ commits_url: string;
4081
+ compare_url: string;
4082
+ contents_url: string;
4083
+ contributors_url: string;
4084
+ deployments_url: string;
4085
+ downloads_url: string;
4086
+ events_url: string;
4087
+ forks_url: string;
4088
+ git_commits_url: string;
4089
+ git_refs_url: string;
4090
+ git_tags_url: string;
4091
+ git_url: string;
4092
+ issue_comment_url: string;
4093
+ issue_events_url: string;
4094
+ issues_url: string;
4095
+ keys_url: string;
4096
+ labels_url: string;
4097
+ languages_url: string;
4098
+ merges_url: string;
4099
+ milestones_url: string;
4100
+ notifications_url: string;
4101
+ pulls_url: string;
4102
+ releases_url: string;
4103
+ ssh_url: string;
4104
+ stargazers_url: string;
4105
+ statuses_url: string;
4106
+ subscribers_url: string;
4107
+ subscription_url: string;
4108
+ tags_url: string;
4109
+ teams_url: string;
4110
+ trees_url: string;
4111
+ clone_url: string;
4112
+ mirror_url: string | null;
4113
+ hooks_url: string;
4114
+ svn_url: string;
4115
+ homepage: string | null;
4116
+ language: string | null;
4117
+ forks_count: number;
4118
+ stargazers_count: number;
4119
+ watchers_count: number;
4120
+ size: number;
4121
+ default_branch: string;
4122
+ open_issues_count: number;
4123
+ is_template?: boolean;
4124
+ topics?: string[];
4125
+ has_issues: boolean;
4126
+ has_projects: boolean;
4127
+ has_wiki: boolean;
4128
+ has_pages: boolean;
4129
+ has_downloads: boolean;
4130
+ has_discussions?: boolean;
4131
+ archived: boolean;
4132
+ disabled: boolean;
4133
+ visibility?: string;
4134
+ pushed_at: string | null;
4135
+ created_at: string | null;
4136
+ updated_at: string | null;
4137
+ allow_rebase_merge?: boolean;
4138
+ temp_clone_token?: string;
4139
+ allow_squash_merge?: boolean;
4140
+ allow_auto_merge?: boolean;
4141
+ delete_branch_on_merge?: boolean;
4142
+ allow_update_branch?: boolean;
4143
+ use_squash_pr_title_as_default?: boolean;
4144
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4145
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4146
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4147
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4148
+ allow_merge_commit?: boolean;
4149
+ allow_forking?: boolean;
4150
+ web_commit_signoff_required?: boolean;
4151
+ open_issues: number;
4152
+ watchers: number;
4153
+ master_branch?: string;
4154
+ starred_at?: string;
4155
+ anonymous_access_enabled?: boolean;
4156
+ code_search_index_status?: {
4157
+ lexical_search_ok?: boolean;
4158
+ lexical_commit_sha?: string;
4159
+ };
4160
+ }[]>;
4161
+ token: string;
4162
+ get apiOrigin(): string;
4163
+ get requestHeaders(): {
4164
+ accept: string;
4165
+ authorization: string;
4166
+ "X-GitHub-Api-Version": string;
4167
+ };
4168
+ getPagedList(query?: Record<string, string>): Promise<{
4169
+ id: number;
4170
+ node_id: string;
4171
+ name: string;
4172
+ full_name: string;
4173
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
4174
+ forks: number;
4175
+ permissions?: {
4176
+ admin: boolean;
4177
+ pull: boolean;
4178
+ triage?: boolean;
4179
+ push: boolean;
4180
+ maintain?: boolean;
4181
+ };
4182
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
4183
+ private: boolean;
4184
+ html_url: string;
4185
+ description: string | null;
4186
+ fork: boolean;
4187
+ url: string;
4188
+ archive_url: string;
4189
+ assignees_url: string;
4190
+ blobs_url: string;
4191
+ branches_url: string;
4192
+ collaborators_url: string;
4193
+ comments_url: string;
4194
+ commits_url: string;
4195
+ compare_url: string;
4196
+ contents_url: string;
4197
+ contributors_url: string;
4198
+ deployments_url: string;
4199
+ downloads_url: string;
4200
+ events_url: string;
4201
+ forks_url: string;
4202
+ git_commits_url: string;
4203
+ git_refs_url: string;
4204
+ git_tags_url: string;
4205
+ git_url: string;
4206
+ issue_comment_url: string;
4207
+ issue_events_url: string;
4208
+ issues_url: string;
4209
+ keys_url: string;
4210
+ labels_url: string;
4211
+ languages_url: string;
4212
+ merges_url: string;
4213
+ milestones_url: string;
4214
+ notifications_url: string;
4215
+ pulls_url: string;
4216
+ releases_url: string;
4217
+ ssh_url: string;
4218
+ stargazers_url: string;
4219
+ statuses_url: string;
4220
+ subscribers_url: string;
4221
+ subscription_url: string;
4222
+ tags_url: string;
4223
+ teams_url: string;
4224
+ trees_url: string;
4225
+ clone_url: string;
4226
+ mirror_url: string | null;
4227
+ hooks_url: string;
4228
+ svn_url: string;
4229
+ homepage: string | null;
4230
+ language: string | null;
4231
+ forks_count: number;
4232
+ stargazers_count: number;
4233
+ watchers_count: number;
4234
+ size: number;
4235
+ default_branch: string;
4236
+ open_issues_count: number;
4237
+ is_template?: boolean;
4238
+ topics?: string[];
4239
+ has_issues: boolean;
4240
+ has_projects: boolean;
4241
+ has_wiki: boolean;
4242
+ has_pages: boolean;
4243
+ has_downloads: boolean;
4244
+ has_discussions?: boolean;
4245
+ archived: boolean;
4246
+ disabled: boolean;
4247
+ visibility?: string;
4248
+ pushed_at: string | null;
4249
+ created_at: string | null;
4250
+ updated_at: string | null;
4251
+ allow_rebase_merge?: boolean;
4252
+ temp_clone_token?: string;
4253
+ allow_squash_merge?: boolean;
4254
+ allow_auto_merge?: boolean;
4255
+ delete_branch_on_merge?: boolean;
4256
+ allow_update_branch?: boolean;
4257
+ use_squash_pr_title_as_default?: boolean;
4258
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4259
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4260
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4261
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4262
+ allow_merge_commit?: boolean;
4263
+ allow_forking?: boolean;
4264
+ web_commit_signoff_required?: boolean;
4265
+ open_issues: number;
4266
+ watchers: number;
4267
+ master_branch?: string;
4268
+ starred_at?: string;
4269
+ anonymous_access_enabled?: boolean;
4270
+ code_search_index_status?: {
4271
+ lexical_search_ok?: boolean;
4272
+ lexical_commit_sha?: string;
4273
+ };
4274
+ }[]>;
4275
+ get(): Promise<{
4276
+ id: number;
4277
+ node_id: string;
4278
+ name: string;
4279
+ full_name: string;
4280
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
4281
+ forks: number;
4282
+ permissions?: {
4283
+ admin: boolean;
4284
+ pull: boolean;
4285
+ triage?: boolean;
4286
+ push: boolean;
4287
+ maintain?: boolean;
4288
+ };
4289
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
4290
+ private: boolean;
4291
+ html_url: string;
4292
+ description: string | null;
4293
+ fork: boolean;
4294
+ url: string;
4295
+ archive_url: string;
4296
+ assignees_url: string;
4297
+ blobs_url: string;
4298
+ branches_url: string;
4299
+ collaborators_url: string;
4300
+ comments_url: string;
4301
+ commits_url: string;
4302
+ compare_url: string;
4303
+ contents_url: string;
4304
+ contributors_url: string;
4305
+ deployments_url: string;
4306
+ downloads_url: string;
4307
+ events_url: string;
4308
+ forks_url: string;
4309
+ git_commits_url: string;
4310
+ git_refs_url: string;
4311
+ git_tags_url: string;
4312
+ git_url: string;
4313
+ issue_comment_url: string;
4314
+ issue_events_url: string;
4315
+ issues_url: string;
4316
+ keys_url: string;
4317
+ labels_url: string;
4318
+ languages_url: string;
4319
+ merges_url: string;
4320
+ milestones_url: string;
4321
+ notifications_url: string;
4322
+ pulls_url: string;
4323
+ releases_url: string;
4324
+ ssh_url: string;
4325
+ stargazers_url: string;
4326
+ statuses_url: string;
4327
+ subscribers_url: string;
4328
+ subscription_url: string;
4329
+ tags_url: string;
4330
+ teams_url: string;
4331
+ trees_url: string;
4332
+ clone_url: string;
4333
+ mirror_url: string | null;
4334
+ hooks_url: string;
4335
+ svn_url: string;
4336
+ homepage: string | null;
4337
+ language: string | null;
4338
+ forks_count: number;
4339
+ stargazers_count: number;
4340
+ watchers_count: number;
4341
+ size: number;
4342
+ default_branch: string;
4343
+ open_issues_count: number;
4344
+ is_template?: boolean;
4345
+ topics?: string[];
4346
+ has_issues: boolean;
4347
+ has_projects: boolean;
4348
+ has_wiki: boolean;
4349
+ has_pages: boolean;
4350
+ has_downloads: boolean;
4351
+ has_discussions?: boolean;
4352
+ archived: boolean;
4353
+ disabled: boolean;
4354
+ visibility?: string;
4355
+ pushed_at: string | null;
4356
+ created_at: string | null;
4357
+ updated_at: string | null;
4358
+ allow_rebase_merge?: boolean;
4359
+ temp_clone_token?: string;
4360
+ allow_squash_merge?: boolean;
4361
+ allow_auto_merge?: boolean;
4362
+ delete_branch_on_merge?: boolean;
4363
+ allow_update_branch?: boolean;
4364
+ use_squash_pr_title_as_default?: boolean;
4365
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4366
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4367
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4368
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4369
+ allow_merge_commit?: boolean;
4370
+ allow_forking?: boolean;
4371
+ web_commit_signoff_required?: boolean;
4372
+ open_issues: number;
4373
+ watchers: number;
4374
+ master_branch?: string;
4375
+ starred_at?: string;
4376
+ anonymous_access_enabled?: boolean;
4377
+ code_search_index_status?: {
4378
+ lexical_search_ok?: boolean;
4379
+ lexical_commit_sha?: string;
4380
+ };
4381
+ }>;
4382
+ post(body: {
4383
+ name: string;
4384
+ description?: string;
4385
+ homepage?: string;
4386
+ private?: boolean;
4387
+ has_issues?: boolean;
4388
+ has_projects?: boolean;
4389
+ has_wiki?: boolean;
4390
+ has_discussions?: boolean;
4391
+ team_id?: number;
4392
+ auto_init?: boolean;
4393
+ gitignore_template?: string;
4394
+ license_template?: string;
4395
+ allow_squash_merge?: boolean;
4396
+ allow_merge_commit?: boolean;
4397
+ allow_rebase_merge?: boolean;
4398
+ allow_auto_merge?: boolean;
4399
+ delete_branch_on_merge?: boolean;
4400
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4401
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4402
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4403
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4404
+ has_downloads?: boolean;
4405
+ is_template?: boolean;
4406
+ }): Promise<{
4407
+ id: number;
4408
+ node_id: string;
4409
+ name: string;
4410
+ full_name: string;
4411
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
4412
+ forks: number;
4413
+ permissions?: {
4414
+ admin: boolean;
4415
+ pull: boolean;
4416
+ triage?: boolean;
4417
+ push: boolean;
4418
+ maintain?: boolean;
4419
+ };
4420
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
4421
+ private: boolean;
4422
+ html_url: string;
4423
+ description: string | null;
4424
+ fork: boolean;
4425
+ url: string;
4426
+ archive_url: string;
4427
+ assignees_url: string;
4428
+ blobs_url: string;
4429
+ branches_url: string;
4430
+ collaborators_url: string;
4431
+ comments_url: string;
4432
+ commits_url: string;
4433
+ compare_url: string;
4434
+ contents_url: string;
4435
+ contributors_url: string;
4436
+ deployments_url: string;
4437
+ downloads_url: string;
4438
+ events_url: string;
4439
+ forks_url: string;
4440
+ git_commits_url: string;
4441
+ git_refs_url: string;
4442
+ git_tags_url: string;
4443
+ git_url: string;
4444
+ issue_comment_url: string;
4445
+ issue_events_url: string;
4446
+ issues_url: string;
4447
+ keys_url: string;
4448
+ labels_url: string;
4449
+ languages_url: string;
4450
+ merges_url: string;
4451
+ milestones_url: string;
4452
+ notifications_url: string;
4453
+ pulls_url: string;
4454
+ releases_url: string;
4455
+ ssh_url: string;
4456
+ stargazers_url: string;
4457
+ statuses_url: string;
4458
+ subscribers_url: string;
4459
+ subscription_url: string;
4460
+ tags_url: string;
4461
+ teams_url: string;
4462
+ trees_url: string;
4463
+ clone_url: string;
4464
+ mirror_url: string | null;
4465
+ hooks_url: string;
4466
+ svn_url: string;
4467
+ homepage: string | null;
4468
+ language: string | null;
4469
+ forks_count: number;
4470
+ stargazers_count: number;
4471
+ watchers_count: number;
4472
+ size: number;
4473
+ default_branch: string;
4474
+ open_issues_count: number;
4475
+ is_template?: boolean;
4476
+ topics?: string[];
4477
+ has_issues: boolean;
4478
+ has_projects: boolean;
4479
+ has_wiki: boolean;
4480
+ has_pages: boolean;
4481
+ has_downloads: boolean;
4482
+ has_discussions?: boolean;
4483
+ archived: boolean;
4484
+ disabled: boolean;
4485
+ visibility?: string;
4486
+ pushed_at: string | null;
4487
+ created_at: string | null;
4488
+ updated_at: string | null;
4489
+ allow_rebase_merge?: boolean;
4490
+ temp_clone_token?: string;
4491
+ allow_squash_merge?: boolean;
4492
+ allow_auto_merge?: boolean;
4493
+ delete_branch_on_merge?: boolean;
4494
+ allow_update_branch?: boolean;
4495
+ use_squash_pr_title_as_default?: boolean;
4496
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4497
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4498
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4499
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4500
+ allow_merge_commit?: boolean;
4501
+ allow_forking?: boolean;
4502
+ web_commit_signoff_required?: boolean;
4503
+ open_issues: number;
4504
+ watchers: number;
4505
+ master_branch?: string;
4506
+ starred_at?: string;
4507
+ anonymous_access_enabled?: boolean;
4508
+ code_search_index_status?: {
4509
+ lexical_search_ok?: boolean;
4510
+ lexical_commit_sha?: string;
4511
+ };
4512
+ }>;
4513
+ patch(body: {
4514
+ name: string;
4515
+ description?: string;
4516
+ homepage?: string;
4517
+ private?: boolean;
4518
+ has_issues?: boolean;
4519
+ has_projects?: boolean;
4520
+ has_wiki?: boolean;
4521
+ has_discussions?: boolean;
4522
+ team_id?: number;
4523
+ auto_init?: boolean;
4524
+ gitignore_template?: string;
4525
+ license_template?: string;
4526
+ allow_squash_merge?: boolean;
4527
+ allow_merge_commit?: boolean;
4528
+ allow_rebase_merge?: boolean;
4529
+ allow_auto_merge?: boolean;
4530
+ delete_branch_on_merge?: boolean;
4531
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4532
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4533
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4534
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4535
+ has_downloads?: boolean;
4536
+ is_template?: boolean;
4537
+ }): Promise<{
4538
+ id: number;
4539
+ node_id: string;
4540
+ name: string;
4541
+ full_name: string;
4542
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
4543
+ forks: number;
4544
+ permissions?: {
4545
+ admin: boolean;
4546
+ pull: boolean;
4547
+ triage?: boolean;
4548
+ push: boolean;
4549
+ maintain?: boolean;
4550
+ };
4551
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
4552
+ private: boolean;
4553
+ html_url: string;
4554
+ description: string | null;
4555
+ fork: boolean;
4556
+ url: string;
4557
+ archive_url: string;
4558
+ assignees_url: string;
4559
+ blobs_url: string;
4560
+ branches_url: string;
4561
+ collaborators_url: string;
4562
+ comments_url: string;
4563
+ commits_url: string;
4564
+ compare_url: string;
4565
+ contents_url: string;
4566
+ contributors_url: string;
4567
+ deployments_url: string;
4568
+ downloads_url: string;
4569
+ events_url: string;
4570
+ forks_url: string;
4571
+ git_commits_url: string;
4572
+ git_refs_url: string;
4573
+ git_tags_url: string;
4574
+ git_url: string;
4575
+ issue_comment_url: string;
4576
+ issue_events_url: string;
4577
+ issues_url: string;
4578
+ keys_url: string;
4579
+ labels_url: string;
4580
+ languages_url: string;
4581
+ merges_url: string;
4582
+ milestones_url: string;
4583
+ notifications_url: string;
4584
+ pulls_url: string;
4585
+ releases_url: string;
4586
+ ssh_url: string;
4587
+ stargazers_url: string;
4588
+ statuses_url: string;
4589
+ subscribers_url: string;
4590
+ subscription_url: string;
4591
+ tags_url: string;
4592
+ teams_url: string;
4593
+ trees_url: string;
4594
+ clone_url: string;
4595
+ mirror_url: string | null;
4596
+ hooks_url: string;
4597
+ svn_url: string;
4598
+ homepage: string | null;
4599
+ language: string | null;
4600
+ forks_count: number;
4601
+ stargazers_count: number;
4602
+ watchers_count: number;
4603
+ size: number;
4604
+ default_branch: string;
4605
+ open_issues_count: number;
4606
+ is_template?: boolean;
4607
+ topics?: string[];
4608
+ has_issues: boolean;
4609
+ has_projects: boolean;
4610
+ has_wiki: boolean;
4611
+ has_pages: boolean;
4612
+ has_downloads: boolean;
4613
+ has_discussions?: boolean;
4614
+ archived: boolean;
4615
+ disabled: boolean;
4616
+ visibility?: string;
4617
+ pushed_at: string | null;
4618
+ created_at: string | null;
4619
+ updated_at: string | null;
4620
+ allow_rebase_merge?: boolean;
4621
+ temp_clone_token?: string;
4622
+ allow_squash_merge?: boolean;
4623
+ allow_auto_merge?: boolean;
4624
+ delete_branch_on_merge?: boolean;
4625
+ allow_update_branch?: boolean;
4626
+ use_squash_pr_title_as_default?: boolean;
4627
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
4628
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
4629
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
4630
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
4631
+ allow_merge_commit?: boolean;
4632
+ allow_forking?: boolean;
4633
+ web_commit_signoff_required?: boolean;
4634
+ open_issues: number;
4635
+ watchers: number;
4636
+ master_branch?: string;
4637
+ starred_at?: string;
4638
+ anonymous_access_enabled?: boolean;
4639
+ code_search_index_status?: {
4640
+ lexical_search_ok?: boolean;
4641
+ lexical_commit_sha?: string;
4642
+ };
4643
+ }>;
4644
+ delete(): Promise<void>;
4645
+ };
4646
+ };
4647
+ };