@tomsd/github-repo-js 0.2.2 → 0.2.3

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,2267 @@
1
+ export declare function readyGitHubRepository(token: string): {
2
+ new (owner: string, repo: string): {
3
+ get apiEndpoint(): string;
4
+ getArtifacts(query?: {
5
+ name: string;
6
+ }): Promise<{
7
+ id: number;
8
+ node_id: string;
9
+ name: string;
10
+ size_in_bytes: number;
11
+ url: string;
12
+ archive_download_url: string;
13
+ expired: boolean;
14
+ created_at: string | null;
15
+ expires_at: string | null;
16
+ updated_at: string | null;
17
+ digest?: string | null;
18
+ workflow_run?: {
19
+ id?: number;
20
+ repository_id?: number;
21
+ head_repository_id?: number;
22
+ head_branch?: string;
23
+ head_sha?: string;
24
+ } | null;
25
+ }[]>;
26
+ getArtifact(artifactId: number): Promise<{
27
+ id: number;
28
+ node_id: string;
29
+ name: string;
30
+ size_in_bytes: number;
31
+ url: string;
32
+ archive_download_url: string;
33
+ expired: boolean;
34
+ created_at: string | null;
35
+ expires_at: string | null;
36
+ updated_at: string | null;
37
+ digest?: string | null;
38
+ workflow_run?: {
39
+ id?: number;
40
+ repository_id?: number;
41
+ head_repository_id?: number;
42
+ head_branch?: string;
43
+ head_sha?: string;
44
+ } | null;
45
+ }>;
46
+ getArtifactZipBlob(artifactId: number): Promise<Blob>;
47
+ getBranches(): Promise<{
48
+ name: string;
49
+ commit: {
50
+ sha: string;
51
+ url: string;
52
+ };
53
+ protected: boolean;
54
+ protection?: import("@octokit/openapi-types").components["schemas"]["branch-protection"];
55
+ protection_url?: string;
56
+ }[]>;
57
+ getBranch(branchName: string): Promise<{
58
+ name: string;
59
+ commit: import("@octokit/openapi-types").components["schemas"]["commit"];
60
+ _links: {
61
+ html: string;
62
+ self: string;
63
+ };
64
+ protected: boolean;
65
+ protection: import("@octokit/openapi-types").components["schemas"]["branch-protection"];
66
+ protection_url: string;
67
+ pattern?: string;
68
+ required_approving_review_count?: number;
69
+ }>;
70
+ getReferences(refName: string): Promise<{
71
+ ref: string;
72
+ node_id: string;
73
+ url: string;
74
+ object: {
75
+ type: string;
76
+ sha: string;
77
+ url: string;
78
+ };
79
+ }[]>;
80
+ getBranchReferences(): Promise<{
81
+ ref: string;
82
+ node_id: string;
83
+ url: string;
84
+ object: {
85
+ type: string;
86
+ sha: string;
87
+ url: string;
88
+ };
89
+ }[]>;
90
+ getTagReferences(): Promise<{
91
+ ref: string;
92
+ node_id: string;
93
+ url: string;
94
+ object: {
95
+ type: string;
96
+ sha: string;
97
+ url: string;
98
+ };
99
+ }[]>;
100
+ postReference(body: {
101
+ ref: string;
102
+ sha: string;
103
+ }): Promise<{
104
+ ref: string;
105
+ node_id: string;
106
+ url: string;
107
+ object: {
108
+ type: string;
109
+ sha: string;
110
+ url: string;
111
+ };
112
+ }>;
113
+ getReference(ref: string): Promise<{
114
+ ref: string;
115
+ node_id: string;
116
+ url: string;
117
+ object: {
118
+ type: string;
119
+ sha: string;
120
+ url: string;
121
+ };
122
+ }>;
123
+ getBranchReference(branchName: string): Promise<{
124
+ ref: string;
125
+ node_id: string;
126
+ url: string;
127
+ object: {
128
+ type: string;
129
+ sha: string;
130
+ url: string;
131
+ };
132
+ }>;
133
+ getTagReference(tagName: string): Promise<{
134
+ ref: string;
135
+ node_id: string;
136
+ url: string;
137
+ object: {
138
+ type: string;
139
+ sha: string;
140
+ url: string;
141
+ };
142
+ }>;
143
+ patchReference(ref: string, body: {
144
+ sha: string;
145
+ force?: boolean;
146
+ }): Promise<{
147
+ ref: string;
148
+ node_id: string;
149
+ url: string;
150
+ object: {
151
+ type: string;
152
+ sha: string;
153
+ url: string;
154
+ };
155
+ }>;
156
+ deleteReference(ref: string): Promise<void>;
157
+ getBlob(fileSha: string): Promise<{
158
+ content: string;
159
+ encoding: string;
160
+ url: string;
161
+ sha: string;
162
+ size: number | null;
163
+ node_id: string;
164
+ highlighted_content?: string;
165
+ }>;
166
+ postBlob(body: {
167
+ content: string;
168
+ encoding?: string;
169
+ }): Promise<{
170
+ content: string;
171
+ encoding: string;
172
+ url: string;
173
+ sha: string;
174
+ size: number | null;
175
+ node_id: string;
176
+ highlighted_content?: string;
177
+ }>;
178
+ getTree(sha: string): Promise<{
179
+ sha: string;
180
+ url?: string;
181
+ truncated: boolean;
182
+ tree: {
183
+ path: string;
184
+ mode: string;
185
+ type: string;
186
+ sha: string;
187
+ size?: number;
188
+ url?: string;
189
+ }[];
190
+ }>;
191
+ postTree(body: {
192
+ tree: {
193
+ path?: string;
194
+ mode?: "100644" | "100755" | "040000" | "160000" | "120000";
195
+ type?: "blob" | "tree" | "commit";
196
+ sha?: string | null;
197
+ content?: string;
198
+ }[];
199
+ base_tree?: string;
200
+ }): Promise<{
201
+ sha: string;
202
+ url?: string;
203
+ truncated: boolean;
204
+ tree: {
205
+ path: string;
206
+ mode: string;
207
+ type: string;
208
+ sha: string;
209
+ size?: number;
210
+ url?: string;
211
+ }[];
212
+ }>;
213
+ getIssues(query?: Record<string, string>): Promise<{
214
+ id: number;
215
+ node_id: string;
216
+ url: string;
217
+ repository_url: string;
218
+ labels_url: string;
219
+ comments_url: string;
220
+ events_url: string;
221
+ html_url: string;
222
+ number: number;
223
+ state: string;
224
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
225
+ title: string;
226
+ body?: string | null;
227
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
228
+ labels: import("@octokit/openapi-types").OneOf<[string, {
229
+ id?: number;
230
+ node_id?: string;
231
+ url?: string;
232
+ name?: string;
233
+ description?: string | null;
234
+ color?: string | null;
235
+ default?: boolean;
236
+ }]>[];
237
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
238
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
239
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
240
+ locked: boolean;
241
+ active_lock_reason?: string | null;
242
+ comments: number;
243
+ pull_request?: {
244
+ merged_at?: string | null;
245
+ diff_url: string | null;
246
+ html_url: string | null;
247
+ patch_url: string | null;
248
+ url: string | null;
249
+ };
250
+ closed_at: string | null;
251
+ created_at: string;
252
+ updated_at: string;
253
+ draft?: boolean;
254
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
255
+ body_html?: string;
256
+ body_text?: string;
257
+ timeline_url?: string;
258
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
259
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
260
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
261
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
262
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
263
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
264
+ parent_issue_url?: string | null;
265
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
266
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
267
+ }[]>;
268
+ postIssue(body: {
269
+ title: string | number;
270
+ body?: string;
271
+ assignee?: string | null;
272
+ milestone?: string | number | null;
273
+ labels?: import("@octokit/openapi-types").OneOf<[string, {
274
+ id?: number;
275
+ name?: string;
276
+ description?: string | null;
277
+ color?: string | null;
278
+ }]>[];
279
+ assignees?: string[];
280
+ type?: string | null;
281
+ }): Promise<{
282
+ id: number;
283
+ node_id: string;
284
+ url: string;
285
+ repository_url: string;
286
+ labels_url: string;
287
+ comments_url: string;
288
+ events_url: string;
289
+ html_url: string;
290
+ number: number;
291
+ state: string;
292
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
293
+ title: string;
294
+ body?: string | null;
295
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
296
+ labels: import("@octokit/openapi-types").OneOf<[string, {
297
+ id?: number;
298
+ node_id?: string;
299
+ url?: string;
300
+ name?: string;
301
+ description?: string | null;
302
+ color?: string | null;
303
+ default?: boolean;
304
+ }]>[];
305
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
306
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
307
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
308
+ locked: boolean;
309
+ active_lock_reason?: string | null;
310
+ comments: number;
311
+ pull_request?: {
312
+ merged_at?: string | null;
313
+ diff_url: string | null;
314
+ html_url: string | null;
315
+ patch_url: string | null;
316
+ url: string | null;
317
+ };
318
+ closed_at: string | null;
319
+ created_at: string;
320
+ updated_at: string;
321
+ draft?: boolean;
322
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
323
+ body_html?: string;
324
+ body_text?: string;
325
+ timeline_url?: string;
326
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
327
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
328
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
329
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
330
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
331
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
332
+ parent_issue_url?: string | null;
333
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
334
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
335
+ }>;
336
+ issue(issueNumber: number): {
337
+ get apiEndpoint(): string;
338
+ getComments(): Promise<{
339
+ id: number;
340
+ node_id: string;
341
+ url: string;
342
+ body?: string;
343
+ body_text?: string;
344
+ body_html?: string;
345
+ html_url: string;
346
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
347
+ created_at: string;
348
+ updated_at: string;
349
+ issue_url: string;
350
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
351
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
352
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
353
+ }[]>;
354
+ postComment(body: {
355
+ body: string;
356
+ }): Promise<{
357
+ id: number;
358
+ node_id: string;
359
+ url: string;
360
+ body?: string;
361
+ body_text?: string;
362
+ body_html?: string;
363
+ html_url: string;
364
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
365
+ created_at: string;
366
+ updated_at: string;
367
+ issue_url: string;
368
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
369
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
370
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
371
+ }>;
372
+ issueNumber: number;
373
+ owner: string;
374
+ repo: string;
375
+ token: string;
376
+ get apiOrigin(): string;
377
+ get requestHeaders(): {
378
+ accept: string;
379
+ authorization: string;
380
+ "X-GitHub-Api-Version": string;
381
+ };
382
+ get pageSizeForRequest(): number;
383
+ getPagedList(query?: Record<string, string>): Promise<{
384
+ id: number;
385
+ node_id: string;
386
+ url: string;
387
+ repository_url: string;
388
+ labels_url: string;
389
+ comments_url: string;
390
+ events_url: string;
391
+ html_url: string;
392
+ number: number;
393
+ state: string;
394
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
395
+ title: string;
396
+ body?: string | null;
397
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
398
+ labels: import("@octokit/openapi-types").OneOf<[string, {
399
+ id?: number;
400
+ node_id?: string;
401
+ url?: string;
402
+ name?: string;
403
+ description?: string | null;
404
+ color?: string | null;
405
+ default?: boolean;
406
+ }]>[];
407
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
408
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
409
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
410
+ locked: boolean;
411
+ active_lock_reason?: string | null;
412
+ comments: number;
413
+ pull_request?: {
414
+ merged_at?: string | null;
415
+ diff_url: string | null;
416
+ html_url: string | null;
417
+ patch_url: string | null;
418
+ url: string | null;
419
+ };
420
+ closed_at: string | null;
421
+ created_at: string;
422
+ updated_at: string;
423
+ draft?: boolean;
424
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
425
+ body_html?: string;
426
+ body_text?: string;
427
+ timeline_url?: string;
428
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
429
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
430
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
431
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
432
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
433
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
434
+ parent_issue_url?: string | null;
435
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
436
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
437
+ }[]>;
438
+ getList(query?: Record<string, string>): Promise<{
439
+ id: number;
440
+ node_id: string;
441
+ url: string;
442
+ repository_url: string;
443
+ labels_url: string;
444
+ comments_url: string;
445
+ events_url: string;
446
+ html_url: string;
447
+ number: number;
448
+ state: string;
449
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
450
+ title: string;
451
+ body?: string | null;
452
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
453
+ labels: import("@octokit/openapi-types").OneOf<[string, {
454
+ id?: number;
455
+ node_id?: string;
456
+ url?: string;
457
+ name?: string;
458
+ description?: string | null;
459
+ color?: string | null;
460
+ default?: boolean;
461
+ }]>[];
462
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
463
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
464
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
465
+ locked: boolean;
466
+ active_lock_reason?: string | null;
467
+ comments: number;
468
+ pull_request?: {
469
+ merged_at?: string | null;
470
+ diff_url: string | null;
471
+ html_url: string | null;
472
+ patch_url: string | null;
473
+ url: string | null;
474
+ };
475
+ closed_at: string | null;
476
+ created_at: string;
477
+ updated_at: string;
478
+ draft?: boolean;
479
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
480
+ body_html?: string;
481
+ body_text?: string;
482
+ timeline_url?: string;
483
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
484
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
485
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
486
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
487
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
488
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
489
+ parent_issue_url?: string | null;
490
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
491
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
492
+ }[]>;
493
+ get(): Promise<{
494
+ id: number;
495
+ node_id: string;
496
+ url: string;
497
+ repository_url: string;
498
+ labels_url: string;
499
+ comments_url: string;
500
+ events_url: string;
501
+ html_url: string;
502
+ number: number;
503
+ state: string;
504
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
505
+ title: string;
506
+ body?: string | null;
507
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
508
+ labels: import("@octokit/openapi-types").OneOf<[string, {
509
+ id?: number;
510
+ node_id?: string;
511
+ url?: string;
512
+ name?: string;
513
+ description?: string | null;
514
+ color?: string | null;
515
+ default?: boolean;
516
+ }]>[];
517
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
518
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
519
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
520
+ locked: boolean;
521
+ active_lock_reason?: string | null;
522
+ comments: number;
523
+ pull_request?: {
524
+ merged_at?: string | null;
525
+ diff_url: string | null;
526
+ html_url: string | null;
527
+ patch_url: string | null;
528
+ url: string | null;
529
+ };
530
+ closed_at: string | null;
531
+ created_at: string;
532
+ updated_at: string;
533
+ draft?: boolean;
534
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
535
+ body_html?: string;
536
+ body_text?: string;
537
+ timeline_url?: string;
538
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
539
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
540
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
541
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
542
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
543
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
544
+ parent_issue_url?: string | null;
545
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
546
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
547
+ }>;
548
+ post(body: {
549
+ data: never;
550
+ }): Promise<{
551
+ id: number;
552
+ node_id: string;
553
+ url: string;
554
+ repository_url: string;
555
+ labels_url: string;
556
+ comments_url: string;
557
+ events_url: string;
558
+ html_url: string;
559
+ number: number;
560
+ state: string;
561
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
562
+ title: string;
563
+ body?: string | null;
564
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
565
+ labels: import("@octokit/openapi-types").OneOf<[string, {
566
+ id?: number;
567
+ node_id?: string;
568
+ url?: string;
569
+ name?: string;
570
+ description?: string | null;
571
+ color?: string | null;
572
+ default?: boolean;
573
+ }]>[];
574
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
575
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
576
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
577
+ locked: boolean;
578
+ active_lock_reason?: string | null;
579
+ comments: number;
580
+ pull_request?: {
581
+ merged_at?: string | null;
582
+ diff_url: string | null;
583
+ html_url: string | null;
584
+ patch_url: string | null;
585
+ url: string | null;
586
+ };
587
+ closed_at: string | null;
588
+ created_at: string;
589
+ updated_at: string;
590
+ draft?: boolean;
591
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
592
+ body_html?: string;
593
+ body_text?: string;
594
+ timeline_url?: string;
595
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
596
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
597
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
598
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
599
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
600
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
601
+ parent_issue_url?: string | null;
602
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
603
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
604
+ }>;
605
+ patch(body: {
606
+ data: never;
607
+ }): Promise<{
608
+ id: number;
609
+ node_id: string;
610
+ url: string;
611
+ repository_url: string;
612
+ labels_url: string;
613
+ comments_url: string;
614
+ events_url: string;
615
+ html_url: string;
616
+ number: number;
617
+ state: string;
618
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
619
+ title: string;
620
+ body?: string | null;
621
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
622
+ labels: import("@octokit/openapi-types").OneOf<[string, {
623
+ id?: number;
624
+ node_id?: string;
625
+ url?: string;
626
+ name?: string;
627
+ description?: string | null;
628
+ color?: string | null;
629
+ default?: boolean;
630
+ }]>[];
631
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
632
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
633
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
634
+ locked: boolean;
635
+ active_lock_reason?: string | null;
636
+ comments: number;
637
+ pull_request?: {
638
+ merged_at?: string | null;
639
+ diff_url: string | null;
640
+ html_url: string | null;
641
+ patch_url: string | null;
642
+ url: string | null;
643
+ };
644
+ closed_at: string | null;
645
+ created_at: string;
646
+ updated_at: string;
647
+ draft?: boolean;
648
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
649
+ body_html?: string;
650
+ body_text?: string;
651
+ timeline_url?: string;
652
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
653
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
654
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
655
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
656
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
657
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
658
+ parent_issue_url?: string | null;
659
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
660
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
661
+ }>;
662
+ delete(): Promise<void>;
663
+ };
664
+ getIssue(issueNumber: number): Promise<{
665
+ id: number;
666
+ node_id: string;
667
+ url: string;
668
+ repository_url: string;
669
+ labels_url: string;
670
+ comments_url: string;
671
+ events_url: string;
672
+ html_url: string;
673
+ number: number;
674
+ state: string;
675
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
676
+ title: string;
677
+ body?: string | null;
678
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
679
+ labels: import("@octokit/openapi-types").OneOf<[string, {
680
+ id?: number;
681
+ node_id?: string;
682
+ url?: string;
683
+ name?: string;
684
+ description?: string | null;
685
+ color?: string | null;
686
+ default?: boolean;
687
+ }]>[];
688
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
689
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
690
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
691
+ locked: boolean;
692
+ active_lock_reason?: string | null;
693
+ comments: number;
694
+ pull_request?: {
695
+ merged_at?: string | null;
696
+ diff_url: string | null;
697
+ html_url: string | null;
698
+ patch_url: string | null;
699
+ url: string | null;
700
+ };
701
+ closed_at: string | null;
702
+ created_at: string;
703
+ updated_at: string;
704
+ draft?: boolean;
705
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
706
+ body_html?: string;
707
+ body_text?: string;
708
+ timeline_url?: string;
709
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
710
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
711
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
712
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
713
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
714
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
715
+ parent_issue_url?: string | null;
716
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
717
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
718
+ }>;
719
+ patchIssue(issueNumber: number, body: {
720
+ data: never;
721
+ }): Promise<{
722
+ id: number;
723
+ node_id: string;
724
+ url: string;
725
+ repository_url: string;
726
+ labels_url: string;
727
+ comments_url: string;
728
+ events_url: string;
729
+ html_url: string;
730
+ number: number;
731
+ state: string;
732
+ state_reason?: "completed" | "reopened" | "not_planned" | "duplicate" | null;
733
+ title: string;
734
+ body?: string | null;
735
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
736
+ labels: import("@octokit/openapi-types").OneOf<[string, {
737
+ id?: number;
738
+ node_id?: string;
739
+ url?: string;
740
+ name?: string;
741
+ description?: string | null;
742
+ color?: string | null;
743
+ default?: boolean;
744
+ }]>[];
745
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
746
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
747
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
748
+ locked: boolean;
749
+ active_lock_reason?: string | null;
750
+ comments: number;
751
+ pull_request?: {
752
+ merged_at?: string | null;
753
+ diff_url: string | null;
754
+ html_url: string | null;
755
+ patch_url: string | null;
756
+ url: string | null;
757
+ };
758
+ closed_at: string | null;
759
+ created_at: string;
760
+ updated_at: string;
761
+ draft?: boolean;
762
+ closed_by?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
763
+ body_html?: string;
764
+ body_text?: string;
765
+ timeline_url?: string;
766
+ type?: import("@octokit/openapi-types").components["schemas"]["issue-type"];
767
+ repository?: import("@octokit/openapi-types").components["schemas"]["repository"];
768
+ performed_via_github_app?: import("@octokit/openapi-types").components["schemas"]["nullable-integration"];
769
+ author_association?: import("@octokit/openapi-types").components["schemas"]["author-association"];
770
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
771
+ sub_issues_summary?: import("@octokit/openapi-types").components["schemas"]["sub-issues-summary"];
772
+ parent_issue_url?: string | null;
773
+ issue_dependencies_summary?: import("@octokit/openapi-types").components["schemas"]["issue-dependencies-summary"];
774
+ issue_field_values?: import("@octokit/openapi-types").components["schemas"]["issue-field-value"][];
775
+ }>;
776
+ getPulls(query?: Record<string, string>): Promise<{
777
+ url: string;
778
+ id: number;
779
+ node_id: string;
780
+ html_url: string;
781
+ diff_url: string;
782
+ patch_url: string;
783
+ issue_url: string;
784
+ commits_url: string;
785
+ review_comments_url: string;
786
+ review_comment_url: string;
787
+ comments_url: string;
788
+ statuses_url: string;
789
+ number: number;
790
+ state: string;
791
+ locked: boolean;
792
+ title: string;
793
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
794
+ body: string | null;
795
+ labels: {
796
+ id: number;
797
+ node_id: string;
798
+ url: string;
799
+ name: string;
800
+ description: string;
801
+ color: string;
802
+ default: boolean;
803
+ }[];
804
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
805
+ active_lock_reason?: string | null;
806
+ created_at: string;
807
+ updated_at: string;
808
+ closed_at: string | null;
809
+ merged_at: string | null;
810
+ merge_commit_sha: string | null;
811
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
812
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
813
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
814
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team"][] | null;
815
+ head: {
816
+ label: string;
817
+ ref: string;
818
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
819
+ sha: string;
820
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
821
+ };
822
+ base: {
823
+ label: string;
824
+ ref: string;
825
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
826
+ sha: string;
827
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
828
+ };
829
+ _links: {
830
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
831
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
832
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
833
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
834
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
835
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
836
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
837
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
838
+ };
839
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
840
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
841
+ draft?: boolean;
842
+ }[]>;
843
+ postPull(body: {
844
+ title?: string;
845
+ head: string;
846
+ head_repo?: string;
847
+ base: string;
848
+ body?: string;
849
+ maintainer_can_modify?: boolean;
850
+ draft?: boolean;
851
+ issue?: number;
852
+ }): Promise<{
853
+ url: string;
854
+ id: number;
855
+ node_id: string;
856
+ html_url: string;
857
+ diff_url: string;
858
+ patch_url: string;
859
+ issue_url: string;
860
+ commits_url: string;
861
+ review_comments_url: string;
862
+ review_comment_url: string;
863
+ comments_url: string;
864
+ statuses_url: string;
865
+ number: number;
866
+ state: string;
867
+ locked: boolean;
868
+ title: string;
869
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
870
+ body: string | null;
871
+ labels: {
872
+ id: number;
873
+ node_id: string;
874
+ url: string;
875
+ name: string;
876
+ description: string;
877
+ color: string;
878
+ default: boolean;
879
+ }[];
880
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
881
+ active_lock_reason?: string | null;
882
+ created_at: string;
883
+ updated_at: string;
884
+ closed_at: string | null;
885
+ merged_at: string | null;
886
+ merge_commit_sha: string | null;
887
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
888
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
889
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
890
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team"][] | null;
891
+ head: {
892
+ label: string;
893
+ ref: string;
894
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
895
+ sha: string;
896
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
897
+ };
898
+ base: {
899
+ label: string;
900
+ ref: string;
901
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
902
+ sha: string;
903
+ user: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
904
+ };
905
+ _links: {
906
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
907
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
908
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
909
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
910
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
911
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
912
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
913
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
914
+ };
915
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
916
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
917
+ draft?: boolean;
918
+ }>;
919
+ pull(pullNumber: number): {
920
+ get apiEndpoint(): string;
921
+ getCommits(): Promise<{
922
+ url: string;
923
+ sha: string;
924
+ node_id: string;
925
+ html_url: string;
926
+ comments_url: string;
927
+ commit: {
928
+ url: string;
929
+ author: import("@octokit/openapi-types").components["schemas"]["nullable-git-user"];
930
+ committer: import("@octokit/openapi-types").components["schemas"]["nullable-git-user"];
931
+ message: string;
932
+ comment_count: number;
933
+ tree: {
934
+ sha: string;
935
+ url: string;
936
+ };
937
+ verification?: import("@octokit/openapi-types").components["schemas"]["verification"];
938
+ };
939
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["empty-object"] | null;
940
+ committer: import("@octokit/openapi-types").components["schemas"]["simple-user"] | import("@octokit/openapi-types").components["schemas"]["empty-object"] | null;
941
+ parents: {
942
+ sha: string;
943
+ url: string;
944
+ html_url?: string;
945
+ }[];
946
+ stats?: {
947
+ additions?: number;
948
+ deletions?: number;
949
+ total?: number;
950
+ };
951
+ files?: import("@octokit/openapi-types").components["schemas"]["diff-entry"][];
952
+ }[]>;
953
+ getReviewers(): Promise<{
954
+ users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
955
+ teams: import("@octokit/openapi-types").components["schemas"]["team"][];
956
+ }>;
957
+ postReviewers(body: {
958
+ data: never;
959
+ }): Promise<{
960
+ users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
961
+ teams: import("@octokit/openapi-types").components["schemas"]["team"][];
962
+ }>;
963
+ pullNumber: number;
964
+ owner: string;
965
+ repo: string;
966
+ token: string;
967
+ get apiOrigin(): string;
968
+ get requestHeaders(): {
969
+ accept: string;
970
+ authorization: string;
971
+ "X-GitHub-Api-Version": string;
972
+ };
973
+ get pageSizeForRequest(): number;
974
+ getPagedList(query?: Record<string, string>): Promise<{
975
+ url: string;
976
+ id: number;
977
+ node_id: string;
978
+ html_url: string;
979
+ diff_url: string;
980
+ patch_url: string;
981
+ issue_url: string;
982
+ commits_url: string;
983
+ review_comments_url: string;
984
+ review_comment_url: string;
985
+ comments_url: string;
986
+ statuses_url: string;
987
+ number: number;
988
+ state: "open" | "closed";
989
+ locked: boolean;
990
+ title: string;
991
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
992
+ body: string | null;
993
+ labels: {
994
+ id: number;
995
+ node_id: string;
996
+ url: string;
997
+ name: string;
998
+ description: string | null;
999
+ color: string;
1000
+ default: boolean;
1001
+ }[];
1002
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1003
+ active_lock_reason?: string | null;
1004
+ created_at: string;
1005
+ updated_at: string;
1006
+ closed_at: string | null;
1007
+ merged_at: string | null;
1008
+ merge_commit_sha: string | null;
1009
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1010
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1011
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1012
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1013
+ head: {
1014
+ label: string;
1015
+ ref: string;
1016
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1017
+ sha: string;
1018
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1019
+ };
1020
+ base: {
1021
+ label: string;
1022
+ ref: string;
1023
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1024
+ sha: string;
1025
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1026
+ };
1027
+ _links: {
1028
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1029
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1030
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1031
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1032
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1033
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1034
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1035
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1036
+ };
1037
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1038
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1039
+ draft?: boolean;
1040
+ merged: boolean;
1041
+ mergeable: boolean | null;
1042
+ rebaseable?: boolean | null;
1043
+ mergeable_state: string;
1044
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1045
+ comments: number;
1046
+ review_comments: number;
1047
+ maintainer_can_modify: boolean;
1048
+ commits: number;
1049
+ additions: number;
1050
+ deletions: number;
1051
+ changed_files: number;
1052
+ }[]>;
1053
+ getList(query?: Record<string, string>): Promise<{
1054
+ url: string;
1055
+ id: number;
1056
+ node_id: string;
1057
+ html_url: string;
1058
+ diff_url: string;
1059
+ patch_url: string;
1060
+ issue_url: string;
1061
+ commits_url: string;
1062
+ review_comments_url: string;
1063
+ review_comment_url: string;
1064
+ comments_url: string;
1065
+ statuses_url: string;
1066
+ number: number;
1067
+ state: "open" | "closed";
1068
+ locked: boolean;
1069
+ title: string;
1070
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1071
+ body: string | null;
1072
+ labels: {
1073
+ id: number;
1074
+ node_id: string;
1075
+ url: string;
1076
+ name: string;
1077
+ description: string | null;
1078
+ color: string;
1079
+ default: boolean;
1080
+ }[];
1081
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1082
+ active_lock_reason?: string | null;
1083
+ created_at: string;
1084
+ updated_at: string;
1085
+ closed_at: string | null;
1086
+ merged_at: string | null;
1087
+ merge_commit_sha: string | null;
1088
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1089
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1090
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1091
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1092
+ head: {
1093
+ label: string;
1094
+ ref: string;
1095
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1096
+ sha: string;
1097
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1098
+ };
1099
+ base: {
1100
+ label: string;
1101
+ ref: string;
1102
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1103
+ sha: string;
1104
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1105
+ };
1106
+ _links: {
1107
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1108
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1109
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1110
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1111
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1112
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1113
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1114
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1115
+ };
1116
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1117
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1118
+ draft?: boolean;
1119
+ merged: boolean;
1120
+ mergeable: boolean | null;
1121
+ rebaseable?: boolean | null;
1122
+ mergeable_state: string;
1123
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1124
+ comments: number;
1125
+ review_comments: number;
1126
+ maintainer_can_modify: boolean;
1127
+ commits: number;
1128
+ additions: number;
1129
+ deletions: number;
1130
+ changed_files: number;
1131
+ }[]>;
1132
+ get(): Promise<{
1133
+ url: string;
1134
+ id: number;
1135
+ node_id: string;
1136
+ html_url: string;
1137
+ diff_url: string;
1138
+ patch_url: string;
1139
+ issue_url: string;
1140
+ commits_url: string;
1141
+ review_comments_url: string;
1142
+ review_comment_url: string;
1143
+ comments_url: string;
1144
+ statuses_url: string;
1145
+ number: number;
1146
+ state: "open" | "closed";
1147
+ locked: boolean;
1148
+ title: string;
1149
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1150
+ body: string | null;
1151
+ labels: {
1152
+ id: number;
1153
+ node_id: string;
1154
+ url: string;
1155
+ name: string;
1156
+ description: string | null;
1157
+ color: string;
1158
+ default: boolean;
1159
+ }[];
1160
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1161
+ active_lock_reason?: string | null;
1162
+ created_at: string;
1163
+ updated_at: string;
1164
+ closed_at: string | null;
1165
+ merged_at: string | null;
1166
+ merge_commit_sha: string | null;
1167
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1168
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1169
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1170
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1171
+ head: {
1172
+ label: string;
1173
+ ref: string;
1174
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1175
+ sha: string;
1176
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1177
+ };
1178
+ base: {
1179
+ label: string;
1180
+ ref: string;
1181
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1182
+ sha: string;
1183
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1184
+ };
1185
+ _links: {
1186
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1187
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1188
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1189
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1190
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1191
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1192
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1193
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1194
+ };
1195
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1196
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1197
+ draft?: boolean;
1198
+ merged: boolean;
1199
+ mergeable: boolean | null;
1200
+ rebaseable?: boolean | null;
1201
+ mergeable_state: string;
1202
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1203
+ comments: number;
1204
+ review_comments: number;
1205
+ maintainer_can_modify: boolean;
1206
+ commits: number;
1207
+ additions: number;
1208
+ deletions: number;
1209
+ changed_files: number;
1210
+ }>;
1211
+ post(body: {
1212
+ data: never;
1213
+ }): Promise<{
1214
+ url: string;
1215
+ id: number;
1216
+ node_id: string;
1217
+ html_url: string;
1218
+ diff_url: string;
1219
+ patch_url: string;
1220
+ issue_url: string;
1221
+ commits_url: string;
1222
+ review_comments_url: string;
1223
+ review_comment_url: string;
1224
+ comments_url: string;
1225
+ statuses_url: string;
1226
+ number: number;
1227
+ state: "open" | "closed";
1228
+ locked: boolean;
1229
+ title: string;
1230
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1231
+ body: string | null;
1232
+ labels: {
1233
+ id: number;
1234
+ node_id: string;
1235
+ url: string;
1236
+ name: string;
1237
+ description: string | null;
1238
+ color: string;
1239
+ default: boolean;
1240
+ }[];
1241
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1242
+ active_lock_reason?: string | null;
1243
+ created_at: string;
1244
+ updated_at: string;
1245
+ closed_at: string | null;
1246
+ merged_at: string | null;
1247
+ merge_commit_sha: string | null;
1248
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1249
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1250
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1251
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1252
+ head: {
1253
+ label: string;
1254
+ ref: string;
1255
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1256
+ sha: string;
1257
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1258
+ };
1259
+ base: {
1260
+ label: string;
1261
+ ref: string;
1262
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1263
+ sha: string;
1264
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1265
+ };
1266
+ _links: {
1267
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1268
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1269
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1270
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1271
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1272
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1273
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1274
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1275
+ };
1276
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1277
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1278
+ draft?: boolean;
1279
+ merged: boolean;
1280
+ mergeable: boolean | null;
1281
+ rebaseable?: boolean | null;
1282
+ mergeable_state: string;
1283
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1284
+ comments: number;
1285
+ review_comments: number;
1286
+ maintainer_can_modify: boolean;
1287
+ commits: number;
1288
+ additions: number;
1289
+ deletions: number;
1290
+ changed_files: number;
1291
+ }>;
1292
+ patch(body: {
1293
+ data: never;
1294
+ }): Promise<{
1295
+ url: string;
1296
+ id: number;
1297
+ node_id: string;
1298
+ html_url: string;
1299
+ diff_url: string;
1300
+ patch_url: string;
1301
+ issue_url: string;
1302
+ commits_url: string;
1303
+ review_comments_url: string;
1304
+ review_comment_url: string;
1305
+ comments_url: string;
1306
+ statuses_url: string;
1307
+ number: number;
1308
+ state: "open" | "closed";
1309
+ locked: boolean;
1310
+ title: string;
1311
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1312
+ body: string | null;
1313
+ labels: {
1314
+ id: number;
1315
+ node_id: string;
1316
+ url: string;
1317
+ name: string;
1318
+ description: string | null;
1319
+ color: string;
1320
+ default: boolean;
1321
+ }[];
1322
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1323
+ active_lock_reason?: string | null;
1324
+ created_at: string;
1325
+ updated_at: string;
1326
+ closed_at: string | null;
1327
+ merged_at: string | null;
1328
+ merge_commit_sha: string | null;
1329
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1330
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1331
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1332
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1333
+ head: {
1334
+ label: string;
1335
+ ref: string;
1336
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1337
+ sha: string;
1338
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1339
+ };
1340
+ base: {
1341
+ label: string;
1342
+ ref: string;
1343
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1344
+ sha: string;
1345
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1346
+ };
1347
+ _links: {
1348
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1349
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1350
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1351
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1352
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1353
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1354
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1355
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1356
+ };
1357
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1358
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1359
+ draft?: boolean;
1360
+ merged: boolean;
1361
+ mergeable: boolean | null;
1362
+ rebaseable?: boolean | null;
1363
+ mergeable_state: string;
1364
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1365
+ comments: number;
1366
+ review_comments: number;
1367
+ maintainer_can_modify: boolean;
1368
+ commits: number;
1369
+ additions: number;
1370
+ deletions: number;
1371
+ changed_files: number;
1372
+ }>;
1373
+ delete(): Promise<void>;
1374
+ };
1375
+ getPull(pullNumber: number): Promise<{
1376
+ url: string;
1377
+ id: number;
1378
+ node_id: string;
1379
+ html_url: string;
1380
+ diff_url: string;
1381
+ patch_url: string;
1382
+ issue_url: string;
1383
+ commits_url: string;
1384
+ review_comments_url: string;
1385
+ review_comment_url: string;
1386
+ comments_url: string;
1387
+ statuses_url: string;
1388
+ number: number;
1389
+ state: "open" | "closed";
1390
+ locked: boolean;
1391
+ title: string;
1392
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1393
+ body: string | null;
1394
+ labels: {
1395
+ id: number;
1396
+ node_id: string;
1397
+ url: string;
1398
+ name: string;
1399
+ description: string | null;
1400
+ color: string;
1401
+ default: boolean;
1402
+ }[];
1403
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1404
+ active_lock_reason?: string | null;
1405
+ created_at: string;
1406
+ updated_at: string;
1407
+ closed_at: string | null;
1408
+ merged_at: string | null;
1409
+ merge_commit_sha: string | null;
1410
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1411
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1412
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1413
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1414
+ head: {
1415
+ label: string;
1416
+ ref: string;
1417
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1418
+ sha: string;
1419
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1420
+ };
1421
+ base: {
1422
+ label: string;
1423
+ ref: string;
1424
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1425
+ sha: string;
1426
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1427
+ };
1428
+ _links: {
1429
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1430
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1431
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1432
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1433
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1434
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1435
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1436
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1437
+ };
1438
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1439
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1440
+ draft?: boolean;
1441
+ merged: boolean;
1442
+ mergeable: boolean | null;
1443
+ rebaseable?: boolean | null;
1444
+ mergeable_state: string;
1445
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1446
+ comments: number;
1447
+ review_comments: number;
1448
+ maintainer_can_modify: boolean;
1449
+ commits: number;
1450
+ additions: number;
1451
+ deletions: number;
1452
+ changed_files: number;
1453
+ }>;
1454
+ patchPull(pullNumber: number, body: {
1455
+ data: never;
1456
+ }): Promise<{
1457
+ url: string;
1458
+ id: number;
1459
+ node_id: string;
1460
+ html_url: string;
1461
+ diff_url: string;
1462
+ patch_url: string;
1463
+ issue_url: string;
1464
+ commits_url: string;
1465
+ review_comments_url: string;
1466
+ review_comment_url: string;
1467
+ comments_url: string;
1468
+ statuses_url: string;
1469
+ number: number;
1470
+ state: "open" | "closed";
1471
+ locked: boolean;
1472
+ title: string;
1473
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1474
+ body: string | null;
1475
+ labels: {
1476
+ id: number;
1477
+ node_id: string;
1478
+ url: string;
1479
+ name: string;
1480
+ description: string | null;
1481
+ color: string;
1482
+ default: boolean;
1483
+ }[];
1484
+ milestone: import("@octokit/openapi-types").components["schemas"]["nullable-milestone"];
1485
+ active_lock_reason?: string | null;
1486
+ created_at: string;
1487
+ updated_at: string;
1488
+ closed_at: string | null;
1489
+ merged_at: string | null;
1490
+ merge_commit_sha: string | null;
1491
+ assignee: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1492
+ assignees?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1493
+ requested_reviewers?: import("@octokit/openapi-types").components["schemas"]["simple-user"][] | null;
1494
+ requested_teams?: import("@octokit/openapi-types").components["schemas"]["team-simple"][] | null;
1495
+ head: {
1496
+ label: string;
1497
+ ref: string;
1498
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1499
+ sha: string;
1500
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1501
+ };
1502
+ base: {
1503
+ label: string;
1504
+ ref: string;
1505
+ repo: import("@octokit/openapi-types").components["schemas"]["repository"];
1506
+ sha: string;
1507
+ user: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1508
+ };
1509
+ _links: {
1510
+ comments: import("@octokit/openapi-types").components["schemas"]["link"];
1511
+ commits: import("@octokit/openapi-types").components["schemas"]["link"];
1512
+ statuses: import("@octokit/openapi-types").components["schemas"]["link"];
1513
+ html: import("@octokit/openapi-types").components["schemas"]["link"];
1514
+ issue: import("@octokit/openapi-types").components["schemas"]["link"];
1515
+ review_comments: import("@octokit/openapi-types").components["schemas"]["link"];
1516
+ review_comment: import("@octokit/openapi-types").components["schemas"]["link"];
1517
+ self: import("@octokit/openapi-types").components["schemas"]["link"];
1518
+ };
1519
+ author_association: import("@octokit/openapi-types").components["schemas"]["author-association"];
1520
+ auto_merge: import("@octokit/openapi-types").components["schemas"]["auto-merge"];
1521
+ draft?: boolean;
1522
+ merged: boolean;
1523
+ mergeable: boolean | null;
1524
+ rebaseable?: boolean | null;
1525
+ mergeable_state: string;
1526
+ merged_by: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1527
+ comments: number;
1528
+ review_comments: number;
1529
+ maintainer_can_modify: boolean;
1530
+ commits: number;
1531
+ additions: number;
1532
+ deletions: number;
1533
+ changed_files: number;
1534
+ }>;
1535
+ getReleases(query?: Record<string, string>): Promise<{
1536
+ url: string;
1537
+ html_url: string;
1538
+ assets_url: string;
1539
+ upload_url: string;
1540
+ tarball_url: string | null;
1541
+ zipball_url: string | null;
1542
+ id: number;
1543
+ node_id: string;
1544
+ tag_name: string;
1545
+ target_commitish: string;
1546
+ name: string | null;
1547
+ body?: string | null;
1548
+ draft: boolean;
1549
+ prerelease: boolean;
1550
+ immutable?: boolean;
1551
+ created_at: string;
1552
+ published_at: string | null;
1553
+ updated_at?: string | null;
1554
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1555
+ assets: import("@octokit/openapi-types").components["schemas"]["release-asset"][];
1556
+ body_html?: string;
1557
+ body_text?: string;
1558
+ mentions_count?: number;
1559
+ discussion_url?: string;
1560
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1561
+ }[]>;
1562
+ postRelease(body: {
1563
+ tag_name: string;
1564
+ target_commitish?: string;
1565
+ name?: string;
1566
+ body?: string;
1567
+ draft?: boolean;
1568
+ prerelease?: boolean;
1569
+ discussion_category_name?: string;
1570
+ generate_release_notes?: boolean;
1571
+ make_latest?: "true" | "false" | "legacy";
1572
+ }): Promise<{
1573
+ url: string;
1574
+ html_url: string;
1575
+ assets_url: string;
1576
+ upload_url: string;
1577
+ tarball_url: string | null;
1578
+ zipball_url: string | null;
1579
+ id: number;
1580
+ node_id: string;
1581
+ tag_name: string;
1582
+ target_commitish: string;
1583
+ name: string | null;
1584
+ body?: string | null;
1585
+ draft: boolean;
1586
+ prerelease: boolean;
1587
+ immutable?: boolean;
1588
+ created_at: string;
1589
+ published_at: string | null;
1590
+ updated_at?: string | null;
1591
+ author: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1592
+ assets: import("@octokit/openapi-types").components["schemas"]["release-asset"][];
1593
+ body_html?: string;
1594
+ body_text?: string;
1595
+ mentions_count?: number;
1596
+ discussion_url?: string;
1597
+ reactions?: import("@octokit/openapi-types").components["schemas"]["reaction-rollup"];
1598
+ }>;
1599
+ getLatestRelease(): Promise<never>;
1600
+ postCommit(body: {
1601
+ message: string;
1602
+ tree: string;
1603
+ parents?: string[];
1604
+ author?: {
1605
+ name: string;
1606
+ email: string;
1607
+ date?: string;
1608
+ };
1609
+ committer?: {
1610
+ name?: string;
1611
+ email?: string;
1612
+ date?: string;
1613
+ };
1614
+ signature?: string;
1615
+ }): Promise<{
1616
+ sha: string;
1617
+ node_id: string;
1618
+ url: string;
1619
+ author: {
1620
+ date: string;
1621
+ email: string;
1622
+ name: string;
1623
+ };
1624
+ committer: {
1625
+ date: string;
1626
+ email: string;
1627
+ name: string;
1628
+ };
1629
+ message: string;
1630
+ tree: {
1631
+ sha: string;
1632
+ url: string;
1633
+ };
1634
+ parents: {
1635
+ sha: string;
1636
+ url: string;
1637
+ html_url: string;
1638
+ }[];
1639
+ verification: {
1640
+ verified: boolean;
1641
+ reason: string;
1642
+ signature: string | null;
1643
+ payload: string | null;
1644
+ verified_at: string | null;
1645
+ };
1646
+ html_url: string;
1647
+ }>;
1648
+ getRuns(query?: Record<string, string | number>): Promise<{
1649
+ id: number;
1650
+ name?: string | null;
1651
+ node_id: string;
1652
+ check_suite_id?: number;
1653
+ check_suite_node_id?: string;
1654
+ head_branch: string | null;
1655
+ head_sha: string;
1656
+ path: string;
1657
+ run_number: number;
1658
+ run_attempt?: number;
1659
+ referenced_workflows?: import("@octokit/openapi-types").components["schemas"]["referenced-workflow"][] | null;
1660
+ event: string;
1661
+ status: string | null;
1662
+ conclusion: string | null;
1663
+ workflow_id: number;
1664
+ url: string;
1665
+ html_url: string;
1666
+ pull_requests: import("@octokit/openapi-types").components["schemas"]["pull-request-minimal"][] | null;
1667
+ created_at: string;
1668
+ updated_at: string;
1669
+ actor?: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1670
+ triggering_actor?: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1671
+ run_started_at?: string;
1672
+ jobs_url: string;
1673
+ logs_url: string;
1674
+ check_suite_url: string;
1675
+ artifacts_url: string;
1676
+ cancel_url: string;
1677
+ rerun_url: string;
1678
+ previous_attempt_url?: string | null;
1679
+ workflow_url: string;
1680
+ head_commit: import("@octokit/openapi-types").components["schemas"]["nullable-simple-commit"];
1681
+ repository: import("@octokit/openapi-types").components["schemas"]["minimal-repository"];
1682
+ head_repository: import("@octokit/openapi-types").components["schemas"]["minimal-repository"];
1683
+ head_repository_id?: number;
1684
+ display_title: string;
1685
+ }[]>;
1686
+ owner: string;
1687
+ repo: string;
1688
+ token: string;
1689
+ get apiOrigin(): string;
1690
+ get requestHeaders(): {
1691
+ accept: string;
1692
+ authorization: string;
1693
+ "X-GitHub-Api-Version": string;
1694
+ };
1695
+ get pageSizeForRequest(): number;
1696
+ getPagedList(query?: Record<string, string>): Promise<{
1697
+ id: number;
1698
+ node_id: string;
1699
+ name: string;
1700
+ full_name: string;
1701
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1702
+ private: boolean;
1703
+ html_url: string;
1704
+ description: string | null;
1705
+ fork: boolean;
1706
+ url: string;
1707
+ archive_url: string;
1708
+ assignees_url: string;
1709
+ blobs_url: string;
1710
+ branches_url: string;
1711
+ collaborators_url: string;
1712
+ comments_url: string;
1713
+ commits_url: string;
1714
+ compare_url: string;
1715
+ contents_url: string;
1716
+ contributors_url: string;
1717
+ deployments_url: string;
1718
+ downloads_url: string;
1719
+ events_url: string;
1720
+ forks_url: string;
1721
+ git_commits_url: string;
1722
+ git_refs_url: string;
1723
+ git_tags_url: string;
1724
+ git_url: string;
1725
+ issue_comment_url: string;
1726
+ issue_events_url: string;
1727
+ issues_url: string;
1728
+ keys_url: string;
1729
+ labels_url: string;
1730
+ languages_url: string;
1731
+ merges_url: string;
1732
+ milestones_url: string;
1733
+ notifications_url: string;
1734
+ pulls_url: string;
1735
+ releases_url: string;
1736
+ ssh_url: string;
1737
+ stargazers_url: string;
1738
+ statuses_url: string;
1739
+ subscribers_url: string;
1740
+ subscription_url: string;
1741
+ tags_url: string;
1742
+ teams_url: string;
1743
+ trees_url: string;
1744
+ clone_url: string;
1745
+ mirror_url: string | null;
1746
+ hooks_url: string;
1747
+ svn_url: string;
1748
+ homepage: string | null;
1749
+ language: string | null;
1750
+ forks_count: number;
1751
+ stargazers_count: number;
1752
+ watchers_count: number;
1753
+ size: number;
1754
+ default_branch: string;
1755
+ open_issues_count: number;
1756
+ is_template?: boolean;
1757
+ topics?: string[];
1758
+ has_issues: boolean;
1759
+ has_projects: boolean;
1760
+ has_wiki: boolean;
1761
+ has_pages: boolean;
1762
+ has_downloads?: boolean;
1763
+ has_discussions: boolean;
1764
+ archived: boolean;
1765
+ disabled: boolean;
1766
+ visibility?: string;
1767
+ pushed_at: string;
1768
+ created_at: string;
1769
+ updated_at: string;
1770
+ permissions?: {
1771
+ admin: boolean;
1772
+ maintain?: boolean;
1773
+ push: boolean;
1774
+ triage?: boolean;
1775
+ pull: boolean;
1776
+ };
1777
+ allow_rebase_merge?: boolean;
1778
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
1779
+ temp_clone_token?: string | null;
1780
+ allow_squash_merge?: boolean;
1781
+ allow_auto_merge?: boolean;
1782
+ delete_branch_on_merge?: boolean;
1783
+ allow_merge_commit?: boolean;
1784
+ allow_update_branch?: boolean;
1785
+ use_squash_pr_title_as_default?: boolean;
1786
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
1787
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
1788
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
1789
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
1790
+ allow_forking?: boolean;
1791
+ web_commit_signoff_required?: boolean;
1792
+ subscribers_count: number;
1793
+ network_count: number;
1794
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
1795
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1796
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
1797
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
1798
+ forks: number;
1799
+ master_branch?: string;
1800
+ open_issues: number;
1801
+ watchers: number;
1802
+ anonymous_access_enabled?: boolean;
1803
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
1804
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
1805
+ custom_properties?: {
1806
+ [key: string]: unknown;
1807
+ };
1808
+ }[]>;
1809
+ getList(query?: Record<string, string>): Promise<{
1810
+ id: number;
1811
+ node_id: string;
1812
+ name: string;
1813
+ full_name: string;
1814
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1815
+ private: boolean;
1816
+ html_url: string;
1817
+ description: string | null;
1818
+ fork: boolean;
1819
+ url: string;
1820
+ archive_url: string;
1821
+ assignees_url: string;
1822
+ blobs_url: string;
1823
+ branches_url: string;
1824
+ collaborators_url: string;
1825
+ comments_url: string;
1826
+ commits_url: string;
1827
+ compare_url: string;
1828
+ contents_url: string;
1829
+ contributors_url: string;
1830
+ deployments_url: string;
1831
+ downloads_url: string;
1832
+ events_url: string;
1833
+ forks_url: string;
1834
+ git_commits_url: string;
1835
+ git_refs_url: string;
1836
+ git_tags_url: string;
1837
+ git_url: string;
1838
+ issue_comment_url: string;
1839
+ issue_events_url: string;
1840
+ issues_url: string;
1841
+ keys_url: string;
1842
+ labels_url: string;
1843
+ languages_url: string;
1844
+ merges_url: string;
1845
+ milestones_url: string;
1846
+ notifications_url: string;
1847
+ pulls_url: string;
1848
+ releases_url: string;
1849
+ ssh_url: string;
1850
+ stargazers_url: string;
1851
+ statuses_url: string;
1852
+ subscribers_url: string;
1853
+ subscription_url: string;
1854
+ tags_url: string;
1855
+ teams_url: string;
1856
+ trees_url: string;
1857
+ clone_url: string;
1858
+ mirror_url: string | null;
1859
+ hooks_url: string;
1860
+ svn_url: string;
1861
+ homepage: string | null;
1862
+ language: string | null;
1863
+ forks_count: number;
1864
+ stargazers_count: number;
1865
+ watchers_count: number;
1866
+ size: number;
1867
+ default_branch: string;
1868
+ open_issues_count: number;
1869
+ is_template?: boolean;
1870
+ topics?: string[];
1871
+ has_issues: boolean;
1872
+ has_projects: boolean;
1873
+ has_wiki: boolean;
1874
+ has_pages: boolean;
1875
+ has_downloads?: boolean;
1876
+ has_discussions: boolean;
1877
+ archived: boolean;
1878
+ disabled: boolean;
1879
+ visibility?: string;
1880
+ pushed_at: string;
1881
+ created_at: string;
1882
+ updated_at: string;
1883
+ permissions?: {
1884
+ admin: boolean;
1885
+ maintain?: boolean;
1886
+ push: boolean;
1887
+ triage?: boolean;
1888
+ pull: boolean;
1889
+ };
1890
+ allow_rebase_merge?: boolean;
1891
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
1892
+ temp_clone_token?: string | null;
1893
+ allow_squash_merge?: boolean;
1894
+ allow_auto_merge?: boolean;
1895
+ delete_branch_on_merge?: boolean;
1896
+ allow_merge_commit?: boolean;
1897
+ allow_update_branch?: boolean;
1898
+ use_squash_pr_title_as_default?: boolean;
1899
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
1900
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
1901
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
1902
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
1903
+ allow_forking?: boolean;
1904
+ web_commit_signoff_required?: boolean;
1905
+ subscribers_count: number;
1906
+ network_count: number;
1907
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
1908
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
1909
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
1910
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
1911
+ forks: number;
1912
+ master_branch?: string;
1913
+ open_issues: number;
1914
+ watchers: number;
1915
+ anonymous_access_enabled?: boolean;
1916
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
1917
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
1918
+ custom_properties?: {
1919
+ [key: string]: unknown;
1920
+ };
1921
+ }[]>;
1922
+ get(): Promise<{
1923
+ id: number;
1924
+ node_id: string;
1925
+ name: string;
1926
+ full_name: string;
1927
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
1928
+ private: boolean;
1929
+ html_url: string;
1930
+ description: string | null;
1931
+ fork: boolean;
1932
+ url: string;
1933
+ archive_url: string;
1934
+ assignees_url: string;
1935
+ blobs_url: string;
1936
+ branches_url: string;
1937
+ collaborators_url: string;
1938
+ comments_url: string;
1939
+ commits_url: string;
1940
+ compare_url: string;
1941
+ contents_url: string;
1942
+ contributors_url: string;
1943
+ deployments_url: string;
1944
+ downloads_url: string;
1945
+ events_url: string;
1946
+ forks_url: string;
1947
+ git_commits_url: string;
1948
+ git_refs_url: string;
1949
+ git_tags_url: string;
1950
+ git_url: string;
1951
+ issue_comment_url: string;
1952
+ issue_events_url: string;
1953
+ issues_url: string;
1954
+ keys_url: string;
1955
+ labels_url: string;
1956
+ languages_url: string;
1957
+ merges_url: string;
1958
+ milestones_url: string;
1959
+ notifications_url: string;
1960
+ pulls_url: string;
1961
+ releases_url: string;
1962
+ ssh_url: string;
1963
+ stargazers_url: string;
1964
+ statuses_url: string;
1965
+ subscribers_url: string;
1966
+ subscription_url: string;
1967
+ tags_url: string;
1968
+ teams_url: string;
1969
+ trees_url: string;
1970
+ clone_url: string;
1971
+ mirror_url: string | null;
1972
+ hooks_url: string;
1973
+ svn_url: string;
1974
+ homepage: string | null;
1975
+ language: string | null;
1976
+ forks_count: number;
1977
+ stargazers_count: number;
1978
+ watchers_count: number;
1979
+ size: number;
1980
+ default_branch: string;
1981
+ open_issues_count: number;
1982
+ is_template?: boolean;
1983
+ topics?: string[];
1984
+ has_issues: boolean;
1985
+ has_projects: boolean;
1986
+ has_wiki: boolean;
1987
+ has_pages: boolean;
1988
+ has_downloads?: boolean;
1989
+ has_discussions: boolean;
1990
+ archived: boolean;
1991
+ disabled: boolean;
1992
+ visibility?: string;
1993
+ pushed_at: string;
1994
+ created_at: string;
1995
+ updated_at: string;
1996
+ permissions?: {
1997
+ admin: boolean;
1998
+ maintain?: boolean;
1999
+ push: boolean;
2000
+ triage?: boolean;
2001
+ pull: boolean;
2002
+ };
2003
+ allow_rebase_merge?: boolean;
2004
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
2005
+ temp_clone_token?: string | null;
2006
+ allow_squash_merge?: boolean;
2007
+ allow_auto_merge?: boolean;
2008
+ delete_branch_on_merge?: boolean;
2009
+ allow_merge_commit?: boolean;
2010
+ allow_update_branch?: boolean;
2011
+ use_squash_pr_title_as_default?: boolean;
2012
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
2013
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
2014
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
2015
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
2016
+ allow_forking?: boolean;
2017
+ web_commit_signoff_required?: boolean;
2018
+ subscribers_count: number;
2019
+ network_count: number;
2020
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
2021
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2022
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
2023
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
2024
+ forks: number;
2025
+ master_branch?: string;
2026
+ open_issues: number;
2027
+ watchers: number;
2028
+ anonymous_access_enabled?: boolean;
2029
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
2030
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
2031
+ custom_properties?: {
2032
+ [key: string]: unknown;
2033
+ };
2034
+ }>;
2035
+ post(body: {
2036
+ data: never;
2037
+ }): Promise<{
2038
+ id: number;
2039
+ node_id: string;
2040
+ name: string;
2041
+ full_name: string;
2042
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2043
+ private: boolean;
2044
+ html_url: string;
2045
+ description: string | null;
2046
+ fork: boolean;
2047
+ url: string;
2048
+ archive_url: string;
2049
+ assignees_url: string;
2050
+ blobs_url: string;
2051
+ branches_url: string;
2052
+ collaborators_url: string;
2053
+ comments_url: string;
2054
+ commits_url: string;
2055
+ compare_url: string;
2056
+ contents_url: string;
2057
+ contributors_url: string;
2058
+ deployments_url: string;
2059
+ downloads_url: string;
2060
+ events_url: string;
2061
+ forks_url: string;
2062
+ git_commits_url: string;
2063
+ git_refs_url: string;
2064
+ git_tags_url: string;
2065
+ git_url: string;
2066
+ issue_comment_url: string;
2067
+ issue_events_url: string;
2068
+ issues_url: string;
2069
+ keys_url: string;
2070
+ labels_url: string;
2071
+ languages_url: string;
2072
+ merges_url: string;
2073
+ milestones_url: string;
2074
+ notifications_url: string;
2075
+ pulls_url: string;
2076
+ releases_url: string;
2077
+ ssh_url: string;
2078
+ stargazers_url: string;
2079
+ statuses_url: string;
2080
+ subscribers_url: string;
2081
+ subscription_url: string;
2082
+ tags_url: string;
2083
+ teams_url: string;
2084
+ trees_url: string;
2085
+ clone_url: string;
2086
+ mirror_url: string | null;
2087
+ hooks_url: string;
2088
+ svn_url: string;
2089
+ homepage: string | null;
2090
+ language: string | null;
2091
+ forks_count: number;
2092
+ stargazers_count: number;
2093
+ watchers_count: number;
2094
+ size: number;
2095
+ default_branch: string;
2096
+ open_issues_count: number;
2097
+ is_template?: boolean;
2098
+ topics?: string[];
2099
+ has_issues: boolean;
2100
+ has_projects: boolean;
2101
+ has_wiki: boolean;
2102
+ has_pages: boolean;
2103
+ has_downloads?: boolean;
2104
+ has_discussions: boolean;
2105
+ archived: boolean;
2106
+ disabled: boolean;
2107
+ visibility?: string;
2108
+ pushed_at: string;
2109
+ created_at: string;
2110
+ updated_at: string;
2111
+ permissions?: {
2112
+ admin: boolean;
2113
+ maintain?: boolean;
2114
+ push: boolean;
2115
+ triage?: boolean;
2116
+ pull: boolean;
2117
+ };
2118
+ allow_rebase_merge?: boolean;
2119
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
2120
+ temp_clone_token?: string | null;
2121
+ allow_squash_merge?: boolean;
2122
+ allow_auto_merge?: boolean;
2123
+ delete_branch_on_merge?: boolean;
2124
+ allow_merge_commit?: boolean;
2125
+ allow_update_branch?: boolean;
2126
+ use_squash_pr_title_as_default?: boolean;
2127
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
2128
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
2129
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
2130
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
2131
+ allow_forking?: boolean;
2132
+ web_commit_signoff_required?: boolean;
2133
+ subscribers_count: number;
2134
+ network_count: number;
2135
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
2136
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2137
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
2138
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
2139
+ forks: number;
2140
+ master_branch?: string;
2141
+ open_issues: number;
2142
+ watchers: number;
2143
+ anonymous_access_enabled?: boolean;
2144
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
2145
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
2146
+ custom_properties?: {
2147
+ [key: string]: unknown;
2148
+ };
2149
+ }>;
2150
+ patch(body: {
2151
+ data: never;
2152
+ }): Promise<{
2153
+ id: number;
2154
+ node_id: string;
2155
+ name: string;
2156
+ full_name: string;
2157
+ owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
2158
+ private: boolean;
2159
+ html_url: string;
2160
+ description: string | null;
2161
+ fork: boolean;
2162
+ url: string;
2163
+ archive_url: string;
2164
+ assignees_url: string;
2165
+ blobs_url: string;
2166
+ branches_url: string;
2167
+ collaborators_url: string;
2168
+ comments_url: string;
2169
+ commits_url: string;
2170
+ compare_url: string;
2171
+ contents_url: string;
2172
+ contributors_url: string;
2173
+ deployments_url: string;
2174
+ downloads_url: string;
2175
+ events_url: string;
2176
+ forks_url: string;
2177
+ git_commits_url: string;
2178
+ git_refs_url: string;
2179
+ git_tags_url: string;
2180
+ git_url: string;
2181
+ issue_comment_url: string;
2182
+ issue_events_url: string;
2183
+ issues_url: string;
2184
+ keys_url: string;
2185
+ labels_url: string;
2186
+ languages_url: string;
2187
+ merges_url: string;
2188
+ milestones_url: string;
2189
+ notifications_url: string;
2190
+ pulls_url: string;
2191
+ releases_url: string;
2192
+ ssh_url: string;
2193
+ stargazers_url: string;
2194
+ statuses_url: string;
2195
+ subscribers_url: string;
2196
+ subscription_url: string;
2197
+ tags_url: string;
2198
+ teams_url: string;
2199
+ trees_url: string;
2200
+ clone_url: string;
2201
+ mirror_url: string | null;
2202
+ hooks_url: string;
2203
+ svn_url: string;
2204
+ homepage: string | null;
2205
+ language: string | null;
2206
+ forks_count: number;
2207
+ stargazers_count: number;
2208
+ watchers_count: number;
2209
+ size: number;
2210
+ default_branch: string;
2211
+ open_issues_count: number;
2212
+ is_template?: boolean;
2213
+ topics?: string[];
2214
+ has_issues: boolean;
2215
+ has_projects: boolean;
2216
+ has_wiki: boolean;
2217
+ has_pages: boolean;
2218
+ has_downloads?: boolean;
2219
+ has_discussions: boolean;
2220
+ archived: boolean;
2221
+ disabled: boolean;
2222
+ visibility?: string;
2223
+ pushed_at: string;
2224
+ created_at: string;
2225
+ updated_at: string;
2226
+ permissions?: {
2227
+ admin: boolean;
2228
+ maintain?: boolean;
2229
+ push: boolean;
2230
+ triage?: boolean;
2231
+ pull: boolean;
2232
+ };
2233
+ allow_rebase_merge?: boolean;
2234
+ template_repository?: import("@octokit/openapi-types").components["schemas"]["nullable-repository"];
2235
+ temp_clone_token?: string | null;
2236
+ allow_squash_merge?: boolean;
2237
+ allow_auto_merge?: boolean;
2238
+ delete_branch_on_merge?: boolean;
2239
+ allow_merge_commit?: boolean;
2240
+ allow_update_branch?: boolean;
2241
+ use_squash_pr_title_as_default?: boolean;
2242
+ squash_merge_commit_title?: "PR_TITLE" | "COMMIT_OR_PR_TITLE";
2243
+ squash_merge_commit_message?: "PR_BODY" | "COMMIT_MESSAGES" | "BLANK";
2244
+ merge_commit_title?: "PR_TITLE" | "MERGE_MESSAGE";
2245
+ merge_commit_message?: "PR_BODY" | "PR_TITLE" | "BLANK";
2246
+ allow_forking?: boolean;
2247
+ web_commit_signoff_required?: boolean;
2248
+ subscribers_count: number;
2249
+ network_count: number;
2250
+ license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
2251
+ organization?: import("@octokit/openapi-types").components["schemas"]["nullable-simple-user"];
2252
+ parent?: import("@octokit/openapi-types").components["schemas"]["repository"];
2253
+ source?: import("@octokit/openapi-types").components["schemas"]["repository"];
2254
+ forks: number;
2255
+ master_branch?: string;
2256
+ open_issues: number;
2257
+ watchers: number;
2258
+ anonymous_access_enabled?: boolean;
2259
+ code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct-simple"];
2260
+ security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
2261
+ custom_properties?: {
2262
+ [key: string]: unknown;
2263
+ };
2264
+ }>;
2265
+ delete(): Promise<void>;
2266
+ };
2267
+ };