UNPKG

870 kBTypeScriptView Raw
1/**
2 * This declaration file requires TypeScript 3.1 or above.
3 */
4
5/// <reference lib="esnext.asynciterable" />
6
7import * as http from "http";
8
9declare namespace Octokit {
10 type json = any;
11 type date = string;
12
13 export interface Static {
14 plugin(plugin: Plugin): Static;
15 new (options?: Octokit.Options): Octokit;
16 }
17
18 export interface Response<T> {
19 /** This is the data you would see in https://developer.Octokit.com/v3/ */
20 data: T;
21
22 /** Response status number */
23 status: number;
24
25 /** Response headers */
26 headers: {
27 date: string;
28 "x-ratelimit-limit": string;
29 "x-ratelimit-remaining": string;
30 "x-ratelimit-reset": string;
31 "x-Octokit-request-id": string;
32 "x-Octokit-media-type": string;
33 link: string;
34 "last-modified": string;
35 etag: string;
36 status: string;
37 };
38
39 [Symbol.iterator](): Iterator<any>;
40 }
41
42 export type AnyResponse = Response<any>;
43
44 export interface EmptyParams {}
45
46 export interface Options {
47 auth?:
48 | string
49 | { username: string; password: string; on2fa: () => Promise<string> }
50 | { clientId: string; clientSecret: string }
51 | { (): string | Promise<string> };
52 userAgent?: string;
53 previews?: string[];
54 baseUrl?: string;
55 log?: {
56 debug?: (message: string, info?: object) => void;
57 info?: (message: string, info?: object) => void;
58 warn?: (message: string, info?: object) => void;
59 error?: (message: string, info?: object) => void;
60 };
61 request?: {
62 agent?: http.Agent;
63 timeout?: number;
64 };
65 timeout?: number; // Deprecated
66 headers?: { [header: string]: any }; // Deprecated
67 agent?: http.Agent; // Deprecated
68 [option: string]: any;
69 }
70
71 export type RequestMethod =
72 | "DELETE"
73 | "GET"
74 | "HEAD"
75 | "PATCH"
76 | "POST"
77 | "PUT";
78
79 export interface EndpointOptions {
80 baseUrl?: string;
81 method?: RequestMethod;
82 url?: string;
83 headers?: { [header: string]: any };
84 data?: any;
85 request?: { [option: string]: any };
86 [parameter: string]: any;
87 }
88
89 export interface RequestOptions {
90 method?: RequestMethod;
91 url?: string;
92 headers?: { [header: string]: any };
93 body?: any;
94 request?: { [option: string]: any };
95 }
96
97 export interface Log {
98 debug: (message: string, additionalInfo?: object) => void;
99 info: (message: string, additionalInfo?: object) => void;
100 warn: (message: string, additionalInfo?: object) => void;
101 error: (message: string, additionalInfo?: object) => void;
102 }
103
104 export interface Endpoint {
105 (
106 Route: string,
107 EndpointOptions?: Octokit.EndpointOptions
108 ): Octokit.RequestOptions;
109 (EndpointOptions: Octokit.EndpointOptions): Octokit.RequestOptions;
110 /**
111 * Current default options
112 */
113 DEFAULTS: Octokit.EndpointOptions;
114 /**
115 * Get the defaulted endpoint options, but without parsing them into request options:
116 */
117 merge(
118 Route: string,
119 EndpointOptions?: Octokit.EndpointOptions
120 ): Octokit.RequestOptions;
121 merge(EndpointOptions: Octokit.EndpointOptions): Octokit.RequestOptions;
122 /**
123 * Stateless method to turn endpoint options into request options. Calling endpoint(options) is the same as calling endpoint.parse(endpoint.merge(options)).
124 */
125 parse(EndpointOptions: Octokit.EndpointOptions): Octokit.RequestOptions;
126 /**
127 * Merges existing defaults with passed options and returns new endpoint() method with new defaults
128 */
129 defaults(EndpointOptions: Octokit.EndpointOptions): Octokit.Endpoint;
130 }
131
132 export interface Request {
133 (Route: string, EndpointOptions?: Octokit.EndpointOptions): Promise<
134 Octokit.AnyResponse
135 >;
136 (EndpointOptions: Octokit.EndpointOptions): Promise<Octokit.AnyResponse>;
137 endpoint: Octokit.Endpoint;
138 }
139
140 export interface AuthBasic {
141 type: "basic";
142 username: string;
143 password: string;
144 }
145
146 export interface AuthOAuthToken {
147 type: "oauth";
148 token: string;
149 }
150
151 export interface AuthOAuthSecret {
152 type: "oauth";
153 key: string;
154 secret: string;
155 }
156
157 export interface AuthUserToken {
158 type: "token";
159 token: string;
160 }
161
162 export interface AuthJWT {
163 type: "app";
164 token: string;
165 }
166
167 export type Link = { link: string } | { headers: { link: string } } | string;
168
169 export interface Callback<T> {
170 (error: Error | null, result: T): any;
171 }
172
173 export type Plugin = (octokit: Octokit, options: Octokit.Options) => void;
174
175 // See https://Octokit.com/octokit/request.js#octokitrequest
176 export type HookOptions = {
177 baseUrl: string;
178 headers: { [header: string]: string };
179 method: string;
180 url: string;
181 data: any;
182 // See https://Octokit.com/bitinn/node-fetch#options
183 request: {
184 follow?: number;
185 timeout?: number;
186 compress?: boolean;
187 size?: number;
188 agent?: string | null;
189 };
190 [index: string]: any;
191 };
192
193 export type HookError = Error & {
194 status: number;
195 headers: { [header: string]: string };
196 documentation_url?: string;
197 errors?: [
198 {
199 resource: string;
200 field: string;
201 code: string;
202 }
203 ];
204 };
205
206 export interface Paginate {
207 (
208 Route: string,
209 EndpointOptions?: Octokit.EndpointOptions,
210 callback?: (response: Octokit.AnyResponse) => any
211 ): Promise<any[]>;
212 (
213 EndpointOptions: Octokit.EndpointOptions,
214 callback?: (response: Octokit.AnyResponse) => any
215 ): Promise<any[]>;
216 iterator: (
217 EndpointOptions: Octokit.EndpointOptions
218 ) => AsyncIterableIterator<Octokit.AnyResponse>;
219 }
220
221 type UsersDeleteGpgKeyResponse = {};
222 type UsersCreateGpgKeyResponseSubkeysItem = {
223 id: number;
224 primary_key_id: number;
225 key_id: string;
226 public_key: string;
227 emails: Array<any>;
228 subkeys: Array<any>;
229 can_sign: boolean;
230 can_encrypt_comms: boolean;
231 can_encrypt_storage: boolean;
232 can_certify: boolean;
233 created_at: string;
234 expires_at: null;
235 };
236 type UsersCreateGpgKeyResponseEmailsItem = {
237 email: string;
238 verified: boolean;
239 };
240 type UsersCreateGpgKeyResponse = {
241 id: number;
242 primary_key_id: null;
243 key_id: string;
244 public_key: string;
245 emails: Array<UsersCreateGpgKeyResponseEmailsItem>;
246 subkeys: Array<UsersCreateGpgKeyResponseSubkeysItem>;
247 can_sign: boolean;
248 can_encrypt_comms: boolean;
249 can_encrypt_storage: boolean;
250 can_certify: boolean;
251 created_at: string;
252 expires_at: null;
253 };
254 type UsersGetGpgKeyResponseSubkeysItem = {
255 id: number;
256 primary_key_id: number;
257 key_id: string;
258 public_key: string;
259 emails: Array<any>;
260 subkeys: Array<any>;
261 can_sign: boolean;
262 can_encrypt_comms: boolean;
263 can_encrypt_storage: boolean;
264 can_certify: boolean;
265 created_at: string;
266 expires_at: null;
267 };
268 type UsersGetGpgKeyResponseEmailsItem = { email: string; verified: boolean };
269 type UsersGetGpgKeyResponse = {
270 id: number;
271 primary_key_id: null;
272 key_id: string;
273 public_key: string;
274 emails: Array<UsersGetGpgKeyResponseEmailsItem>;
275 subkeys: Array<UsersGetGpgKeyResponseSubkeysItem>;
276 can_sign: boolean;
277 can_encrypt_comms: boolean;
278 can_encrypt_storage: boolean;
279 can_certify: boolean;
280 created_at: string;
281 expires_at: null;
282 };
283 type UsersListGpgKeysResponseItemSubkeysItem = {
284 id: number;
285 primary_key_id: number;
286 key_id: string;
287 public_key: string;
288 emails: Array<any>;
289 subkeys: Array<any>;
290 can_sign: boolean;
291 can_encrypt_comms: boolean;
292 can_encrypt_storage: boolean;
293 can_certify: boolean;
294 created_at: string;
295 expires_at: null;
296 };
297 type UsersListGpgKeysResponseItemEmailsItem = {
298 email: string;
299 verified: boolean;
300 };
301 type UsersListGpgKeysResponseItem = {
302 id: number;
303 primary_key_id: null;
304 key_id: string;
305 public_key: string;
306 emails: Array<UsersListGpgKeysResponseItemEmailsItem>;
307 subkeys: Array<UsersListGpgKeysResponseItemSubkeysItem>;
308 can_sign: boolean;
309 can_encrypt_comms: boolean;
310 can_encrypt_storage: boolean;
311 can_certify: boolean;
312 created_at: string;
313 expires_at: null;
314 };
315 type UsersListGpgKeysForUserResponseItemSubkeysItem = {
316 id: number;
317 primary_key_id: number;
318 key_id: string;
319 public_key: string;
320 emails: Array<any>;
321 subkeys: Array<any>;
322 can_sign: boolean;
323 can_encrypt_comms: boolean;
324 can_encrypt_storage: boolean;
325 can_certify: boolean;
326 created_at: string;
327 expires_at: null;
328 };
329 type UsersListGpgKeysForUserResponseItemEmailsItem = {
330 email: string;
331 verified: boolean;
332 };
333 type UsersListGpgKeysForUserResponseItem = {
334 id: number;
335 primary_key_id: null;
336 key_id: string;
337 public_key: string;
338 emails: Array<UsersListGpgKeysForUserResponseItemEmailsItem>;
339 subkeys: Array<UsersListGpgKeysForUserResponseItemSubkeysItem>;
340 can_sign: boolean;
341 can_encrypt_comms: boolean;
342 can_encrypt_storage: boolean;
343 can_certify: boolean;
344 created_at: string;
345 expires_at: null;
346 };
347 type UsersDeletePublicKeyResponse = {};
348 type UsersCreatePublicKeyResponse = {
349 id: number;
350 key: string;
351 url: string;
352 title: string;
353 verified: boolean;
354 created_at: string;
355 read_only: boolean;
356 };
357 type UsersGetPublicKeyResponse = {
358 id: number;
359 key: string;
360 url: string;
361 title: string;
362 verified: boolean;
363 created_at: string;
364 read_only: boolean;
365 };
366 type UsersListPublicKeysResponseItem = {
367 id: number;
368 key: string;
369 url: string;
370 title: string;
371 verified: boolean;
372 created_at: string;
373 read_only: boolean;
374 };
375 type UsersListPublicKeysForUserResponseItem = { id: number; key: string };
376 type UsersUnfollowResponse = {};
377 type UsersFollowResponse = {};
378 type UsersListFollowingForAuthenticatedUserResponseItem = {
379 login: string;
380 id: number;
381 node_id: string;
382 avatar_url: string;
383 gravatar_id: string;
384 url: string;
385 html_url: string;
386 followers_url: string;
387 following_url: string;
388 gists_url: string;
389 starred_url: string;
390 subscriptions_url: string;
391 organizations_url: string;
392 repos_url: string;
393 events_url: string;
394 received_events_url: string;
395 type: string;
396 site_admin: boolean;
397 };
398 type UsersListFollowingForUserResponseItem = {
399 login: string;
400 id: number;
401 node_id: string;
402 avatar_url: string;
403 gravatar_id: string;
404 url: string;
405 html_url: string;
406 followers_url: string;
407 following_url: string;
408 gists_url: string;
409 starred_url: string;
410 subscriptions_url: string;
411 organizations_url: string;
412 repos_url: string;
413 events_url: string;
414 received_events_url: string;
415 type: string;
416 site_admin: boolean;
417 };
418 type UsersListFollowersForAuthenticatedUserResponseItem = {
419 login: string;
420 id: number;
421 node_id: string;
422 avatar_url: string;
423 gravatar_id: string;
424 url: string;
425 html_url: string;
426 followers_url: string;
427 following_url: string;
428 gists_url: string;
429 starred_url: string;
430 subscriptions_url: string;
431 organizations_url: string;
432 repos_url: string;
433 events_url: string;
434 received_events_url: string;
435 type: string;
436 site_admin: boolean;
437 };
438 type UsersListFollowersForUserResponseItem = {
439 login: string;
440 id: number;
441 node_id: string;
442 avatar_url: string;
443 gravatar_id: string;
444 url: string;
445 html_url: string;
446 followers_url: string;
447 following_url: string;
448 gists_url: string;
449 starred_url: string;
450 subscriptions_url: string;
451 organizations_url: string;
452 repos_url: string;
453 events_url: string;
454 received_events_url: string;
455 type: string;
456 site_admin: boolean;
457 };
458 type UsersTogglePrimaryEmailVisibilityResponseItem = {
459 email: string;
460 primary: boolean;
461 verified: boolean;
462 visibility: string;
463 };
464 type UsersDeleteEmailsResponse = {};
465 type UsersAddEmailsResponseItem = {
466 email: string;
467 primary: boolean;
468 verified: boolean;
469 visibility: string | null;
470 };
471 type UsersListPublicEmailsResponseItem = {
472 email: string;
473 verified: boolean;
474 primary: boolean;
475 visibility: string;
476 };
477 type UsersListEmailsResponseItem = {
478 email: string;
479 verified: boolean;
480 primary: boolean;
481 visibility: string;
482 };
483 type UsersUnblockResponse = {};
484 type UsersBlockResponse = {};
485 type UsersCheckBlockedResponse = {};
486 type UsersListBlockedResponseItem = {
487 login: string;
488 id: number;
489 node_id: string;
490 avatar_url: string;
491 gravatar_id: string;
492 url: string;
493 html_url: string;
494 followers_url: string;
495 following_url: string;
496 gists_url: string;
497 starred_url: string;
498 subscriptions_url: string;
499 organizations_url: string;
500 repos_url: string;
501 events_url: string;
502 received_events_url: string;
503 type: string;
504 site_admin: boolean;
505 };
506 type UsersListResponseItem = {
507 login: string;
508 id: number;
509 node_id: string;
510 avatar_url: string;
511 gravatar_id: string;
512 url: string;
513 html_url: string;
514 followers_url: string;
515 following_url: string;
516 gists_url: string;
517 starred_url: string;
518 subscriptions_url: string;
519 organizations_url: string;
520 repos_url: string;
521 events_url: string;
522 received_events_url: string;
523 type: string;
524 site_admin: boolean;
525 };
526 type UsersUpdateAuthenticatedResponsePlan = {
527 name: string;
528 space: number;
529 private_repos: number;
530 collaborators: number;
531 };
532 type UsersUpdateAuthenticatedResponse = {
533 login: string;
534 id: number;
535 node_id: string;
536 avatar_url: string;
537 gravatar_id: string;
538 url: string;
539 html_url: string;
540 followers_url: string;
541 following_url: string;
542 gists_url: string;
543 starred_url: string;
544 subscriptions_url: string;
545 organizations_url: string;
546 repos_url: string;
547 events_url: string;
548 received_events_url: string;
549 type: string;
550 site_admin: boolean;
551 name: string;
552 company: string;
553 blog: string;
554 location: string;
555 email: string;
556 hireable: boolean;
557 bio: string;
558 public_repos: number;
559 public_gists: number;
560 followers: number;
561 following: number;
562 created_at: string;
563 updated_at: string;
564 private_gists: number;
565 total_private_repos: number;
566 owned_private_repos: number;
567 disk_usage: number;
568 collaborators: number;
569 two_factor_authentication: boolean;
570 plan: UsersUpdateAuthenticatedResponsePlan;
571 };
572 type UsersGetByUsernameResponse = {
573 login: string;
574 id: number;
575 node_id: string;
576 avatar_url: string;
577 gravatar_id: string;
578 url: string;
579 html_url: string;
580 followers_url: string;
581 following_url: string;
582 gists_url: string;
583 starred_url: string;
584 subscriptions_url: string;
585 organizations_url: string;
586 repos_url: string;
587 events_url: string;
588 received_events_url: string;
589 type: string;
590 site_admin: boolean;
591 name: string;
592 company: string;
593 blog: string;
594 location: string;
595 email: string;
596 hireable: boolean;
597 bio: string;
598 public_repos: number;
599 public_gists: number;
600 followers: number;
601 following: number;
602 created_at: string;
603 updated_at: string;
604 };
605 type TeamsListPendingInvitationsResponseItemInviter = {
606 login: string;
607 id: number;
608 node_id: string;
609 avatar_url: string;
610 gravatar_id: string;
611 url: string;
612 html_url: string;
613 followers_url: string;
614 following_url: string;
615 gists_url: string;
616 starred_url: string;
617 subscriptions_url: string;
618 organizations_url: string;
619 repos_url: string;
620 events_url: string;
621 received_events_url: string;
622 type: string;
623 site_admin: boolean;
624 };
625 type TeamsListPendingInvitationsResponseItem = {
626 id: number;
627 login: string;
628 email: string;
629 role: string;
630 created_at: string;
631 inviter: TeamsListPendingInvitationsResponseItemInviter;
632 team_count: number;
633 invitation_team_url: string;
634 };
635 type TeamsRemoveMembershipResponse = {};
636 type TeamsRemoveMemberResponse = {};
637 type TeamsAddMemberResponseErrorsItem = {
638 code: string;
639 field: string;
640 resource: string;
641 };
642 type TeamsAddMemberResponse = {
643 message?: string;
644 errors?: Array<TeamsAddMemberResponseErrorsItem>;
645 };
646 type TeamsListMembersResponseItem = {
647 login: string;
648 id: number;
649 node_id: string;
650 avatar_url: string;
651 gravatar_id: string;
652 url: string;
653 html_url: string;
654 followers_url: string;
655 following_url: string;
656 gists_url: string;
657 starred_url: string;
658 subscriptions_url: string;
659 organizations_url: string;
660 repos_url: string;
661 events_url: string;
662 received_events_url: string;
663 type: string;
664 site_admin: boolean;
665 };
666 type TeamsDeleteDiscussionCommentResponse = {};
667 type TeamsUpdateDiscussionCommentResponseReactions = {
668 url: string;
669 total_count: number;
670 "+1": number;
671 "-1": number;
672 laugh: number;
673 confused: number;
674 heart: number;
675 hooray: number;
676 };
677 type TeamsUpdateDiscussionCommentResponseAuthor = {
678 login: string;
679 id: number;
680 node_id: string;
681 avatar_url: string;
682 gravatar_id: string;
683 url: string;
684 html_url: string;
685 followers_url: string;
686 following_url: string;
687 gists_url: string;
688 starred_url: string;
689 subscriptions_url: string;
690 organizations_url: string;
691 repos_url: string;
692 events_url: string;
693 received_events_url: string;
694 type: string;
695 site_admin: boolean;
696 };
697 type TeamsUpdateDiscussionCommentResponse = {
698 author: TeamsUpdateDiscussionCommentResponseAuthor;
699 body: string;
700 body_html: string;
701 body_version: string;
702 created_at: string;
703 last_edited_at: string;
704 discussion_url: string;
705 html_url: string;
706 node_id: string;
707 number: number;
708 updated_at: string;
709 url: string;
710 reactions: TeamsUpdateDiscussionCommentResponseReactions;
711 };
712 type TeamsCreateDiscussionCommentResponseReactions = {
713 url: string;
714 total_count: number;
715 "+1": number;
716 "-1": number;
717 laugh: number;
718 confused: number;
719 heart: number;
720 hooray: number;
721 };
722 type TeamsCreateDiscussionCommentResponseAuthor = {
723 login: string;
724 id: number;
725 node_id: string;
726 avatar_url: string;
727 gravatar_id: string;
728 url: string;
729 html_url: string;
730 followers_url: string;
731 following_url: string;
732 gists_url: string;
733 starred_url: string;
734 subscriptions_url: string;
735 organizations_url: string;
736 repos_url: string;
737 events_url: string;
738 received_events_url: string;
739 type: string;
740 site_admin: boolean;
741 };
742 type TeamsCreateDiscussionCommentResponse = {
743 author: TeamsCreateDiscussionCommentResponseAuthor;
744 body: string;
745 body_html: string;
746 body_version: string;
747 created_at: string;
748 last_edited_at: null;
749 discussion_url: string;
750 html_url: string;
751 node_id: string;
752 number: number;
753 updated_at: string;
754 url: string;
755 reactions: TeamsCreateDiscussionCommentResponseReactions;
756 };
757 type TeamsGetDiscussionCommentResponseReactions = {
758 url: string;
759 total_count: number;
760 "+1": number;
761 "-1": number;
762 laugh: number;
763 confused: number;
764 heart: number;
765 hooray: number;
766 };
767 type TeamsGetDiscussionCommentResponseAuthor = {
768 login: string;
769 id: number;
770 node_id: string;
771 avatar_url: string;
772 gravatar_id: string;
773 url: string;
774 html_url: string;
775 followers_url: string;
776 following_url: string;
777 gists_url: string;
778 starred_url: string;
779 subscriptions_url: string;
780 organizations_url: string;
781 repos_url: string;
782 events_url: string;
783 received_events_url: string;
784 type: string;
785 site_admin: boolean;
786 };
787 type TeamsGetDiscussionCommentResponse = {
788 author: TeamsGetDiscussionCommentResponseAuthor;
789 body: string;
790 body_html: string;
791 body_version: string;
792 created_at: string;
793 last_edited_at: null;
794 discussion_url: string;
795 html_url: string;
796 node_id: string;
797 number: number;
798 updated_at: string;
799 url: string;
800 reactions: TeamsGetDiscussionCommentResponseReactions;
801 };
802 type TeamsListDiscussionCommentsResponseItemReactions = {
803 url: string;
804 total_count: number;
805 "+1": number;
806 "-1": number;
807 laugh: number;
808 confused: number;
809 heart: number;
810 hooray: number;
811 };
812 type TeamsListDiscussionCommentsResponseItemAuthor = {
813 login: string;
814 id: number;
815 node_id: string;
816 avatar_url: string;
817 gravatar_id: string;
818 url: string;
819 html_url: string;
820 followers_url: string;
821 following_url: string;
822 gists_url: string;
823 starred_url: string;
824 subscriptions_url: string;
825 organizations_url: string;
826 repos_url: string;
827 events_url: string;
828 received_events_url: string;
829 type: string;
830 site_admin: boolean;
831 };
832 type TeamsListDiscussionCommentsResponseItem = {
833 author: TeamsListDiscussionCommentsResponseItemAuthor;
834 body: string;
835 body_html: string;
836 body_version: string;
837 created_at: string;
838 last_edited_at: null;
839 discussion_url: string;
840 html_url: string;
841 node_id: string;
842 number: number;
843 updated_at: string;
844 url: string;
845 reactions: TeamsListDiscussionCommentsResponseItemReactions;
846 };
847 type TeamsDeleteDiscussionResponse = {};
848 type TeamsUpdateDiscussionResponseReactions = {
849 url: string;
850 total_count: number;
851 "+1": number;
852 "-1": number;
853 laugh: number;
854 confused: number;
855 heart: number;
856 hooray: number;
857 };
858 type TeamsUpdateDiscussionResponseAuthor = {
859 login: string;
860 id: number;
861 node_id: string;
862 avatar_url: string;
863 gravatar_id: string;
864 url: string;
865 html_url: string;
866 followers_url: string;
867 following_url: string;
868 gists_url: string;
869 starred_url: string;
870 subscriptions_url: string;
871 organizations_url: string;
872 repos_url: string;
873 events_url: string;
874 received_events_url: string;
875 type: string;
876 site_admin: boolean;
877 };
878 type TeamsUpdateDiscussionResponse = {
879 author: TeamsUpdateDiscussionResponseAuthor;
880 body: string;
881 body_html: string;
882 body_version: string;
883 comments_count: number;
884 comments_url: string;
885 created_at: string;
886 last_edited_at: string;
887 html_url: string;
888 node_id: string;
889 number: number;
890 pinned: boolean;
891 private: boolean;
892 team_url: string;
893 title: string;
894 updated_at: string;
895 url: string;
896 reactions: TeamsUpdateDiscussionResponseReactions;
897 };
898 type TeamsCreateDiscussionResponseReactions = {
899 url: string;
900 total_count: number;
901 "+1": number;
902 "-1": number;
903 laugh: number;
904 confused: number;
905 heart: number;
906 hooray: number;
907 };
908 type TeamsCreateDiscussionResponseAuthor = {
909 login: string;
910 id: number;
911 node_id: string;
912 avatar_url: string;
913 gravatar_id: string;
914 url: string;
915 html_url: string;
916 followers_url: string;
917 following_url: string;
918 gists_url: string;
919 starred_url: string;
920 subscriptions_url: string;
921 organizations_url: string;
922 repos_url: string;
923 events_url: string;
924 received_events_url: string;
925 type: string;
926 site_admin: boolean;
927 };
928 type TeamsCreateDiscussionResponse = {
929 author: TeamsCreateDiscussionResponseAuthor;
930 body: string;
931 body_html: string;
932 body_version: string;
933 comments_count: number;
934 comments_url: string;
935 created_at: string;
936 last_edited_at: null;
937 html_url: string;
938 node_id: string;
939 number: number;
940 pinned: boolean;
941 private: boolean;
942 team_url: string;
943 title: string;
944 updated_at: string;
945 url: string;
946 reactions: TeamsCreateDiscussionResponseReactions;
947 };
948 type TeamsGetDiscussionResponseReactions = {
949 url: string;
950 total_count: number;
951 "+1": number;
952 "-1": number;
953 laugh: number;
954 confused: number;
955 heart: number;
956 hooray: number;
957 };
958 type TeamsGetDiscussionResponseAuthor = {
959 login: string;
960 id: number;
961 node_id: string;
962 avatar_url: string;
963 gravatar_id: string;
964 url: string;
965 html_url: string;
966 followers_url: string;
967 following_url: string;
968 gists_url: string;
969 starred_url: string;
970 subscriptions_url: string;
971 organizations_url: string;
972 repos_url: string;
973 events_url: string;
974 received_events_url: string;
975 type: string;
976 site_admin: boolean;
977 };
978 type TeamsGetDiscussionResponse = {
979 author: TeamsGetDiscussionResponseAuthor;
980 body: string;
981 body_html: string;
982 body_version: string;
983 comments_count: number;
984 comments_url: string;
985 created_at: string;
986 last_edited_at: null;
987 html_url: string;
988 node_id: string;
989 number: number;
990 pinned: boolean;
991 private: boolean;
992 team_url: string;
993 title: string;
994 updated_at: string;
995 url: string;
996 reactions: TeamsGetDiscussionResponseReactions;
997 };
998 type TeamsListDiscussionsResponseItemReactions = {
999 url: string;
1000 total_count: number;
1001 "+1": number;
1002 "-1": number;
1003 laugh: number;
1004 confused: number;
1005 heart: number;
1006 hooray: number;
1007 };
1008 type TeamsListDiscussionsResponseItemAuthor = {
1009 login: string;
1010 id: number;
1011 node_id: string;
1012 avatar_url: string;
1013 gravatar_id: string;
1014 url: string;
1015 html_url: string;
1016 followers_url: string;
1017 following_url: string;
1018 gists_url: string;
1019 starred_url: string;
1020 subscriptions_url: string;
1021 organizations_url: string;
1022 repos_url: string;
1023 events_url: string;
1024 received_events_url: string;
1025 type: string;
1026 site_admin: boolean;
1027 };
1028 type TeamsListDiscussionsResponseItem = {
1029 author: TeamsListDiscussionsResponseItemAuthor;
1030 body: string;
1031 body_html: string;
1032 body_version: string;
1033 comments_count: number;
1034 comments_url: string;
1035 created_at: string;
1036 last_edited_at: null;
1037 html_url: string;
1038 node_id: string;
1039 number: number;
1040 pinned: boolean;
1041 private: boolean;
1042 team_url: string;
1043 title: string;
1044 updated_at: string;
1045 url: string;
1046 reactions: TeamsListDiscussionsResponseItemReactions;
1047 };
1048 type TeamsRemoveProjectResponse = {};
1049 type TeamsAddOrUpdateProjectResponse = {};
1050 type TeamsReviewProjectResponsePermissions = {
1051 read: boolean;
1052 write: boolean;
1053 admin: boolean;
1054 };
1055 type TeamsReviewProjectResponseCreator = {
1056 login: string;
1057 id: number;
1058 node_id: string;
1059 avatar_url: string;
1060 gravatar_id: string;
1061 url: string;
1062 html_url: string;
1063 followers_url: string;
1064 following_url: string;
1065 gists_url: string;
1066 starred_url: string;
1067 subscriptions_url: string;
1068 organizations_url: string;
1069 repos_url: string;
1070 events_url: string;
1071 received_events_url: string;
1072 type: string;
1073 site_admin: boolean;
1074 };
1075 type TeamsReviewProjectResponse = {
1076 owner_url: string;
1077 url: string;
1078 html_url: string;
1079 columns_url: string;
1080 id: number;
1081 node_id: string;
1082 name: string;
1083 body: string;
1084 number: number;
1085 state: string;
1086 creator: TeamsReviewProjectResponseCreator;
1087 created_at: string;
1088 updated_at: string;
1089 organization_permission: string;
1090 private: boolean;
1091 permissions: TeamsReviewProjectResponsePermissions;
1092 };
1093 type TeamsListProjectsResponseItemPermissions = {
1094 read: boolean;
1095 write: boolean;
1096 admin: boolean;
1097 };
1098 type TeamsListProjectsResponseItemCreator = {
1099 login: string;
1100 id: number;
1101 node_id: string;
1102 avatar_url: string;
1103 gravatar_id: string;
1104 url: string;
1105 html_url: string;
1106 followers_url: string;
1107 following_url: string;
1108 gists_url: string;
1109 starred_url: string;
1110 subscriptions_url: string;
1111 organizations_url: string;
1112 repos_url: string;
1113 events_url: string;
1114 received_events_url: string;
1115 type: string;
1116 site_admin: boolean;
1117 };
1118 type TeamsListProjectsResponseItem = {
1119 owner_url: string;
1120 url: string;
1121 html_url: string;
1122 columns_url: string;
1123 id: number;
1124 node_id: string;
1125 name: string;
1126 body: string;
1127 number: number;
1128 state: string;
1129 creator: TeamsListProjectsResponseItemCreator;
1130 created_at: string;
1131 updated_at: string;
1132 organization_permission: string;
1133 private: boolean;
1134 permissions: TeamsListProjectsResponseItemPermissions;
1135 };
1136 type TeamsListForAuthenticatedUserResponseItemOrganization = {
1137 login: string;
1138 id: number;
1139 node_id: string;
1140 url: string;
1141 repos_url: string;
1142 events_url: string;
1143 hooks_url: string;
1144 issues_url: string;
1145 members_url: string;
1146 public_members_url: string;
1147 avatar_url: string;
1148 description: string;
1149 name: string;
1150 company: string;
1151 blog: string;
1152 location: string;
1153 email: string;
1154 is_verified: boolean;
1155 has_organization_projects: boolean;
1156 has_repository_projects: boolean;
1157 public_repos: number;
1158 public_gists: number;
1159 followers: number;
1160 following: number;
1161 html_url: string;
1162 created_at: string;
1163 type: string;
1164 };
1165 type TeamsListForAuthenticatedUserResponseItem = {
1166 id: number;
1167 node_id: string;
1168 url: string;
1169 name: string;
1170 slug: string;
1171 description: string;
1172 privacy: string;
1173 permission: string;
1174 members_url: string;
1175 repositories_url: string;
1176 parent: null;
1177 members_count: number;
1178 repos_count: number;
1179 created_at: string;
1180 updated_at: string;
1181 organization: TeamsListForAuthenticatedUserResponseItemOrganization;
1182 };
1183 type TeamsRemoveRepoResponse = {};
1184 type TeamsAddOrUpdateRepoResponse = {};
1185 type TeamsListReposResponseItemLicense = {
1186 key: string;
1187 name: string;
1188 spdx_id: string;
1189 url: string;
1190 node_id: string;
1191 };
1192 type TeamsListReposResponseItemPermissions = {
1193 admin: boolean;
1194 push: boolean;
1195 pull: boolean;
1196 };
1197 type TeamsListReposResponseItemOwner = {
1198 login: string;
1199 id: number;
1200 node_id: string;
1201 avatar_url: string;
1202 gravatar_id: string;
1203 url: string;
1204 html_url: string;
1205 followers_url: string;
1206 following_url: string;
1207 gists_url: string;
1208 starred_url: string;
1209 subscriptions_url: string;
1210 organizations_url: string;
1211 repos_url: string;
1212 events_url: string;
1213 received_events_url: string;
1214 type: string;
1215 site_admin: boolean;
1216 };
1217 type TeamsListReposResponseItem = {
1218 id: number;
1219 node_id: string;
1220 name: string;
1221 full_name: string;
1222 owner: TeamsListReposResponseItemOwner;
1223 private: boolean;
1224 html_url: string;
1225 description: string;
1226 fork: boolean;
1227 url: string;
1228 archive_url: string;
1229 assignees_url: string;
1230 blobs_url: string;
1231 branches_url: string;
1232 collaborators_url: string;
1233 comments_url: string;
1234 commits_url: string;
1235 compare_url: string;
1236 contents_url: string;
1237 contributors_url: string;
1238 deployments_url: string;
1239 downloads_url: string;
1240 events_url: string;
1241 forks_url: string;
1242 git_commits_url: string;
1243 git_refs_url: string;
1244 git_tags_url: string;
1245 git_url: string;
1246 issue_comment_url: string;
1247 issue_events_url: string;
1248 issues_url: string;
1249 keys_url: string;
1250 labels_url: string;
1251 languages_url: string;
1252 merges_url: string;
1253 milestones_url: string;
1254 notifications_url: string;
1255 pulls_url: string;
1256 releases_url: string;
1257 ssh_url: string;
1258 stargazers_url: string;
1259 statuses_url: string;
1260 subscribers_url: string;
1261 subscription_url: string;
1262 tags_url: string;
1263 teams_url: string;
1264 trees_url: string;
1265 clone_url: string;
1266 mirror_url: string;
1267 hooks_url: string;
1268 svn_url: string;
1269 homepage: string;
1270 language: null;
1271 forks_count: number;
1272 stargazers_count: number;
1273 watchers_count: number;
1274 size: number;
1275 default_branch: string;
1276 open_issues_count: number;
1277 topics: Array<string>;
1278 has_issues: boolean;
1279 has_projects: boolean;
1280 has_wiki: boolean;
1281 has_pages: boolean;
1282 has_downloads: boolean;
1283 archived: boolean;
1284 pushed_at: string;
1285 created_at: string;
1286 updated_at: string;
1287 permissions: TeamsListReposResponseItemPermissions;
1288 subscribers_count: number;
1289 network_count: number;
1290 license: TeamsListReposResponseItemLicense;
1291 };
1292 type TeamsDeleteResponse = {};
1293 type TeamsUpdateResponseOrganization = {
1294 login: string;
1295 id: number;
1296 node_id: string;
1297 url: string;
1298 repos_url: string;
1299 events_url: string;
1300 hooks_url: string;
1301 issues_url: string;
1302 members_url: string;
1303 public_members_url: string;
1304 avatar_url: string;
1305 description: string;
1306 name: string;
1307 company: string;
1308 blog: string;
1309 location: string;
1310 email: string;
1311 is_verified: boolean;
1312 has_organization_projects: boolean;
1313 has_repository_projects: boolean;
1314 public_repos: number;
1315 public_gists: number;
1316 followers: number;
1317 following: number;
1318 html_url: string;
1319 created_at: string;
1320 type: string;
1321 };
1322 type TeamsUpdateResponse = {
1323 id: number;
1324 node_id: string;
1325 url: string;
1326 name: string;
1327 slug: string;
1328 description: string;
1329 privacy: string;
1330 permission: string;
1331 members_url: string;
1332 repositories_url: string;
1333 parent: null;
1334 members_count: number;
1335 repos_count: number;
1336 created_at: string;
1337 updated_at: string;
1338 organization: TeamsUpdateResponseOrganization;
1339 };
1340 type TeamsCreateResponseOrganization = {
1341 login: string;
1342 id: number;
1343 node_id: string;
1344 url: string;
1345 repos_url: string;
1346 events_url: string;
1347 hooks_url: string;
1348 issues_url: string;
1349 members_url: string;
1350 public_members_url: string;
1351 avatar_url: string;
1352 description: string;
1353 name: string;
1354 company: string;
1355 blog: string;
1356 location: string;
1357 email: string;
1358 is_verified: boolean;
1359 has_organization_projects: boolean;
1360 has_repository_projects: boolean;
1361 public_repos: number;
1362 public_gists: number;
1363 followers: number;
1364 following: number;
1365 html_url: string;
1366 created_at: string;
1367 type: string;
1368 };
1369 type TeamsCreateResponse = {
1370 id: number;
1371 node_id: string;
1372 url: string;
1373 name: string;
1374 slug: string;
1375 description: string;
1376 privacy: string;
1377 permission: string;
1378 members_url: string;
1379 repositories_url: string;
1380 parent: null;
1381 members_count: number;
1382 repos_count: number;
1383 created_at: string;
1384 updated_at: string;
1385 organization: TeamsCreateResponseOrganization;
1386 };
1387 type TeamsGetResponseOrganization = {
1388 login: string;
1389 id: number;
1390 node_id: string;
1391 url: string;
1392 repos_url: string;
1393 events_url: string;
1394 hooks_url: string;
1395 issues_url: string;
1396 members_url: string;
1397 public_members_url: string;
1398 avatar_url: string;
1399 description: string;
1400 name: string;
1401 company: string;
1402 blog: string;
1403 location: string;
1404 email: string;
1405 is_verified: boolean;
1406 has_organization_projects: boolean;
1407 has_repository_projects: boolean;
1408 public_repos: number;
1409 public_gists: number;
1410 followers: number;
1411 following: number;
1412 html_url: string;
1413 created_at: string;
1414 type: string;
1415 };
1416 type TeamsGetResponse = {
1417 id: number;
1418 node_id: string;
1419 url: string;
1420 name: string;
1421 slug: string;
1422 description: string;
1423 privacy: string;
1424 permission: string;
1425 members_url: string;
1426 repositories_url: string;
1427 parent: null;
1428 members_count: number;
1429 repos_count: number;
1430 created_at: string;
1431 updated_at: string;
1432 organization: TeamsGetResponseOrganization;
1433 };
1434 type TeamsListResponseItem = {
1435 id: number;
1436 node_id: string;
1437 url: string;
1438 name: string;
1439 slug: string;
1440 description: string;
1441 privacy: string;
1442 permission: string;
1443 members_url: string;
1444 repositories_url: string;
1445 parent: null;
1446 };
1447 type ReposDeleteHookResponse = {};
1448 type ReposPingHookResponse = {};
1449 type ReposTestPushHookResponse = {};
1450 type ReposUpdateHookResponseConfig = { url: string; content_type: string };
1451 type ReposUpdateHookResponse = {
1452 id: number;
1453 url: string;
1454 test_url: string;
1455 ping_url: string;
1456 name: string;
1457 events: Array<string>;
1458 active: boolean;
1459 config: ReposUpdateHookResponseConfig;
1460 updated_at: string;
1461 created_at: string;
1462 };
1463 type ReposCreateHookResponseConfig = { url: string; content_type: string };
1464 type ReposCreateHookResponse = {
1465 id: number;
1466 url: string;
1467 test_url: string;
1468 ping_url: string;
1469 name: string;
1470 events: Array<string>;
1471 active: boolean;
1472 config: ReposCreateHookResponseConfig;
1473 updated_at: string;
1474 created_at: string;
1475 };
1476 type ReposGetHookResponseConfig = { url: string; content_type: string };
1477 type ReposGetHookResponse = {
1478 id: number;
1479 url: string;
1480 test_url: string;
1481 ping_url: string;
1482 name: string;
1483 events: Array<string>;
1484 active: boolean;
1485 config: ReposGetHookResponseConfig;
1486 updated_at: string;
1487 created_at: string;
1488 };
1489 type ReposListHooksResponseItemConfig = { url: string; content_type: string };
1490 type ReposListHooksResponseItem = {
1491 id: number;
1492 url: string;
1493 test_url: string;
1494 ping_url: string;
1495 name: string;
1496 events: Array<string>;
1497 active: boolean;
1498 config: ReposListHooksResponseItemConfig;
1499 updated_at: string;
1500 created_at: string;
1501 };
1502 type ReposGetClonesResponseClonesItem = {
1503 timestamp: string;
1504 count: number;
1505 uniques: number;
1506 };
1507 type ReposGetClonesResponse = {
1508 count: number;
1509 uniques: number;
1510 clones: Array<ReposGetClonesResponseClonesItem>;
1511 };
1512 type ReposGetViewsResponseViewsItem = {
1513 timestamp: string;
1514 count: number;
1515 uniques: number;
1516 };
1517 type ReposGetViewsResponse = {
1518 count: number;
1519 uniques: number;
1520 views: Array<ReposGetViewsResponseViewsItem>;
1521 };
1522 type ReposGetTopPathsResponseItem = {
1523 path: string;
1524 title: string;
1525 count: number;
1526 uniques: number;
1527 };
1528 type ReposGetTopReferrersResponseItem = {
1529 referrer: string;
1530 count: number;
1531 uniques: number;
1532 };
1533 type ReposGetCombinedStatusForRefResponseRepositoryOwner = {
1534 login: string;
1535 id: number;
1536 node_id: string;
1537 avatar_url: string;
1538 gravatar_id: string;
1539 url: string;
1540 html_url: string;
1541 followers_url: string;
1542 following_url: string;
1543 gists_url: string;
1544 starred_url: string;
1545 subscriptions_url: string;
1546 organizations_url: string;
1547 repos_url: string;
1548 events_url: string;
1549 received_events_url: string;
1550 type: string;
1551 site_admin: boolean;
1552 };
1553 type ReposGetCombinedStatusForRefResponseRepository = {
1554 id: number;
1555 node_id: string;
1556 name: string;
1557 full_name: string;
1558 owner: ReposGetCombinedStatusForRefResponseRepositoryOwner;
1559 private: boolean;
1560 html_url: string;
1561 description: string;
1562 fork: boolean;
1563 url: string;
1564 archive_url: string;
1565 assignees_url: string;
1566 blobs_url: string;
1567 branches_url: string;
1568 collaborators_url: string;
1569 comments_url: string;
1570 commits_url: string;
1571 compare_url: string;
1572 contents_url: string;
1573 contributors_url: string;
1574 deployments_url: string;
1575 downloads_url: string;
1576 events_url: string;
1577 forks_url: string;
1578 git_commits_url: string;
1579 git_refs_url: string;
1580 git_tags_url: string;
1581 git_url: string;
1582 issue_comment_url: string;
1583 issue_events_url: string;
1584 issues_url: string;
1585 keys_url: string;
1586 labels_url: string;
1587 languages_url: string;
1588 merges_url: string;
1589 milestones_url: string;
1590 notifications_url: string;
1591 pulls_url: string;
1592 releases_url: string;
1593 ssh_url: string;
1594 stargazers_url: string;
1595 statuses_url: string;
1596 subscribers_url: string;
1597 subscription_url: string;
1598 tags_url: string;
1599 teams_url: string;
1600 trees_url: string;
1601 };
1602 type ReposGetCombinedStatusForRefResponseStatusesItem = {
1603 url: string;
1604 avatar_url: string;
1605 id: number;
1606 node_id: string;
1607 state: string;
1608 description: string;
1609 target_url: string;
1610 context: string;
1611 created_at: string;
1612 updated_at: string;
1613 };
1614 type ReposGetCombinedStatusForRefResponse = {
1615 state: string;
1616 statuses: Array<ReposGetCombinedStatusForRefResponseStatusesItem>;
1617 sha: string;
1618 total_count: number;
1619 repository: ReposGetCombinedStatusForRefResponseRepository;
1620 commit_url: string;
1621 url: string;
1622 };
1623 type ReposListStatusesForRefResponseItemCreator = {
1624 login: string;
1625 id: number;
1626 node_id: string;
1627 avatar_url: string;
1628 gravatar_id: string;
1629 url: string;
1630 html_url: string;
1631 followers_url: string;
1632 following_url: string;
1633 gists_url: string;
1634 starred_url: string;
1635 subscriptions_url: string;
1636 organizations_url: string;
1637 repos_url: string;
1638 events_url: string;
1639 received_events_url: string;
1640 type: string;
1641 site_admin: boolean;
1642 };
1643 type ReposListStatusesForRefResponseItem = {
1644 url: string;
1645 avatar_url: string;
1646 id: number;
1647 node_id: string;
1648 state: string;
1649 description: string;
1650 target_url: string;
1651 context: string;
1652 created_at: string;
1653 updated_at: string;
1654 creator: ReposListStatusesForRefResponseItemCreator;
1655 };
1656 type ReposCreateStatusResponseCreator = {
1657 login: string;
1658 id: number;
1659 node_id: string;
1660 avatar_url: string;
1661 gravatar_id: string;
1662 url: string;
1663 html_url: string;
1664 followers_url: string;
1665 following_url: string;
1666 gists_url: string;
1667 starred_url: string;
1668 subscriptions_url: string;
1669 organizations_url: string;
1670 repos_url: string;
1671 events_url: string;
1672 received_events_url: string;
1673 type: string;
1674 site_admin: boolean;
1675 };
1676 type ReposCreateStatusResponse = {
1677 url: string;
1678 avatar_url: string;
1679 id: number;
1680 node_id: string;
1681 state: string;
1682 description: string;
1683 target_url: string;
1684 context: string;
1685 created_at: string;
1686 updated_at: string;
1687 creator: ReposCreateStatusResponseCreator;
1688 };
1689 type ReposGetParticipationStatsResponse = {
1690 all: Array<number>;
1691 owner: Array<number>;
1692 };
1693 type ReposGetCommitActivityStatsResponseItem = {
1694 days: Array<number>;
1695 total: number;
1696 week: number;
1697 };
1698 type ReposGetContributorsStatsResponseItemWeeksItem = {
1699 w: string;
1700 a: number;
1701 d: number;
1702 c: number;
1703 };
1704 type ReposGetContributorsStatsResponseItemAuthor = {
1705 login: string;
1706 id: number;
1707 node_id: string;
1708 avatar_url: string;
1709 gravatar_id: string;
1710 url: string;
1711 html_url: string;
1712 followers_url: string;
1713 following_url: string;
1714 gists_url: string;
1715 starred_url: string;
1716 subscriptions_url: string;
1717 organizations_url: string;
1718 repos_url: string;
1719 events_url: string;
1720 received_events_url: string;
1721 type: string;
1722 site_admin: boolean;
1723 };
1724 type ReposGetContributorsStatsResponseItem = {
1725 author: ReposGetContributorsStatsResponseItemAuthor;
1726 total: number;
1727 weeks: Array<ReposGetContributorsStatsResponseItemWeeksItem>;
1728 };
1729 type ReposDeleteReleaseAssetResponse = {};
1730 type ReposUpdateReleaseAssetResponseUploader = {
1731 login: string;
1732 id: number;
1733 node_id: string;
1734 avatar_url: string;
1735 gravatar_id: string;
1736 url: string;
1737 html_url: string;
1738 followers_url: string;
1739 following_url: string;
1740 gists_url: string;
1741 starred_url: string;
1742 subscriptions_url: string;
1743 organizations_url: string;
1744 repos_url: string;
1745 events_url: string;
1746 received_events_url: string;
1747 type: string;
1748 site_admin: boolean;
1749 };
1750 type ReposUpdateReleaseAssetResponse = {
1751 url: string;
1752 browser_download_url: string;
1753 id: number;
1754 node_id: string;
1755 name: string;
1756 label: string;
1757 state: string;
1758 content_type: string;
1759 size: number;
1760 download_count: number;
1761 created_at: string;
1762 updated_at: string;
1763 uploader: ReposUpdateReleaseAssetResponseUploader;
1764 };
1765 type ReposGetReleaseAssetResponseUploader = {
1766 login: string;
1767 id: number;
1768 node_id: string;
1769 avatar_url: string;
1770 gravatar_id: string;
1771 url: string;
1772 html_url: string;
1773 followers_url: string;
1774 following_url: string;
1775 gists_url: string;
1776 starred_url: string;
1777 subscriptions_url: string;
1778 organizations_url: string;
1779 repos_url: string;
1780 events_url: string;
1781 received_events_url: string;
1782 type: string;
1783 site_admin: boolean;
1784 };
1785 type ReposGetReleaseAssetResponse = {
1786 url: string;
1787 browser_download_url: string;
1788 id: number;
1789 node_id: string;
1790 name: string;
1791 label: string;
1792 state: string;
1793 content_type: string;
1794 size: number;
1795 download_count: number;
1796 created_at: string;
1797 updated_at: string;
1798 uploader: ReposGetReleaseAssetResponseUploader;
1799 };
1800 type ReposListAssetsForReleaseResponseItemUploader = {
1801 login: string;
1802 id: number;
1803 node_id: string;
1804 avatar_url: string;
1805 gravatar_id: string;
1806 url: string;
1807 html_url: string;
1808 followers_url: string;
1809 following_url: string;
1810 gists_url: string;
1811 starred_url: string;
1812 subscriptions_url: string;
1813 organizations_url: string;
1814 repos_url: string;
1815 events_url: string;
1816 received_events_url: string;
1817 type: string;
1818 site_admin: boolean;
1819 };
1820 type ReposListAssetsForReleaseResponseItem = {
1821 url: string;
1822 browser_download_url: string;
1823 id: number;
1824 node_id: string;
1825 name: string;
1826 label: string;
1827 state: string;
1828 content_type: string;
1829 size: number;
1830 download_count: number;
1831 created_at: string;
1832 updated_at: string;
1833 uploader: ReposListAssetsForReleaseResponseItemUploader;
1834 };
1835 type ReposDeleteReleaseResponse = {};
1836 type ReposUpdateReleaseResponseAssetsItemUploader = {
1837 login: string;
1838 id: number;
1839 node_id: string;
1840 avatar_url: string;
1841 gravatar_id: string;
1842 url: string;
1843 html_url: string;
1844 followers_url: string;
1845 following_url: string;
1846 gists_url: string;
1847 starred_url: string;
1848 subscriptions_url: string;
1849 organizations_url: string;
1850 repos_url: string;
1851 events_url: string;
1852 received_events_url: string;
1853 type: string;
1854 site_admin: boolean;
1855 };
1856 type ReposUpdateReleaseResponseAssetsItem = {
1857 url: string;
1858 browser_download_url: string;
1859 id: number;
1860 node_id: string;
1861 name: string;
1862 label: string;
1863 state: string;
1864 content_type: string;
1865 size: number;
1866 download_count: number;
1867 created_at: string;
1868 updated_at: string;
1869 uploader: ReposUpdateReleaseResponseAssetsItemUploader;
1870 };
1871 type ReposUpdateReleaseResponseAuthor = {
1872 login: string;
1873 id: number;
1874 node_id: string;
1875 avatar_url: string;
1876 gravatar_id: string;
1877 url: string;
1878 html_url: string;
1879 followers_url: string;
1880 following_url: string;
1881 gists_url: string;
1882 starred_url: string;
1883 subscriptions_url: string;
1884 organizations_url: string;
1885 repos_url: string;
1886 events_url: string;
1887 received_events_url: string;
1888 type: string;
1889 site_admin: boolean;
1890 };
1891 type ReposUpdateReleaseResponse = {
1892 url: string;
1893 html_url: string;
1894 assets_url: string;
1895 upload_url: string;
1896 tarball_url: string;
1897 zipball_url: string;
1898 id: number;
1899 node_id: string;
1900 tag_name: string;
1901 target_commitish: string;
1902 name: string;
1903 body: string;
1904 draft: boolean;
1905 prerelease: boolean;
1906 created_at: string;
1907 published_at: string;
1908 author: ReposUpdateReleaseResponseAuthor;
1909 assets: Array<ReposUpdateReleaseResponseAssetsItem>;
1910 };
1911 type ReposCreateReleaseResponseAuthor = {
1912 login: string;
1913 id: number;
1914 node_id: string;
1915 avatar_url: string;
1916 gravatar_id: string;
1917 url: string;
1918 html_url: string;
1919 followers_url: string;
1920 following_url: string;
1921 gists_url: string;
1922 starred_url: string;
1923 subscriptions_url: string;
1924 organizations_url: string;
1925 repos_url: string;
1926 events_url: string;
1927 received_events_url: string;
1928 type: string;
1929 site_admin: boolean;
1930 };
1931 type ReposCreateReleaseResponse = {
1932 url: string;
1933 html_url: string;
1934 assets_url: string;
1935 upload_url: string;
1936 tarball_url: string;
1937 zipball_url: string;
1938 id: number;
1939 node_id: string;
1940 tag_name: string;
1941 target_commitish: string;
1942 name: string;
1943 body: string;
1944 draft: boolean;
1945 prerelease: boolean;
1946 created_at: string;
1947 published_at: string;
1948 author: ReposCreateReleaseResponseAuthor;
1949 assets: Array<any>;
1950 };
1951 type ReposGetReleaseByTagResponseAssetsItemUploader = {
1952 login: string;
1953 id: number;
1954 node_id: string;
1955 avatar_url: string;
1956 gravatar_id: string;
1957 url: string;
1958 html_url: string;
1959 followers_url: string;
1960 following_url: string;
1961 gists_url: string;
1962 starred_url: string;
1963 subscriptions_url: string;
1964 organizations_url: string;
1965 repos_url: string;
1966 events_url: string;
1967 received_events_url: string;
1968 type: string;
1969 site_admin: boolean;
1970 };
1971 type ReposGetReleaseByTagResponseAssetsItem = {
1972 url: string;
1973 browser_download_url: string;
1974 id: number;
1975 node_id: string;
1976 name: string;
1977 label: string;
1978 state: string;
1979 content_type: string;
1980 size: number;
1981 download_count: number;
1982 created_at: string;
1983 updated_at: string;
1984 uploader: ReposGetReleaseByTagResponseAssetsItemUploader;
1985 };
1986 type ReposGetReleaseByTagResponseAuthor = {
1987 login: string;
1988 id: number;
1989 node_id: string;
1990 avatar_url: string;
1991 gravatar_id: string;
1992 url: string;
1993 html_url: string;
1994 followers_url: string;
1995 following_url: string;
1996 gists_url: string;
1997 starred_url: string;
1998 subscriptions_url: string;
1999 organizations_url: string;
2000 repos_url: string;
2001 events_url: string;
2002 received_events_url: string;
2003 type: string;
2004 site_admin: boolean;
2005 };
2006 type ReposGetReleaseByTagResponse = {
2007 url: string;
2008 html_url: string;
2009 assets_url: string;
2010 upload_url: string;
2011 tarball_url: string;
2012 zipball_url: string;
2013 id: number;
2014 node_id: string;
2015 tag_name: string;
2016 target_commitish: string;
2017 name: string;
2018 body: string;
2019 draft: boolean;
2020 prerelease: boolean;
2021 created_at: string;
2022 published_at: string;
2023 author: ReposGetReleaseByTagResponseAuthor;
2024 assets: Array<ReposGetReleaseByTagResponseAssetsItem>;
2025 };
2026 type ReposGetLatestReleaseResponseAssetsItemUploader = {
2027 login: string;
2028 id: number;
2029 node_id: string;
2030 avatar_url: string;
2031 gravatar_id: string;
2032 url: string;
2033 html_url: string;
2034 followers_url: string;
2035 following_url: string;
2036 gists_url: string;
2037 starred_url: string;
2038 subscriptions_url: string;
2039 organizations_url: string;
2040 repos_url: string;
2041 events_url: string;
2042 received_events_url: string;
2043 type: string;
2044 site_admin: boolean;
2045 };
2046 type ReposGetLatestReleaseResponseAssetsItem = {
2047 url: string;
2048 browser_download_url: string;
2049 id: number;
2050 node_id: string;
2051 name: string;
2052 label: string;
2053 state: string;
2054 content_type: string;
2055 size: number;
2056 download_count: number;
2057 created_at: string;
2058 updated_at: string;
2059 uploader: ReposGetLatestReleaseResponseAssetsItemUploader;
2060 };
2061 type ReposGetLatestReleaseResponseAuthor = {
2062 login: string;
2063 id: number;
2064 node_id: string;
2065 avatar_url: string;
2066 gravatar_id: string;
2067 url: string;
2068 html_url: string;
2069 followers_url: string;
2070 following_url: string;
2071 gists_url: string;
2072 starred_url: string;
2073 subscriptions_url: string;
2074 organizations_url: string;
2075 repos_url: string;
2076 events_url: string;
2077 received_events_url: string;
2078 type: string;
2079 site_admin: boolean;
2080 };
2081 type ReposGetLatestReleaseResponse = {
2082 url: string;
2083 html_url: string;
2084 assets_url: string;
2085 upload_url: string;
2086 tarball_url: string;
2087 zipball_url: string;
2088 id: number;
2089 node_id: string;
2090 tag_name: string;
2091 target_commitish: string;
2092 name: string;
2093 body: string;
2094 draft: boolean;
2095 prerelease: boolean;
2096 created_at: string;
2097 published_at: string;
2098 author: ReposGetLatestReleaseResponseAuthor;
2099 assets: Array<ReposGetLatestReleaseResponseAssetsItem>;
2100 };
2101 type ReposGetReleaseResponseAssetsItemUploader = {
2102 login: string;
2103 id: number;
2104 node_id: string;
2105 avatar_url: string;
2106 gravatar_id: string;
2107 url: string;
2108 html_url: string;
2109 followers_url: string;
2110 following_url: string;
2111 gists_url: string;
2112 starred_url: string;
2113 subscriptions_url: string;
2114 organizations_url: string;
2115 repos_url: string;
2116 events_url: string;
2117 received_events_url: string;
2118 type: string;
2119 site_admin: boolean;
2120 };
2121 type ReposGetReleaseResponseAssetsItem = {
2122 url: string;
2123 browser_download_url: string;
2124 id: number;
2125 node_id: string;
2126 name: string;
2127 label: string;
2128 state: string;
2129 content_type: string;
2130 size: number;
2131 download_count: number;
2132 created_at: string;
2133 updated_at: string;
2134 uploader: ReposGetReleaseResponseAssetsItemUploader;
2135 };
2136 type ReposGetReleaseResponseAuthor = {
2137 login: string;
2138 id: number;
2139 node_id: string;
2140 avatar_url: string;
2141 gravatar_id: string;
2142 url: string;
2143 html_url: string;
2144 followers_url: string;
2145 following_url: string;
2146 gists_url: string;
2147 starred_url: string;
2148 subscriptions_url: string;
2149 organizations_url: string;
2150 repos_url: string;
2151 events_url: string;
2152 received_events_url: string;
2153 type: string;
2154 site_admin: boolean;
2155 };
2156 type ReposGetReleaseResponse = {
2157 url: string;
2158 html_url: string;
2159 assets_url: string;
2160 upload_url: string;
2161 tarball_url: string;
2162 zipball_url: string;
2163 id: number;
2164 node_id: string;
2165 tag_name: string;
2166 target_commitish: string;
2167 name: string;
2168 body: string;
2169 draft: boolean;
2170 prerelease: boolean;
2171 created_at: string;
2172 published_at: string;
2173 author: ReposGetReleaseResponseAuthor;
2174 assets: Array<ReposGetReleaseResponseAssetsItem>;
2175 };
2176 type ReposListReleasesResponseItemAssetsItemUploader = {
2177 login: string;
2178 id: number;
2179 node_id: string;
2180 avatar_url: string;
2181 gravatar_id: string;
2182 url: string;
2183 html_url: string;
2184 followers_url: string;
2185 following_url: string;
2186 gists_url: string;
2187 starred_url: string;
2188 subscriptions_url: string;
2189 organizations_url: string;
2190 repos_url: string;
2191 events_url: string;
2192 received_events_url: string;
2193 type: string;
2194 site_admin: boolean;
2195 };
2196 type ReposListReleasesResponseItemAssetsItem = {
2197 url: string;
2198 browser_download_url: string;
2199 id: number;
2200 node_id: string;
2201 name: string;
2202 label: string;
2203 state: string;
2204 content_type: string;
2205 size: number;
2206 download_count: number;
2207 created_at: string;
2208 updated_at: string;
2209 uploader: ReposListReleasesResponseItemAssetsItemUploader;
2210 };
2211 type ReposListReleasesResponseItemAuthor = {
2212 login: string;
2213 id: number;
2214 node_id: string;
2215 avatar_url: string;
2216 gravatar_id: string;
2217 url: string;
2218 html_url: string;
2219 followers_url: string;
2220 following_url: string;
2221 gists_url: string;
2222 starred_url: string;
2223 subscriptions_url: string;
2224 organizations_url: string;
2225 repos_url: string;
2226 events_url: string;
2227 received_events_url: string;
2228 type: string;
2229 site_admin: boolean;
2230 };
2231 type ReposListReleasesResponseItem = {
2232 url: string;
2233 html_url: string;
2234 assets_url: string;
2235 upload_url: string;
2236 tarball_url: string;
2237 zipball_url: string;
2238 id: number;
2239 node_id: string;
2240 tag_name: string;
2241 target_commitish: string;
2242 name: string;
2243 body: string;
2244 draft: boolean;
2245 prerelease: boolean;
2246 created_at: string;
2247 published_at: string;
2248 author: ReposListReleasesResponseItemAuthor;
2249 assets: Array<ReposListReleasesResponseItemAssetsItem>;
2250 };
2251 type ReposRequestPageBuildResponse = { url: string; status: string };
2252 type ReposUpdateInformationAboutPagesSiteResponse = {};
2253 type ReposGetPagesResponseSource = { branch: string; directory: string };
2254 type ReposGetPagesResponse = {
2255 url: string;
2256 status: string;
2257 cname: string;
2258 custom_404: boolean;
2259 html_url: string;
2260 source: ReposGetPagesResponseSource;
2261 };
2262 type ReposDeclineInvitationResponse = {};
2263 type ReposAcceptInvitationResponse = {};
2264 type ReposListInvitationsForAuthenticatedUserResponseItemInviter = {
2265 login: string;
2266 id: number;
2267 node_id: string;
2268 avatar_url: string;
2269 gravatar_id: string;
2270 url: string;
2271 html_url: string;
2272 followers_url: string;
2273 following_url: string;
2274 gists_url: string;
2275 starred_url: string;
2276 subscriptions_url: string;
2277 organizations_url: string;
2278 repos_url: string;
2279 events_url: string;
2280 received_events_url: string;
2281 type: string;
2282 site_admin: boolean;
2283 };
2284 type ReposListInvitationsForAuthenticatedUserResponseItemInvitee = {
2285 login: string;
2286 id: number;
2287 node_id: string;
2288 avatar_url: string;
2289 gravatar_id: string;
2290 url: string;
2291 html_url: string;
2292 followers_url: string;
2293 following_url: string;
2294 gists_url: string;
2295 starred_url: string;
2296 subscriptions_url: string;
2297 organizations_url: string;
2298 repos_url: string;
2299 events_url: string;
2300 received_events_url: string;
2301 type: string;
2302 site_admin: boolean;
2303 };
2304 type ReposListInvitationsForAuthenticatedUserResponseItemRepositoryOwner = {
2305 login: string;
2306 id: number;
2307 node_id: string;
2308 avatar_url: string;
2309 gravatar_id: string;
2310 url: string;
2311 html_url: string;
2312 followers_url: string;
2313 following_url: string;
2314 gists_url: string;
2315 starred_url: string;
2316 subscriptions_url: string;
2317 organizations_url: string;
2318 repos_url: string;
2319 events_url: string;
2320 received_events_url: string;
2321 type: string;
2322 site_admin: boolean;
2323 };
2324 type ReposListInvitationsForAuthenticatedUserResponseItemRepository = {
2325 id: number;
2326 node_id: string;
2327 name: string;
2328 full_name: string;
2329 owner: ReposListInvitationsForAuthenticatedUserResponseItemRepositoryOwner;
2330 private: boolean;
2331 html_url: string;
2332 description: string;
2333 fork: boolean;
2334 url: string;
2335 archive_url: string;
2336 assignees_url: string;
2337 blobs_url: string;
2338 branches_url: string;
2339 collaborators_url: string;
2340 comments_url: string;
2341 commits_url: string;
2342 compare_url: string;
2343 contents_url: string;
2344 contributors_url: string;
2345 deployments_url: string;
2346 downloads_url: string;
2347 events_url: string;
2348 forks_url: string;
2349 git_commits_url: string;
2350 git_refs_url: string;
2351 git_tags_url: string;
2352 git_url: string;
2353 issue_comment_url: string;
2354 issue_events_url: string;
2355 issues_url: string;
2356 keys_url: string;
2357 labels_url: string;
2358 languages_url: string;
2359 merges_url: string;
2360 milestones_url: string;
2361 notifications_url: string;
2362 pulls_url: string;
2363 releases_url: string;
2364 ssh_url: string;
2365 stargazers_url: string;
2366 statuses_url: string;
2367 subscribers_url: string;
2368 subscription_url: string;
2369 tags_url: string;
2370 teams_url: string;
2371 trees_url: string;
2372 };
2373 type ReposListInvitationsForAuthenticatedUserResponseItem = {
2374 id: number;
2375 repository: ReposListInvitationsForAuthenticatedUserResponseItemRepository;
2376 invitee: ReposListInvitationsForAuthenticatedUserResponseItemInvitee;
2377 inviter: ReposListInvitationsForAuthenticatedUserResponseItemInviter;
2378 permissions: string;
2379 created_at: string;
2380 url: string;
2381 html_url: string;
2382 };
2383 type ReposUpdateInvitationResponseInviter = {
2384 login: string;
2385 id: number;
2386 node_id: string;
2387 avatar_url: string;
2388 gravatar_id: string;
2389 url: string;
2390 html_url: string;
2391 followers_url: string;
2392 following_url: string;
2393 gists_url: string;
2394 starred_url: string;
2395 subscriptions_url: string;
2396 organizations_url: string;
2397 repos_url: string;
2398 events_url: string;
2399 received_events_url: string;
2400 type: string;
2401 site_admin: boolean;
2402 };
2403 type ReposUpdateInvitationResponseInvitee = {
2404 login: string;
2405 id: number;
2406 node_id: string;
2407 avatar_url: string;
2408 gravatar_id: string;
2409 url: string;
2410 html_url: string;
2411 followers_url: string;
2412 following_url: string;
2413 gists_url: string;
2414 starred_url: string;
2415 subscriptions_url: string;
2416 organizations_url: string;
2417 repos_url: string;
2418 events_url: string;
2419 received_events_url: string;
2420 type: string;
2421 site_admin: boolean;
2422 };
2423 type ReposUpdateInvitationResponseRepositoryOwner = {
2424 login: string;
2425 id: number;
2426 node_id: string;
2427 avatar_url: string;
2428 gravatar_id: string;
2429 url: string;
2430 html_url: string;
2431 followers_url: string;
2432 following_url: string;
2433 gists_url: string;
2434 starred_url: string;
2435 subscriptions_url: string;
2436 organizations_url: string;
2437 repos_url: string;
2438 events_url: string;
2439 received_events_url: string;
2440 type: string;
2441 site_admin: boolean;
2442 };
2443 type ReposUpdateInvitationResponseRepository = {
2444 id: number;
2445 node_id: string;
2446 name: string;
2447 full_name: string;
2448 owner: ReposUpdateInvitationResponseRepositoryOwner;
2449 private: boolean;
2450 html_url: string;
2451 description: string;
2452 fork: boolean;
2453 url: string;
2454 archive_url: string;
2455 assignees_url: string;
2456 blobs_url: string;
2457 branches_url: string;
2458 collaborators_url: string;
2459 comments_url: string;
2460 commits_url: string;
2461 compare_url: string;
2462 contents_url: string;
2463 contributors_url: string;
2464 deployments_url: string;
2465 downloads_url: string;
2466 events_url: string;
2467 forks_url: string;
2468 git_commits_url: string;
2469 git_refs_url: string;
2470 git_tags_url: string;
2471 git_url: string;
2472 issue_comment_url: string;
2473 issue_events_url: string;
2474 issues_url: string;
2475 keys_url: string;
2476 labels_url: string;
2477 languages_url: string;
2478 merges_url: string;
2479 milestones_url: string;
2480 notifications_url: string;
2481 pulls_url: string;
2482 releases_url: string;
2483 ssh_url: string;
2484 stargazers_url: string;
2485 statuses_url: string;
2486 subscribers_url: string;
2487 subscription_url: string;
2488 tags_url: string;
2489 teams_url: string;
2490 trees_url: string;
2491 };
2492 type ReposUpdateInvitationResponse = {
2493 id: number;
2494 repository: ReposUpdateInvitationResponseRepository;
2495 invitee: ReposUpdateInvitationResponseInvitee;
2496 inviter: ReposUpdateInvitationResponseInviter;
2497 permissions: string;
2498 created_at: string;
2499 url: string;
2500 html_url: string;
2501 };
2502 type ReposDeleteInvitationResponse = {};
2503 type ReposListInvitationsResponseItemInviter = {
2504 login: string;
2505 id: number;
2506 node_id: string;
2507 avatar_url: string;
2508 gravatar_id: string;
2509 url: string;
2510 html_url: string;
2511 followers_url: string;
2512 following_url: string;
2513 gists_url: string;
2514 starred_url: string;
2515 subscriptions_url: string;
2516 organizations_url: string;
2517 repos_url: string;
2518 events_url: string;
2519 received_events_url: string;
2520 type: string;
2521 site_admin: boolean;
2522 };
2523 type ReposListInvitationsResponseItemInvitee = {
2524 login: string;
2525 id: number;
2526 node_id: string;
2527 avatar_url: string;
2528 gravatar_id: string;
2529 url: string;
2530 html_url: string;
2531 followers_url: string;
2532 following_url: string;
2533 gists_url: string;
2534 starred_url: string;
2535 subscriptions_url: string;
2536 organizations_url: string;
2537 repos_url: string;
2538 events_url: string;
2539 received_events_url: string;
2540 type: string;
2541 site_admin: boolean;
2542 };
2543 type ReposListInvitationsResponseItemRepositoryOwner = {
2544 login: string;
2545 id: number;
2546 node_id: string;
2547 avatar_url: string;
2548 gravatar_id: string;
2549 url: string;
2550 html_url: string;
2551 followers_url: string;
2552 following_url: string;
2553 gists_url: string;
2554 starred_url: string;
2555 subscriptions_url: string;
2556 organizations_url: string;
2557 repos_url: string;
2558 events_url: string;
2559 received_events_url: string;
2560 type: string;
2561 site_admin: boolean;
2562 };
2563 type ReposListInvitationsResponseItemRepository = {
2564 id: number;
2565 node_id: string;
2566 name: string;
2567 full_name: string;
2568 owner: ReposListInvitationsResponseItemRepositoryOwner;
2569 private: boolean;
2570 html_url: string;
2571 description: string;
2572 fork: boolean;
2573 url: string;
2574 archive_url: string;
2575 assignees_url: string;
2576 blobs_url: string;
2577 branches_url: string;
2578 collaborators_url: string;
2579 comments_url: string;
2580 commits_url: string;
2581 compare_url: string;
2582 contents_url: string;
2583 contributors_url: string;
2584 deployments_url: string;
2585 downloads_url: string;
2586 events_url: string;
2587 forks_url: string;
2588 git_commits_url: string;
2589 git_refs_url: string;
2590 git_tags_url: string;
2591 git_url: string;
2592 issue_comment_url: string;
2593 issue_events_url: string;
2594 issues_url: string;
2595 keys_url: string;
2596 labels_url: string;
2597 languages_url: string;
2598 merges_url: string;
2599 milestones_url: string;
2600 notifications_url: string;
2601 pulls_url: string;
2602 releases_url: string;
2603 ssh_url: string;
2604 stargazers_url: string;
2605 statuses_url: string;
2606 subscribers_url: string;
2607 subscription_url: string;
2608 tags_url: string;
2609 teams_url: string;
2610 trees_url: string;
2611 };
2612 type ReposListInvitationsResponseItem = {
2613 id: number;
2614 repository: ReposListInvitationsResponseItemRepository;
2615 invitee: ReposListInvitationsResponseItemInvitee;
2616 inviter: ReposListInvitationsResponseItemInviter;
2617 permissions: string;
2618 created_at: string;
2619 url: string;
2620 html_url: string;
2621 };
2622 type ReposCreateForkResponsePermissions = {
2623 admin: boolean;
2624 push: boolean;
2625 pull: boolean;
2626 };
2627 type ReposCreateForkResponseOwner = {
2628 login: string;
2629 id: number;
2630 node_id: string;
2631 avatar_url: string;
2632 gravatar_id: string;
2633 url: string;
2634 html_url: string;
2635 followers_url: string;
2636 following_url: string;
2637 gists_url: string;
2638 starred_url: string;
2639 subscriptions_url: string;
2640 organizations_url: string;
2641 repos_url: string;
2642 events_url: string;
2643 received_events_url: string;
2644 type: string;
2645 site_admin: boolean;
2646 };
2647 type ReposCreateForkResponse = {
2648 id: number;
2649 node_id: string;
2650 name: string;
2651 full_name: string;
2652 owner: ReposCreateForkResponseOwner;
2653 private: boolean;
2654 html_url: string;
2655 description: string;
2656 fork: boolean;
2657 url: string;
2658 archive_url: string;
2659 assignees_url: string;
2660 blobs_url: string;
2661 branches_url: string;
2662 collaborators_url: string;
2663 comments_url: string;
2664 commits_url: string;
2665 compare_url: string;
2666 contents_url: string;
2667 contributors_url: string;
2668 deployments_url: string;
2669 downloads_url: string;
2670 events_url: string;
2671 forks_url: string;
2672 git_commits_url: string;
2673 git_refs_url: string;
2674 git_tags_url: string;
2675 git_url: string;
2676 issue_comment_url: string;
2677 issue_events_url: string;
2678 issues_url: string;
2679 keys_url: string;
2680 labels_url: string;
2681 languages_url: string;
2682 merges_url: string;
2683 milestones_url: string;
2684 notifications_url: string;
2685 pulls_url: string;
2686 releases_url: string;
2687 ssh_url: string;
2688 stargazers_url: string;
2689 statuses_url: string;
2690 subscribers_url: string;
2691 subscription_url: string;
2692 tags_url: string;
2693 teams_url: string;
2694 trees_url: string;
2695 clone_url: string;
2696 mirror_url: string;
2697 hooks_url: string;
2698 svn_url: string;
2699 homepage: string;
2700 language: null;
2701 forks_count: number;
2702 stargazers_count: number;
2703 watchers_count: number;
2704 size: number;
2705 default_branch: string;
2706 open_issues_count: number;
2707 topics: Array<string>;
2708 has_issues: boolean;
2709 has_projects: boolean;
2710 has_wiki: boolean;
2711 has_pages: boolean;
2712 has_downloads: boolean;
2713 archived: boolean;
2714 pushed_at: string;
2715 created_at: string;
2716 updated_at: string;
2717 permissions: ReposCreateForkResponsePermissions;
2718 allow_rebase_merge: boolean;
2719 allow_squash_merge: boolean;
2720 allow_merge_commit: boolean;
2721 subscribers_count: number;
2722 network_count: number;
2723 };
2724 type ReposListForksResponseItemLicense = {
2725 key: string;
2726 name: string;
2727 spdx_id: string;
2728 url: string;
2729 node_id: string;
2730 };
2731 type ReposListForksResponseItemPermissions = {
2732 admin: boolean;
2733 push: boolean;
2734 pull: boolean;
2735 };
2736 type ReposListForksResponseItemOwner = {
2737 login: string;
2738 id: number;
2739 node_id: string;
2740 avatar_url: string;
2741 gravatar_id: string;
2742 url: string;
2743 html_url: string;
2744 followers_url: string;
2745 following_url: string;
2746 gists_url: string;
2747 starred_url: string;
2748 subscriptions_url: string;
2749 organizations_url: string;
2750 repos_url: string;
2751 events_url: string;
2752 received_events_url: string;
2753 type: string;
2754 site_admin: boolean;
2755 };
2756 type ReposListForksResponseItem = {
2757 id: number;
2758 node_id: string;
2759 name: string;
2760 full_name: string;
2761 owner: ReposListForksResponseItemOwner;
2762 private: boolean;
2763 html_url: string;
2764 description: string;
2765 fork: boolean;
2766 url: string;
2767 archive_url: string;
2768 assignees_url: string;
2769 blobs_url: string;
2770 branches_url: string;
2771 collaborators_url: string;
2772 comments_url: string;
2773 commits_url: string;
2774 compare_url: string;
2775 contents_url: string;
2776 contributors_url: string;
2777 deployments_url: string;
2778 downloads_url: string;
2779 events_url: string;
2780 forks_url: string;
2781 git_commits_url: string;
2782 git_refs_url: string;
2783 git_tags_url: string;
2784 git_url: string;
2785 issue_comment_url: string;
2786 issue_events_url: string;
2787 issues_url: string;
2788 keys_url: string;
2789 labels_url: string;
2790 languages_url: string;
2791 merges_url: string;
2792 milestones_url: string;
2793 notifications_url: string;
2794 pulls_url: string;
2795 releases_url: string;
2796 ssh_url: string;
2797 stargazers_url: string;
2798 statuses_url: string;
2799 subscribers_url: string;
2800 subscription_url: string;
2801 tags_url: string;
2802 teams_url: string;
2803 trees_url: string;
2804 clone_url: string;
2805 mirror_url: string;
2806 hooks_url: string;
2807 svn_url: string;
2808 homepage: string;
2809 language: null;
2810 forks_count: number;
2811 stargazers_count: number;
2812 watchers_count: number;
2813 size: number;
2814 default_branch: string;
2815 open_issues_count: number;
2816 topics: Array<string>;
2817 has_issues: boolean;
2818 has_projects: boolean;
2819 has_wiki: boolean;
2820 has_pages: boolean;
2821 has_downloads: boolean;
2822 archived: boolean;
2823 pushed_at: string;
2824 created_at: string;
2825 updated_at: string;
2826 permissions: ReposListForksResponseItemPermissions;
2827 subscribers_count: number;
2828 network_count: number;
2829 license: ReposListForksResponseItemLicense;
2830 };
2831 type ReposDeleteDownloadResponse = {};
2832 type ReposGetDownloadResponse = {
2833 url: string;
2834 html_url: string;
2835 id: number;
2836 name: string;
2837 description: string;
2838 size: number;
2839 download_count: number;
2840 content_type: string;
2841 };
2842 type ReposListDownloadsResponseItem = {
2843 url: string;
2844 html_url: string;
2845 id: number;
2846 name: string;
2847 description: string;
2848 size: number;
2849 download_count: number;
2850 content_type: string;
2851 };
2852 type ReposCreateDeploymentStatusResponseCreator = {
2853 login: string;
2854 id: number;
2855 node_id: string;
2856 avatar_url: string;
2857 gravatar_id: string;
2858 url: string;
2859 html_url: string;
2860 followers_url: string;
2861 following_url: string;
2862 gists_url: string;
2863 starred_url: string;
2864 subscriptions_url: string;
2865 organizations_url: string;
2866 repos_url: string;
2867 events_url: string;
2868 received_events_url: string;
2869 type: string;
2870 site_admin: boolean;
2871 };
2872 type ReposCreateDeploymentStatusResponse = {
2873 url: string;
2874 id: number;
2875 node_id: string;
2876 state: string;
2877 creator: ReposCreateDeploymentStatusResponseCreator;
2878 description: string;
2879 environment: string;
2880 target_url: string;
2881 created_at: string;
2882 updated_at: string;
2883 deployment_url: string;
2884 repository_url: string;
2885 environment_url: string;
2886 log_url: string;
2887 };
2888 type ReposGetDeploymentStatusResponseCreator = {
2889 login: string;
2890 id: number;
2891 node_id: string;
2892 avatar_url: string;
2893 gravatar_id: string;
2894 url: string;
2895 html_url: string;
2896 followers_url: string;
2897 following_url: string;
2898 gists_url: string;
2899 starred_url: string;
2900 subscriptions_url: string;
2901 organizations_url: string;
2902 repos_url: string;
2903 events_url: string;
2904 received_events_url: string;
2905 type: string;
2906 site_admin: boolean;
2907 };
2908 type ReposGetDeploymentStatusResponse = {
2909 url: string;
2910 id: number;
2911 node_id: string;
2912 state: string;
2913 creator: ReposGetDeploymentStatusResponseCreator;
2914 description: string;
2915 environment: string;
2916 target_url: string;
2917 created_at: string;
2918 updated_at: string;
2919 deployment_url: string;
2920 repository_url: string;
2921 environment_url: string;
2922 log_url: string;
2923 };
2924 type ReposListDeploymentStatusesResponseItemCreator = {
2925 login: string;
2926 id: number;
2927 node_id: string;
2928 avatar_url: string;
2929 gravatar_id: string;
2930 url: string;
2931 html_url: string;
2932 followers_url: string;
2933 following_url: string;
2934 gists_url: string;
2935 starred_url: string;
2936 subscriptions_url: string;
2937 organizations_url: string;
2938 repos_url: string;
2939 events_url: string;
2940 received_events_url: string;
2941 type: string;
2942 site_admin: boolean;
2943 };
2944 type ReposListDeploymentStatusesResponseItem = {
2945 url: string;
2946 id: number;
2947 node_id: string;
2948 state: string;
2949 creator: ReposListDeploymentStatusesResponseItemCreator;
2950 description: string;
2951 environment: string;
2952 target_url: string;
2953 created_at: string;
2954 updated_at: string;
2955 deployment_url: string;
2956 repository_url: string;
2957 environment_url: string;
2958 log_url: string;
2959 };
2960 type ReposGetDeploymentResponseCreator = {
2961 login: string;
2962 id: number;
2963 node_id: string;
2964 avatar_url: string;
2965 gravatar_id: string;
2966 url: string;
2967 html_url: string;
2968 followers_url: string;
2969 following_url: string;
2970 gists_url: string;
2971 starred_url: string;
2972 subscriptions_url: string;
2973 organizations_url: string;
2974 repos_url: string;
2975 events_url: string;
2976 received_events_url: string;
2977 type: string;
2978 site_admin: boolean;
2979 };
2980 type ReposGetDeploymentResponsePayload = { deploy: string };
2981 type ReposGetDeploymentResponse = {
2982 url: string;
2983 id: number;
2984 node_id: string;
2985 sha: string;
2986 ref: string;
2987 task: string;
2988 payload: ReposGetDeploymentResponsePayload;
2989 original_environment: string;
2990 environment: string;
2991 description: string;
2992 creator: ReposGetDeploymentResponseCreator;
2993 created_at: string;
2994 updated_at: string;
2995 statuses_url: string;
2996 repository_url: string;
2997 transient_environment: boolean;
2998 production_environment: boolean;
2999 };
3000 type ReposListDeploymentsResponseItemCreator = {
3001 login: string;
3002 id: number;
3003 node_id: string;
3004 avatar_url: string;
3005 gravatar_id: string;
3006 url: string;
3007 html_url: string;
3008 followers_url: string;
3009 following_url: string;
3010 gists_url: string;
3011 starred_url: string;
3012 subscriptions_url: string;
3013 organizations_url: string;
3014 repos_url: string;
3015 events_url: string;
3016 received_events_url: string;
3017 type: string;
3018 site_admin: boolean;
3019 };
3020 type ReposListDeploymentsResponseItemPayload = { deploy: string };
3021 type ReposListDeploymentsResponseItem = {
3022 url: string;
3023 id: number;
3024 node_id: string;
3025 sha: string;
3026 ref: string;
3027 task: string;
3028 payload: ReposListDeploymentsResponseItemPayload;
3029 original_environment: string;
3030 environment: string;
3031 description: string;
3032 creator: ReposListDeploymentsResponseItemCreator;
3033 created_at: string;
3034 updated_at: string;
3035 statuses_url: string;
3036 repository_url: string;
3037 transient_environment: boolean;
3038 production_environment: boolean;
3039 };
3040 type ReposRemoveDeployKeyResponse = {};
3041 type ReposAddDeployKeyResponse = {
3042 id: number;
3043 key: string;
3044 url: string;
3045 title: string;
3046 verified: boolean;
3047 created_at: string;
3048 read_only: boolean;
3049 };
3050 type ReposGetDeployKeyResponse = {
3051 id: number;
3052 key: string;
3053 url: string;
3054 title: string;
3055 verified: boolean;
3056 created_at: string;
3057 read_only: boolean;
3058 };
3059 type ReposListDeployKeysResponseItem = {
3060 id: number;
3061 key: string;
3062 url: string;
3063 title: string;
3064 verified: boolean;
3065 created_at: string;
3066 read_only: boolean;
3067 };
3068 type ReposGetArchiveLinkResponse = {};
3069 type ReposDeleteFileResponseCommitVerification = {
3070 verified: boolean;
3071 reason: string;
3072 signature: null;
3073 payload: null;
3074 };
3075 type ReposDeleteFileResponseCommitParentsItem = {
3076 url: string;
3077 html_url: string;
3078 sha: string;
3079 };
3080 type ReposDeleteFileResponseCommitTree = { url: string; sha: string };
3081 type ReposDeleteFileResponseCommitCommitter = {
3082 date: string;
3083 name: string;
3084 email: string;
3085 };
3086 type ReposDeleteFileResponseCommitAuthor = {
3087 date: string;
3088 name: string;
3089 email: string;
3090 };
3091 type ReposDeleteFileResponseCommit = {
3092 sha: string;
3093 node_id: string;
3094 url: string;
3095 html_url: string;
3096 author: ReposDeleteFileResponseCommitAuthor;
3097 committer: ReposDeleteFileResponseCommitCommitter;
3098 message: string;
3099 tree: ReposDeleteFileResponseCommitTree;
3100 parents: Array<ReposDeleteFileResponseCommitParentsItem>;
3101 verification: ReposDeleteFileResponseCommitVerification;
3102 };
3103 type ReposDeleteFileResponse = {
3104 content: null;
3105 commit: ReposDeleteFileResponseCommit;
3106 };
3107 type ReposUpdateFileResponseCommitVerification = {
3108 verified: boolean;
3109 reason: string;
3110 signature: null;
3111 payload: null;
3112 };
3113 type ReposUpdateFileResponseCommitParentsItem = {
3114 url: string;
3115 html_url: string;
3116 sha: string;
3117 };
3118 type ReposUpdateFileResponseCommitTree = { url: string; sha: string };
3119 type ReposUpdateFileResponseCommitCommitter = {
3120 date: string;
3121 name: string;
3122 email: string;
3123 };
3124 type ReposUpdateFileResponseCommitAuthor = {
3125 date: string;
3126 name: string;
3127 email: string;
3128 };
3129 type ReposUpdateFileResponseCommit = {
3130 sha: string;
3131 node_id: string;
3132 url: string;
3133 html_url: string;
3134 author: ReposUpdateFileResponseCommitAuthor;
3135 committer: ReposUpdateFileResponseCommitCommitter;
3136 message: string;
3137 tree: ReposUpdateFileResponseCommitTree;
3138 parents: Array<ReposUpdateFileResponseCommitParentsItem>;
3139 verification: ReposUpdateFileResponseCommitVerification;
3140 };
3141 type ReposUpdateFileResponseContentLinks = {
3142 self: string;
3143 git: string;
3144 html: string;
3145 };
3146 type ReposUpdateFileResponseContent = {
3147 name: string;
3148 path: string;
3149 sha: string;
3150 size: number;
3151 url: string;
3152 html_url: string;
3153 git_url: string;
3154 download_url: string;
3155 type: string;
3156 _links: ReposUpdateFileResponseContentLinks;
3157 };
3158 type ReposUpdateFileResponse = {
3159 content: ReposUpdateFileResponseContent;
3160 commit: ReposUpdateFileResponseCommit;
3161 };
3162 type ReposCreateFileResponseCommitVerification = {
3163 verified: boolean;
3164 reason: string;
3165 signature: null;
3166 payload: null;
3167 };
3168 type ReposCreateFileResponseCommitParentsItem = {
3169 url: string;
3170 html_url: string;
3171 sha: string;
3172 };
3173 type ReposCreateFileResponseCommitTree = { url: string; sha: string };
3174 type ReposCreateFileResponseCommitCommitter = {
3175 date: string;
3176 name: string;
3177 email: string;
3178 };
3179 type ReposCreateFileResponseCommitAuthor = {
3180 date: string;
3181 name: string;
3182 email: string;
3183 };
3184 type ReposCreateFileResponseCommit = {
3185 sha: string;
3186 node_id: string;
3187 url: string;
3188 html_url: string;
3189 author: ReposCreateFileResponseCommitAuthor;
3190 committer: ReposCreateFileResponseCommitCommitter;
3191 message: string;
3192 tree: ReposCreateFileResponseCommitTree;
3193 parents: Array<ReposCreateFileResponseCommitParentsItem>;
3194 verification: ReposCreateFileResponseCommitVerification;
3195 };
3196 type ReposCreateFileResponseContentLinks = {
3197 self: string;
3198 git: string;
3199 html: string;
3200 };
3201 type ReposCreateFileResponseContent = {
3202 name: string;
3203 path: string;
3204 sha: string;
3205 size: number;
3206 url: string;
3207 html_url: string;
3208 git_url: string;
3209 download_url: string;
3210 type: string;
3211 _links: ReposCreateFileResponseContentLinks;
3212 };
3213 type ReposCreateFileResponse = {
3214 content: ReposCreateFileResponseContent;
3215 commit: ReposCreateFileResponseCommit;
3216 };
3217 type ReposGetReadmeResponseLinks = {
3218 git: string;
3219 self: string;
3220 html: string;
3221 };
3222 type ReposGetReadmeResponse = {
3223 type: string;
3224 encoding: string;
3225 size: number;
3226 name: string;
3227 path: string;
3228 content: string;
3229 sha: string;
3230 url: string;
3231 git_url: string;
3232 html_url: string;
3233 download_url: string;
3234 _links: ReposGetReadmeResponseLinks;
3235 };
3236 type ReposRetrieveCommunityProfileMetricsResponseFilesReadme = {
3237 url: string;
3238 html_url: string;
3239 };
3240 type ReposRetrieveCommunityProfileMetricsResponseFilesLicense = {
3241 name: string;
3242 key: string;
3243 spdx_id: string;
3244 url: string;
3245 html_url: string;
3246 };
3247 type ReposRetrieveCommunityProfileMetricsResponseFilesPullRequestTemplate = {
3248 url: string;
3249 html_url: string;
3250 };
3251 type ReposRetrieveCommunityProfileMetricsResponseFilesIssueTemplate = {
3252 url: string;
3253 html_url: string;
3254 };
3255 type ReposRetrieveCommunityProfileMetricsResponseFilesContributing = {
3256 url: string;
3257 html_url: string;
3258 };
3259 type ReposRetrieveCommunityProfileMetricsResponseFilesCodeOfConduct = {
3260 name: string;
3261 key: string;
3262 url: string;
3263 html_url: string;
3264 };
3265 type ReposRetrieveCommunityProfileMetricsResponseFiles = {
3266 code_of_conduct: ReposRetrieveCommunityProfileMetricsResponseFilesCodeOfConduct;
3267 contributing: ReposRetrieveCommunityProfileMetricsResponseFilesContributing;
3268 issue_template: ReposRetrieveCommunityProfileMetricsResponseFilesIssueTemplate;
3269 pull_request_template: ReposRetrieveCommunityProfileMetricsResponseFilesPullRequestTemplate;
3270 license: ReposRetrieveCommunityProfileMetricsResponseFilesLicense;
3271 readme: ReposRetrieveCommunityProfileMetricsResponseFilesReadme;
3272 };
3273 type ReposRetrieveCommunityProfileMetricsResponse = {
3274 health_percentage: number;
3275 description: string;
3276 documentation: boolean;
3277 files: ReposRetrieveCommunityProfileMetricsResponseFiles;
3278 updated_at: string;
3279 };
3280 type ReposGetCommitRefShaResponse = {};
3281 type ReposGetCommitResponseFilesItem = {
3282 filename: string;
3283 additions: number;
3284 deletions: number;
3285 changes: number;
3286 status: string;
3287 raw_url: string;
3288 blob_url: string;
3289 patch: string;
3290 };
3291 type ReposGetCommitResponseStats = {
3292 additions: number;
3293 deletions: number;
3294 total: number;
3295 };
3296 type ReposGetCommitResponseParentsItem = { url: string; sha: string };
3297 type ReposGetCommitResponseCommitter = {
3298 login: string;
3299 id: number;
3300 node_id: string;
3301 avatar_url: string;
3302 gravatar_id: string;
3303 url: string;
3304 html_url: string;
3305 followers_url: string;
3306 following_url: string;
3307 gists_url: string;
3308 starred_url: string;
3309 subscriptions_url: string;
3310 organizations_url: string;
3311 repos_url: string;
3312 events_url: string;
3313 received_events_url: string;
3314 type: string;
3315 site_admin: boolean;
3316 };
3317 type ReposGetCommitResponseAuthor = {
3318 login: string;
3319 id: number;
3320 node_id: string;
3321 avatar_url: string;
3322 gravatar_id: string;
3323 url: string;
3324 html_url: string;
3325 followers_url: string;
3326 following_url: string;
3327 gists_url: string;
3328 starred_url: string;
3329 subscriptions_url: string;
3330 organizations_url: string;
3331 repos_url: string;
3332 events_url: string;
3333 received_events_url: string;
3334 type: string;
3335 site_admin: boolean;
3336 };
3337 type ReposGetCommitResponseCommitVerification = {
3338 verified: boolean;
3339 reason: string;
3340 signature: null;
3341 payload: null;
3342 };
3343 type ReposGetCommitResponseCommitTree = { url: string; sha: string };
3344 type ReposGetCommitResponseCommitCommitter = {
3345 name: string;
3346 email: string;
3347 date: string;
3348 };
3349 type ReposGetCommitResponseCommitAuthor = {
3350 name: string;
3351 email: string;
3352 date: string;
3353 };
3354 type ReposGetCommitResponseCommit = {
3355 url: string;
3356 author: ReposGetCommitResponseCommitAuthor;
3357 committer: ReposGetCommitResponseCommitCommitter;
3358 message: string;
3359 tree: ReposGetCommitResponseCommitTree;
3360 comment_count: number;
3361 verification: ReposGetCommitResponseCommitVerification;
3362 };
3363 type ReposGetCommitResponse = {
3364 url: string;
3365 sha: string;
3366 node_id: string;
3367 html_url: string;
3368 comments_url: string;
3369 commit: ReposGetCommitResponseCommit;
3370 author: ReposGetCommitResponseAuthor;
3371 committer: ReposGetCommitResponseCommitter;
3372 parents: Array<ReposGetCommitResponseParentsItem>;
3373 stats: ReposGetCommitResponseStats;
3374 files: Array<ReposGetCommitResponseFilesItem>;
3375 };
3376 type ReposListCommitsResponseItemParentsItem = { url: string; sha: string };
3377 type ReposListCommitsResponseItemCommitter = {
3378 login: string;
3379 id: number;
3380 node_id: string;
3381 avatar_url: string;
3382 gravatar_id: string;
3383 url: string;
3384 html_url: string;
3385 followers_url: string;
3386 following_url: string;
3387 gists_url: string;
3388 starred_url: string;
3389 subscriptions_url: string;
3390 organizations_url: string;
3391 repos_url: string;
3392 events_url: string;
3393 received_events_url: string;
3394 type: string;
3395 site_admin: boolean;
3396 };
3397 type ReposListCommitsResponseItemAuthor = {
3398 login: string;
3399 id: number;
3400 node_id: string;
3401 avatar_url: string;
3402 gravatar_id: string;
3403 url: string;
3404 html_url: string;
3405 followers_url: string;
3406 following_url: string;
3407 gists_url: string;
3408 starred_url: string;
3409 subscriptions_url: string;
3410 organizations_url: string;
3411 repos_url: string;
3412 events_url: string;
3413 received_events_url: string;
3414 type: string;
3415 site_admin: boolean;
3416 };
3417 type ReposListCommitsResponseItemCommitVerification = {
3418 verified: boolean;
3419 reason: string;
3420 signature: null;
3421 payload: null;
3422 };
3423 type ReposListCommitsResponseItemCommitTree = { url: string; sha: string };
3424 type ReposListCommitsResponseItemCommitCommitter = {
3425 name: string;
3426 email: string;
3427 date: string;
3428 };
3429 type ReposListCommitsResponseItemCommitAuthor = {
3430 name: string;
3431 email: string;
3432 date: string;
3433 };
3434 type ReposListCommitsResponseItemCommit = {
3435 url: string;
3436 author: ReposListCommitsResponseItemCommitAuthor;
3437 committer: ReposListCommitsResponseItemCommitCommitter;
3438 message: string;
3439 tree: ReposListCommitsResponseItemCommitTree;
3440 comment_count: number;
3441 verification: ReposListCommitsResponseItemCommitVerification;
3442 };
3443 type ReposListCommitsResponseItem = {
3444 url: string;
3445 sha: string;
3446 node_id: string;
3447 html_url: string;
3448 comments_url: string;
3449 commit: ReposListCommitsResponseItemCommit;
3450 author: ReposListCommitsResponseItemAuthor;
3451 committer: ReposListCommitsResponseItemCommitter;
3452 parents: Array<ReposListCommitsResponseItemParentsItem>;
3453 };
3454 type ReposDeleteCommitCommentResponse = {};
3455 type ReposUpdateCommitCommentResponseUser = {
3456 login: string;
3457 id: number;
3458 node_id: string;
3459 avatar_url: string;
3460 gravatar_id: string;
3461 url: string;
3462 html_url: string;
3463 followers_url: string;
3464 following_url: string;
3465 gists_url: string;
3466 starred_url: string;
3467 subscriptions_url: string;
3468 organizations_url: string;
3469 repos_url: string;
3470 events_url: string;
3471 received_events_url: string;
3472 type: string;
3473 site_admin: boolean;
3474 };
3475 type ReposUpdateCommitCommentResponse = {
3476 html_url: string;
3477 url: string;
3478 id: number;
3479 node_id: string;
3480 body: string;
3481 path: string;
3482 position: number;
3483 line: number;
3484 commit_id: string;
3485 user: ReposUpdateCommitCommentResponseUser;
3486 created_at: string;
3487 updated_at: string;
3488 };
3489 type ReposGetCommitCommentResponseUser = {
3490 login: string;
3491 id: number;
3492 node_id: string;
3493 avatar_url: string;
3494 gravatar_id: string;
3495 url: string;
3496 html_url: string;
3497 followers_url: string;
3498 following_url: string;
3499 gists_url: string;
3500 starred_url: string;
3501 subscriptions_url: string;
3502 organizations_url: string;
3503 repos_url: string;
3504 events_url: string;
3505 received_events_url: string;
3506 type: string;
3507 site_admin: boolean;
3508 };
3509 type ReposGetCommitCommentResponse = {
3510 html_url: string;
3511 url: string;
3512 id: number;
3513 node_id: string;
3514 body: string;
3515 path: string;
3516 position: number;
3517 line: number;
3518 commit_id: string;
3519 user: ReposGetCommitCommentResponseUser;
3520 created_at: string;
3521 updated_at: string;
3522 };
3523 type ReposCreateCommitCommentResponseUser = {
3524 login: string;
3525 id: number;
3526 node_id: string;
3527 avatar_url: string;
3528 gravatar_id: string;
3529 url: string;
3530 html_url: string;
3531 followers_url: string;
3532 following_url: string;
3533 gists_url: string;
3534 starred_url: string;
3535 subscriptions_url: string;
3536 organizations_url: string;
3537 repos_url: string;
3538 events_url: string;
3539 received_events_url: string;
3540 type: string;
3541 site_admin: boolean;
3542 };
3543 type ReposCreateCommitCommentResponse = {
3544 html_url: string;
3545 url: string;
3546 id: number;
3547 node_id: string;
3548 body: string;
3549 path: string;
3550 position: number;
3551 line: number;
3552 commit_id: string;
3553 user: ReposCreateCommitCommentResponseUser;
3554 created_at: string;
3555 updated_at: string;
3556 };
3557 type ReposListCommentsForCommitResponseItemUser = {
3558 login: string;
3559 id: number;
3560 node_id: string;
3561 avatar_url: string;
3562 gravatar_id: string;
3563 url: string;
3564 html_url: string;
3565 followers_url: string;
3566 following_url: string;
3567 gists_url: string;
3568 starred_url: string;
3569 subscriptions_url: string;
3570 organizations_url: string;
3571 repos_url: string;
3572 events_url: string;
3573 received_events_url: string;
3574 type: string;
3575 site_admin: boolean;
3576 };
3577 type ReposListCommentsForCommitResponseItem = {
3578 html_url: string;
3579 url: string;
3580 id: number;
3581 node_id: string;
3582 body: string;
3583 path: string;
3584 position: number;
3585 line: number;
3586 commit_id: string;
3587 user: ReposListCommentsForCommitResponseItemUser;
3588 created_at: string;
3589 updated_at: string;
3590 };
3591 type ReposListCommitCommentsResponseItemUser = {
3592 login: string;
3593 id: number;
3594 node_id: string;
3595 avatar_url: string;
3596 gravatar_id: string;
3597 url: string;
3598 html_url: string;
3599 followers_url: string;
3600 following_url: string;
3601 gists_url: string;
3602 starred_url: string;
3603 subscriptions_url: string;
3604 organizations_url: string;
3605 repos_url: string;
3606 events_url: string;
3607 received_events_url: string;
3608 type: string;
3609 site_admin: boolean;
3610 };
3611 type ReposListCommitCommentsResponseItem = {
3612 html_url: string;
3613 url: string;
3614 id: number;
3615 node_id: string;
3616 body: string;
3617 path: string;
3618 position: number;
3619 line: number;
3620 commit_id: string;
3621 user: ReposListCommitCommentsResponseItemUser;
3622 created_at: string;
3623 updated_at: string;
3624 };
3625 type ReposRemoveCollaboratorResponse = {};
3626 type ReposListCollaboratorsResponseItemPermissions = {
3627 pull: boolean;
3628 push: boolean;
3629 admin: boolean;
3630 };
3631 type ReposListCollaboratorsResponseItem = {
3632 login: string;
3633 id: number;
3634 node_id: string;
3635 avatar_url: string;
3636 gravatar_id: string;
3637 url: string;
3638 html_url: string;
3639 followers_url: string;
3640 following_url: string;
3641 gists_url: string;
3642 starred_url: string;
3643 subscriptions_url: string;
3644 organizations_url: string;
3645 repos_url: string;
3646 events_url: string;
3647 received_events_url: string;
3648 type: string;
3649 site_admin: boolean;
3650 permissions: ReposListCollaboratorsResponseItemPermissions;
3651 };
3652 type ReposRemoveProtectedBranchUserRestrictionsResponseItem = {
3653 login: string;
3654 id: number;
3655 node_id: string;
3656 avatar_url: string;
3657 gravatar_id: string;
3658 url: string;
3659 html_url: string;
3660 followers_url: string;
3661 following_url: string;
3662 gists_url: string;
3663 starred_url: string;
3664 subscriptions_url: string;
3665 organizations_url: string;
3666 repos_url: string;
3667 events_url: string;
3668 received_events_url: string;
3669 type: string;
3670 site_admin: boolean;
3671 };
3672 type ReposAddProtectedBranchUserRestrictionsResponseItem = {
3673 login: string;
3674 id: number;
3675 node_id: string;
3676 avatar_url: string;
3677 gravatar_id: string;
3678 url: string;
3679 html_url: string;
3680 followers_url: string;
3681 following_url: string;
3682 gists_url: string;
3683 starred_url: string;
3684 subscriptions_url: string;
3685 organizations_url: string;
3686 repos_url: string;
3687 events_url: string;
3688 received_events_url: string;
3689 type: string;
3690 site_admin: boolean;
3691 };
3692 type ReposReplaceProtectedBranchUserRestrictionsResponseItem = {
3693 login: string;
3694 id: number;
3695 node_id: string;
3696 avatar_url: string;
3697 gravatar_id: string;
3698 url: string;
3699 html_url: string;
3700 followers_url: string;
3701 following_url: string;
3702 gists_url: string;
3703 starred_url: string;
3704 subscriptions_url: string;
3705 organizations_url: string;
3706 repos_url: string;
3707 events_url: string;
3708 received_events_url: string;
3709 type: string;
3710 site_admin: boolean;
3711 };
3712 type ReposRemoveProtectedBranchTeamRestrictionsResponseItem = {
3713 id: number;
3714 node_id: string;
3715 url: string;
3716 name: string;
3717 slug: string;
3718 description: string;
3719 privacy: string;
3720 permission: string;
3721 members_url: string;
3722 repositories_url: string;
3723 parent: null;
3724 };
3725 type ReposAddProtectedBranchTeamRestrictionsResponseItem = {
3726 id: number;
3727 node_id: string;
3728 url: string;
3729 name: string;
3730 slug: string;
3731 description: string;
3732 privacy: string;
3733 permission: string;
3734 members_url: string;
3735 repositories_url: string;
3736 parent: null;
3737 };
3738 type ReposReplaceProtectedBranchTeamRestrictionsResponseItem = {
3739 id: number;
3740 node_id: string;
3741 url: string;
3742 name: string;
3743 slug: string;
3744 description: string;
3745 privacy: string;
3746 permission: string;
3747 members_url: string;
3748 repositories_url: string;
3749 parent: null;
3750 };
3751 type ReposAddProtectedBranchAdminEnforcementResponse = {
3752 url: string;
3753 enabled: boolean;
3754 };
3755 type ReposAddProtectedBranchRequiredSignaturesResponse = {
3756 url: string;
3757 enabled: boolean;
3758 };
3759 type ReposGetProtectedBranchRequiredSignaturesResponse = {
3760 url: string;
3761 enabled: boolean;
3762 };
3763 type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsTeamsItem = {
3764 id: number;
3765 node_id: string;
3766 url: string;
3767 name: string;
3768 slug: string;
3769 description: string;
3770 privacy: string;
3771 permission: string;
3772 members_url: string;
3773 repositories_url: string;
3774 parent: null;
3775 };
3776 type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsUsersItem = {
3777 login: string;
3778 id: number;
3779 node_id: string;
3780 avatar_url: string;
3781 gravatar_id: string;
3782 url: string;
3783 html_url: string;
3784 followers_url: string;
3785 following_url: string;
3786 gists_url: string;
3787 starred_url: string;
3788 subscriptions_url: string;
3789 organizations_url: string;
3790 repos_url: string;
3791 events_url: string;
3792 received_events_url: string;
3793 type: string;
3794 site_admin: boolean;
3795 };
3796 type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictions = {
3797 url: string;
3798 users_url: string;
3799 teams_url: string;
3800 users: Array<
3801 ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsUsersItem
3802 >;
3803 teams: Array<
3804 ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictionsTeamsItem
3805 >;
3806 };
3807 type ReposUpdateProtectedBranchPullRequestReviewEnforcementResponse = {
3808 url: string;
3809 dismissal_restrictions: ReposUpdateProtectedBranchPullRequestReviewEnforcementResponseDismissalRestrictions;
3810 dismiss_stale_reviews: boolean;
3811 require_code_owner_reviews: boolean;
3812 required_approving_review_count: number;
3813 };
3814 type ReposUpdateProtectedBranchRequiredStatusChecksResponse = {
3815 url: string;
3816 strict: boolean;
3817 contexts: Array<string>;
3818 contexts_url: string;
3819 };
3820 type ReposGetProtectedBranchRequiredStatusChecksResponse = {
3821 url: string;
3822 strict: boolean;
3823 contexts: Array<string>;
3824 contexts_url: string;
3825 };
3826 type ReposRemoveBranchProtectionResponse = {};
3827 type ReposUpdateBranchProtectionResponseRestrictionsTeamsItem = {
3828 id: number;
3829 node_id: string;
3830 url: string;
3831 name: string;
3832 slug: string;
3833 description: string;
3834 privacy: string;
3835 permission: string;
3836 members_url: string;
3837 repositories_url: string;
3838 parent: null;
3839 };
3840 type ReposUpdateBranchProtectionResponseRestrictionsUsersItem = {
3841 login: string;
3842 id: number;
3843 node_id: string;
3844 avatar_url: string;
3845 gravatar_id: string;
3846 url: string;
3847 html_url: string;
3848 followers_url: string;
3849 following_url: string;
3850 gists_url: string;
3851 starred_url: string;
3852 subscriptions_url: string;
3853 organizations_url: string;
3854 repos_url: string;
3855 events_url: string;
3856 received_events_url: string;
3857 type: string;
3858 site_admin: boolean;
3859 };
3860 type ReposUpdateBranchProtectionResponseRestrictions = {
3861 url: string;
3862 users_url: string;
3863 teams_url: string;
3864 users: Array<ReposUpdateBranchProtectionResponseRestrictionsUsersItem>;
3865 teams: Array<ReposUpdateBranchProtectionResponseRestrictionsTeamsItem>;
3866 };
3867 type ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem = {
3868 id: number;
3869 node_id: string;
3870 url: string;
3871 name: string;
3872 slug: string;
3873 description: string;
3874 privacy: string;
3875 permission: string;
3876 members_url: string;
3877 repositories_url: string;
3878 parent: null;
3879 };
3880 type ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem = {
3881 login: string;
3882 id: number;
3883 node_id: string;
3884 avatar_url: string;
3885 gravatar_id: string;
3886 url: string;
3887 html_url: string;
3888 followers_url: string;
3889 following_url: string;
3890 gists_url: string;
3891 starred_url: string;
3892 subscriptions_url: string;
3893 organizations_url: string;
3894 repos_url: string;
3895 events_url: string;
3896 received_events_url: string;
3897 type: string;
3898 site_admin: boolean;
3899 };
3900 type ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions = {
3901 url: string;
3902 users_url: string;
3903 teams_url: string;
3904 users: Array<
3905 ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem
3906 >;
3907 teams: Array<
3908 ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem
3909 >;
3910 };
3911 type ReposUpdateBranchProtectionResponseRequiredPullRequestReviews = {
3912 url: string;
3913 dismissal_restrictions: ReposUpdateBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions;
3914 dismiss_stale_reviews: boolean;
3915 require_code_owner_reviews: boolean;
3916 required_approving_review_count: number;
3917 };
3918 type ReposUpdateBranchProtectionResponseEnforceAdmins = {
3919 url: string;
3920 enabled: boolean;
3921 };
3922 type ReposUpdateBranchProtectionResponseRequiredStatusChecks = {
3923 url: string;
3924 strict: boolean;
3925 contexts: Array<string>;
3926 contexts_url: string;
3927 };
3928 type ReposUpdateBranchProtectionResponse = {
3929 url: string;
3930 required_status_checks: ReposUpdateBranchProtectionResponseRequiredStatusChecks;
3931 enforce_admins: ReposUpdateBranchProtectionResponseEnforceAdmins;
3932 required_pull_request_reviews: ReposUpdateBranchProtectionResponseRequiredPullRequestReviews;
3933 restrictions: ReposUpdateBranchProtectionResponseRestrictions;
3934 };
3935 type ReposGetBranchProtectionResponseRestrictionsTeamsItem = {
3936 id: number;
3937 node_id: string;
3938 url: string;
3939 name: string;
3940 slug: string;
3941 description: string;
3942 privacy: string;
3943 permission: string;
3944 members_url: string;
3945 repositories_url: string;
3946 parent: null;
3947 };
3948 type ReposGetBranchProtectionResponseRestrictionsUsersItem = {
3949 login: string;
3950 id: number;
3951 node_id: string;
3952 avatar_url: string;
3953 gravatar_id: string;
3954 url: string;
3955 html_url: string;
3956 followers_url: string;
3957 following_url: string;
3958 gists_url: string;
3959 starred_url: string;
3960 subscriptions_url: string;
3961 organizations_url: string;
3962 repos_url: string;
3963 events_url: string;
3964 received_events_url: string;
3965 type: string;
3966 site_admin: boolean;
3967 };
3968 type ReposGetBranchProtectionResponseRestrictions = {
3969 url: string;
3970 users_url: string;
3971 teams_url: string;
3972 users: Array<ReposGetBranchProtectionResponseRestrictionsUsersItem>;
3973 teams: Array<ReposGetBranchProtectionResponseRestrictionsTeamsItem>;
3974 };
3975 type ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem = {
3976 id: number;
3977 node_id: string;
3978 url: string;
3979 name: string;
3980 slug: string;
3981 description: string;
3982 privacy: string;
3983 permission: string;
3984 members_url: string;
3985 repositories_url: string;
3986 parent: null;
3987 };
3988 type ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem = {
3989 login: string;
3990 id: number;
3991 node_id: string;
3992 avatar_url: string;
3993 gravatar_id: string;
3994 url: string;
3995 html_url: string;
3996 followers_url: string;
3997 following_url: string;
3998 gists_url: string;
3999 starred_url: string;
4000 subscriptions_url: string;
4001 organizations_url: string;
4002 repos_url: string;
4003 events_url: string;
4004 received_events_url: string;
4005 type: string;
4006 site_admin: boolean;
4007 };
4008 type ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions = {
4009 url: string;
4010 users_url: string;
4011 teams_url: string;
4012 users: Array<
4013 ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsUsersItem
4014 >;
4015 teams: Array<
4016 ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictionsTeamsItem
4017 >;
4018 };
4019 type ReposGetBranchProtectionResponseRequiredPullRequestReviews = {
4020 url: string;
4021 dismissal_restrictions: ReposGetBranchProtectionResponseRequiredPullRequestReviewsDismissalRestrictions;
4022 dismiss_stale_reviews: boolean;
4023 require_code_owner_reviews: boolean;
4024 required_approving_review_count: number;
4025 };
4026 type ReposGetBranchProtectionResponseEnforceAdmins = {
4027 url: string;
4028 enabled: boolean;
4029 };
4030 type ReposGetBranchProtectionResponseRequiredStatusChecks = {
4031 url: string;
4032 strict: boolean;
4033 contexts: Array<string>;
4034 contexts_url: string;
4035 };
4036 type ReposGetBranchProtectionResponse = {
4037 url: string;
4038 required_status_checks: ReposGetBranchProtectionResponseRequiredStatusChecks;
4039 enforce_admins: ReposGetBranchProtectionResponseEnforceAdmins;
4040 required_pull_request_reviews: ReposGetBranchProtectionResponseRequiredPullRequestReviews;
4041 restrictions: ReposGetBranchProtectionResponseRestrictions;
4042 };
4043 type ReposGetBranchResponseProtectionRequiredStatusChecks = {
4044 enforcement_level: string;
4045 contexts: Array<string>;
4046 };
4047 type ReposGetBranchResponseProtection = {
4048 enabled: boolean;
4049 required_status_checks: ReposGetBranchResponseProtectionRequiredStatusChecks;
4050 };
4051 type ReposGetBranchResponseLinks = { html: string; self: string };
4052 type ReposGetBranchResponseCommitCommitter = {
4053 gravatar_id: string;
4054 avatar_url: string;
4055 url: string;
4056 id: number;
4057 login: string;
4058 };
4059 type ReposGetBranchResponseCommitParentsItem = { sha: string; url: string };
4060 type ReposGetBranchResponseCommitAuthor = {
4061 gravatar_id: string;
4062 avatar_url: string;
4063 url: string;
4064 id: number;
4065 login: string;
4066 };
4067 type ReposGetBranchResponseCommitCommitVerification = {
4068 verified: boolean;
4069 reason: string;
4070 signature: null;
4071 payload: null;
4072 };
4073 type ReposGetBranchResponseCommitCommitCommitter = {
4074 name: string;
4075 date: string;
4076 email: string;
4077 };
4078 type ReposGetBranchResponseCommitCommitTree = { sha: string; url: string };
4079 type ReposGetBranchResponseCommitCommitAuthor = {
4080 name: string;
4081 date: string;
4082 email: string;
4083 };
4084 type ReposGetBranchResponseCommitCommit = {
4085 author: ReposGetBranchResponseCommitCommitAuthor;
4086 url: string;
4087 message: string;
4088 tree: ReposGetBranchResponseCommitCommitTree;
4089 committer: ReposGetBranchResponseCommitCommitCommitter;
4090 verification: ReposGetBranchResponseCommitCommitVerification;
4091 };
4092 type ReposGetBranchResponseCommit = {
4093 sha: string;
4094 node_id: string;
4095 commit: ReposGetBranchResponseCommitCommit;
4096 author: ReposGetBranchResponseCommitAuthor;
4097 parents: Array<ReposGetBranchResponseCommitParentsItem>;
4098 url: string;
4099 committer: ReposGetBranchResponseCommitCommitter;
4100 };
4101 type ReposGetBranchResponse = {
4102 name: string;
4103 commit: ReposGetBranchResponseCommit;
4104 _links: ReposGetBranchResponseLinks;
4105 protected: boolean;
4106 protection: ReposGetBranchResponseProtection;
4107 protection_url: string;
4108 };
4109 type ReposListBranchesResponseItemProtectionRequiredStatusChecks = {
4110 enforcement_level: string;
4111 contexts: Array<string>;
4112 };
4113 type ReposListBranchesResponseItemProtection = {
4114 enabled: boolean;
4115 required_status_checks: ReposListBranchesResponseItemProtectionRequiredStatusChecks;
4116 };
4117 type ReposListBranchesResponseItemCommit = { sha: string; url: string };
4118 type ReposListBranchesResponseItem = {
4119 name: string;
4120 commit: ReposListBranchesResponseItemCommit;
4121 protected: boolean;
4122 protection: ReposListBranchesResponseItemProtection;
4123 protection_url: string;
4124 };
4125 type ReposTransferResponsePermissions = {
4126 admin: boolean;
4127 push: boolean;
4128 pull: boolean;
4129 };
4130 type ReposTransferResponseOwner = {
4131 login: string;
4132 id: number;
4133 node_id: string;
4134 avatar_url: string;
4135 gravatar_id: string;
4136 url: string;
4137 html_url: string;
4138 followers_url: string;
4139 following_url: string;
4140 gists_url: string;
4141 starred_url: string;
4142 subscriptions_url: string;
4143 organizations_url: string;
4144 repos_url: string;
4145 events_url: string;
4146 received_events_url: string;
4147 type: string;
4148 site_admin: boolean;
4149 };
4150 type ReposTransferResponse = {
4151 id: number;
4152 node_id: string;
4153 name: string;
4154 full_name: string;
4155 owner: ReposTransferResponseOwner;
4156 private: boolean;
4157 html_url: string;
4158 description: string;
4159 fork: boolean;
4160 url: string;
4161 archive_url: string;
4162 assignees_url: string;
4163 blobs_url: string;
4164 branches_url: string;
4165 collaborators_url: string;
4166 comments_url: string;
4167 commits_url: string;
4168 compare_url: string;
4169 contents_url: string;
4170 contributors_url: string;
4171 deployments_url: string;
4172 downloads_url: string;
4173 events_url: string;
4174 forks_url: string;
4175 git_commits_url: string;
4176 git_refs_url: string;
4177 git_tags_url: string;
4178 git_url: string;
4179 issue_comment_url: string;
4180 issue_events_url: string;
4181 issues_url: string;
4182 keys_url: string;
4183 labels_url: string;
4184 languages_url: string;
4185 merges_url: string;
4186 milestones_url: string;
4187 notifications_url: string;
4188 pulls_url: string;
4189 releases_url: string;
4190 ssh_url: string;
4191 stargazers_url: string;
4192 statuses_url: string;
4193 subscribers_url: string;
4194 subscription_url: string;
4195 tags_url: string;
4196 teams_url: string;
4197 trees_url: string;
4198 clone_url: string;
4199 mirror_url: string;
4200 hooks_url: string;
4201 svn_url: string;
4202 homepage: string;
4203 language: null;
4204 forks_count: number;
4205 stargazers_count: number;
4206 watchers_count: number;
4207 size: number;
4208 default_branch: string;
4209 open_issues_count: number;
4210 topics: Array<string>;
4211 has_issues: boolean;
4212 has_projects: boolean;
4213 has_wiki: boolean;
4214 has_pages: boolean;
4215 has_downloads: boolean;
4216 archived: boolean;
4217 pushed_at: string;
4218 created_at: string;
4219 updated_at: string;
4220 permissions: ReposTransferResponsePermissions;
4221 allow_rebase_merge: boolean;
4222 allow_squash_merge: boolean;
4223 allow_merge_commit: boolean;
4224 subscribers_count: number;
4225 network_count: number;
4226 };
4227 type ReposDeleteResponse = { message?: string; documentation_url?: string };
4228 type ReposListTagsResponseItemCommit = { sha: string; url: string };
4229 type ReposListTagsResponseItem = {
4230 name: string;
4231 commit: ReposListTagsResponseItemCommit;
4232 zipball_url: string;
4233 tarball_url: string;
4234 };
4235 type ReposListTeamsResponseItem = {
4236 id: number;
4237 node_id: string;
4238 url: string;
4239 name: string;
4240 slug: string;
4241 description: string;
4242 privacy: string;
4243 permission: string;
4244 members_url: string;
4245 repositories_url: string;
4246 parent: null;
4247 };
4248 type ReposListLanguagesResponse = { C: number; Python: number };
4249 type ReposReplaceTopicsResponse = { names: Array<string> };
4250 type ReposListTopicsResponse = { names: Array<string> };
4251 type ReposUpdateResponseSourcePermissions = {
4252 admin: boolean;
4253 push: boolean;
4254 pull: boolean;
4255 };
4256 type ReposUpdateResponseSourceOwner = {
4257 login: string;
4258 id: number;
4259 node_id: string;
4260 avatar_url: string;
4261 gravatar_id: string;
4262 url: string;
4263 html_url: string;
4264 followers_url: string;
4265 following_url: string;
4266 gists_url: string;
4267 starred_url: string;
4268 subscriptions_url: string;
4269 organizations_url: string;
4270 repos_url: string;
4271 events_url: string;
4272 received_events_url: string;
4273 type: string;
4274 site_admin: boolean;
4275 };
4276 type ReposUpdateResponseSource = {
4277 id: number;
4278 node_id: string;
4279 name: string;
4280 full_name: string;
4281 owner: ReposUpdateResponseSourceOwner;
4282 private: boolean;
4283 html_url: string;
4284 description: string;
4285 fork: boolean;
4286 url: string;
4287 archive_url: string;
4288 assignees_url: string;
4289 blobs_url: string;
4290 branches_url: string;
4291 collaborators_url: string;
4292 comments_url: string;
4293 commits_url: string;
4294 compare_url: string;
4295 contents_url: string;
4296 contributors_url: string;
4297 deployments_url: string;
4298 downloads_url: string;
4299 events_url: string;
4300 forks_url: string;
4301 git_commits_url: string;
4302 git_refs_url: string;
4303 git_tags_url: string;
4304 git_url: string;
4305 issue_comment_url: string;
4306 issue_events_url: string;
4307 issues_url: string;
4308 keys_url: string;
4309 labels_url: string;
4310 languages_url: string;
4311 merges_url: string;
4312 milestones_url: string;
4313 notifications_url: string;
4314 pulls_url: string;
4315 releases_url: string;
4316 ssh_url: string;
4317 stargazers_url: string;
4318 statuses_url: string;
4319 subscribers_url: string;
4320 subscription_url: string;
4321 tags_url: string;
4322 teams_url: string;
4323 trees_url: string;
4324 clone_url: string;
4325 mirror_url: string;
4326 hooks_url: string;
4327 svn_url: string;
4328 homepage: string;
4329 language: null;
4330 forks_count: number;
4331 stargazers_count: number;
4332 watchers_count: number;
4333 size: number;
4334 default_branch: string;
4335 open_issues_count: number;
4336 topics: Array<string>;
4337 has_issues: boolean;
4338 has_projects: boolean;
4339 has_wiki: boolean;
4340 has_pages: boolean;
4341 has_downloads: boolean;
4342 archived: boolean;
4343 pushed_at: string;
4344 created_at: string;
4345 updated_at: string;
4346 permissions: ReposUpdateResponseSourcePermissions;
4347 allow_rebase_merge: boolean;
4348 allow_squash_merge: boolean;
4349 allow_merge_commit: boolean;
4350 subscribers_count: number;
4351 network_count: number;
4352 };
4353 type ReposUpdateResponseParentPermissions = {
4354 admin: boolean;
4355 push: boolean;
4356 pull: boolean;
4357 };
4358 type ReposUpdateResponseParentOwner = {
4359 login: string;
4360 id: number;
4361 node_id: string;
4362 avatar_url: string;
4363 gravatar_id: string;
4364 url: string;
4365 html_url: string;
4366 followers_url: string;
4367 following_url: string;
4368 gists_url: string;
4369 starred_url: string;
4370 subscriptions_url: string;
4371 organizations_url: string;
4372 repos_url: string;
4373 events_url: string;
4374 received_events_url: string;
4375 type: string;
4376 site_admin: boolean;
4377 };
4378 type ReposUpdateResponseParent = {
4379 id: number;
4380 node_id: string;
4381 name: string;
4382 full_name: string;
4383 owner: ReposUpdateResponseParentOwner;
4384 private: boolean;
4385 html_url: string;
4386 description: string;
4387 fork: boolean;
4388 url: string;
4389 archive_url: string;
4390 assignees_url: string;
4391 blobs_url: string;
4392 branches_url: string;
4393 collaborators_url: string;
4394 comments_url: string;
4395 commits_url: string;
4396 compare_url: string;
4397 contents_url: string;
4398 contributors_url: string;
4399 deployments_url: string;
4400 downloads_url: string;
4401 events_url: string;
4402 forks_url: string;
4403 git_commits_url: string;
4404 git_refs_url: string;
4405 git_tags_url: string;
4406 git_url: string;
4407 issue_comment_url: string;
4408 issue_events_url: string;
4409 issues_url: string;
4410 keys_url: string;
4411 labels_url: string;
4412 languages_url: string;
4413 merges_url: string;
4414 milestones_url: string;
4415 notifications_url: string;
4416 pulls_url: string;
4417 releases_url: string;
4418 ssh_url: string;
4419 stargazers_url: string;
4420 statuses_url: string;
4421 subscribers_url: string;
4422 subscription_url: string;
4423 tags_url: string;
4424 teams_url: string;
4425 trees_url: string;
4426 clone_url: string;
4427 mirror_url: string;
4428 hooks_url: string;
4429 svn_url: string;
4430 homepage: string;
4431 language: null;
4432 forks_count: number;
4433 stargazers_count: number;
4434 watchers_count: number;
4435 size: number;
4436 default_branch: string;
4437 open_issues_count: number;
4438 topics: Array<string>;
4439 has_issues: boolean;
4440 has_projects: boolean;
4441 has_wiki: boolean;
4442 has_pages: boolean;
4443 has_downloads: boolean;
4444 archived: boolean;
4445 pushed_at: string;
4446 created_at: string;
4447 updated_at: string;
4448 permissions: ReposUpdateResponseParentPermissions;
4449 allow_rebase_merge: boolean;
4450 allow_squash_merge: boolean;
4451 allow_merge_commit: boolean;
4452 subscribers_count: number;
4453 network_count: number;
4454 };
4455 type ReposUpdateResponseOrganization = {
4456 login: string;
4457 id: number;
4458 node_id: string;
4459 avatar_url: string;
4460 gravatar_id: string;
4461 url: string;
4462 html_url: string;
4463 followers_url: string;
4464 following_url: string;
4465 gists_url: string;
4466 starred_url: string;
4467 subscriptions_url: string;
4468 organizations_url: string;
4469 repos_url: string;
4470 events_url: string;
4471 received_events_url: string;
4472 type: string;
4473 site_admin: boolean;
4474 };
4475 type ReposUpdateResponsePermissions = {
4476 admin: boolean;
4477 push: boolean;
4478 pull: boolean;
4479 };
4480 type ReposUpdateResponseOwner = {
4481 login: string;
4482 id: number;
4483 node_id: string;
4484 avatar_url: string;
4485 gravatar_id: string;
4486 url: string;
4487 html_url: string;
4488 followers_url: string;
4489 following_url: string;
4490 gists_url: string;
4491 starred_url: string;
4492 subscriptions_url: string;
4493 organizations_url: string;
4494 repos_url: string;
4495 events_url: string;
4496 received_events_url: string;
4497 type: string;
4498 site_admin: boolean;
4499 };
4500 type ReposUpdateResponse = {
4501 id: number;
4502 node_id: string;
4503 name: string;
4504 full_name: string;
4505 owner: ReposUpdateResponseOwner;
4506 private: boolean;
4507 html_url: string;
4508 description: string;
4509 fork: boolean;
4510 url: string;
4511 archive_url: string;
4512 assignees_url: string;
4513 blobs_url: string;
4514 branches_url: string;
4515 collaborators_url: string;
4516 comments_url: string;
4517 commits_url: string;
4518 compare_url: string;
4519 contents_url: string;
4520 contributors_url: string;
4521 deployments_url: string;
4522 downloads_url: string;
4523 events_url: string;
4524 forks_url: string;
4525 git_commits_url: string;
4526 git_refs_url: string;
4527 git_tags_url: string;
4528 git_url: string;
4529 issue_comment_url: string;
4530 issue_events_url: string;
4531 issues_url: string;
4532 keys_url: string;
4533 labels_url: string;
4534 languages_url: string;
4535 merges_url: string;
4536 milestones_url: string;
4537 notifications_url: string;
4538 pulls_url: string;
4539 releases_url: string;
4540 ssh_url: string;
4541 stargazers_url: string;
4542 statuses_url: string;
4543 subscribers_url: string;
4544 subscription_url: string;
4545 tags_url: string;
4546 teams_url: string;
4547 trees_url: string;
4548 clone_url: string;
4549 mirror_url: string;
4550 hooks_url: string;
4551 svn_url: string;
4552 homepage: string;
4553 language: null;
4554 forks_count: number;
4555 stargazers_count: number;
4556 watchers_count: number;
4557 size: number;
4558 default_branch: string;
4559 open_issues_count: number;
4560 topics: Array<string>;
4561 has_issues: boolean;
4562 has_projects: boolean;
4563 has_wiki: boolean;
4564 has_pages: boolean;
4565 has_downloads: boolean;
4566 archived: boolean;
4567 pushed_at: string;
4568 created_at: string;
4569 updated_at: string;
4570 permissions: ReposUpdateResponsePermissions;
4571 allow_rebase_merge: boolean;
4572 allow_squash_merge: boolean;
4573 allow_merge_commit: boolean;
4574 subscribers_count: number;
4575 network_count: number;
4576 organization: ReposUpdateResponseOrganization;
4577 parent: ReposUpdateResponseParent;
4578 source: ReposUpdateResponseSource;
4579 };
4580 type ReposGetResponseSourcePermissions = {
4581 admin: boolean;
4582 push: boolean;
4583 pull: boolean;
4584 };
4585 type ReposGetResponseSourceOwner = {
4586 login: string;
4587 id: number;
4588 node_id: string;
4589 avatar_url: string;
4590 gravatar_id: string;
4591 url: string;
4592 html_url: string;
4593 followers_url: string;
4594 following_url: string;
4595 gists_url: string;
4596 starred_url: string;
4597 subscriptions_url: string;
4598 organizations_url: string;
4599 repos_url: string;
4600 events_url: string;
4601 received_events_url: string;
4602 type: string;
4603 site_admin: boolean;
4604 };
4605 type ReposGetResponseSource = {
4606 id: number;
4607 node_id: string;
4608 name: string;
4609 full_name: string;
4610 owner: ReposGetResponseSourceOwner;
4611 private: boolean;
4612 html_url: string;
4613 description: string;
4614 fork: boolean;
4615 url: string;
4616 archive_url: string;
4617 assignees_url: string;
4618 blobs_url: string;
4619 branches_url: string;
4620 collaborators_url: string;
4621 comments_url: string;
4622 commits_url: string;
4623 compare_url: string;
4624 contents_url: string;
4625 contributors_url: string;
4626 deployments_url: string;
4627 downloads_url: string;
4628 events_url: string;
4629 forks_url: string;
4630 git_commits_url: string;
4631 git_refs_url: string;
4632 git_tags_url: string;
4633 git_url: string;
4634 issue_comment_url: string;
4635 issue_events_url: string;
4636 issues_url: string;
4637 keys_url: string;
4638 labels_url: string;
4639 languages_url: string;
4640 merges_url: string;
4641 milestones_url: string;
4642 notifications_url: string;
4643 pulls_url: string;
4644 releases_url: string;
4645 ssh_url: string;
4646 stargazers_url: string;
4647 statuses_url: string;
4648 subscribers_url: string;
4649 subscription_url: string;
4650 tags_url: string;
4651 teams_url: string;
4652 trees_url: string;
4653 clone_url: string;
4654 mirror_url: string;
4655 hooks_url: string;
4656 svn_url: string;
4657 homepage: string;
4658 language: null;
4659 forks_count: number;
4660 stargazers_count: number;
4661 watchers_count: number;
4662 size: number;
4663 default_branch: string;
4664 open_issues_count: number;
4665 topics: Array<string>;
4666 has_issues: boolean;
4667 has_projects: boolean;
4668 has_wiki: boolean;
4669 has_pages: boolean;
4670 has_downloads: boolean;
4671 archived: boolean;
4672 pushed_at: string;
4673 created_at: string;
4674 updated_at: string;
4675 permissions: ReposGetResponseSourcePermissions;
4676 allow_rebase_merge: boolean;
4677 allow_squash_merge: boolean;
4678 allow_merge_commit: boolean;
4679 subscribers_count: number;
4680 network_count: number;
4681 };
4682 type ReposGetResponseParentPermissions = {
4683 admin: boolean;
4684 push: boolean;
4685 pull: boolean;
4686 };
4687 type ReposGetResponseParentOwner = {
4688 login: string;
4689 id: number;
4690 node_id: string;
4691 avatar_url: string;
4692 gravatar_id: string;
4693 url: string;
4694 html_url: string;
4695 followers_url: string;
4696 following_url: string;
4697 gists_url: string;
4698 starred_url: string;
4699 subscriptions_url: string;
4700 organizations_url: string;
4701 repos_url: string;
4702 events_url: string;
4703 received_events_url: string;
4704 type: string;
4705 site_admin: boolean;
4706 };
4707 type ReposGetResponseParent = {
4708 id: number;
4709 node_id: string;
4710 name: string;
4711 full_name: string;
4712 owner: ReposGetResponseParentOwner;
4713 private: boolean;
4714 html_url: string;
4715 description: string;
4716 fork: boolean;
4717 url: string;
4718 archive_url: string;
4719 assignees_url: string;
4720 blobs_url: string;
4721 branches_url: string;
4722 collaborators_url: string;
4723 comments_url: string;
4724 commits_url: string;
4725 compare_url: string;
4726 contents_url: string;
4727 contributors_url: string;
4728 deployments_url: string;
4729 downloads_url: string;
4730 events_url: string;
4731 forks_url: string;
4732 git_commits_url: string;
4733 git_refs_url: string;
4734 git_tags_url: string;
4735 git_url: string;
4736 issue_comment_url: string;
4737 issue_events_url: string;
4738 issues_url: string;
4739 keys_url: string;
4740 labels_url: string;
4741 languages_url: string;
4742 merges_url: string;
4743 milestones_url: string;
4744 notifications_url: string;
4745 pulls_url: string;
4746 releases_url: string;
4747 ssh_url: string;
4748 stargazers_url: string;
4749 statuses_url: string;
4750 subscribers_url: string;
4751 subscription_url: string;
4752 tags_url: string;
4753 teams_url: string;
4754 trees_url: string;
4755 clone_url: string;
4756 mirror_url: string;
4757 hooks_url: string;
4758 svn_url: string;
4759 homepage: string;
4760 language: null;
4761 forks_count: number;
4762 stargazers_count: number;
4763 watchers_count: number;
4764 size: number;
4765 default_branch: string;
4766 open_issues_count: number;
4767 topics: Array<string>;
4768 has_issues: boolean;
4769 has_projects: boolean;
4770 has_wiki: boolean;
4771 has_pages: boolean;
4772 has_downloads: boolean;
4773 archived: boolean;
4774 pushed_at: string;
4775 created_at: string;
4776 updated_at: string;
4777 permissions: ReposGetResponseParentPermissions;
4778 allow_rebase_merge: boolean;
4779 allow_squash_merge: boolean;
4780 allow_merge_commit: boolean;
4781 subscribers_count: number;
4782 network_count: number;
4783 };
4784 type ReposGetResponseOrganization = {
4785 login: string;
4786 id: number;
4787 node_id: string;
4788 avatar_url: string;
4789 gravatar_id: string;
4790 url: string;
4791 html_url: string;
4792 followers_url: string;
4793 following_url: string;
4794 gists_url: string;
4795 starred_url: string;
4796 subscriptions_url: string;
4797 organizations_url: string;
4798 repos_url: string;
4799 events_url: string;
4800 received_events_url: string;
4801 type: string;
4802 site_admin: boolean;
4803 };
4804 type ReposGetResponseLicense = {
4805 key: string;
4806 name: string;
4807 spdx_id: string;
4808 url: string;
4809 node_id: string;
4810 };
4811 type ReposGetResponsePermissions = {
4812 admin: boolean;
4813 push: boolean;
4814 pull: boolean;
4815 };
4816 type ReposGetResponseOwner = {
4817 login: string;
4818 id: number;
4819 node_id: string;
4820 avatar_url: string;
4821 gravatar_id: string;
4822 url: string;
4823 html_url: string;
4824 followers_url: string;
4825 following_url: string;
4826 gists_url: string;
4827 starred_url: string;
4828 subscriptions_url: string;
4829 organizations_url: string;
4830 repos_url: string;
4831 events_url: string;
4832 received_events_url: string;
4833 type: string;
4834 site_admin: boolean;
4835 };
4836 type ReposGetResponse = {
4837 id: number;
4838 node_id: string;
4839 name: string;
4840 full_name: string;
4841 owner: ReposGetResponseOwner;
4842 private: boolean;
4843 html_url: string;
4844 description: string;
4845 fork: boolean;
4846 url: string;
4847 archive_url: string;
4848 assignees_url: string;
4849 blobs_url: string;
4850 branches_url: string;
4851 collaborators_url: string;
4852 comments_url: string;
4853 commits_url: string;
4854 compare_url: string;
4855 contents_url: string;
4856 contributors_url: string;
4857 deployments_url: string;
4858 downloads_url: string;
4859 events_url: string;
4860 forks_url: string;
4861 git_commits_url: string;
4862 git_refs_url: string;
4863 git_tags_url: string;
4864 git_url: string;
4865 issue_comment_url: string;
4866 issue_events_url: string;
4867 issues_url: string;
4868 keys_url: string;
4869 labels_url: string;
4870 languages_url: string;
4871 merges_url: string;
4872 milestones_url: string;
4873 notifications_url: string;
4874 pulls_url: string;
4875 releases_url: string;
4876 ssh_url: string;
4877 stargazers_url: string;
4878 statuses_url: string;
4879 subscribers_url: string;
4880 subscription_url: string;
4881 tags_url: string;
4882 teams_url: string;
4883 trees_url: string;
4884 clone_url: string;
4885 mirror_url: string;
4886 hooks_url: string;
4887 svn_url: string;
4888 homepage: string;
4889 language: null;
4890 forks_count: number;
4891 stargazers_count: number;
4892 watchers_count: number;
4893 size: number;
4894 default_branch: string;
4895 open_issues_count: number;
4896 topics: Array<string>;
4897 has_issues: boolean;
4898 has_projects: boolean;
4899 has_wiki: boolean;
4900 has_pages: boolean;
4901 has_downloads: boolean;
4902 archived: boolean;
4903 pushed_at: string;
4904 created_at: string;
4905 updated_at: string;
4906 permissions: ReposGetResponsePermissions;
4907 allow_rebase_merge: boolean;
4908 allow_squash_merge: boolean;
4909 allow_merge_commit: boolean;
4910 subscribers_count: number;
4911 network_count: number;
4912 license: ReposGetResponseLicense;
4913 organization: ReposGetResponseOrganization;
4914 parent: ReposGetResponseParent;
4915 source: ReposGetResponseSource;
4916 };
4917 type ReposCreateInOrgResponsePermissions = {
4918 admin: boolean;
4919 push: boolean;
4920 pull: boolean;
4921 };
4922 type ReposCreateInOrgResponseOwner = {
4923 login: string;
4924 id: number;
4925 node_id: string;
4926 avatar_url: string;
4927 gravatar_id: string;
4928 url: string;
4929 html_url: string;
4930 followers_url: string;
4931 following_url: string;
4932 gists_url: string;
4933 starred_url: string;
4934 subscriptions_url: string;
4935 organizations_url: string;
4936 repos_url: string;
4937 events_url: string;
4938 received_events_url: string;
4939 type: string;
4940 site_admin: boolean;
4941 };
4942 type ReposCreateInOrgResponse = {
4943 id: number;
4944 node_id: string;
4945 name: string;
4946 full_name: string;
4947 owner: ReposCreateInOrgResponseOwner;
4948 private: boolean;
4949 html_url: string;
4950 description: string;
4951 fork: boolean;
4952 url: string;
4953 archive_url: string;
4954 assignees_url: string;
4955 blobs_url: string;
4956 branches_url: string;
4957 collaborators_url: string;
4958 comments_url: string;
4959 commits_url: string;
4960 compare_url: string;
4961 contents_url: string;
4962 contributors_url: string;
4963 deployments_url: string;
4964 downloads_url: string;
4965 events_url: string;
4966 forks_url: string;
4967 git_commits_url: string;
4968 git_refs_url: string;
4969 git_tags_url: string;
4970 git_url: string;
4971 issue_comment_url: string;
4972 issue_events_url: string;
4973 issues_url: string;
4974 keys_url: string;
4975 labels_url: string;
4976 languages_url: string;
4977 merges_url: string;
4978 milestones_url: string;
4979 notifications_url: string;
4980 pulls_url: string;
4981 releases_url: string;
4982 ssh_url: string;
4983 stargazers_url: string;
4984 statuses_url: string;
4985 subscribers_url: string;
4986 subscription_url: string;
4987 tags_url: string;
4988 teams_url: string;
4989 trees_url: string;
4990 clone_url: string;
4991 mirror_url: string;
4992 hooks_url: string;
4993 svn_url: string;
4994 homepage: string;
4995 language: null;
4996 forks_count: number;
4997 stargazers_count: number;
4998 watchers_count: number;
4999 size: number;
5000 default_branch: string;
5001 open_issues_count: number;
5002 topics: Array<string>;
5003 has_issues: boolean;
5004 has_projects: boolean;
5005 has_wiki: boolean;
5006 has_pages: boolean;
5007 has_downloads: boolean;
5008 archived: boolean;
5009 pushed_at: string;
5010 created_at: string;
5011 updated_at: string;
5012 permissions: ReposCreateInOrgResponsePermissions;
5013 allow_rebase_merge: boolean;
5014 allow_squash_merge: boolean;
5015 allow_merge_commit: boolean;
5016 subscribers_count: number;
5017 network_count: number;
5018 };
5019 type ReposCreateForAuthenticatedUserResponsePermissions = {
5020 admin: boolean;
5021 push: boolean;
5022 pull: boolean;
5023 };
5024 type ReposCreateForAuthenticatedUserResponseOwner = {
5025 login: string;
5026 id: number;
5027 node_id: string;
5028 avatar_url: string;
5029 gravatar_id: string;
5030 url: string;
5031 html_url: string;
5032 followers_url: string;
5033 following_url: string;
5034 gists_url: string;
5035 starred_url: string;
5036 subscriptions_url: string;
5037 organizations_url: string;
5038 repos_url: string;
5039 events_url: string;
5040 received_events_url: string;
5041 type: string;
5042 site_admin: boolean;
5043 };
5044 type ReposCreateForAuthenticatedUserResponse = {
5045 id: number;
5046 node_id: string;
5047 name: string;
5048 full_name: string;
5049 owner: ReposCreateForAuthenticatedUserResponseOwner;
5050 private: boolean;
5051 html_url: string;
5052 description: string;
5053 fork: boolean;
5054 url: string;
5055 archive_url: string;
5056 assignees_url: string;
5057 blobs_url: string;
5058 branches_url: string;
5059 collaborators_url: string;
5060 comments_url: string;
5061 commits_url: string;
5062 compare_url: string;
5063 contents_url: string;
5064 contributors_url: string;
5065 deployments_url: string;
5066 downloads_url: string;
5067 events_url: string;
5068 forks_url: string;
5069 git_commits_url: string;
5070 git_refs_url: string;
5071 git_tags_url: string;
5072 git_url: string;
5073 issue_comment_url: string;
5074 issue_events_url: string;
5075 issues_url: string;
5076 keys_url: string;
5077 labels_url: string;
5078 languages_url: string;
5079 merges_url: string;
5080 milestones_url: string;
5081 notifications_url: string;
5082 pulls_url: string;
5083 releases_url: string;
5084 ssh_url: string;
5085 stargazers_url: string;
5086 statuses_url: string;
5087 subscribers_url: string;
5088 subscription_url: string;
5089 tags_url: string;
5090 teams_url: string;
5091 trees_url: string;
5092 clone_url: string;
5093 mirror_url: string;
5094 hooks_url: string;
5095 svn_url: string;
5096 homepage: string;
5097 language: null;
5098 forks_count: number;
5099 stargazers_count: number;
5100 watchers_count: number;
5101 size: number;
5102 default_branch: string;
5103 open_issues_count: number;
5104 topics: Array<string>;
5105 has_issues: boolean;
5106 has_projects: boolean;
5107 has_wiki: boolean;
5108 has_pages: boolean;
5109 has_downloads: boolean;
5110 archived: boolean;
5111 pushed_at: string;
5112 created_at: string;
5113 updated_at: string;
5114 permissions: ReposCreateForAuthenticatedUserResponsePermissions;
5115 allow_rebase_merge: boolean;
5116 allow_squash_merge: boolean;
5117 allow_merge_commit: boolean;
5118 subscribers_count: number;
5119 network_count: number;
5120 };
5121 type ReposListPublicResponseItemOwner = {
5122 login: string;
5123 id: number;
5124 node_id: string;
5125 avatar_url: string;
5126 gravatar_id: string;
5127 url: string;
5128 html_url: string;
5129 followers_url: string;
5130 following_url: string;
5131 gists_url: string;
5132 starred_url: string;
5133 subscriptions_url: string;
5134 organizations_url: string;
5135 repos_url: string;
5136 events_url: string;
5137 received_events_url: string;
5138 type: string;
5139 site_admin: boolean;
5140 };
5141 type ReposListPublicResponseItem = {
5142 id: number;
5143 node_id: string;
5144 name: string;
5145 full_name: string;
5146 owner: ReposListPublicResponseItemOwner;
5147 private: boolean;
5148 html_url: string;
5149 description: string;
5150 fork: boolean;
5151 url: string;
5152 archive_url: string;
5153 assignees_url: string;
5154 blobs_url: string;
5155 branches_url: string;
5156 collaborators_url: string;
5157 comments_url: string;
5158 commits_url: string;
5159 compare_url: string;
5160 contents_url: string;
5161 contributors_url: string;
5162 deployments_url: string;
5163 downloads_url: string;
5164 events_url: string;
5165 forks_url: string;
5166 git_commits_url: string;
5167 git_refs_url: string;
5168 git_tags_url: string;
5169 git_url: string;
5170 issue_comment_url: string;
5171 issue_events_url: string;
5172 issues_url: string;
5173 keys_url: string;
5174 labels_url: string;
5175 languages_url: string;
5176 merges_url: string;
5177 milestones_url: string;
5178 notifications_url: string;
5179 pulls_url: string;
5180 releases_url: string;
5181 ssh_url: string;
5182 stargazers_url: string;
5183 statuses_url: string;
5184 subscribers_url: string;
5185 subscription_url: string;
5186 tags_url: string;
5187 teams_url: string;
5188 trees_url: string;
5189 };
5190 type ReposListForOrgResponseItemLicense = {
5191 key: string;
5192 name: string;
5193 spdx_id: string;
5194 url: string;
5195 node_id: string;
5196 };
5197 type ReposListForOrgResponseItemPermissions = {
5198 admin: boolean;
5199 push: boolean;
5200 pull: boolean;
5201 };
5202 type ReposListForOrgResponseItemOwner = {
5203 login: string;
5204 id: number;
5205 node_id: string;
5206 avatar_url: string;
5207 gravatar_id: string;
5208 url: string;
5209 html_url: string;
5210 followers_url: string;
5211 following_url: string;
5212 gists_url: string;
5213 starred_url: string;
5214 subscriptions_url: string;
5215 organizations_url: string;
5216 repos_url: string;
5217 events_url: string;
5218 received_events_url: string;
5219 type: string;
5220 site_admin: boolean;
5221 };
5222 type ReposListForOrgResponseItem = {
5223 id: number;
5224 node_id: string;
5225 name: string;
5226 full_name: string;
5227 owner: ReposListForOrgResponseItemOwner;
5228 private: boolean;
5229 html_url: string;
5230 description: string;
5231 fork: boolean;
5232 url: string;
5233 archive_url: string;
5234 assignees_url: string;
5235 blobs_url: string;
5236 branches_url: string;
5237 collaborators_url: string;
5238 comments_url: string;
5239 commits_url: string;
5240 compare_url: string;
5241 contents_url: string;
5242 contributors_url: string;
5243 deployments_url: string;
5244 downloads_url: string;
5245 events_url: string;
5246 forks_url: string;
5247 git_commits_url: string;
5248 git_refs_url: string;
5249 git_tags_url: string;
5250 git_url: string;
5251 issue_comment_url: string;
5252 issue_events_url: string;
5253 issues_url: string;
5254 keys_url: string;
5255 labels_url: string;
5256 languages_url: string;
5257 merges_url: string;
5258 milestones_url: string;
5259 notifications_url: string;
5260 pulls_url: string;
5261 releases_url: string;
5262 ssh_url: string;
5263 stargazers_url: string;
5264 statuses_url: string;
5265 subscribers_url: string;
5266 subscription_url: string;
5267 tags_url: string;
5268 teams_url: string;
5269 trees_url: string;
5270 clone_url: string;
5271 mirror_url: string;
5272 hooks_url: string;
5273 svn_url: string;
5274 homepage: string;
5275 language: null;
5276 forks_count: number;
5277 stargazers_count: number;
5278 watchers_count: number;
5279 size: number;
5280 default_branch: string;
5281 open_issues_count: number;
5282 topics: Array<string>;
5283 has_issues: boolean;
5284 has_projects: boolean;
5285 has_wiki: boolean;
5286 has_pages: boolean;
5287 has_downloads: boolean;
5288 archived: boolean;
5289 pushed_at: string;
5290 created_at: string;
5291 updated_at: string;
5292 permissions: ReposListForOrgResponseItemPermissions;
5293 subscribers_count: number;
5294 network_count: number;
5295 license: ReposListForOrgResponseItemLicense;
5296 };
5297 type ReactionsDeleteResponse = {};
5298 type ReactionsCreateForTeamDiscussionCommentResponseUser = {
5299 login: string;
5300 id: number;
5301 node_id: string;
5302 avatar_url: string;
5303 gravatar_id: string;
5304 url: string;
5305 html_url: string;
5306 followers_url: string;
5307 following_url: string;
5308 gists_url: string;
5309 starred_url: string;
5310 subscriptions_url: string;
5311 organizations_url: string;
5312 repos_url: string;
5313 events_url: string;
5314 received_events_url: string;
5315 type: string;
5316 site_admin: boolean;
5317 };
5318 type ReactionsCreateForTeamDiscussionCommentResponse = {
5319 id: number;
5320 node_id: string;
5321 user: ReactionsCreateForTeamDiscussionCommentResponseUser;
5322 content: string;
5323 created_at: string;
5324 };
5325 type ReactionsListForTeamDiscussionCommentResponseItemUser = {
5326 login: string;
5327 id: number;
5328 node_id: string;
5329 avatar_url: string;
5330 gravatar_id: string;
5331 url: string;
5332 html_url: string;
5333 followers_url: string;
5334 following_url: string;
5335 gists_url: string;
5336 starred_url: string;
5337 subscriptions_url: string;
5338 organizations_url: string;
5339 repos_url: string;
5340 events_url: string;
5341 received_events_url: string;
5342 type: string;
5343 site_admin: boolean;
5344 };
5345 type ReactionsListForTeamDiscussionCommentResponseItem = {
5346 id: number;
5347 node_id: string;
5348 user: ReactionsListForTeamDiscussionCommentResponseItemUser;
5349 content: string;
5350 created_at: string;
5351 };
5352 type ReactionsCreateForTeamDiscussionResponseUser = {
5353 login: string;
5354 id: number;
5355 node_id: string;
5356 avatar_url: string;
5357 gravatar_id: string;
5358 url: string;
5359 html_url: string;
5360 followers_url: string;
5361 following_url: string;
5362 gists_url: string;
5363 starred_url: string;
5364 subscriptions_url: string;
5365 organizations_url: string;
5366 repos_url: string;
5367 events_url: string;
5368 received_events_url: string;
5369 type: string;
5370 site_admin: boolean;
5371 };
5372 type ReactionsCreateForTeamDiscussionResponse = {
5373 id: number;
5374 node_id: string;
5375 user: ReactionsCreateForTeamDiscussionResponseUser;
5376 content: string;
5377 created_at: string;
5378 };
5379 type ReactionsListForTeamDiscussionResponseItemUser = {
5380 login: string;
5381 id: number;
5382 node_id: string;
5383 avatar_url: string;
5384 gravatar_id: string;
5385 url: string;
5386 html_url: string;
5387 followers_url: string;
5388 following_url: string;
5389 gists_url: string;
5390 starred_url: string;
5391 subscriptions_url: string;
5392 organizations_url: string;
5393 repos_url: string;
5394 events_url: string;
5395 received_events_url: string;
5396 type: string;
5397 site_admin: boolean;
5398 };
5399 type ReactionsListForTeamDiscussionResponseItem = {
5400 id: number;
5401 node_id: string;
5402 user: ReactionsListForTeamDiscussionResponseItemUser;
5403 content: string;
5404 created_at: string;
5405 };
5406 type ReactionsCreateForPullRequestReviewCommentResponseUser = {
5407 login: string;
5408 id: number;
5409 node_id: string;
5410 avatar_url: string;
5411 gravatar_id: string;
5412 url: string;
5413 html_url: string;
5414 followers_url: string;
5415 following_url: string;
5416 gists_url: string;
5417 starred_url: string;
5418 subscriptions_url: string;
5419 organizations_url: string;
5420 repos_url: string;
5421 events_url: string;
5422 received_events_url: string;
5423 type: string;
5424 site_admin: boolean;
5425 };
5426 type ReactionsCreateForPullRequestReviewCommentResponse = {
5427 id: number;
5428 node_id: string;
5429 user: ReactionsCreateForPullRequestReviewCommentResponseUser;
5430 content: string;
5431 created_at: string;
5432 };
5433 type ReactionsListForPullRequestReviewCommentResponseItemUser = {
5434 login: string;
5435 id: number;
5436 node_id: string;
5437 avatar_url: string;
5438 gravatar_id: string;
5439 url: string;
5440 html_url: string;
5441 followers_url: string;
5442 following_url: string;
5443 gists_url: string;
5444 starred_url: string;
5445 subscriptions_url: string;
5446 organizations_url: string;
5447 repos_url: string;
5448 events_url: string;
5449 received_events_url: string;
5450 type: string;
5451 site_admin: boolean;
5452 };
5453 type ReactionsListForPullRequestReviewCommentResponseItem = {
5454 id: number;
5455 node_id: string;
5456 user: ReactionsListForPullRequestReviewCommentResponseItemUser;
5457 content: string;
5458 created_at: string;
5459 };
5460 type ReactionsCreateForIssueCommentResponseUser = {
5461 login: string;
5462 id: number;
5463 node_id: string;
5464 avatar_url: string;
5465 gravatar_id: string;
5466 url: string;
5467 html_url: string;
5468 followers_url: string;
5469 following_url: string;
5470 gists_url: string;
5471 starred_url: string;
5472 subscriptions_url: string;
5473 organizations_url: string;
5474 repos_url: string;
5475 events_url: string;
5476 received_events_url: string;
5477 type: string;
5478 site_admin: boolean;
5479 };
5480 type ReactionsCreateForIssueCommentResponse = {
5481 id: number;
5482 node_id: string;
5483 user: ReactionsCreateForIssueCommentResponseUser;
5484 content: string;
5485 created_at: string;
5486 };
5487 type ReactionsListForIssueCommentResponseItemUser = {
5488 login: string;
5489 id: number;
5490 node_id: string;
5491 avatar_url: string;
5492 gravatar_id: string;
5493 url: string;
5494 html_url: string;
5495 followers_url: string;
5496 following_url: string;
5497 gists_url: string;
5498 starred_url: string;
5499 subscriptions_url: string;
5500 organizations_url: string;
5501 repos_url: string;
5502 events_url: string;
5503 received_events_url: string;
5504 type: string;
5505 site_admin: boolean;
5506 };
5507 type ReactionsListForIssueCommentResponseItem = {
5508 id: number;
5509 node_id: string;
5510 user: ReactionsListForIssueCommentResponseItemUser;
5511 content: string;
5512 created_at: string;
5513 };
5514 type ReactionsCreateForIssueResponseUser = {
5515 login: string;
5516 id: number;
5517 node_id: string;
5518 avatar_url: string;
5519 gravatar_id: string;
5520 url: string;
5521 html_url: string;
5522 followers_url: string;
5523 following_url: string;
5524 gists_url: string;
5525 starred_url: string;
5526 subscriptions_url: string;
5527 organizations_url: string;
5528 repos_url: string;
5529 events_url: string;
5530 received_events_url: string;
5531 type: string;
5532 site_admin: boolean;
5533 };
5534 type ReactionsCreateForIssueResponse = {
5535 id: number;
5536 node_id: string;
5537 user: ReactionsCreateForIssueResponseUser;
5538 content: string;
5539 created_at: string;
5540 };
5541 type ReactionsListForIssueResponseItemUser = {
5542 login: string;
5543 id: number;
5544 node_id: string;
5545 avatar_url: string;
5546 gravatar_id: string;
5547 url: string;
5548 html_url: string;
5549 followers_url: string;
5550 following_url: string;
5551 gists_url: string;
5552 starred_url: string;
5553 subscriptions_url: string;
5554 organizations_url: string;
5555 repos_url: string;
5556 events_url: string;
5557 received_events_url: string;
5558 type: string;
5559 site_admin: boolean;
5560 };
5561 type ReactionsListForIssueResponseItem = {
5562 id: number;
5563 node_id: string;
5564 user: ReactionsListForIssueResponseItemUser;
5565 content: string;
5566 created_at: string;
5567 };
5568 type ReactionsCreateForCommitCommentResponseUser = {
5569 login: string;
5570 id: number;
5571 node_id: string;
5572 avatar_url: string;
5573 gravatar_id: string;
5574 url: string;
5575 html_url: string;
5576 followers_url: string;
5577 following_url: string;
5578 gists_url: string;
5579 starred_url: string;
5580 subscriptions_url: string;
5581 organizations_url: string;
5582 repos_url: string;
5583 events_url: string;
5584 received_events_url: string;
5585 type: string;
5586 site_admin: boolean;
5587 };
5588 type ReactionsCreateForCommitCommentResponse = {
5589 id: number;
5590 node_id: string;
5591 user: ReactionsCreateForCommitCommentResponseUser;
5592 content: string;
5593 created_at: string;
5594 };
5595 type ReactionsListForCommitCommentResponseItemUser = {
5596 login: string;
5597 id: number;
5598 node_id: string;
5599 avatar_url: string;
5600 gravatar_id: string;
5601 url: string;
5602 html_url: string;
5603 followers_url: string;
5604 following_url: string;
5605 gists_url: string;
5606 starred_url: string;
5607 subscriptions_url: string;
5608 organizations_url: string;
5609 repos_url: string;
5610 events_url: string;
5611 received_events_url: string;
5612 type: string;
5613 site_admin: boolean;
5614 };
5615 type ReactionsListForCommitCommentResponseItem = {
5616 id: number;
5617 node_id: string;
5618 user: ReactionsListForCommitCommentResponseItemUser;
5619 content: string;
5620 created_at: string;
5621 };
5622 type PullsDeleteReviewRequestResponse = {};
5623 type PullsCreateReviewRequestResponseLinksStatuses = { href: string };
5624 type PullsCreateReviewRequestResponseLinksCommits = { href: string };
5625 type PullsCreateReviewRequestResponseLinksReviewComment = { href: string };
5626 type PullsCreateReviewRequestResponseLinksReviewComments = { href: string };
5627 type PullsCreateReviewRequestResponseLinksComments = { href: string };
5628 type PullsCreateReviewRequestResponseLinksIssue = { href: string };
5629 type PullsCreateReviewRequestResponseLinksHtml = { href: string };
5630 type PullsCreateReviewRequestResponseLinksSelf = { href: string };
5631 type PullsCreateReviewRequestResponseLinks = {
5632 self: PullsCreateReviewRequestResponseLinksSelf;
5633 html: PullsCreateReviewRequestResponseLinksHtml;
5634 issue: PullsCreateReviewRequestResponseLinksIssue;
5635 comments: PullsCreateReviewRequestResponseLinksComments;
5636 review_comments: PullsCreateReviewRequestResponseLinksReviewComments;
5637 review_comment: PullsCreateReviewRequestResponseLinksReviewComment;
5638 commits: PullsCreateReviewRequestResponseLinksCommits;
5639 statuses: PullsCreateReviewRequestResponseLinksStatuses;
5640 };
5641 type PullsCreateReviewRequestResponseBaseRepoPermissions = {
5642 admin: boolean;
5643 push: boolean;
5644 pull: boolean;
5645 };
5646 type PullsCreateReviewRequestResponseBaseRepoOwner = {
5647 login: string;
5648 id: number;
5649 node_id: string;
5650 avatar_url: string;
5651 gravatar_id: string;
5652 url: string;
5653 html_url: string;
5654 followers_url: string;
5655 following_url: string;
5656 gists_url: string;
5657 starred_url: string;
5658 subscriptions_url: string;
5659 organizations_url: string;
5660 repos_url: string;
5661 events_url: string;
5662 received_events_url: string;
5663 type: string;
5664 site_admin: boolean;
5665 };
5666 type PullsCreateReviewRequestResponseBaseRepo = {
5667 id: number;
5668 node_id: string;
5669 name: string;
5670 full_name: string;
5671 owner: PullsCreateReviewRequestResponseBaseRepoOwner;
5672 private: boolean;
5673 html_url: string;
5674 description: string;
5675 fork: boolean;
5676 url: string;
5677 archive_url: string;
5678 assignees_url: string;
5679 blobs_url: string;
5680 branches_url: string;
5681 collaborators_url: string;
5682 comments_url: string;
5683 commits_url: string;
5684 compare_url: string;
5685 contents_url: string;
5686 contributors_url: string;
5687 deployments_url: string;
5688 downloads_url: string;
5689 events_url: string;
5690 forks_url: string;
5691 git_commits_url: string;
5692 git_refs_url: string;
5693 git_tags_url: string;
5694 git_url: string;
5695 issue_comment_url: string;
5696 issue_events_url: string;
5697 issues_url: string;
5698 keys_url: string;
5699 labels_url: string;
5700 languages_url: string;
5701 merges_url: string;
5702 milestones_url: string;
5703 notifications_url: string;
5704 pulls_url: string;
5705 releases_url: string;
5706 ssh_url: string;
5707 stargazers_url: string;
5708 statuses_url: string;
5709 subscribers_url: string;
5710 subscription_url: string;
5711 tags_url: string;
5712 teams_url: string;
5713 trees_url: string;
5714 clone_url: string;
5715 mirror_url: string;
5716 hooks_url: string;
5717 svn_url: string;
5718 homepage: string;
5719 language: null;
5720 forks_count: number;
5721 stargazers_count: number;
5722 watchers_count: number;
5723 size: number;
5724 default_branch: string;
5725 open_issues_count: number;
5726 topics: Array<string>;
5727 has_issues: boolean;
5728 has_projects: boolean;
5729 has_wiki: boolean;
5730 has_pages: boolean;
5731 has_downloads: boolean;
5732 archived: boolean;
5733 pushed_at: string;
5734 created_at: string;
5735 updated_at: string;
5736 permissions: PullsCreateReviewRequestResponseBaseRepoPermissions;
5737 allow_rebase_merge: boolean;
5738 allow_squash_merge: boolean;
5739 allow_merge_commit: boolean;
5740 subscribers_count: number;
5741 network_count: number;
5742 };
5743 type PullsCreateReviewRequestResponseBaseUser = {
5744 login: string;
5745 id: number;
5746 node_id: string;
5747 avatar_url: string;
5748 gravatar_id: string;
5749 url: string;
5750 html_url: string;
5751 followers_url: string;
5752 following_url: string;
5753 gists_url: string;
5754 starred_url: string;
5755 subscriptions_url: string;
5756 organizations_url: string;
5757 repos_url: string;
5758 events_url: string;
5759 received_events_url: string;
5760 type: string;
5761 site_admin: boolean;
5762 };
5763 type PullsCreateReviewRequestResponseBase = {
5764 label: string;
5765 ref: string;
5766 sha: string;
5767 user: PullsCreateReviewRequestResponseBaseUser;
5768 repo: PullsCreateReviewRequestResponseBaseRepo;
5769 };
5770 type PullsCreateReviewRequestResponseHeadRepoPermissions = {
5771 admin: boolean;
5772 push: boolean;
5773 pull: boolean;
5774 };
5775 type PullsCreateReviewRequestResponseHeadRepoOwner = {
5776 login: string;
5777 id: number;
5778 node_id: string;
5779 avatar_url: string;
5780 gravatar_id: string;
5781 url: string;
5782 html_url: string;
5783 followers_url: string;
5784 following_url: string;
5785 gists_url: string;
5786 starred_url: string;
5787 subscriptions_url: string;
5788 organizations_url: string;
5789 repos_url: string;
5790 events_url: string;
5791 received_events_url: string;
5792 type: string;
5793 site_admin: boolean;
5794 };
5795 type PullsCreateReviewRequestResponseHeadRepo = {
5796 id: number;
5797 node_id: string;
5798 name: string;
5799 full_name: string;
5800 owner: PullsCreateReviewRequestResponseHeadRepoOwner;
5801 private: boolean;
5802 html_url: string;
5803 description: string;
5804 fork: boolean;
5805 url: string;
5806 archive_url: string;
5807 assignees_url: string;
5808 blobs_url: string;
5809 branches_url: string;
5810 collaborators_url: string;
5811 comments_url: string;
5812 commits_url: string;
5813 compare_url: string;
5814 contents_url: string;
5815 contributors_url: string;
5816 deployments_url: string;
5817 downloads_url: string;
5818 events_url: string;
5819 forks_url: string;
5820 git_commits_url: string;
5821 git_refs_url: string;
5822 git_tags_url: string;
5823 git_url: string;
5824 issue_comment_url: string;
5825 issue_events_url: string;
5826 issues_url: string;
5827 keys_url: string;
5828 labels_url: string;
5829 languages_url: string;
5830 merges_url: string;
5831 milestones_url: string;
5832 notifications_url: string;
5833 pulls_url: string;
5834 releases_url: string;
5835 ssh_url: string;
5836 stargazers_url: string;
5837 statuses_url: string;
5838 subscribers_url: string;
5839 subscription_url: string;
5840 tags_url: string;
5841 teams_url: string;
5842 trees_url: string;
5843 clone_url: string;
5844 mirror_url: string;
5845 hooks_url: string;
5846 svn_url: string;
5847 homepage: string;
5848 language: null;
5849 forks_count: number;
5850 stargazers_count: number;
5851 watchers_count: number;
5852 size: number;
5853 default_branch: string;
5854 open_issues_count: number;
5855 topics: Array<string>;
5856 has_issues: boolean;
5857 has_projects: boolean;
5858 has_wiki: boolean;
5859 has_pages: boolean;
5860 has_downloads: boolean;
5861 archived: boolean;
5862 pushed_at: string;
5863 created_at: string;
5864 updated_at: string;
5865 permissions: PullsCreateReviewRequestResponseHeadRepoPermissions;
5866 allow_rebase_merge: boolean;
5867 allow_squash_merge: boolean;
5868 allow_merge_commit: boolean;
5869 subscribers_count: number;
5870 network_count: number;
5871 };
5872 type PullsCreateReviewRequestResponseHeadUser = {
5873 login: string;
5874 id: number;
5875 node_id: string;
5876 avatar_url: string;
5877 gravatar_id: string;
5878 url: string;
5879 html_url: string;
5880 followers_url: string;
5881 following_url: string;
5882 gists_url: string;
5883 starred_url: string;
5884 subscriptions_url: string;
5885 organizations_url: string;
5886 repos_url: string;
5887 events_url: string;
5888 received_events_url: string;
5889 type: string;
5890 site_admin: boolean;
5891 };
5892 type PullsCreateReviewRequestResponseHead = {
5893 label: string;
5894 ref: string;
5895 sha: string;
5896 user: PullsCreateReviewRequestResponseHeadUser;
5897 repo: PullsCreateReviewRequestResponseHeadRepo;
5898 };
5899 type PullsCreateReviewRequestResponseRequestedTeamsItem = {
5900 id: number;
5901 node_id: string;
5902 url: string;
5903 name: string;
5904 slug: string;
5905 description: string;
5906 privacy: string;
5907 permission: string;
5908 members_url: string;
5909 repositories_url: string;
5910 parent: null;
5911 };
5912 type PullsCreateReviewRequestResponseRequestedReviewersItem = {
5913 login: string;
5914 id: number;
5915 node_id: string;
5916 avatar_url: string;
5917 gravatar_id: string;
5918 url: string;
5919 html_url: string;
5920 followers_url: string;
5921 following_url: string;
5922 gists_url: string;
5923 starred_url: string;
5924 subscriptions_url: string;
5925 organizations_url: string;
5926 repos_url: string;
5927 events_url: string;
5928 received_events_url: string;
5929 type: string;
5930 site_admin: boolean;
5931 };
5932 type PullsCreateReviewRequestResponseAssigneesItem = {
5933 login: string;
5934 id: number;
5935 node_id: string;
5936 avatar_url: string;
5937 gravatar_id: string;
5938 url: string;
5939 html_url: string;
5940 followers_url: string;
5941 following_url: string;
5942 gists_url: string;
5943 starred_url: string;
5944 subscriptions_url: string;
5945 organizations_url: string;
5946 repos_url: string;
5947 events_url: string;
5948 received_events_url: string;
5949 type: string;
5950 site_admin: boolean;
5951 };
5952 type PullsCreateReviewRequestResponseAssignee = {
5953 login: string;
5954 id: number;
5955 node_id: string;
5956 avatar_url: string;
5957 gravatar_id: string;
5958 url: string;
5959 html_url: string;
5960 followers_url: string;
5961 following_url: string;
5962 gists_url: string;
5963 starred_url: string;
5964 subscriptions_url: string;
5965 organizations_url: string;
5966 repos_url: string;
5967 events_url: string;
5968 received_events_url: string;
5969 type: string;
5970 site_admin: boolean;
5971 };
5972 type PullsCreateReviewRequestResponseMilestoneCreator = {
5973 login: string;
5974 id: number;
5975 node_id: string;
5976 avatar_url: string;
5977 gravatar_id: string;
5978 url: string;
5979 html_url: string;
5980 followers_url: string;
5981 following_url: string;
5982 gists_url: string;
5983 starred_url: string;
5984 subscriptions_url: string;
5985 organizations_url: string;
5986 repos_url: string;
5987 events_url: string;
5988 received_events_url: string;
5989 type: string;
5990 site_admin: boolean;
5991 };
5992 type PullsCreateReviewRequestResponseMilestone = {
5993 url: string;
5994 html_url: string;
5995 labels_url: string;
5996 id: number;
5997 node_id: string;
5998 number: number;
5999 state: string;
6000 title: string;
6001 description: string;
6002 creator: PullsCreateReviewRequestResponseMilestoneCreator;
6003 open_issues: number;
6004 closed_issues: number;
6005 created_at: string;
6006 updated_at: string;
6007 closed_at: string;
6008 due_on: string;
6009 };
6010 type PullsCreateReviewRequestResponseLabelsItem = {
6011 id: number;
6012 node_id: string;
6013 url: string;
6014 name: string;
6015 description: string;
6016 color: string;
6017 default: boolean;
6018 };
6019 type PullsCreateReviewRequestResponseUser = {
6020 login: string;
6021 id: number;
6022 node_id: string;
6023 avatar_url: string;
6024 gravatar_id: string;
6025 url: string;
6026 html_url: string;
6027 followers_url: string;
6028 following_url: string;
6029 gists_url: string;
6030 starred_url: string;
6031 subscriptions_url: string;
6032 organizations_url: string;
6033 repos_url: string;
6034 events_url: string;
6035 received_events_url: string;
6036 type: string;
6037 site_admin: boolean;
6038 };
6039 type PullsCreateReviewRequestResponse = {
6040 url: string;
6041 id: number;
6042 node_id: string;
6043 html_url: string;
6044 diff_url: string;
6045 patch_url: string;
6046 issue_url: string;
6047 commits_url: string;
6048 review_comments_url: string;
6049 review_comment_url: string;
6050 comments_url: string;
6051 statuses_url: string;
6052 number: number;
6053 state: string;
6054 locked: boolean;
6055 title: string;
6056 user: PullsCreateReviewRequestResponseUser;
6057 body: string;
6058 labels: Array<PullsCreateReviewRequestResponseLabelsItem>;
6059 milestone: PullsCreateReviewRequestResponseMilestone;
6060 active_lock_reason: string;
6061 created_at: string;
6062 updated_at: string;
6063 closed_at: string;
6064 merged_at: string;
6065 merge_commit_sha: string;
6066 assignee: PullsCreateReviewRequestResponseAssignee;
6067 assignees: Array<PullsCreateReviewRequestResponseAssigneesItem>;
6068 requested_reviewers: Array<
6069 PullsCreateReviewRequestResponseRequestedReviewersItem
6070 >;
6071 requested_teams: Array<PullsCreateReviewRequestResponseRequestedTeamsItem>;
6072 head: PullsCreateReviewRequestResponseHead;
6073 base: PullsCreateReviewRequestResponseBase;
6074 _links: PullsCreateReviewRequestResponseLinks;
6075 author_association: string;
6076 draft: boolean;
6077 };
6078 type PullsListReviewRequestsResponseTeamsItem = {
6079 id: number;
6080 node_id: string;
6081 url: string;
6082 name: string;
6083 slug: string;
6084 description: string;
6085 privacy: string;
6086 permission: string;
6087 members_url: string;
6088 repositories_url: string;
6089 parent: null;
6090 };
6091 type PullsListReviewRequestsResponseUsersItem = {
6092 login: string;
6093 id: number;
6094 node_id: string;
6095 avatar_url: string;
6096 gravatar_id: string;
6097 url: string;
6098 html_url: string;
6099 followers_url: string;
6100 following_url: string;
6101 gists_url: string;
6102 starred_url: string;
6103 subscriptions_url: string;
6104 organizations_url: string;
6105 repos_url: string;
6106 events_url: string;
6107 received_events_url: string;
6108 type: string;
6109 site_admin: boolean;
6110 };
6111 type PullsListReviewRequestsResponse = {
6112 users: Array<PullsListReviewRequestsResponseUsersItem>;
6113 teams: Array<PullsListReviewRequestsResponseTeamsItem>;
6114 };
6115 type PullsDeleteCommentResponse = {};
6116 type PullsUpdateCommentResponseLinksPullRequest = { href: string };
6117 type PullsUpdateCommentResponseLinksHtml = { href: string };
6118 type PullsUpdateCommentResponseLinksSelf = { href: string };
6119 type PullsUpdateCommentResponseLinks = {
6120 self: PullsUpdateCommentResponseLinksSelf;
6121 html: PullsUpdateCommentResponseLinksHtml;
6122 pull_request: PullsUpdateCommentResponseLinksPullRequest;
6123 };
6124 type PullsUpdateCommentResponseUser = {
6125 login: string;
6126 id: number;
6127 node_id: string;
6128 avatar_url: string;
6129 gravatar_id: string;
6130 url: string;
6131 html_url: string;
6132 followers_url: string;
6133 following_url: string;
6134 gists_url: string;
6135 starred_url: string;
6136 subscriptions_url: string;
6137 organizations_url: string;
6138 repos_url: string;
6139 events_url: string;
6140 received_events_url: string;
6141 type: string;
6142 site_admin: boolean;
6143 };
6144 type PullsUpdateCommentResponse = {
6145 url: string;
6146 id: number;
6147 node_id: string;
6148 pull_request_review_id: number;
6149 diff_hunk: string;
6150 path: string;
6151 position: number;
6152 original_position: number;
6153 commit_id: string;
6154 original_commit_id: string;
6155 in_reply_to_id: number;
6156 user: PullsUpdateCommentResponseUser;
6157 body: string;
6158 created_at: string;
6159 updated_at: string;
6160 html_url: string;
6161 pull_request_url: string;
6162 _links: PullsUpdateCommentResponseLinks;
6163 };
6164 type PullsCreateCommentReplyResponseLinksPullRequest = { href: string };
6165 type PullsCreateCommentReplyResponseLinksHtml = { href: string };
6166 type PullsCreateCommentReplyResponseLinksSelf = { href: string };
6167 type PullsCreateCommentReplyResponseLinks = {
6168 self: PullsCreateCommentReplyResponseLinksSelf;
6169 html: PullsCreateCommentReplyResponseLinksHtml;
6170 pull_request: PullsCreateCommentReplyResponseLinksPullRequest;
6171 };
6172 type PullsCreateCommentReplyResponseUser = {
6173 login: string;
6174 id: number;
6175 node_id: string;
6176 avatar_url: string;
6177 gravatar_id: string;
6178 url: string;
6179 html_url: string;
6180 followers_url: string;
6181 following_url: string;
6182 gists_url: string;
6183 starred_url: string;
6184 subscriptions_url: string;
6185 organizations_url: string;
6186 repos_url: string;
6187 events_url: string;
6188 received_events_url: string;
6189 type: string;
6190 site_admin: boolean;
6191 };
6192 type PullsCreateCommentReplyResponse = {
6193 url: string;
6194 id: number;
6195 node_id: string;
6196 pull_request_review_id: number;
6197 diff_hunk: string;
6198 path: string;
6199 position: number;
6200 original_position: number;
6201 commit_id: string;
6202 original_commit_id: string;
6203 in_reply_to_id: number;
6204 user: PullsCreateCommentReplyResponseUser;
6205 body: string;
6206 created_at: string;
6207 updated_at: string;
6208 html_url: string;
6209 pull_request_url: string;
6210 _links: PullsCreateCommentReplyResponseLinks;
6211 };
6212 type PullsCreateCommentResponseLinksPullRequest = { href: string };
6213 type PullsCreateCommentResponseLinksHtml = { href: string };
6214 type PullsCreateCommentResponseLinksSelf = { href: string };
6215 type PullsCreateCommentResponseLinks = {
6216 self: PullsCreateCommentResponseLinksSelf;
6217 html: PullsCreateCommentResponseLinksHtml;
6218 pull_request: PullsCreateCommentResponseLinksPullRequest;
6219 };
6220 type PullsCreateCommentResponseUser = {
6221 login: string;
6222 id: number;
6223 node_id: string;
6224 avatar_url: string;
6225 gravatar_id: string;
6226 url: string;
6227 html_url: string;
6228 followers_url: string;
6229 following_url: string;
6230 gists_url: string;
6231 starred_url: string;
6232 subscriptions_url: string;
6233 organizations_url: string;
6234 repos_url: string;
6235 events_url: string;
6236 received_events_url: string;
6237 type: string;
6238 site_admin: boolean;
6239 };
6240 type PullsCreateCommentResponse = {
6241 url: string;
6242 id: number;
6243 node_id: string;
6244 pull_request_review_id: number;
6245 diff_hunk: string;
6246 path: string;
6247 position: number;
6248 original_position: number;
6249 commit_id: string;
6250 original_commit_id: string;
6251 in_reply_to_id: number;
6252 user: PullsCreateCommentResponseUser;
6253 body: string;
6254 created_at: string;
6255 updated_at: string;
6256 html_url: string;
6257 pull_request_url: string;
6258 _links: PullsCreateCommentResponseLinks;
6259 };
6260 type PullsGetCommentResponseLinksPullRequest = { href: string };
6261 type PullsGetCommentResponseLinksHtml = { href: string };
6262 type PullsGetCommentResponseLinksSelf = { href: string };
6263 type PullsGetCommentResponseLinks = {
6264 self: PullsGetCommentResponseLinksSelf;
6265 html: PullsGetCommentResponseLinksHtml;
6266 pull_request: PullsGetCommentResponseLinksPullRequest;
6267 };
6268 type PullsGetCommentResponseUser = {
6269 login: string;
6270 id: number;
6271 node_id: string;
6272 avatar_url: string;
6273 gravatar_id: string;
6274 url: string;
6275 html_url: string;
6276 followers_url: string;
6277 following_url: string;
6278 gists_url: string;
6279 starred_url: string;
6280 subscriptions_url: string;
6281 organizations_url: string;
6282 repos_url: string;
6283 events_url: string;
6284 received_events_url: string;
6285 type: string;
6286 site_admin: boolean;
6287 };
6288 type PullsGetCommentResponse = {
6289 url: string;
6290 id: number;
6291 node_id: string;
6292 pull_request_review_id: number;
6293 diff_hunk: string;
6294 path: string;
6295 position: number;
6296 original_position: number;
6297 commit_id: string;
6298 original_commit_id: string;
6299 in_reply_to_id: number;
6300 user: PullsGetCommentResponseUser;
6301 body: string;
6302 created_at: string;
6303 updated_at: string;
6304 html_url: string;
6305 pull_request_url: string;
6306 _links: PullsGetCommentResponseLinks;
6307 };
6308 type PullsListCommentsForRepoResponseItemLinksPullRequest = { href: string };
6309 type PullsListCommentsForRepoResponseItemLinksHtml = { href: string };
6310 type PullsListCommentsForRepoResponseItemLinksSelf = { href: string };
6311 type PullsListCommentsForRepoResponseItemLinks = {
6312 self: PullsListCommentsForRepoResponseItemLinksSelf;
6313 html: PullsListCommentsForRepoResponseItemLinksHtml;
6314 pull_request: PullsListCommentsForRepoResponseItemLinksPullRequest;
6315 };
6316 type PullsListCommentsForRepoResponseItemUser = {
6317 login: string;
6318 id: number;
6319 node_id: string;
6320 avatar_url: string;
6321 gravatar_id: string;
6322 url: string;
6323 html_url: string;
6324 followers_url: string;
6325 following_url: string;
6326 gists_url: string;
6327 starred_url: string;
6328 subscriptions_url: string;
6329 organizations_url: string;
6330 repos_url: string;
6331 events_url: string;
6332 received_events_url: string;
6333 type: string;
6334 site_admin: boolean;
6335 };
6336 type PullsListCommentsForRepoResponseItem = {
6337 url: string;
6338 id: number;
6339 node_id: string;
6340 pull_request_review_id: number;
6341 diff_hunk: string;
6342 path: string;
6343 position: number;
6344 original_position: number;
6345 commit_id: string;
6346 original_commit_id: string;
6347 in_reply_to_id: number;
6348 user: PullsListCommentsForRepoResponseItemUser;
6349 body: string;
6350 created_at: string;
6351 updated_at: string;
6352 html_url: string;
6353 pull_request_url: string;
6354 _links: PullsListCommentsForRepoResponseItemLinks;
6355 };
6356 type PullsListCommentsResponseItemLinksPullRequest = { href: string };
6357 type PullsListCommentsResponseItemLinksHtml = { href: string };
6358 type PullsListCommentsResponseItemLinksSelf = { href: string };
6359 type PullsListCommentsResponseItemLinks = {
6360 self: PullsListCommentsResponseItemLinksSelf;
6361 html: PullsListCommentsResponseItemLinksHtml;
6362 pull_request: PullsListCommentsResponseItemLinksPullRequest;
6363 };
6364 type PullsListCommentsResponseItemUser = {
6365 login: string;
6366 id: number;
6367 node_id: string;
6368 avatar_url: string;
6369 gravatar_id: string;
6370 url: string;
6371 html_url: string;
6372 followers_url: string;
6373 following_url: string;
6374 gists_url: string;
6375 starred_url: string;
6376 subscriptions_url: string;
6377 organizations_url: string;
6378 repos_url: string;
6379 events_url: string;
6380 received_events_url: string;
6381 type: string;
6382 site_admin: boolean;
6383 };
6384 type PullsListCommentsResponseItem = {
6385 url: string;
6386 id: number;
6387 node_id: string;
6388 pull_request_review_id: number;
6389 diff_hunk: string;
6390 path: string;
6391 position: number;
6392 original_position: number;
6393 commit_id: string;
6394 original_commit_id: string;
6395 in_reply_to_id: number;
6396 user: PullsListCommentsResponseItemUser;
6397 body: string;
6398 created_at: string;
6399 updated_at: string;
6400 html_url: string;
6401 pull_request_url: string;
6402 _links: PullsListCommentsResponseItemLinks;
6403 };
6404 type PullsDismissReviewResponseLinksPullRequest = { href: string };
6405 type PullsDismissReviewResponseLinksHtml = { href: string };
6406 type PullsDismissReviewResponseLinks = {
6407 html: PullsDismissReviewResponseLinksHtml;
6408 pull_request: PullsDismissReviewResponseLinksPullRequest;
6409 };
6410 type PullsDismissReviewResponseUser = {
6411 login: string;
6412 id: number;
6413 node_id: string;
6414 avatar_url: string;
6415 gravatar_id: string;
6416 url: string;
6417 html_url: string;
6418 followers_url: string;
6419 following_url: string;
6420 gists_url: string;
6421 starred_url: string;
6422 subscriptions_url: string;
6423 organizations_url: string;
6424 repos_url: string;
6425 events_url: string;
6426 received_events_url: string;
6427 type: string;
6428 site_admin: boolean;
6429 };
6430 type PullsDismissReviewResponse = {
6431 id: number;
6432 node_id: string;
6433 user: PullsDismissReviewResponseUser;
6434 body: string;
6435 commit_id: string;
6436 state: string;
6437 html_url: string;
6438 pull_request_url: string;
6439 _links: PullsDismissReviewResponseLinks;
6440 };
6441 type PullsSubmitReviewResponseLinksPullRequest = { href: string };
6442 type PullsSubmitReviewResponseLinksHtml = { href: string };
6443 type PullsSubmitReviewResponseLinks = {
6444 html: PullsSubmitReviewResponseLinksHtml;
6445 pull_request: PullsSubmitReviewResponseLinksPullRequest;
6446 };
6447 type PullsSubmitReviewResponseUser = {
6448 login: string;
6449 id: number;
6450 node_id: string;
6451 avatar_url: string;
6452 gravatar_id: string;
6453 url: string;
6454 html_url: string;
6455 followers_url: string;
6456 following_url: string;
6457 gists_url: string;
6458 starred_url: string;
6459 subscriptions_url: string;
6460 organizations_url: string;
6461 repos_url: string;
6462 events_url: string;
6463 received_events_url: string;
6464 type: string;
6465 site_admin: boolean;
6466 };
6467 type PullsSubmitReviewResponse = {
6468 id: number;
6469 node_id: string;
6470 user: PullsSubmitReviewResponseUser;
6471 body: string;
6472 commit_id: string;
6473 state: string;
6474 html_url: string;
6475 pull_request_url: string;
6476 _links: PullsSubmitReviewResponseLinks;
6477 };
6478 type PullsUpdateReviewResponseLinksPullRequest = { href: string };
6479 type PullsUpdateReviewResponseLinksHtml = { href: string };
6480 type PullsUpdateReviewResponseLinks = {
6481 html: PullsUpdateReviewResponseLinksHtml;
6482 pull_request: PullsUpdateReviewResponseLinksPullRequest;
6483 };
6484 type PullsUpdateReviewResponseUser = {
6485 login: string;
6486 id: number;
6487 node_id: string;
6488 avatar_url: string;
6489 gravatar_id: string;
6490 url: string;
6491 html_url: string;
6492 followers_url: string;
6493 following_url: string;
6494 gists_url: string;
6495 starred_url: string;
6496 subscriptions_url: string;
6497 organizations_url: string;
6498 repos_url: string;
6499 events_url: string;
6500 received_events_url: string;
6501 type: string;
6502 site_admin: boolean;
6503 };
6504 type PullsUpdateReviewResponse = {
6505 id: number;
6506 node_id: string;
6507 user: PullsUpdateReviewResponseUser;
6508 body: string;
6509 commit_id: string;
6510 state: string;
6511 html_url: string;
6512 pull_request_url: string;
6513 _links: PullsUpdateReviewResponseLinks;
6514 };
6515 type PullsCreateReviewResponseLinksPullRequest = { href: string };
6516 type PullsCreateReviewResponseLinksHtml = { href: string };
6517 type PullsCreateReviewResponseLinks = {
6518 html: PullsCreateReviewResponseLinksHtml;
6519 pull_request: PullsCreateReviewResponseLinksPullRequest;
6520 };
6521 type PullsCreateReviewResponseUser = {
6522 login: string;
6523 id: number;
6524 node_id: string;
6525 avatar_url: string;
6526 gravatar_id: string;
6527 url: string;
6528 html_url: string;
6529 followers_url: string;
6530 following_url: string;
6531 gists_url: string;
6532 starred_url: string;
6533 subscriptions_url: string;
6534 organizations_url: string;
6535 repos_url: string;
6536 events_url: string;
6537 received_events_url: string;
6538 type: string;
6539 site_admin: boolean;
6540 };
6541 type PullsCreateReviewResponse = {
6542 id: number;
6543 node_id: string;
6544 user: PullsCreateReviewResponseUser;
6545 body: string;
6546 commit_id: string;
6547 state: string;
6548 html_url: string;
6549 pull_request_url: string;
6550 _links: PullsCreateReviewResponseLinks;
6551 };
6552 type PullsGetCommentsForReviewResponseItemLinksPullRequest = { href: string };
6553 type PullsGetCommentsForReviewResponseItemLinksHtml = { href: string };
6554 type PullsGetCommentsForReviewResponseItemLinksSelf = { href: string };
6555 type PullsGetCommentsForReviewResponseItemLinks = {
6556 self: PullsGetCommentsForReviewResponseItemLinksSelf;
6557 html: PullsGetCommentsForReviewResponseItemLinksHtml;
6558 pull_request: PullsGetCommentsForReviewResponseItemLinksPullRequest;
6559 };
6560 type PullsGetCommentsForReviewResponseItemUser = {
6561 login: string;
6562 id: number;
6563 node_id: string;
6564 avatar_url: string;
6565 gravatar_id: string;
6566 url: string;
6567 html_url: string;
6568 followers_url: string;
6569 following_url: string;
6570 gists_url: string;
6571 starred_url: string;
6572 subscriptions_url: string;
6573 organizations_url: string;
6574 repos_url: string;
6575 events_url: string;
6576 received_events_url: string;
6577 type: string;
6578 site_admin: boolean;
6579 };
6580 type PullsGetCommentsForReviewResponseItem = {
6581 url: string;
6582 id: number;
6583 node_id: string;
6584 pull_request_review_id: number;
6585 diff_hunk: string;
6586 path: string;
6587 position: number;
6588 original_position: number;
6589 commit_id: string;
6590 original_commit_id: string;
6591 in_reply_to_id: number;
6592 user: PullsGetCommentsForReviewResponseItemUser;
6593 body: string;
6594 created_at: string;
6595 updated_at: string;
6596 html_url: string;
6597 pull_request_url: string;
6598 _links: PullsGetCommentsForReviewResponseItemLinks;
6599 };
6600 type PullsDeletePendingReviewResponseLinksPullRequest = { href: string };
6601 type PullsDeletePendingReviewResponseLinksHtml = { href: string };
6602 type PullsDeletePendingReviewResponseLinks = {
6603 html: PullsDeletePendingReviewResponseLinksHtml;
6604 pull_request: PullsDeletePendingReviewResponseLinksPullRequest;
6605 };
6606 type PullsDeletePendingReviewResponseUser = {
6607 login: string;
6608 id: number;
6609 node_id: string;
6610 avatar_url: string;
6611 gravatar_id: string;
6612 url: string;
6613 html_url: string;
6614 followers_url: string;
6615 following_url: string;
6616 gists_url: string;
6617 starred_url: string;
6618 subscriptions_url: string;
6619 organizations_url: string;
6620 repos_url: string;
6621 events_url: string;
6622 received_events_url: string;
6623 type: string;
6624 site_admin: boolean;
6625 };
6626 type PullsDeletePendingReviewResponse = {
6627 id: number;
6628 node_id: string;
6629 user: PullsDeletePendingReviewResponseUser;
6630 body: string;
6631 commit_id: string;
6632 state: string;
6633 html_url: string;
6634 pull_request_url: string;
6635 _links: PullsDeletePendingReviewResponseLinks;
6636 };
6637 type PullsGetReviewResponseLinksPullRequest = { href: string };
6638 type PullsGetReviewResponseLinksHtml = { href: string };
6639 type PullsGetReviewResponseLinks = {
6640 html: PullsGetReviewResponseLinksHtml;
6641 pull_request: PullsGetReviewResponseLinksPullRequest;
6642 };
6643 type PullsGetReviewResponseUser = {
6644 login: string;
6645 id: number;
6646 node_id: string;
6647 avatar_url: string;
6648 gravatar_id: string;
6649 url: string;
6650 html_url: string;
6651 followers_url: string;
6652 following_url: string;
6653 gists_url: string;
6654 starred_url: string;
6655 subscriptions_url: string;
6656 organizations_url: string;
6657 repos_url: string;
6658 events_url: string;
6659 received_events_url: string;
6660 type: string;
6661 site_admin: boolean;
6662 };
6663 type PullsGetReviewResponse = {
6664 id: number;
6665 node_id: string;
6666 user: PullsGetReviewResponseUser;
6667 body: string;
6668 commit_id: string;
6669 state: string;
6670 html_url: string;
6671 pull_request_url: string;
6672 _links: PullsGetReviewResponseLinks;
6673 };
6674 type PullsListReviewsResponseItemLinksPullRequest = { href: string };
6675 type PullsListReviewsResponseItemLinksHtml = { href: string };
6676 type PullsListReviewsResponseItemLinks = {
6677 html: PullsListReviewsResponseItemLinksHtml;
6678 pull_request: PullsListReviewsResponseItemLinksPullRequest;
6679 };
6680 type PullsListReviewsResponseItemUser = {
6681 login: string;
6682 id: number;
6683 node_id: string;
6684 avatar_url: string;
6685 gravatar_id: string;
6686 url: string;
6687 html_url: string;
6688 followers_url: string;
6689 following_url: string;
6690 gists_url: string;
6691 starred_url: string;
6692 subscriptions_url: string;
6693 organizations_url: string;
6694 repos_url: string;
6695 events_url: string;
6696 received_events_url: string;
6697 type: string;
6698 site_admin: boolean;
6699 };
6700 type PullsListReviewsResponseItem = {
6701 id: number;
6702 node_id: string;
6703 user: PullsListReviewsResponseItemUser;
6704 body: string;
6705 commit_id: string;
6706 state: string;
6707 html_url: string;
6708 pull_request_url: string;
6709 _links: PullsListReviewsResponseItemLinks;
6710 };
6711 type PullsListFilesResponseItem = {
6712 sha: string;
6713 filename: string;
6714 status: string;
6715 additions: number;
6716 deletions: number;
6717 changes: number;
6718 blob_url: string;
6719 raw_url: string;
6720 contents_url: string;
6721 patch: string;
6722 };
6723 type PullsListCommitsResponseItemParentsItem = { url: string; sha: string };
6724 type PullsListCommitsResponseItemCommitter = {
6725 login: string;
6726 id: number;
6727 node_id: string;
6728 avatar_url: string;
6729 gravatar_id: string;
6730 url: string;
6731 html_url: string;
6732 followers_url: string;
6733 following_url: string;
6734 gists_url: string;
6735 starred_url: string;
6736 subscriptions_url: string;
6737 organizations_url: string;
6738 repos_url: string;
6739 events_url: string;
6740 received_events_url: string;
6741 type: string;
6742 site_admin: boolean;
6743 };
6744 type PullsListCommitsResponseItemAuthor = {
6745 login: string;
6746 id: number;
6747 node_id: string;
6748 avatar_url: string;
6749 gravatar_id: string;
6750 url: string;
6751 html_url: string;
6752 followers_url: string;
6753 following_url: string;
6754 gists_url: string;
6755 starred_url: string;
6756 subscriptions_url: string;
6757 organizations_url: string;
6758 repos_url: string;
6759 events_url: string;
6760 received_events_url: string;
6761 type: string;
6762 site_admin: boolean;
6763 };
6764 type PullsListCommitsResponseItemCommitVerification = {
6765 verified: boolean;
6766 reason: string;
6767 signature: null;
6768 payload: null;
6769 };
6770 type PullsListCommitsResponseItemCommitTree = { url: string; sha: string };
6771 type PullsListCommitsResponseItemCommitCommitter = {
6772 name: string;
6773 email: string;
6774 date: string;
6775 };
6776 type PullsListCommitsResponseItemCommitAuthor = {
6777 name: string;
6778 email: string;
6779 date: string;
6780 };
6781 type PullsListCommitsResponseItemCommit = {
6782 url: string;
6783 author: PullsListCommitsResponseItemCommitAuthor;
6784 committer: PullsListCommitsResponseItemCommitCommitter;
6785 message: string;
6786 tree: PullsListCommitsResponseItemCommitTree;
6787 comment_count: number;
6788 verification: PullsListCommitsResponseItemCommitVerification;
6789 };
6790 type PullsListCommitsResponseItem = {
6791 url: string;
6792 sha: string;
6793 node_id: string;
6794 html_url: string;
6795 comments_url: string;
6796 commit: PullsListCommitsResponseItemCommit;
6797 author: PullsListCommitsResponseItemAuthor;
6798 committer: PullsListCommitsResponseItemCommitter;
6799 parents: Array<PullsListCommitsResponseItemParentsItem>;
6800 };
6801 type PullsUpdateResponseMergedBy = {
6802 login: string;
6803 id: number;
6804 node_id: string;
6805 avatar_url: string;
6806 gravatar_id: string;
6807 url: string;
6808 html_url: string;
6809 followers_url: string;
6810 following_url: string;
6811 gists_url: string;
6812 starred_url: string;
6813 subscriptions_url: string;
6814 organizations_url: string;
6815 repos_url: string;
6816 events_url: string;
6817 received_events_url: string;
6818 type: string;
6819 site_admin: boolean;
6820 };
6821 type PullsUpdateResponseLinksStatuses = { href: string };
6822 type PullsUpdateResponseLinksCommits = { href: string };
6823 type PullsUpdateResponseLinksReviewComment = { href: string };
6824 type PullsUpdateResponseLinksReviewComments = { href: string };
6825 type PullsUpdateResponseLinksComments = { href: string };
6826 type PullsUpdateResponseLinksIssue = { href: string };
6827 type PullsUpdateResponseLinksHtml = { href: string };
6828 type PullsUpdateResponseLinksSelf = { href: string };
6829 type PullsUpdateResponseLinks = {
6830 self: PullsUpdateResponseLinksSelf;
6831 html: PullsUpdateResponseLinksHtml;
6832 issue: PullsUpdateResponseLinksIssue;
6833 comments: PullsUpdateResponseLinksComments;
6834 review_comments: PullsUpdateResponseLinksReviewComments;
6835 review_comment: PullsUpdateResponseLinksReviewComment;
6836 commits: PullsUpdateResponseLinksCommits;
6837 statuses: PullsUpdateResponseLinksStatuses;
6838 };
6839 type PullsUpdateResponseBaseRepoPermissions = {
6840 admin: boolean;
6841 push: boolean;
6842 pull: boolean;
6843 };
6844 type PullsUpdateResponseBaseRepoOwner = {
6845 login: string;
6846 id: number;
6847 node_id: string;
6848 avatar_url: string;
6849 gravatar_id: string;
6850 url: string;
6851 html_url: string;
6852 followers_url: string;
6853 following_url: string;
6854 gists_url: string;
6855 starred_url: string;
6856 subscriptions_url: string;
6857 organizations_url: string;
6858 repos_url: string;
6859 events_url: string;
6860 received_events_url: string;
6861 type: string;
6862 site_admin: boolean;
6863 };
6864 type PullsUpdateResponseBaseRepo = {
6865 id: number;
6866 node_id: string;
6867 name: string;
6868 full_name: string;
6869 owner: PullsUpdateResponseBaseRepoOwner;
6870 private: boolean;
6871 html_url: string;
6872 description: string;
6873 fork: boolean;
6874 url: string;
6875 archive_url: string;
6876 assignees_url: string;
6877 blobs_url: string;
6878 branches_url: string;
6879 collaborators_url: string;
6880 comments_url: string;
6881 commits_url: string;
6882 compare_url: string;
6883 contents_url: string;
6884 contributors_url: string;
6885 deployments_url: string;
6886 downloads_url: string;
6887 events_url: string;
6888 forks_url: string;
6889 git_commits_url: string;
6890 git_refs_url: string;
6891 git_tags_url: string;
6892 git_url: string;
6893 issue_comment_url: string;
6894 issue_events_url: string;
6895 issues_url: string;
6896 keys_url: string;
6897 labels_url: string;
6898 languages_url: string;
6899 merges_url: string;
6900 milestones_url: string;
6901 notifications_url: string;
6902 pulls_url: string;
6903 releases_url: string;
6904 ssh_url: string;
6905 stargazers_url: string;
6906 statuses_url: string;
6907 subscribers_url: string;
6908 subscription_url: string;
6909 tags_url: string;
6910 teams_url: string;
6911 trees_url: string;
6912 clone_url: string;
6913 mirror_url: string;
6914 hooks_url: string;
6915 svn_url: string;
6916 homepage: string;
6917 language: null;
6918 forks_count: number;
6919 stargazers_count: number;
6920 watchers_count: number;
6921 size: number;
6922 default_branch: string;
6923 open_issues_count: number;
6924 topics: Array<string>;
6925 has_issues: boolean;
6926 has_projects: boolean;
6927 has_wiki: boolean;
6928 has_pages: boolean;
6929 has_downloads: boolean;
6930 archived: boolean;
6931 pushed_at: string;
6932 created_at: string;
6933 updated_at: string;
6934 permissions: PullsUpdateResponseBaseRepoPermissions;
6935 allow_rebase_merge: boolean;
6936 allow_squash_merge: boolean;
6937 allow_merge_commit: boolean;
6938 subscribers_count: number;
6939 network_count: number;
6940 };
6941 type PullsUpdateResponseBaseUser = {
6942 login: string;
6943 id: number;
6944 node_id: string;
6945 avatar_url: string;
6946 gravatar_id: string;
6947 url: string;
6948 html_url: string;
6949 followers_url: string;
6950 following_url: string;
6951 gists_url: string;
6952 starred_url: string;
6953 subscriptions_url: string;
6954 organizations_url: string;
6955 repos_url: string;
6956 events_url: string;
6957 received_events_url: string;
6958 type: string;
6959 site_admin: boolean;
6960 };
6961 type PullsUpdateResponseBase = {
6962 label: string;
6963 ref: string;
6964 sha: string;
6965 user: PullsUpdateResponseBaseUser;
6966 repo: PullsUpdateResponseBaseRepo;
6967 };
6968 type PullsUpdateResponseHeadRepoPermissions = {
6969 admin: boolean;
6970 push: boolean;
6971 pull: boolean;
6972 };
6973 type PullsUpdateResponseHeadRepoOwner = {
6974 login: string;
6975 id: number;
6976 node_id: string;
6977 avatar_url: string;
6978 gravatar_id: string;
6979 url: string;
6980 html_url: string;
6981 followers_url: string;
6982 following_url: string;
6983 gists_url: string;
6984 starred_url: string;
6985 subscriptions_url: string;
6986 organizations_url: string;
6987 repos_url: string;
6988 events_url: string;
6989 received_events_url: string;
6990 type: string;
6991 site_admin: boolean;
6992 };
6993 type PullsUpdateResponseHeadRepo = {
6994 id: number;
6995 node_id: string;
6996 name: string;
6997 full_name: string;
6998 owner: PullsUpdateResponseHeadRepoOwner;
6999 private: boolean;
7000 html_url: string;
7001 description: string;
7002 fork: boolean;
7003 url: string;
7004 archive_url: string;
7005 assignees_url: string;
7006 blobs_url: string;
7007 branches_url: string;
7008 collaborators_url: string;
7009 comments_url: string;
7010 commits_url: string;
7011 compare_url: string;
7012 contents_url: string;
7013 contributors_url: string;
7014 deployments_url: string;
7015 downloads_url: string;
7016 events_url: string;
7017 forks_url: string;
7018 git_commits_url: string;
7019 git_refs_url: string;
7020 git_tags_url: string;
7021 git_url: string;
7022 issue_comment_url: string;
7023 issue_events_url: string;
7024 issues_url: string;
7025 keys_url: string;
7026 labels_url: string;
7027 languages_url: string;
7028 merges_url: string;
7029 milestones_url: string;
7030 notifications_url: string;
7031 pulls_url: string;
7032 releases_url: string;
7033 ssh_url: string;
7034 stargazers_url: string;
7035 statuses_url: string;
7036 subscribers_url: string;
7037 subscription_url: string;
7038 tags_url: string;
7039 teams_url: string;
7040 trees_url: string;
7041 clone_url: string;
7042 mirror_url: string;
7043 hooks_url: string;
7044 svn_url: string;
7045 homepage: string;
7046 language: null;
7047 forks_count: number;
7048 stargazers_count: number;
7049 watchers_count: number;
7050 size: number;
7051 default_branch: string;
7052 open_issues_count: number;
7053 topics: Array<string>;
7054 has_issues: boolean;
7055 has_projects: boolean;
7056 has_wiki: boolean;
7057 has_pages: boolean;
7058 has_downloads: boolean;
7059 archived: boolean;
7060 pushed_at: string;
7061 created_at: string;
7062 updated_at: string;
7063 permissions: PullsUpdateResponseHeadRepoPermissions;
7064 allow_rebase_merge: boolean;
7065 allow_squash_merge: boolean;
7066 allow_merge_commit: boolean;
7067 subscribers_count: number;
7068 network_count: number;
7069 };
7070 type PullsUpdateResponseHeadUser = {
7071 login: string;
7072 id: number;
7073 node_id: string;
7074 avatar_url: string;
7075 gravatar_id: string;
7076 url: string;
7077 html_url: string;
7078 followers_url: string;
7079 following_url: string;
7080 gists_url: string;
7081 starred_url: string;
7082 subscriptions_url: string;
7083 organizations_url: string;
7084 repos_url: string;
7085 events_url: string;
7086 received_events_url: string;
7087 type: string;
7088 site_admin: boolean;
7089 };
7090 type PullsUpdateResponseHead = {
7091 label: string;
7092 ref: string;
7093 sha: string;
7094 user: PullsUpdateResponseHeadUser;
7095 repo: PullsUpdateResponseHeadRepo;
7096 };
7097 type PullsUpdateResponseRequestedTeamsItem = {
7098 id: number;
7099 node_id: string;
7100 url: string;
7101 name: string;
7102 slug: string;
7103 description: string;
7104 privacy: string;
7105 permission: string;
7106 members_url: string;
7107 repositories_url: string;
7108 parent: null;
7109 };
7110 type PullsUpdateResponseRequestedReviewersItem = {
7111 login: string;
7112 id: number;
7113 node_id: string;
7114 avatar_url: string;
7115 gravatar_id: string;
7116 url: string;
7117 html_url: string;
7118 followers_url: string;
7119 following_url: string;
7120 gists_url: string;
7121 starred_url: string;
7122 subscriptions_url: string;
7123 organizations_url: string;
7124 repos_url: string;
7125 events_url: string;
7126 received_events_url: string;
7127 type: string;
7128 site_admin: boolean;
7129 };
7130 type PullsUpdateResponseAssigneesItem = {
7131 login: string;
7132 id: number;
7133 node_id: string;
7134 avatar_url: string;
7135 gravatar_id: string;
7136 url: string;
7137 html_url: string;
7138 followers_url: string;
7139 following_url: string;
7140 gists_url: string;
7141 starred_url: string;
7142 subscriptions_url: string;
7143 organizations_url: string;
7144 repos_url: string;
7145 events_url: string;
7146 received_events_url: string;
7147 type: string;
7148 site_admin: boolean;
7149 };
7150 type PullsUpdateResponseAssignee = {
7151 login: string;
7152 id: number;
7153 node_id: string;
7154 avatar_url: string;
7155 gravatar_id: string;
7156 url: string;
7157 html_url: string;
7158 followers_url: string;
7159 following_url: string;
7160 gists_url: string;
7161 starred_url: string;
7162 subscriptions_url: string;
7163 organizations_url: string;
7164 repos_url: string;
7165 events_url: string;
7166 received_events_url: string;
7167 type: string;
7168 site_admin: boolean;
7169 };
7170 type PullsUpdateResponseMilestoneCreator = {
7171 login: string;
7172 id: number;
7173 node_id: string;
7174 avatar_url: string;
7175 gravatar_id: string;
7176 url: string;
7177 html_url: string;
7178 followers_url: string;
7179 following_url: string;
7180 gists_url: string;
7181 starred_url: string;
7182 subscriptions_url: string;
7183 organizations_url: string;
7184 repos_url: string;
7185 events_url: string;
7186 received_events_url: string;
7187 type: string;
7188 site_admin: boolean;
7189 };
7190 type PullsUpdateResponseMilestone = {
7191 url: string;
7192 html_url: string;
7193 labels_url: string;
7194 id: number;
7195 node_id: string;
7196 number: number;
7197 state: string;
7198 title: string;
7199 description: string;
7200 creator: PullsUpdateResponseMilestoneCreator;
7201 open_issues: number;
7202 closed_issues: number;
7203 created_at: string;
7204 updated_at: string;
7205 closed_at: string;
7206 due_on: string;
7207 };
7208 type PullsUpdateResponseLabelsItem = {
7209 id: number;
7210 node_id: string;
7211 url: string;
7212 name: string;
7213 description: string;
7214 color: string;
7215 default: boolean;
7216 };
7217 type PullsUpdateResponseUser = {
7218 login: string;
7219 id: number;
7220 node_id: string;
7221 avatar_url: string;
7222 gravatar_id: string;
7223 url: string;
7224 html_url: string;
7225 followers_url: string;
7226 following_url: string;
7227 gists_url: string;
7228 starred_url: string;
7229 subscriptions_url: string;
7230 organizations_url: string;
7231 repos_url: string;
7232 events_url: string;
7233 received_events_url: string;
7234 type: string;
7235 site_admin: boolean;
7236 };
7237 type PullsUpdateResponse = {
7238 url: string;
7239 id: number;
7240 node_id: string;
7241 html_url: string;
7242 diff_url: string;
7243 patch_url: string;
7244 issue_url: string;
7245 commits_url: string;
7246 review_comments_url: string;
7247 review_comment_url: string;
7248 comments_url: string;
7249 statuses_url: string;
7250 number: number;
7251 state: string;
7252 locked: boolean;
7253 title: string;
7254 user: PullsUpdateResponseUser;
7255 body: string;
7256 labels: Array<PullsUpdateResponseLabelsItem>;
7257 milestone: PullsUpdateResponseMilestone;
7258 active_lock_reason: string;
7259 created_at: string;
7260 updated_at: string;
7261 closed_at: string;
7262 merged_at: string;
7263 merge_commit_sha: string;
7264 assignee: PullsUpdateResponseAssignee;
7265 assignees: Array<PullsUpdateResponseAssigneesItem>;
7266 requested_reviewers: Array<PullsUpdateResponseRequestedReviewersItem>;
7267 requested_teams: Array<PullsUpdateResponseRequestedTeamsItem>;
7268 head: PullsUpdateResponseHead;
7269 base: PullsUpdateResponseBase;
7270 _links: PullsUpdateResponseLinks;
7271 author_association: string;
7272 draft: boolean;
7273 merged: boolean;
7274 mergeable: boolean;
7275 rebaseable: boolean;
7276 mergeable_state: string;
7277 merged_by: PullsUpdateResponseMergedBy;
7278 comments: number;
7279 review_comments: number;
7280 maintainer_can_modify: boolean;
7281 commits: number;
7282 additions: number;
7283 deletions: number;
7284 changed_files: number;
7285 };
7286 type PullsCreateFromIssueResponseMergedBy = {
7287 login: string;
7288 id: number;
7289 node_id: string;
7290 avatar_url: string;
7291 gravatar_id: string;
7292 url: string;
7293 html_url: string;
7294 followers_url: string;
7295 following_url: string;
7296 gists_url: string;
7297 starred_url: string;
7298 subscriptions_url: string;
7299 organizations_url: string;
7300 repos_url: string;
7301 events_url: string;
7302 received_events_url: string;
7303 type: string;
7304 site_admin: boolean;
7305 };
7306 type PullsCreateFromIssueResponseLinksStatuses = { href: string };
7307 type PullsCreateFromIssueResponseLinksCommits = { href: string };
7308 type PullsCreateFromIssueResponseLinksReviewComment = { href: string };
7309 type PullsCreateFromIssueResponseLinksReviewComments = { href: string };
7310 type PullsCreateFromIssueResponseLinksComments = { href: string };
7311 type PullsCreateFromIssueResponseLinksIssue = { href: string };
7312 type PullsCreateFromIssueResponseLinksHtml = { href: string };
7313 type PullsCreateFromIssueResponseLinksSelf = { href: string };
7314 type PullsCreateFromIssueResponseLinks = {
7315 self: PullsCreateFromIssueResponseLinksSelf;
7316 html: PullsCreateFromIssueResponseLinksHtml;
7317 issue: PullsCreateFromIssueResponseLinksIssue;
7318 comments: PullsCreateFromIssueResponseLinksComments;
7319 review_comments: PullsCreateFromIssueResponseLinksReviewComments;
7320 review_comment: PullsCreateFromIssueResponseLinksReviewComment;
7321 commits: PullsCreateFromIssueResponseLinksCommits;
7322 statuses: PullsCreateFromIssueResponseLinksStatuses;
7323 };
7324 type PullsCreateFromIssueResponseBaseRepoPermissions = {
7325 admin: boolean;
7326 push: boolean;
7327 pull: boolean;
7328 };
7329 type PullsCreateFromIssueResponseBaseRepoOwner = {
7330 login: string;
7331 id: number;
7332 node_id: string;
7333 avatar_url: string;
7334 gravatar_id: string;
7335 url: string;
7336 html_url: string;
7337 followers_url: string;
7338 following_url: string;
7339 gists_url: string;
7340 starred_url: string;
7341 subscriptions_url: string;
7342 organizations_url: string;
7343 repos_url: string;
7344 events_url: string;
7345 received_events_url: string;
7346 type: string;
7347 site_admin: boolean;
7348 };
7349 type PullsCreateFromIssueResponseBaseRepo = {
7350 id: number;
7351 node_id: string;
7352 name: string;
7353 full_name: string;
7354 owner: PullsCreateFromIssueResponseBaseRepoOwner;
7355 private: boolean;
7356 html_url: string;
7357 description: string;
7358 fork: boolean;
7359 url: string;
7360 archive_url: string;
7361 assignees_url: string;
7362 blobs_url: string;
7363 branches_url: string;
7364 collaborators_url: string;
7365 comments_url: string;
7366 commits_url: string;
7367 compare_url: string;
7368 contents_url: string;
7369 contributors_url: string;
7370 deployments_url: string;
7371 downloads_url: string;
7372 events_url: string;
7373 forks_url: string;
7374 git_commits_url: string;
7375 git_refs_url: string;
7376 git_tags_url: string;
7377 git_url: string;
7378 issue_comment_url: string;
7379 issue_events_url: string;
7380 issues_url: string;
7381 keys_url: string;
7382 labels_url: string;
7383 languages_url: string;
7384 merges_url: string;
7385 milestones_url: string;
7386 notifications_url: string;
7387 pulls_url: string;
7388 releases_url: string;
7389 ssh_url: string;
7390 stargazers_url: string;
7391 statuses_url: string;
7392 subscribers_url: string;
7393 subscription_url: string;
7394 tags_url: string;
7395 teams_url: string;
7396 trees_url: string;
7397 clone_url: string;
7398 mirror_url: string;
7399 hooks_url: string;
7400 svn_url: string;
7401 homepage: string;
7402 language: null;
7403 forks_count: number;
7404 stargazers_count: number;
7405 watchers_count: number;
7406 size: number;
7407 default_branch: string;
7408 open_issues_count: number;
7409 topics: Array<string>;
7410 has_issues: boolean;
7411 has_projects: boolean;
7412 has_wiki: boolean;
7413 has_pages: boolean;
7414 has_downloads: boolean;
7415 archived: boolean;
7416 pushed_at: string;
7417 created_at: string;
7418 updated_at: string;
7419 permissions: PullsCreateFromIssueResponseBaseRepoPermissions;
7420 allow_rebase_merge: boolean;
7421 allow_squash_merge: boolean;
7422 allow_merge_commit: boolean;
7423 subscribers_count: number;
7424 network_count: number;
7425 };
7426 type PullsCreateFromIssueResponseBaseUser = {
7427 login: string;
7428 id: number;
7429 node_id: string;
7430 avatar_url: string;
7431 gravatar_id: string;
7432 url: string;
7433 html_url: string;
7434 followers_url: string;
7435 following_url: string;
7436 gists_url: string;
7437 starred_url: string;
7438 subscriptions_url: string;
7439 organizations_url: string;
7440 repos_url: string;
7441 events_url: string;
7442 received_events_url: string;
7443 type: string;
7444 site_admin: boolean;
7445 };
7446 type PullsCreateFromIssueResponseBase = {
7447 label: string;
7448 ref: string;
7449 sha: string;
7450 user: PullsCreateFromIssueResponseBaseUser;
7451 repo: PullsCreateFromIssueResponseBaseRepo;
7452 };
7453 type PullsCreateFromIssueResponseHeadRepoPermissions = {
7454 admin: boolean;
7455 push: boolean;
7456 pull: boolean;
7457 };
7458 type PullsCreateFromIssueResponseHeadRepoOwner = {
7459 login: string;
7460 id: number;
7461 node_id: string;
7462 avatar_url: string;
7463 gravatar_id: string;
7464 url: string;
7465 html_url: string;
7466 followers_url: string;
7467 following_url: string;
7468 gists_url: string;
7469 starred_url: string;
7470 subscriptions_url: string;
7471 organizations_url: string;
7472 repos_url: string;
7473 events_url: string;
7474 received_events_url: string;
7475 type: string;
7476 site_admin: boolean;
7477 };
7478 type PullsCreateFromIssueResponseHeadRepo = {
7479 id: number;
7480 node_id: string;
7481 name: string;
7482 full_name: string;
7483 owner: PullsCreateFromIssueResponseHeadRepoOwner;
7484 private: boolean;
7485 html_url: string;
7486 description: string;
7487 fork: boolean;
7488 url: string;
7489 archive_url: string;
7490 assignees_url: string;
7491 blobs_url: string;
7492 branches_url: string;
7493 collaborators_url: string;
7494 comments_url: string;
7495 commits_url: string;
7496 compare_url: string;
7497 contents_url: string;
7498 contributors_url: string;
7499 deployments_url: string;
7500 downloads_url: string;
7501 events_url: string;
7502 forks_url: string;
7503 git_commits_url: string;
7504 git_refs_url: string;
7505 git_tags_url: string;
7506 git_url: string;
7507 issue_comment_url: string;
7508 issue_events_url: string;
7509 issues_url: string;
7510 keys_url: string;
7511 labels_url: string;
7512 languages_url: string;
7513 merges_url: string;
7514 milestones_url: string;
7515 notifications_url: string;
7516 pulls_url: string;
7517 releases_url: string;
7518 ssh_url: string;
7519 stargazers_url: string;
7520 statuses_url: string;
7521 subscribers_url: string;
7522 subscription_url: string;
7523 tags_url: string;
7524 teams_url: string;
7525 trees_url: string;
7526 clone_url: string;
7527 mirror_url: string;
7528 hooks_url: string;
7529 svn_url: string;
7530 homepage: string;
7531 language: null;
7532 forks_count: number;
7533 stargazers_count: number;
7534 watchers_count: number;
7535 size: number;
7536 default_branch: string;
7537 open_issues_count: number;
7538 topics: Array<string>;
7539 has_issues: boolean;
7540 has_projects: boolean;
7541 has_wiki: boolean;
7542 has_pages: boolean;
7543 has_downloads: boolean;
7544 archived: boolean;
7545 pushed_at: string;
7546 created_at: string;
7547 updated_at: string;
7548 permissions: PullsCreateFromIssueResponseHeadRepoPermissions;
7549 allow_rebase_merge: boolean;
7550 allow_squash_merge: boolean;
7551 allow_merge_commit: boolean;
7552 subscribers_count: number;
7553 network_count: number;
7554 };
7555 type PullsCreateFromIssueResponseHeadUser = {
7556 login: string;
7557 id: number;
7558 node_id: string;
7559 avatar_url: string;
7560 gravatar_id: string;
7561 url: string;
7562 html_url: string;
7563 followers_url: string;
7564 following_url: string;
7565 gists_url: string;
7566 starred_url: string;
7567 subscriptions_url: string;
7568 organizations_url: string;
7569 repos_url: string;
7570 events_url: string;
7571 received_events_url: string;
7572 type: string;
7573 site_admin: boolean;
7574 };
7575 type PullsCreateFromIssueResponseHead = {
7576 label: string;
7577 ref: string;
7578 sha: string;
7579 user: PullsCreateFromIssueResponseHeadUser;
7580 repo: PullsCreateFromIssueResponseHeadRepo;
7581 };
7582 type PullsCreateFromIssueResponseRequestedTeamsItem = {
7583 id: number;
7584 node_id: string;
7585 url: string;
7586 name: string;
7587 slug: string;
7588 description: string;
7589 privacy: string;
7590 permission: string;
7591 members_url: string;
7592 repositories_url: string;
7593 parent: null;
7594 };
7595 type PullsCreateFromIssueResponseRequestedReviewersItem = {
7596 login: string;
7597 id: number;
7598 node_id: string;
7599 avatar_url: string;
7600 gravatar_id: string;
7601 url: string;
7602 html_url: string;
7603 followers_url: string;
7604 following_url: string;
7605 gists_url: string;
7606 starred_url: string;
7607 subscriptions_url: string;
7608 organizations_url: string;
7609 repos_url: string;
7610 events_url: string;
7611 received_events_url: string;
7612 type: string;
7613 site_admin: boolean;
7614 };
7615 type PullsCreateFromIssueResponseAssigneesItem = {
7616 login: string;
7617 id: number;
7618 node_id: string;
7619 avatar_url: string;
7620 gravatar_id: string;
7621 url: string;
7622 html_url: string;
7623 followers_url: string;
7624 following_url: string;
7625 gists_url: string;
7626 starred_url: string;
7627 subscriptions_url: string;
7628 organizations_url: string;
7629 repos_url: string;
7630 events_url: string;
7631 received_events_url: string;
7632 type: string;
7633 site_admin: boolean;
7634 };
7635 type PullsCreateFromIssueResponseAssignee = {
7636 login: string;
7637 id: number;
7638 node_id: string;
7639 avatar_url: string;
7640 gravatar_id: string;
7641 url: string;
7642 html_url: string;
7643 followers_url: string;
7644 following_url: string;
7645 gists_url: string;
7646 starred_url: string;
7647 subscriptions_url: string;
7648 organizations_url: string;
7649 repos_url: string;
7650 events_url: string;
7651 received_events_url: string;
7652 type: string;
7653 site_admin: boolean;
7654 };
7655 type PullsCreateFromIssueResponseMilestoneCreator = {
7656 login: string;
7657 id: number;
7658 node_id: string;
7659 avatar_url: string;
7660 gravatar_id: string;
7661 url: string;
7662 html_url: string;
7663 followers_url: string;
7664 following_url: string;
7665 gists_url: string;
7666 starred_url: string;
7667 subscriptions_url: string;
7668 organizations_url: string;
7669 repos_url: string;
7670 events_url: string;
7671 received_events_url: string;
7672 type: string;
7673 site_admin: boolean;
7674 };
7675 type PullsCreateFromIssueResponseMilestone = {
7676 url: string;
7677 html_url: string;
7678 labels_url: string;
7679 id: number;
7680 node_id: string;
7681 number: number;
7682 state: string;
7683 title: string;
7684 description: string;
7685 creator: PullsCreateFromIssueResponseMilestoneCreator;
7686 open_issues: number;
7687 closed_issues: number;
7688 created_at: string;
7689 updated_at: string;
7690 closed_at: string;
7691 due_on: string;
7692 };
7693 type PullsCreateFromIssueResponseLabelsItem = {
7694 id: number;
7695 node_id: string;
7696 url: string;
7697 name: string;
7698 description: string;
7699 color: string;
7700 default: boolean;
7701 };
7702 type PullsCreateFromIssueResponseUser = {
7703 login: string;
7704 id: number;
7705 node_id: string;
7706 avatar_url: string;
7707 gravatar_id: string;
7708 url: string;
7709 html_url: string;
7710 followers_url: string;
7711 following_url: string;
7712 gists_url: string;
7713 starred_url: string;
7714 subscriptions_url: string;
7715 organizations_url: string;
7716 repos_url: string;
7717 events_url: string;
7718 received_events_url: string;
7719 type: string;
7720 site_admin: boolean;
7721 };
7722 type PullsCreateFromIssueResponse = {
7723 url: string;
7724 id: number;
7725 node_id: string;
7726 html_url: string;
7727 diff_url: string;
7728 patch_url: string;
7729 issue_url: string;
7730 commits_url: string;
7731 review_comments_url: string;
7732 review_comment_url: string;
7733 comments_url: string;
7734 statuses_url: string;
7735 number: number;
7736 state: string;
7737 locked: boolean;
7738 title: string;
7739 user: PullsCreateFromIssueResponseUser;
7740 body: string;
7741 labels: Array<PullsCreateFromIssueResponseLabelsItem>;
7742 milestone: PullsCreateFromIssueResponseMilestone;
7743 active_lock_reason: string;
7744 created_at: string;
7745 updated_at: string;
7746 closed_at: string;
7747 merged_at: string;
7748 merge_commit_sha: string;
7749 assignee: PullsCreateFromIssueResponseAssignee;
7750 assignees: Array<PullsCreateFromIssueResponseAssigneesItem>;
7751 requested_reviewers: Array<
7752 PullsCreateFromIssueResponseRequestedReviewersItem
7753 >;
7754 requested_teams: Array<PullsCreateFromIssueResponseRequestedTeamsItem>;
7755 head: PullsCreateFromIssueResponseHead;
7756 base: PullsCreateFromIssueResponseBase;
7757 _links: PullsCreateFromIssueResponseLinks;
7758 author_association: string;
7759 draft: boolean;
7760 merged: boolean;
7761 mergeable: boolean;
7762 rebaseable: boolean;
7763 mergeable_state: string;
7764 merged_by: PullsCreateFromIssueResponseMergedBy;
7765 comments: number;
7766 review_comments: number;
7767 maintainer_can_modify: boolean;
7768 commits: number;
7769 additions: number;
7770 deletions: number;
7771 changed_files: number;
7772 };
7773 type PullsCreateResponseMergedBy = {
7774 login: string;
7775 id: number;
7776 node_id: string;
7777 avatar_url: string;
7778 gravatar_id: string;
7779 url: string;
7780 html_url: string;
7781 followers_url: string;
7782 following_url: string;
7783 gists_url: string;
7784 starred_url: string;
7785 subscriptions_url: string;
7786 organizations_url: string;
7787 repos_url: string;
7788 events_url: string;
7789 received_events_url: string;
7790 type: string;
7791 site_admin: boolean;
7792 };
7793 type PullsCreateResponseLinksStatuses = { href: string };
7794 type PullsCreateResponseLinksCommits = { href: string };
7795 type PullsCreateResponseLinksReviewComment = { href: string };
7796 type PullsCreateResponseLinksReviewComments = { href: string };
7797 type PullsCreateResponseLinksComments = { href: string };
7798 type PullsCreateResponseLinksIssue = { href: string };
7799 type PullsCreateResponseLinksHtml = { href: string };
7800 type PullsCreateResponseLinksSelf = { href: string };
7801 type PullsCreateResponseLinks = {
7802 self: PullsCreateResponseLinksSelf;
7803 html: PullsCreateResponseLinksHtml;
7804 issue: PullsCreateResponseLinksIssue;
7805 comments: PullsCreateResponseLinksComments;
7806 review_comments: PullsCreateResponseLinksReviewComments;
7807 review_comment: PullsCreateResponseLinksReviewComment;
7808 commits: PullsCreateResponseLinksCommits;
7809 statuses: PullsCreateResponseLinksStatuses;
7810 };
7811 type PullsCreateResponseBaseRepoPermissions = {
7812 admin: boolean;
7813 push: boolean;
7814 pull: boolean;
7815 };
7816 type PullsCreateResponseBaseRepoOwner = {
7817 login: string;
7818 id: number;
7819 node_id: string;
7820 avatar_url: string;
7821 gravatar_id: string;
7822 url: string;
7823 html_url: string;
7824 followers_url: string;
7825 following_url: string;
7826 gists_url: string;
7827 starred_url: string;
7828 subscriptions_url: string;
7829 organizations_url: string;
7830 repos_url: string;
7831 events_url: string;
7832 received_events_url: string;
7833 type: string;
7834 site_admin: boolean;
7835 };
7836 type PullsCreateResponseBaseRepo = {
7837 id: number;
7838 node_id: string;
7839 name: string;
7840 full_name: string;
7841 owner: PullsCreateResponseBaseRepoOwner;
7842 private: boolean;
7843 html_url: string;
7844 description: string;
7845 fork: boolean;
7846 url: string;
7847 archive_url: string;
7848 assignees_url: string;
7849 blobs_url: string;
7850 branches_url: string;
7851 collaborators_url: string;
7852 comments_url: string;
7853 commits_url: string;
7854 compare_url: string;
7855 contents_url: string;
7856 contributors_url: string;
7857 deployments_url: string;
7858 downloads_url: string;
7859 events_url: string;
7860 forks_url: string;
7861 git_commits_url: string;
7862 git_refs_url: string;
7863 git_tags_url: string;
7864 git_url: string;
7865 issue_comment_url: string;
7866 issue_events_url: string;
7867 issues_url: string;
7868 keys_url: string;
7869 labels_url: string;
7870 languages_url: string;
7871 merges_url: string;
7872 milestones_url: string;
7873 notifications_url: string;
7874 pulls_url: string;
7875 releases_url: string;
7876 ssh_url: string;
7877 stargazers_url: string;
7878 statuses_url: string;
7879 subscribers_url: string;
7880 subscription_url: string;
7881 tags_url: string;
7882 teams_url: string;
7883 trees_url: string;
7884 clone_url: string;
7885 mirror_url: string;
7886 hooks_url: string;
7887 svn_url: string;
7888 homepage: string;
7889 language: null;
7890 forks_count: number;
7891 stargazers_count: number;
7892 watchers_count: number;
7893 size: number;
7894 default_branch: string;
7895 open_issues_count: number;
7896 topics: Array<string>;
7897 has_issues: boolean;
7898 has_projects: boolean;
7899 has_wiki: boolean;
7900 has_pages: boolean;
7901 has_downloads: boolean;
7902 archived: boolean;
7903 pushed_at: string;
7904 created_at: string;
7905 updated_at: string;
7906 permissions: PullsCreateResponseBaseRepoPermissions;
7907 allow_rebase_merge: boolean;
7908 allow_squash_merge: boolean;
7909 allow_merge_commit: boolean;
7910 subscribers_count: number;
7911 network_count: number;
7912 };
7913 type PullsCreateResponseBaseUser = {
7914 login: string;
7915 id: number;
7916 node_id: string;
7917 avatar_url: string;
7918 gravatar_id: string;
7919 url: string;
7920 html_url: string;
7921 followers_url: string;
7922 following_url: string;
7923 gists_url: string;
7924 starred_url: string;
7925 subscriptions_url: string;
7926 organizations_url: string;
7927 repos_url: string;
7928 events_url: string;
7929 received_events_url: string;
7930 type: string;
7931 site_admin: boolean;
7932 };
7933 type PullsCreateResponseBase = {
7934 label: string;
7935 ref: string;
7936 sha: string;
7937 user: PullsCreateResponseBaseUser;
7938 repo: PullsCreateResponseBaseRepo;
7939 };
7940 type PullsCreateResponseHeadRepoPermissions = {
7941 admin: boolean;
7942 push: boolean;
7943 pull: boolean;
7944 };
7945 type PullsCreateResponseHeadRepoOwner = {
7946 login: string;
7947 id: number;
7948 node_id: string;
7949 avatar_url: string;
7950 gravatar_id: string;
7951 url: string;
7952 html_url: string;
7953 followers_url: string;
7954 following_url: string;
7955 gists_url: string;
7956 starred_url: string;
7957 subscriptions_url: string;
7958 organizations_url: string;
7959 repos_url: string;
7960 events_url: string;
7961 received_events_url: string;
7962 type: string;
7963 site_admin: boolean;
7964 };
7965 type PullsCreateResponseHeadRepo = {
7966 id: number;
7967 node_id: string;
7968 name: string;
7969 full_name: string;
7970 owner: PullsCreateResponseHeadRepoOwner;
7971 private: boolean;
7972 html_url: string;
7973 description: string;
7974 fork: boolean;
7975 url: string;
7976 archive_url: string;
7977 assignees_url: string;
7978 blobs_url: string;
7979 branches_url: string;
7980 collaborators_url: string;
7981 comments_url: string;
7982 commits_url: string;
7983 compare_url: string;
7984 contents_url: string;
7985 contributors_url: string;
7986 deployments_url: string;
7987 downloads_url: string;
7988 events_url: string;
7989 forks_url: string;
7990 git_commits_url: string;
7991 git_refs_url: string;
7992 git_tags_url: string;
7993 git_url: string;
7994 issue_comment_url: string;
7995 issue_events_url: string;
7996 issues_url: string;
7997 keys_url: string;
7998 labels_url: string;
7999 languages_url: string;
8000 merges_url: string;
8001 milestones_url: string;
8002 notifications_url: string;
8003 pulls_url: string;
8004 releases_url: string;
8005 ssh_url: string;
8006 stargazers_url: string;
8007 statuses_url: string;
8008 subscribers_url: string;
8009 subscription_url: string;
8010 tags_url: string;
8011 teams_url: string;
8012 trees_url: string;
8013 clone_url: string;
8014 mirror_url: string;
8015 hooks_url: string;
8016 svn_url: string;
8017 homepage: string;
8018 language: null;
8019 forks_count: number;
8020 stargazers_count: number;
8021 watchers_count: number;
8022 size: number;
8023 default_branch: string;
8024 open_issues_count: number;
8025 topics: Array<string>;
8026 has_issues: boolean;
8027 has_projects: boolean;
8028 has_wiki: boolean;
8029 has_pages: boolean;
8030 has_downloads: boolean;
8031 archived: boolean;
8032 pushed_at: string;
8033 created_at: string;
8034 updated_at: string;
8035 permissions: PullsCreateResponseHeadRepoPermissions;
8036 allow_rebase_merge: boolean;
8037 allow_squash_merge: boolean;
8038 allow_merge_commit: boolean;
8039 subscribers_count: number;
8040 network_count: number;
8041 };
8042 type PullsCreateResponseHeadUser = {
8043 login: string;
8044 id: number;
8045 node_id: string;
8046 avatar_url: string;
8047 gravatar_id: string;
8048 url: string;
8049 html_url: string;
8050 followers_url: string;
8051 following_url: string;
8052 gists_url: string;
8053 starred_url: string;
8054 subscriptions_url: string;
8055 organizations_url: string;
8056 repos_url: string;
8057 events_url: string;
8058 received_events_url: string;
8059 type: string;
8060 site_admin: boolean;
8061 };
8062 type PullsCreateResponseHead = {
8063 label: string;
8064 ref: string;
8065 sha: string;
8066 user: PullsCreateResponseHeadUser;
8067 repo: PullsCreateResponseHeadRepo;
8068 };
8069 type PullsCreateResponseRequestedTeamsItem = {
8070 id: number;
8071 node_id: string;
8072 url: string;
8073 name: string;
8074 slug: string;
8075 description: string;
8076 privacy: string;
8077 permission: string;
8078 members_url: string;
8079 repositories_url: string;
8080 parent: null;
8081 };
8082 type PullsCreateResponseRequestedReviewersItem = {
8083 login: string;
8084 id: number;
8085 node_id: string;
8086 avatar_url: string;
8087 gravatar_id: string;
8088 url: string;
8089 html_url: string;
8090 followers_url: string;
8091 following_url: string;
8092 gists_url: string;
8093 starred_url: string;
8094 subscriptions_url: string;
8095 organizations_url: string;
8096 repos_url: string;
8097 events_url: string;
8098 received_events_url: string;
8099 type: string;
8100 site_admin: boolean;
8101 };
8102 type PullsCreateResponseAssigneesItem = {
8103 login: string;
8104 id: number;
8105 node_id: string;
8106 avatar_url: string;
8107 gravatar_id: string;
8108 url: string;
8109 html_url: string;
8110 followers_url: string;
8111 following_url: string;
8112 gists_url: string;
8113 starred_url: string;
8114 subscriptions_url: string;
8115 organizations_url: string;
8116 repos_url: string;
8117 events_url: string;
8118 received_events_url: string;
8119 type: string;
8120 site_admin: boolean;
8121 };
8122 type PullsCreateResponseAssignee = {
8123 login: string;
8124 id: number;
8125 node_id: string;
8126 avatar_url: string;
8127 gravatar_id: string;
8128 url: string;
8129 html_url: string;
8130 followers_url: string;
8131 following_url: string;
8132 gists_url: string;
8133 starred_url: string;
8134 subscriptions_url: string;
8135 organizations_url: string;
8136 repos_url: string;
8137 events_url: string;
8138 received_events_url: string;
8139 type: string;
8140 site_admin: boolean;
8141 };
8142 type PullsCreateResponseMilestoneCreator = {
8143 login: string;
8144 id: number;
8145 node_id: string;
8146 avatar_url: string;
8147 gravatar_id: string;
8148 url: string;
8149 html_url: string;
8150 followers_url: string;
8151 following_url: string;
8152 gists_url: string;
8153 starred_url: string;
8154 subscriptions_url: string;
8155 organizations_url: string;
8156 repos_url: string;
8157 events_url: string;
8158 received_events_url: string;
8159 type: string;
8160 site_admin: boolean;
8161 };
8162 type PullsCreateResponseMilestone = {
8163 url: string;
8164 html_url: string;
8165 labels_url: string;
8166 id: number;
8167 node_id: string;
8168 number: number;
8169 state: string;
8170 title: string;
8171 description: string;
8172 creator: PullsCreateResponseMilestoneCreator;
8173 open_issues: number;
8174 closed_issues: number;
8175 created_at: string;
8176 updated_at: string;
8177 closed_at: string;
8178 due_on: string;
8179 };
8180 type PullsCreateResponseLabelsItem = {
8181 id: number;
8182 node_id: string;
8183 url: string;
8184 name: string;
8185 description: string;
8186 color: string;
8187 default: boolean;
8188 };
8189 type PullsCreateResponseUser = {
8190 login: string;
8191 id: number;
8192 node_id: string;
8193 avatar_url: string;
8194 gravatar_id: string;
8195 url: string;
8196 html_url: string;
8197 followers_url: string;
8198 following_url: string;
8199 gists_url: string;
8200 starred_url: string;
8201 subscriptions_url: string;
8202 organizations_url: string;
8203 repos_url: string;
8204 events_url: string;
8205 received_events_url: string;
8206 type: string;
8207 site_admin: boolean;
8208 };
8209 type PullsCreateResponse = {
8210 url: string;
8211 id: number;
8212 node_id: string;
8213 html_url: string;
8214 diff_url: string;
8215 patch_url: string;
8216 issue_url: string;
8217 commits_url: string;
8218 review_comments_url: string;
8219 review_comment_url: string;
8220 comments_url: string;
8221 statuses_url: string;
8222 number: number;
8223 state: string;
8224 locked: boolean;
8225 title: string;
8226 user: PullsCreateResponseUser;
8227 body: string;
8228 labels: Array<PullsCreateResponseLabelsItem>;
8229 milestone: PullsCreateResponseMilestone;
8230 active_lock_reason: string;
8231 created_at: string;
8232 updated_at: string;
8233 closed_at: string;
8234 merged_at: string;
8235 merge_commit_sha: string;
8236 assignee: PullsCreateResponseAssignee;
8237 assignees: Array<PullsCreateResponseAssigneesItem>;
8238 requested_reviewers: Array<PullsCreateResponseRequestedReviewersItem>;
8239 requested_teams: Array<PullsCreateResponseRequestedTeamsItem>;
8240 head: PullsCreateResponseHead;
8241 base: PullsCreateResponseBase;
8242 _links: PullsCreateResponseLinks;
8243 author_association: string;
8244 draft: boolean;
8245 merged: boolean;
8246 mergeable: boolean;
8247 rebaseable: boolean;
8248 mergeable_state: string;
8249 merged_by: PullsCreateResponseMergedBy;
8250 comments: number;
8251 review_comments: number;
8252 maintainer_can_modify: boolean;
8253 commits: number;
8254 additions: number;
8255 deletions: number;
8256 changed_files: number;
8257 };
8258 type PullsGetResponseMergedBy = {
8259 login: string;
8260 id: number;
8261 node_id: string;
8262 avatar_url: string;
8263 gravatar_id: string;
8264 url: string;
8265 html_url: string;
8266 followers_url: string;
8267 following_url: string;
8268 gists_url: string;
8269 starred_url: string;
8270 subscriptions_url: string;
8271 organizations_url: string;
8272 repos_url: string;
8273 events_url: string;
8274 received_events_url: string;
8275 type: string;
8276 site_admin: boolean;
8277 };
8278 type PullsGetResponseLinksStatuses = { href: string };
8279 type PullsGetResponseLinksCommits = { href: string };
8280 type PullsGetResponseLinksReviewComment = { href: string };
8281 type PullsGetResponseLinksReviewComments = { href: string };
8282 type PullsGetResponseLinksComments = { href: string };
8283 type PullsGetResponseLinksIssue = { href: string };
8284 type PullsGetResponseLinksHtml = { href: string };
8285 type PullsGetResponseLinksSelf = { href: string };
8286 type PullsGetResponseLinks = {
8287 self: PullsGetResponseLinksSelf;
8288 html: PullsGetResponseLinksHtml;
8289 issue: PullsGetResponseLinksIssue;
8290 comments: PullsGetResponseLinksComments;
8291 review_comments: PullsGetResponseLinksReviewComments;
8292 review_comment: PullsGetResponseLinksReviewComment;
8293 commits: PullsGetResponseLinksCommits;
8294 statuses: PullsGetResponseLinksStatuses;
8295 };
8296 type PullsGetResponseBaseRepoPermissions = {
8297 admin: boolean;
8298 push: boolean;
8299 pull: boolean;
8300 };
8301 type PullsGetResponseBaseRepoOwner = {
8302 login: string;
8303 id: number;
8304 node_id: string;
8305 avatar_url: string;
8306 gravatar_id: string;
8307 url: string;
8308 html_url: string;
8309 followers_url: string;
8310 following_url: string;
8311 gists_url: string;
8312 starred_url: string;
8313 subscriptions_url: string;
8314 organizations_url: string;
8315 repos_url: string;
8316 events_url: string;
8317 received_events_url: string;
8318 type: string;
8319 site_admin: boolean;
8320 };
8321 type PullsGetResponseBaseRepo = {
8322 id: number;
8323 node_id: string;
8324 name: string;
8325 full_name: string;
8326 owner: PullsGetResponseBaseRepoOwner;
8327 private: boolean;
8328 html_url: string;
8329 description: string;
8330 fork: boolean;
8331 url: string;
8332 archive_url: string;
8333 assignees_url: string;
8334 blobs_url: string;
8335 branches_url: string;
8336 collaborators_url: string;
8337 comments_url: string;
8338 commits_url: string;
8339 compare_url: string;
8340 contents_url: string;
8341 contributors_url: string;
8342 deployments_url: string;
8343 downloads_url: string;
8344 events_url: string;
8345 forks_url: string;
8346 git_commits_url: string;
8347 git_refs_url: string;
8348 git_tags_url: string;
8349 git_url: string;
8350 issue_comment_url: string;
8351 issue_events_url: string;
8352 issues_url: string;
8353 keys_url: string;
8354 labels_url: string;
8355 languages_url: string;
8356 merges_url: string;
8357 milestones_url: string;
8358 notifications_url: string;
8359 pulls_url: string;
8360 releases_url: string;
8361 ssh_url: string;
8362 stargazers_url: string;
8363 statuses_url: string;
8364 subscribers_url: string;
8365 subscription_url: string;
8366 tags_url: string;
8367 teams_url: string;
8368 trees_url: string;
8369 clone_url: string;
8370 mirror_url: string;
8371 hooks_url: string;
8372 svn_url: string;
8373 homepage: string;
8374 language: null;
8375 forks_count: number;
8376 stargazers_count: number;
8377 watchers_count: number;
8378 size: number;
8379 default_branch: string;
8380 open_issues_count: number;
8381 topics: Array<string>;
8382 has_issues: boolean;
8383 has_projects: boolean;
8384 has_wiki: boolean;
8385 has_pages: boolean;
8386 has_downloads: boolean;
8387 archived: boolean;
8388 pushed_at: string;
8389 created_at: string;
8390 updated_at: string;
8391 permissions: PullsGetResponseBaseRepoPermissions;
8392 allow_rebase_merge: boolean;
8393 allow_squash_merge: boolean;
8394 allow_merge_commit: boolean;
8395 subscribers_count: number;
8396 network_count: number;
8397 };
8398 type PullsGetResponseBaseUser = {
8399 login: string;
8400 id: number;
8401 node_id: string;
8402 avatar_url: string;
8403 gravatar_id: string;
8404 url: string;
8405 html_url: string;
8406 followers_url: string;
8407 following_url: string;
8408 gists_url: string;
8409 starred_url: string;
8410 subscriptions_url: string;
8411 organizations_url: string;
8412 repos_url: string;
8413 events_url: string;
8414 received_events_url: string;
8415 type: string;
8416 site_admin: boolean;
8417 };
8418 type PullsGetResponseBase = {
8419 label: string;
8420 ref: string;
8421 sha: string;
8422 user: PullsGetResponseBaseUser;
8423 repo: PullsGetResponseBaseRepo;
8424 };
8425 type PullsGetResponseHeadRepoPermissions = {
8426 admin: boolean;
8427 push: boolean;
8428 pull: boolean;
8429 };
8430 type PullsGetResponseHeadRepoOwner = {
8431 login: string;
8432 id: number;
8433 node_id: string;
8434 avatar_url: string;
8435 gravatar_id: string;
8436 url: string;
8437 html_url: string;
8438 followers_url: string;
8439 following_url: string;
8440 gists_url: string;
8441 starred_url: string;
8442 subscriptions_url: string;
8443 organizations_url: string;
8444 repos_url: string;
8445 events_url: string;
8446 received_events_url: string;
8447 type: string;
8448 site_admin: boolean;
8449 };
8450 type PullsGetResponseHeadRepo = {
8451 id: number;
8452 node_id: string;
8453 name: string;
8454 full_name: string;
8455 owner: PullsGetResponseHeadRepoOwner;
8456 private: boolean;
8457 html_url: string;
8458 description: string;
8459 fork: boolean;
8460 url: string;
8461 archive_url: string;
8462 assignees_url: string;
8463 blobs_url: string;
8464 branches_url: string;
8465 collaborators_url: string;
8466 comments_url: string;
8467 commits_url: string;
8468 compare_url: string;
8469 contents_url: string;
8470 contributors_url: string;
8471 deployments_url: string;
8472 downloads_url: string;
8473 events_url: string;
8474 forks_url: string;
8475 git_commits_url: string;
8476 git_refs_url: string;
8477 git_tags_url: string;
8478 git_url: string;
8479 issue_comment_url: string;
8480 issue_events_url: string;
8481 issues_url: string;
8482 keys_url: string;
8483 labels_url: string;
8484 languages_url: string;
8485 merges_url: string;
8486 milestones_url: string;
8487 notifications_url: string;
8488 pulls_url: string;
8489 releases_url: string;
8490 ssh_url: string;
8491 stargazers_url: string;
8492 statuses_url: string;
8493 subscribers_url: string;
8494 subscription_url: string;
8495 tags_url: string;
8496 teams_url: string;
8497 trees_url: string;
8498 clone_url: string;
8499 mirror_url: string;
8500 hooks_url: string;
8501 svn_url: string;
8502 homepage: string;
8503 language: null;
8504 forks_count: number;
8505 stargazers_count: number;
8506 watchers_count: number;
8507 size: number;
8508 default_branch: string;
8509 open_issues_count: number;
8510 topics: Array<string>;
8511 has_issues: boolean;
8512 has_projects: boolean;
8513 has_wiki: boolean;
8514 has_pages: boolean;
8515 has_downloads: boolean;
8516 archived: boolean;
8517 pushed_at: string;
8518 created_at: string;
8519 updated_at: string;
8520 permissions: PullsGetResponseHeadRepoPermissions;
8521 allow_rebase_merge: boolean;
8522 allow_squash_merge: boolean;
8523 allow_merge_commit: boolean;
8524 subscribers_count: number;
8525 network_count: number;
8526 };
8527 type PullsGetResponseHeadUser = {
8528 login: string;
8529 id: number;
8530 node_id: string;
8531 avatar_url: string;
8532 gravatar_id: string;
8533 url: string;
8534 html_url: string;
8535 followers_url: string;
8536 following_url: string;
8537 gists_url: string;
8538 starred_url: string;
8539 subscriptions_url: string;
8540 organizations_url: string;
8541 repos_url: string;
8542 events_url: string;
8543 received_events_url: string;
8544 type: string;
8545 site_admin: boolean;
8546 };
8547 type PullsGetResponseHead = {
8548 label: string;
8549 ref: string;
8550 sha: string;
8551 user: PullsGetResponseHeadUser;
8552 repo: PullsGetResponseHeadRepo;
8553 };
8554 type PullsGetResponseRequestedTeamsItem = {
8555 id: number;
8556 node_id: string;
8557 url: string;
8558 name: string;
8559 slug: string;
8560 description: string;
8561 privacy: string;
8562 permission: string;
8563 members_url: string;
8564 repositories_url: string;
8565 parent: null;
8566 };
8567 type PullsGetResponseRequestedReviewersItem = {
8568 login: string;
8569 id: number;
8570 node_id: string;
8571 avatar_url: string;
8572 gravatar_id: string;
8573 url: string;
8574 html_url: string;
8575 followers_url: string;
8576 following_url: string;
8577 gists_url: string;
8578 starred_url: string;
8579 subscriptions_url: string;
8580 organizations_url: string;
8581 repos_url: string;
8582 events_url: string;
8583 received_events_url: string;
8584 type: string;
8585 site_admin: boolean;
8586 };
8587 type PullsGetResponseAssigneesItem = {
8588 login: string;
8589 id: number;
8590 node_id: string;
8591 avatar_url: string;
8592 gravatar_id: string;
8593 url: string;
8594 html_url: string;
8595 followers_url: string;
8596 following_url: string;
8597 gists_url: string;
8598 starred_url: string;
8599 subscriptions_url: string;
8600 organizations_url: string;
8601 repos_url: string;
8602 events_url: string;
8603 received_events_url: string;
8604 type: string;
8605 site_admin: boolean;
8606 };
8607 type PullsGetResponseAssignee = {
8608 login: string;
8609 id: number;
8610 node_id: string;
8611 avatar_url: string;
8612 gravatar_id: string;
8613 url: string;
8614 html_url: string;
8615 followers_url: string;
8616 following_url: string;
8617 gists_url: string;
8618 starred_url: string;
8619 subscriptions_url: string;
8620 organizations_url: string;
8621 repos_url: string;
8622 events_url: string;
8623 received_events_url: string;
8624 type: string;
8625 site_admin: boolean;
8626 };
8627 type PullsGetResponseMilestoneCreator = {
8628 login: string;
8629 id: number;
8630 node_id: string;
8631 avatar_url: string;
8632 gravatar_id: string;
8633 url: string;
8634 html_url: string;
8635 followers_url: string;
8636 following_url: string;
8637 gists_url: string;
8638 starred_url: string;
8639 subscriptions_url: string;
8640 organizations_url: string;
8641 repos_url: string;
8642 events_url: string;
8643 received_events_url: string;
8644 type: string;
8645 site_admin: boolean;
8646 };
8647 type PullsGetResponseMilestone = {
8648 url: string;
8649 html_url: string;
8650 labels_url: string;
8651 id: number;
8652 node_id: string;
8653 number: number;
8654 state: string;
8655 title: string;
8656 description: string;
8657 creator: PullsGetResponseMilestoneCreator;
8658 open_issues: number;
8659 closed_issues: number;
8660 created_at: string;
8661 updated_at: string;
8662 closed_at: string;
8663 due_on: string;
8664 };
8665 type PullsGetResponseLabelsItem = {
8666 id: number;
8667 node_id: string;
8668 url: string;
8669 name: string;
8670 description: string;
8671 color: string;
8672 default: boolean;
8673 };
8674 type PullsGetResponseUser = {
8675 login: string;
8676 id: number;
8677 node_id: string;
8678 avatar_url: string;
8679 gravatar_id: string;
8680 url: string;
8681 html_url: string;
8682 followers_url: string;
8683 following_url: string;
8684 gists_url: string;
8685 starred_url: string;
8686 subscriptions_url: string;
8687 organizations_url: string;
8688 repos_url: string;
8689 events_url: string;
8690 received_events_url: string;
8691 type: string;
8692 site_admin: boolean;
8693 };
8694 type PullsGetResponse = {
8695 url: string;
8696 id: number;
8697 node_id: string;
8698 html_url: string;
8699 diff_url: string;
8700 patch_url: string;
8701 issue_url: string;
8702 commits_url: string;
8703 review_comments_url: string;
8704 review_comment_url: string;
8705 comments_url: string;
8706 statuses_url: string;
8707 number: number;
8708 state: string;
8709 locked: boolean;
8710 title: string;
8711 user: PullsGetResponseUser;
8712 body: string;
8713 labels: Array<PullsGetResponseLabelsItem>;
8714 milestone: PullsGetResponseMilestone;
8715 active_lock_reason: string;
8716 created_at: string;
8717 updated_at: string;
8718 closed_at: string;
8719 merged_at: string;
8720 merge_commit_sha: string;
8721 assignee: PullsGetResponseAssignee;
8722 assignees: Array<PullsGetResponseAssigneesItem>;
8723 requested_reviewers: Array<PullsGetResponseRequestedReviewersItem>;
8724 requested_teams: Array<PullsGetResponseRequestedTeamsItem>;
8725 head: PullsGetResponseHead;
8726 base: PullsGetResponseBase;
8727 _links: PullsGetResponseLinks;
8728 author_association: string;
8729 draft: boolean;
8730 merged: boolean;
8731 mergeable: boolean;
8732 rebaseable: boolean;
8733 mergeable_state: string;
8734 merged_by: PullsGetResponseMergedBy;
8735 comments: number;
8736 review_comments: number;
8737 maintainer_can_modify: boolean;
8738 commits: number;
8739 additions: number;
8740 deletions: number;
8741 changed_files: number;
8742 };
8743 type PullsListResponseItemLinksStatuses = { href: string };
8744 type PullsListResponseItemLinksCommits = { href: string };
8745 type PullsListResponseItemLinksReviewComment = { href: string };
8746 type PullsListResponseItemLinksReviewComments = { href: string };
8747 type PullsListResponseItemLinksComments = { href: string };
8748 type PullsListResponseItemLinksIssue = { href: string };
8749 type PullsListResponseItemLinksHtml = { href: string };
8750 type PullsListResponseItemLinksSelf = { href: string };
8751 type PullsListResponseItemLinks = {
8752 self: PullsListResponseItemLinksSelf;
8753 html: PullsListResponseItemLinksHtml;
8754 issue: PullsListResponseItemLinksIssue;
8755 comments: PullsListResponseItemLinksComments;
8756 review_comments: PullsListResponseItemLinksReviewComments;
8757 review_comment: PullsListResponseItemLinksReviewComment;
8758 commits: PullsListResponseItemLinksCommits;
8759 statuses: PullsListResponseItemLinksStatuses;
8760 };
8761 type PullsListResponseItemBaseRepoPermissions = {
8762 admin: boolean;
8763 push: boolean;
8764 pull: boolean;
8765 };
8766 type PullsListResponseItemBaseRepoOwner = {
8767 login: string;
8768 id: number;
8769 node_id: string;
8770 avatar_url: string;
8771 gravatar_id: string;
8772 url: string;
8773 html_url: string;
8774 followers_url: string;
8775 following_url: string;
8776 gists_url: string;
8777 starred_url: string;
8778 subscriptions_url: string;
8779 organizations_url: string;
8780 repos_url: string;
8781 events_url: string;
8782 received_events_url: string;
8783 type: string;
8784 site_admin: boolean;
8785 };
8786 type PullsListResponseItemBaseRepo = {
8787 id: number;
8788 node_id: string;
8789 name: string;
8790 full_name: string;
8791 owner: PullsListResponseItemBaseRepoOwner;
8792 private: boolean;
8793 html_url: string;
8794 description: string;
8795 fork: boolean;
8796 url: string;
8797 archive_url: string;
8798 assignees_url: string;
8799 blobs_url: string;
8800 branches_url: string;
8801 collaborators_url: string;
8802 comments_url: string;
8803 commits_url: string;
8804 compare_url: string;
8805 contents_url: string;
8806 contributors_url: string;
8807 deployments_url: string;
8808 downloads_url: string;
8809 events_url: string;
8810 forks_url: string;
8811 git_commits_url: string;
8812 git_refs_url: string;
8813 git_tags_url: string;
8814 git_url: string;
8815 issue_comment_url: string;
8816 issue_events_url: string;
8817 issues_url: string;
8818 keys_url: string;
8819 labels_url: string;
8820 languages_url: string;
8821 merges_url: string;
8822 milestones_url: string;
8823 notifications_url: string;
8824 pulls_url: string;
8825 releases_url: string;
8826 ssh_url: string;
8827 stargazers_url: string;
8828 statuses_url: string;
8829 subscribers_url: string;
8830 subscription_url: string;
8831 tags_url: string;
8832 teams_url: string;
8833 trees_url: string;
8834 clone_url: string;
8835 mirror_url: string;
8836 hooks_url: string;
8837 svn_url: string;
8838 homepage: string;
8839 language: null;
8840 forks_count: number;
8841 stargazers_count: number;
8842 watchers_count: number;
8843 size: number;
8844 default_branch: string;
8845 open_issues_count: number;
8846 topics: Array<string>;
8847 has_issues: boolean;
8848 has_projects: boolean;
8849 has_wiki: boolean;
8850 has_pages: boolean;
8851 has_downloads: boolean;
8852 archived: boolean;
8853 pushed_at: string;
8854 created_at: string;
8855 updated_at: string;
8856 permissions: PullsListResponseItemBaseRepoPermissions;
8857 allow_rebase_merge: boolean;
8858 allow_squash_merge: boolean;
8859 allow_merge_commit: boolean;
8860 subscribers_count: number;
8861 network_count: number;
8862 };
8863 type PullsListResponseItemBaseUser = {
8864 login: string;
8865 id: number;
8866 node_id: string;
8867 avatar_url: string;
8868 gravatar_id: string;
8869 url: string;
8870 html_url: string;
8871 followers_url: string;
8872 following_url: string;
8873 gists_url: string;
8874 starred_url: string;
8875 subscriptions_url: string;
8876 organizations_url: string;
8877 repos_url: string;
8878 events_url: string;
8879 received_events_url: string;
8880 type: string;
8881 site_admin: boolean;
8882 };
8883 type PullsListResponseItemBase = {
8884 label: string;
8885 ref: string;
8886 sha: string;
8887 user: PullsListResponseItemBaseUser;
8888 repo: PullsListResponseItemBaseRepo;
8889 };
8890 type PullsListResponseItemHeadRepoPermissions = {
8891 admin: boolean;
8892 push: boolean;
8893 pull: boolean;
8894 };
8895 type PullsListResponseItemHeadRepoOwner = {
8896 login: string;
8897 id: number;
8898 node_id: string;
8899 avatar_url: string;
8900 gravatar_id: string;
8901 url: string;
8902 html_url: string;
8903 followers_url: string;
8904 following_url: string;
8905 gists_url: string;
8906 starred_url: string;
8907 subscriptions_url: string;
8908 organizations_url: string;
8909 repos_url: string;
8910 events_url: string;
8911 received_events_url: string;
8912 type: string;
8913 site_admin: boolean;
8914 };
8915 type PullsListResponseItemHeadRepo = {
8916 id: number;
8917 node_id: string;
8918 name: string;
8919 full_name: string;
8920 owner: PullsListResponseItemHeadRepoOwner;
8921 private: boolean;
8922 html_url: string;
8923 description: string;
8924 fork: boolean;
8925 url: string;
8926 archive_url: string;
8927 assignees_url: string;
8928 blobs_url: string;
8929 branches_url: string;
8930 collaborators_url: string;
8931 comments_url: string;
8932 commits_url: string;
8933 compare_url: string;
8934 contents_url: string;
8935 contributors_url: string;
8936 deployments_url: string;
8937 downloads_url: string;
8938 events_url: string;
8939 forks_url: string;
8940 git_commits_url: string;
8941 git_refs_url: string;
8942 git_tags_url: string;
8943 git_url: string;
8944 issue_comment_url: string;
8945 issue_events_url: string;
8946 issues_url: string;
8947 keys_url: string;
8948 labels_url: string;
8949 languages_url: string;
8950 merges_url: string;
8951 milestones_url: string;
8952 notifications_url: string;
8953 pulls_url: string;
8954 releases_url: string;
8955 ssh_url: string;
8956 stargazers_url: string;
8957 statuses_url: string;
8958 subscribers_url: string;
8959 subscription_url: string;
8960 tags_url: string;
8961 teams_url: string;
8962 trees_url: string;
8963 clone_url: string;
8964 mirror_url: string;
8965 hooks_url: string;
8966 svn_url: string;
8967 homepage: string;
8968 language: null;
8969 forks_count: number;
8970 stargazers_count: number;
8971 watchers_count: number;
8972 size: number;
8973 default_branch: string;
8974 open_issues_count: number;
8975 topics: Array<string>;
8976 has_issues: boolean;
8977 has_projects: boolean;
8978 has_wiki: boolean;
8979 has_pages: boolean;
8980 has_downloads: boolean;
8981 archived: boolean;
8982 pushed_at: string;
8983 created_at: string;
8984 updated_at: string;
8985 permissions: PullsListResponseItemHeadRepoPermissions;
8986 allow_rebase_merge: boolean;
8987 allow_squash_merge: boolean;
8988 allow_merge_commit: boolean;
8989 subscribers_count: number;
8990 network_count: number;
8991 };
8992 type PullsListResponseItemHeadUser = {
8993 login: string;
8994 id: number;
8995 node_id: string;
8996 avatar_url: string;
8997 gravatar_id: string;
8998 url: string;
8999 html_url: string;
9000 followers_url: string;
9001 following_url: string;
9002 gists_url: string;
9003 starred_url: string;
9004 subscriptions_url: string;
9005 organizations_url: string;
9006 repos_url: string;
9007 events_url: string;
9008 received_events_url: string;
9009 type: string;
9010 site_admin: boolean;
9011 };
9012 type PullsListResponseItemHead = {
9013 label: string;
9014 ref: string;
9015 sha: string;
9016 user: PullsListResponseItemHeadUser;
9017 repo: PullsListResponseItemHeadRepo;
9018 };
9019 type PullsListResponseItemRequestedTeamsItem = {
9020 id: number;
9021 node_id: string;
9022 url: string;
9023 name: string;
9024 slug: string;
9025 description: string;
9026 privacy: string;
9027 permission: string;
9028 members_url: string;
9029 repositories_url: string;
9030 parent: null;
9031 };
9032 type PullsListResponseItemRequestedReviewersItem = {
9033 login: string;
9034 id: number;
9035 node_id: string;
9036 avatar_url: string;
9037 gravatar_id: string;
9038 url: string;
9039 html_url: string;
9040 followers_url: string;
9041 following_url: string;
9042 gists_url: string;
9043 starred_url: string;
9044 subscriptions_url: string;
9045 organizations_url: string;
9046 repos_url: string;
9047 events_url: string;
9048 received_events_url: string;
9049 type: string;
9050 site_admin: boolean;
9051 };
9052 type PullsListResponseItemAssigneesItem = {
9053 login: string;
9054 id: number;
9055 node_id: string;
9056 avatar_url: string;
9057 gravatar_id: string;
9058 url: string;
9059 html_url: string;
9060 followers_url: string;
9061 following_url: string;
9062 gists_url: string;
9063 starred_url: string;
9064 subscriptions_url: string;
9065 organizations_url: string;
9066 repos_url: string;
9067 events_url: string;
9068 received_events_url: string;
9069 type: string;
9070 site_admin: boolean;
9071 };
9072 type PullsListResponseItemAssignee = {
9073 login: string;
9074 id: number;
9075 node_id: string;
9076 avatar_url: string;
9077 gravatar_id: string;
9078 url: string;
9079 html_url: string;
9080 followers_url: string;
9081 following_url: string;
9082 gists_url: string;
9083 starred_url: string;
9084 subscriptions_url: string;
9085 organizations_url: string;
9086 repos_url: string;
9087 events_url: string;
9088 received_events_url: string;
9089 type: string;
9090 site_admin: boolean;
9091 };
9092 type PullsListResponseItemMilestoneCreator = {
9093 login: string;
9094 id: number;
9095 node_id: string;
9096 avatar_url: string;
9097 gravatar_id: string;
9098 url: string;
9099 html_url: string;
9100 followers_url: string;
9101 following_url: string;
9102 gists_url: string;
9103 starred_url: string;
9104 subscriptions_url: string;
9105 organizations_url: string;
9106 repos_url: string;
9107 events_url: string;
9108 received_events_url: string;
9109 type: string;
9110 site_admin: boolean;
9111 };
9112 type PullsListResponseItemMilestone = {
9113 url: string;
9114 html_url: string;
9115 labels_url: string;
9116 id: number;
9117 node_id: string;
9118 number: number;
9119 state: string;
9120 title: string;
9121 description: string;
9122 creator: PullsListResponseItemMilestoneCreator;
9123 open_issues: number;
9124 closed_issues: number;
9125 created_at: string;
9126 updated_at: string;
9127 closed_at: string;
9128 due_on: string;
9129 };
9130 type PullsListResponseItemLabelsItem = {
9131 id: number;
9132 node_id: string;
9133 url: string;
9134 name: string;
9135 description: string;
9136 color: string;
9137 default: boolean;
9138 };
9139 type PullsListResponseItemUser = {
9140 login: string;
9141 id: number;
9142 node_id: string;
9143 avatar_url: string;
9144 gravatar_id: string;
9145 url: string;
9146 html_url: string;
9147 followers_url: string;
9148 following_url: string;
9149 gists_url: string;
9150 starred_url: string;
9151 subscriptions_url: string;
9152 organizations_url: string;
9153 repos_url: string;
9154 events_url: string;
9155 received_events_url: string;
9156 type: string;
9157 site_admin: boolean;
9158 };
9159 type PullsListResponseItem = {
9160 url: string;
9161 id: number;
9162 node_id: string;
9163 html_url: string;
9164 diff_url: string;
9165 patch_url: string;
9166 issue_url: string;
9167 commits_url: string;
9168 review_comments_url: string;
9169 review_comment_url: string;
9170 comments_url: string;
9171 statuses_url: string;
9172 number: number;
9173 state: string;
9174 locked: boolean;
9175 title: string;
9176 user: PullsListResponseItemUser;
9177 body: string;
9178 labels: Array<PullsListResponseItemLabelsItem>;
9179 milestone: PullsListResponseItemMilestone;
9180 active_lock_reason: string;
9181 created_at: string;
9182 updated_at: string;
9183 closed_at: string;
9184 merged_at: string;
9185 merge_commit_sha: string;
9186 assignee: PullsListResponseItemAssignee;
9187 assignees: Array<PullsListResponseItemAssigneesItem>;
9188 requested_reviewers: Array<PullsListResponseItemRequestedReviewersItem>;
9189 requested_teams: Array<PullsListResponseItemRequestedTeamsItem>;
9190 head: PullsListResponseItemHead;
9191 base: PullsListResponseItemBase;
9192 _links: PullsListResponseItemLinks;
9193 author_association: string;
9194 draft: boolean;
9195 };
9196 type ProjectsMoveColumnResponse = {};
9197 type ProjectsDeleteColumnResponse = {};
9198 type ProjectsListColumnsResponseItem = {
9199 url: string;
9200 project_url: string;
9201 cards_url: string;
9202 id: number;
9203 node_id: string;
9204 name: string;
9205 created_at: string;
9206 updated_at: string;
9207 };
9208 type ProjectsRemoveCollaboratorResponse = {};
9209 type ProjectsAddCollaboratorResponse = {};
9210 type ProjectsReviewUserPermissionLevelResponseUser = {
9211 login: string;
9212 id: number;
9213 node_id: string;
9214 avatar_url: string;
9215 gravatar_id: string;
9216 url: string;
9217 html_url: string;
9218 followers_url: string;
9219 following_url: string;
9220 gists_url: string;
9221 starred_url: string;
9222 subscriptions_url: string;
9223 organizations_url: string;
9224 repos_url: string;
9225 events_url: string;
9226 received_events_url: string;
9227 type: string;
9228 site_admin: boolean;
9229 };
9230 type ProjectsReviewUserPermissionLevelResponse = {
9231 permission: string;
9232 user: ProjectsReviewUserPermissionLevelResponseUser;
9233 };
9234 type ProjectsListCollaboratorsResponseItem = {
9235 login: string;
9236 id: number;
9237 node_id: string;
9238 avatar_url: string;
9239 gravatar_id: string;
9240 url: string;
9241 html_url: string;
9242 followers_url: string;
9243 following_url: string;
9244 gists_url: string;
9245 starred_url: string;
9246 subscriptions_url: string;
9247 organizations_url: string;
9248 repos_url: string;
9249 events_url: string;
9250 received_events_url: string;
9251 type: string;
9252 site_admin: boolean;
9253 };
9254 type ProjectsMoveCardResponse = {};
9255 type ProjectsDeleteCardResponse = {};
9256 type ProjectsCreateCardResponseCreator = {
9257 login: string;
9258 id: number;
9259 node_id: string;
9260 avatar_url: string;
9261 gravatar_id: string;
9262 url: string;
9263 html_url: string;
9264 followers_url: string;
9265 following_url: string;
9266 gists_url: string;
9267 starred_url: string;
9268 subscriptions_url: string;
9269 organizations_url: string;
9270 repos_url: string;
9271 events_url: string;
9272 received_events_url: string;
9273 type: string;
9274 site_admin: boolean;
9275 };
9276 type ProjectsCreateCardResponse = {
9277 url: string;
9278 id: number;
9279 node_id: string;
9280 note: string;
9281 creator: ProjectsCreateCardResponseCreator;
9282 created_at: string;
9283 updated_at: string;
9284 archived: boolean;
9285 column_url: string;
9286 content_url: string;
9287 project_url: string;
9288 };
9289 type ProjectsListCardsResponseItemCreator = {
9290 login: string;
9291 id: number;
9292 node_id: string;
9293 avatar_url: string;
9294 gravatar_id: string;
9295 url: string;
9296 html_url: string;
9297 followers_url: string;
9298 following_url: string;
9299 gists_url: string;
9300 starred_url: string;
9301 subscriptions_url: string;
9302 organizations_url: string;
9303 repos_url: string;
9304 events_url: string;
9305 received_events_url: string;
9306 type: string;
9307 site_admin: boolean;
9308 };
9309 type ProjectsListCardsResponseItem = {
9310 url: string;
9311 id: number;
9312 node_id: string;
9313 note: string;
9314 creator: ProjectsListCardsResponseItemCreator;
9315 created_at: string;
9316 updated_at: string;
9317 archived: boolean;
9318 column_url: string;
9319 content_url: string;
9320 project_url: string;
9321 };
9322 type ProjectsUpdateResponseCreator = {
9323 login: string;
9324 id: number;
9325 node_id: string;
9326 avatar_url: string;
9327 gravatar_id: string;
9328 url: string;
9329 html_url: string;
9330 followers_url: string;
9331 following_url: string;
9332 gists_url: string;
9333 starred_url: string;
9334 subscriptions_url: string;
9335 organizations_url: string;
9336 repos_url: string;
9337 events_url: string;
9338 received_events_url: string;
9339 type: string;
9340 site_admin: boolean;
9341 };
9342 type ProjectsUpdateResponse = {
9343 owner_url: string;
9344 url: string;
9345 html_url: string;
9346 columns_url: string;
9347 id: number;
9348 node_id: string;
9349 name: string;
9350 body: string;
9351 number: number;
9352 state: string;
9353 creator: ProjectsUpdateResponseCreator;
9354 created_at: string;
9355 updated_at: string;
9356 };
9357 type ProjectsCreateForAuthenticatedUserResponseCreator = {
9358 login: string;
9359 id: number;
9360 node_id: string;
9361 avatar_url: string;
9362 gravatar_id: string;
9363 url: string;
9364 html_url: string;
9365 followers_url: string;
9366 following_url: string;
9367 gists_url: string;
9368 starred_url: string;
9369 subscriptions_url: string;
9370 organizations_url: string;
9371 repos_url: string;
9372 events_url: string;
9373 received_events_url: string;
9374 type: string;
9375 site_admin: boolean;
9376 };
9377 type ProjectsCreateForAuthenticatedUserResponse = {
9378 owner_url: string;
9379 url: string;
9380 html_url: string;
9381 columns_url: string;
9382 id: number;
9383 node_id: string;
9384 name: string;
9385 body: string;
9386 number: number;
9387 state: string;
9388 creator: ProjectsCreateForAuthenticatedUserResponseCreator;
9389 created_at: string;
9390 updated_at: string;
9391 };
9392 type ProjectsCreateForOrgResponseCreator = {
9393 login: string;
9394 id: number;
9395 node_id: string;
9396 avatar_url: string;
9397 gravatar_id: string;
9398 url: string;
9399 html_url: string;
9400 followers_url: string;
9401 following_url: string;
9402 gists_url: string;
9403 starred_url: string;
9404 subscriptions_url: string;
9405 organizations_url: string;
9406 repos_url: string;
9407 events_url: string;
9408 received_events_url: string;
9409 type: string;
9410 site_admin: boolean;
9411 };
9412 type ProjectsCreateForOrgResponse = {
9413 owner_url: string;
9414 url: string;
9415 html_url: string;
9416 columns_url: string;
9417 id: number;
9418 node_id: string;
9419 name: string;
9420 body: string;
9421 number: number;
9422 state: string;
9423 creator: ProjectsCreateForOrgResponseCreator;
9424 created_at: string;
9425 updated_at: string;
9426 };
9427 type ProjectsCreateForRepoResponseCreator = {
9428 login: string;
9429 id: number;
9430 node_id: string;
9431 avatar_url: string;
9432 gravatar_id: string;
9433 url: string;
9434 html_url: string;
9435 followers_url: string;
9436 following_url: string;
9437 gists_url: string;
9438 starred_url: string;
9439 subscriptions_url: string;
9440 organizations_url: string;
9441 repos_url: string;
9442 events_url: string;
9443 received_events_url: string;
9444 type: string;
9445 site_admin: boolean;
9446 };
9447 type ProjectsCreateForRepoResponse = {
9448 owner_url: string;
9449 url: string;
9450 html_url: string;
9451 columns_url: string;
9452 id: number;
9453 node_id: string;
9454 name: string;
9455 body: string;
9456 number: number;
9457 state: string;
9458 creator: ProjectsCreateForRepoResponseCreator;
9459 created_at: string;
9460 updated_at: string;
9461 };
9462 type ProjectsGetResponseCreator = {
9463 login: string;
9464 id: number;
9465 node_id: string;
9466 avatar_url: string;
9467 gravatar_id: string;
9468 url: string;
9469 html_url: string;
9470 followers_url: string;
9471 following_url: string;
9472 gists_url: string;
9473 starred_url: string;
9474 subscriptions_url: string;
9475 organizations_url: string;
9476 repos_url: string;
9477 events_url: string;
9478 received_events_url: string;
9479 type: string;
9480 site_admin: boolean;
9481 };
9482 type ProjectsGetResponse = {
9483 owner_url: string;
9484 url: string;
9485 html_url: string;
9486 columns_url: string;
9487 id: number;
9488 node_id: string;
9489 name: string;
9490 body: string;
9491 number: number;
9492 state: string;
9493 creator: ProjectsGetResponseCreator;
9494 created_at: string;
9495 updated_at: string;
9496 };
9497 type ProjectsListForUserResponseItemCreator = {
9498 login: string;
9499 id: number;
9500 node_id: string;
9501 avatar_url: string;
9502 gravatar_id: string;
9503 url: string;
9504 html_url: string;
9505 followers_url: string;
9506 following_url: string;
9507 gists_url: string;
9508 starred_url: string;
9509 subscriptions_url: string;
9510 organizations_url: string;
9511 repos_url: string;
9512 events_url: string;
9513 received_events_url: string;
9514 type: string;
9515 site_admin: boolean;
9516 };
9517 type ProjectsListForUserResponseItem = {
9518 owner_url: string;
9519 url: string;
9520 html_url: string;
9521 columns_url: string;
9522 id: number;
9523 node_id: string;
9524 name: string;
9525 body: string;
9526 number: number;
9527 state: string;
9528 creator: ProjectsListForUserResponseItemCreator;
9529 created_at: string;
9530 updated_at: string;
9531 };
9532 type ProjectsListForOrgResponseItemCreator = {
9533 login: string;
9534 id: number;
9535 node_id: string;
9536 avatar_url: string;
9537 gravatar_id: string;
9538 url: string;
9539 html_url: string;
9540 followers_url: string;
9541 following_url: string;
9542 gists_url: string;
9543 starred_url: string;
9544 subscriptions_url: string;
9545 organizations_url: string;
9546 repos_url: string;
9547 events_url: string;
9548 received_events_url: string;
9549 type: string;
9550 site_admin: boolean;
9551 };
9552 type ProjectsListForOrgResponseItem = {
9553 owner_url: string;
9554 url: string;
9555 html_url: string;
9556 columns_url: string;
9557 id: number;
9558 node_id: string;
9559 name: string;
9560 body: string;
9561 number: number;
9562 state: string;
9563 creator: ProjectsListForOrgResponseItemCreator;
9564 created_at: string;
9565 updated_at: string;
9566 };
9567 type ProjectsListForRepoResponseItemCreator = {
9568 login: string;
9569 id: number;
9570 node_id: string;
9571 avatar_url: string;
9572 gravatar_id: string;
9573 url: string;
9574 html_url: string;
9575 followers_url: string;
9576 following_url: string;
9577 gists_url: string;
9578 starred_url: string;
9579 subscriptions_url: string;
9580 organizations_url: string;
9581 repos_url: string;
9582 events_url: string;
9583 received_events_url: string;
9584 type: string;
9585 site_admin: boolean;
9586 };
9587 type ProjectsListForRepoResponseItem = {
9588 owner_url: string;
9589 url: string;
9590 html_url: string;
9591 columns_url: string;
9592 id: number;
9593 node_id: string;
9594 name: string;
9595 body: string;
9596 number: number;
9597 state: string;
9598 creator: ProjectsListForRepoResponseItemCreator;
9599 created_at: string;
9600 updated_at: string;
9601 };
9602 type OrgsDeleteHookResponse = {};
9603 type OrgsPingHookResponse = {};
9604 type OrgsUpdateHookResponseConfig = { url: string; content_type: string };
9605 type OrgsUpdateHookResponse = {
9606 id: number;
9607 url: string;
9608 ping_url: string;
9609 name: string;
9610 events: Array<string>;
9611 active: boolean;
9612 config: OrgsUpdateHookResponseConfig;
9613 updated_at: string;
9614 created_at: string;
9615 };
9616 type OrgsCreateHookResponseConfig = { url: string; content_type: string };
9617 type OrgsCreateHookResponse = {
9618 id: number;
9619 url: string;
9620 ping_url: string;
9621 name: string;
9622 events: Array<string>;
9623 active: boolean;
9624 config: OrgsCreateHookResponseConfig;
9625 updated_at: string;
9626 created_at: string;
9627 };
9628 type OrgsGetHookResponseConfig = { url: string; content_type: string };
9629 type OrgsGetHookResponse = {
9630 id: number;
9631 url: string;
9632 ping_url: string;
9633 name: string;
9634 events: Array<string>;
9635 active: boolean;
9636 config: OrgsGetHookResponseConfig;
9637 updated_at: string;
9638 created_at: string;
9639 };
9640 type OrgsListHooksResponseItemConfig = { url: string; content_type: string };
9641 type OrgsListHooksResponseItem = {
9642 id: number;
9643 url: string;
9644 ping_url: string;
9645 name: string;
9646 events: Array<string>;
9647 active: boolean;
9648 config: OrgsListHooksResponseItemConfig;
9649 updated_at: string;
9650 created_at: string;
9651 };
9652 type OrgsConvertMemberToOutsideCollaboratorResponse = {};
9653 type OrgsRemoveOutsideCollaboratorResponse = {};
9654 type OrgsListOutsideCollaboratorsResponseItem = {
9655 login: string;
9656 id: number;
9657 node_id: string;
9658 avatar_url: string;
9659 gravatar_id: string;
9660 url: string;
9661 html_url: string;
9662 followers_url: string;
9663 following_url: string;
9664 gists_url: string;
9665 starred_url: string;
9666 subscriptions_url: string;
9667 organizations_url: string;
9668 repos_url: string;
9669 events_url: string;
9670 received_events_url: string;
9671 type: string;
9672 site_admin: boolean;
9673 };
9674 type OrgsUpdateMembershipResponseUser = {
9675 login: string;
9676 id: number;
9677 node_id: string;
9678 avatar_url: string;
9679 gravatar_id: string;
9680 url: string;
9681 html_url: string;
9682 followers_url: string;
9683 following_url: string;
9684 gists_url: string;
9685 starred_url: string;
9686 subscriptions_url: string;
9687 organizations_url: string;
9688 repos_url: string;
9689 events_url: string;
9690 received_events_url: string;
9691 type: string;
9692 site_admin: boolean;
9693 };
9694 type OrgsUpdateMembershipResponseOrganization = {
9695 login: string;
9696 id: number;
9697 node_id: string;
9698 url: string;
9699 repos_url: string;
9700 events_url: string;
9701 hooks_url: string;
9702 issues_url: string;
9703 members_url: string;
9704 public_members_url: string;
9705 avatar_url: string;
9706 description: string;
9707 };
9708 type OrgsUpdateMembershipResponse = {
9709 url: string;
9710 state: string;
9711 role: string;
9712 organization_url: string;
9713 organization: OrgsUpdateMembershipResponseOrganization;
9714 user: OrgsUpdateMembershipResponseUser;
9715 };
9716 type OrgsGetMembershipForAuthenticatedUserResponseUser = {
9717 login: string;
9718 id: number;
9719 node_id: string;
9720 avatar_url: string;
9721 gravatar_id: string;
9722 url: string;
9723 html_url: string;
9724 followers_url: string;
9725 following_url: string;
9726 gists_url: string;
9727 starred_url: string;
9728 subscriptions_url: string;
9729 organizations_url: string;
9730 repos_url: string;
9731 events_url: string;
9732 received_events_url: string;
9733 type: string;
9734 site_admin: boolean;
9735 };
9736 type OrgsGetMembershipForAuthenticatedUserResponseOrganization = {
9737 login: string;
9738 id: number;
9739 node_id: string;
9740 url: string;
9741 repos_url: string;
9742 events_url: string;
9743 hooks_url: string;
9744 issues_url: string;
9745 members_url: string;
9746 public_members_url: string;
9747 avatar_url: string;
9748 description: string;
9749 };
9750 type OrgsGetMembershipForAuthenticatedUserResponse = {
9751 url: string;
9752 state: string;
9753 role: string;
9754 organization_url: string;
9755 organization: OrgsGetMembershipForAuthenticatedUserResponseOrganization;
9756 user: OrgsGetMembershipForAuthenticatedUserResponseUser;
9757 };
9758 type OrgsListMembershipsResponseItemUser = {
9759 login: string;
9760 id: number;
9761 node_id: string;
9762 avatar_url: string;
9763 gravatar_id: string;
9764 url: string;
9765 html_url: string;
9766 followers_url: string;
9767 following_url: string;
9768 gists_url: string;
9769 starred_url: string;
9770 subscriptions_url: string;
9771 organizations_url: string;
9772 repos_url: string;
9773 events_url: string;
9774 received_events_url: string;
9775 type: string;
9776 site_admin: boolean;
9777 };
9778 type OrgsListMembershipsResponseItemOrganization = {
9779 login: string;
9780 id: number;
9781 node_id: string;
9782 url: string;
9783 repos_url: string;
9784 events_url: string;
9785 hooks_url: string;
9786 issues_url: string;
9787 members_url: string;
9788 public_members_url: string;
9789 avatar_url: string;
9790 description: string;
9791 };
9792 type OrgsListMembershipsResponseItem = {
9793 url: string;
9794 state: string;
9795 role: string;
9796 organization_url: string;
9797 organization: OrgsListMembershipsResponseItemOrganization;
9798 user: OrgsListMembershipsResponseItemUser;
9799 };
9800 type OrgsCreateInvitationResponseInviter = {
9801 login: string;
9802 id: number;
9803 node_id: string;
9804 avatar_url: string;
9805 gravatar_id: string;
9806 url: string;
9807 html_url: string;
9808 followers_url: string;
9809 following_url: string;
9810 gists_url: string;
9811 starred_url: string;
9812 subscriptions_url: string;
9813 organizations_url: string;
9814 repos_url: string;
9815 events_url: string;
9816 received_events_url: string;
9817 type: string;
9818 site_admin: boolean;
9819 };
9820 type OrgsCreateInvitationResponse = {
9821 id: number;
9822 login: string;
9823 email: string;
9824 role: string;
9825 created_at: string;
9826 inviter: OrgsCreateInvitationResponseInviter;
9827 team_count: number;
9828 invitation_team_url: string;
9829 };
9830 type OrgsListPendingInvitationsResponseItemInviter = {
9831 login: string;
9832 id: number;
9833 node_id: string;
9834 avatar_url: string;
9835 gravatar_id: string;
9836 url: string;
9837 html_url: string;
9838 followers_url: string;
9839 following_url: string;
9840 gists_url: string;
9841 starred_url: string;
9842 subscriptions_url: string;
9843 organizations_url: string;
9844 repos_url: string;
9845 events_url: string;
9846 received_events_url: string;
9847 type: string;
9848 site_admin: boolean;
9849 };
9850 type OrgsListPendingInvitationsResponseItem = {
9851 id: number;
9852 login: string;
9853 email: string;
9854 role: string;
9855 created_at: string;
9856 inviter: OrgsListPendingInvitationsResponseItemInviter;
9857 team_count: number;
9858 invitation_team_url: string;
9859 };
9860 type OrgsListInvitationTeamsResponseItem = {
9861 id: number;
9862 node_id: string;
9863 url: string;
9864 name: string;
9865 slug: string;
9866 description: string;
9867 privacy: string;
9868 permission: string;
9869 members_url: string;
9870 repositories_url: string;
9871 parent: null;
9872 };
9873 type OrgsRemoveMembershipResponse = {};
9874 type OrgsConcealMembershipResponse = {};
9875 type OrgsPublicizeMembershipResponse = {};
9876 type OrgsListPublicMembersResponseItem = {
9877 login: string;
9878 id: number;
9879 node_id: string;
9880 avatar_url: string;
9881 gravatar_id: string;
9882 url: string;
9883 html_url: string;
9884 followers_url: string;
9885 following_url: string;
9886 gists_url: string;
9887 starred_url: string;
9888 subscriptions_url: string;
9889 organizations_url: string;
9890 repos_url: string;
9891 events_url: string;
9892 received_events_url: string;
9893 type: string;
9894 site_admin: boolean;
9895 };
9896 type OrgsRemoveMemberResponse = {};
9897 type OrgsListMembersResponseItem = {
9898 login: string;
9899 id: number;
9900 node_id: string;
9901 avatar_url: string;
9902 gravatar_id: string;
9903 url: string;
9904 html_url: string;
9905 followers_url: string;
9906 following_url: string;
9907 gists_url: string;
9908 starred_url: string;
9909 subscriptions_url: string;
9910 organizations_url: string;
9911 repos_url: string;
9912 events_url: string;
9913 received_events_url: string;
9914 type: string;
9915 site_admin: boolean;
9916 };
9917 type OrgsUnblockUserResponse = {};
9918 type OrgsBlockUserResponse = {};
9919 type OrgsCheckBlockedUserResponse = {};
9920 type OrgsListBlockedUsersResponseItem = {
9921 login: string;
9922 id: number;
9923 node_id: string;
9924 avatar_url: string;
9925 gravatar_id: string;
9926 url: string;
9927 html_url: string;
9928 followers_url: string;
9929 following_url: string;
9930 gists_url: string;
9931 starred_url: string;
9932 subscriptions_url: string;
9933 organizations_url: string;
9934 repos_url: string;
9935 events_url: string;
9936 received_events_url: string;
9937 type: string;
9938 site_admin: boolean;
9939 };
9940 type OrgsUpdateResponsePlan = {
9941 name: string;
9942 space: number;
9943 private_repos: number;
9944 };
9945 type OrgsUpdateResponse = {
9946 login: string;
9947 id: number;
9948 node_id: string;
9949 url: string;
9950 repos_url: string;
9951 events_url: string;
9952 hooks_url: string;
9953 issues_url: string;
9954 members_url: string;
9955 public_members_url: string;
9956 avatar_url: string;
9957 description: string;
9958 name: string;
9959 company: string;
9960 blog: string;
9961 location: string;
9962 email: string;
9963 is_verified: boolean;
9964 has_organization_projects: boolean;
9965 has_repository_projects: boolean;
9966 public_repos: number;
9967 public_gists: number;
9968 followers: number;
9969 following: number;
9970 html_url: string;
9971 created_at: string;
9972 type: string;
9973 total_private_repos: number;
9974 owned_private_repos: number;
9975 private_gists: number;
9976 disk_usage: number;
9977 collaborators: number;
9978 billing_email: string;
9979 plan: OrgsUpdateResponsePlan;
9980 default_repository_settings: string;
9981 members_can_create_repositories: boolean;
9982 two_factor_requirement_enabled: boolean;
9983 members_allowed_repository_creation_type: string;
9984 };
9985 type OrgsGetResponsePlan = {
9986 name: string;
9987 space: number;
9988 private_repos: number;
9989 };
9990 type OrgsGetResponse = {
9991 login: string;
9992 id: number;
9993 node_id: string;
9994 url: string;
9995 repos_url: string;
9996 events_url: string;
9997 hooks_url: string;
9998 issues_url: string;
9999 members_url: string;
10000 public_members_url: string;
10001 avatar_url: string;
10002 description: string;
10003 name: string;
10004 company: string;
10005 blog: string;
10006 location: string;
10007 email: string;
10008 is_verified: boolean;
10009 has_organization_projects: boolean;
10010 has_repository_projects: boolean;
10011 public_repos: number;
10012 public_gists: number;
10013 followers: number;
10014 following: number;
10015 html_url: string;
10016 created_at: string;
10017 type: string;
10018 total_private_repos: number;
10019 owned_private_repos: number;
10020 private_gists: number;
10021 disk_usage: number;
10022 collaborators: number;
10023 billing_email: string;
10024 plan: OrgsGetResponsePlan;
10025 default_repository_settings: string;
10026 members_can_create_repositories: boolean;
10027 two_factor_requirement_enabled: boolean;
10028 members_allowed_repository_creation_type: string;
10029 };
10030 type OrgsListForUserResponseItem = {
10031 login: string;
10032 id: number;
10033 node_id: string;
10034 url: string;
10035 repos_url: string;
10036 events_url: string;
10037 hooks_url: string;
10038 issues_url: string;
10039 members_url: string;
10040 public_members_url: string;
10041 avatar_url: string;
10042 description: string;
10043 };
10044 type OrgsListResponseItem = {
10045 login: string;
10046 id: number;
10047 node_id: string;
10048 url: string;
10049 repos_url: string;
10050 events_url: string;
10051 hooks_url: string;
10052 issues_url: string;
10053 members_url: string;
10054 public_members_url: string;
10055 avatar_url: string;
10056 description: string;
10057 };
10058 type OrgsListForAuthenticatedUserResponseItem = {
10059 login: string;
10060 id: number;
10061 node_id: string;
10062 url: string;
10063 repos_url: string;
10064 events_url: string;
10065 hooks_url: string;
10066 issues_url: string;
10067 members_url: string;
10068 public_members_url: string;
10069 avatar_url: string;
10070 description: string;
10071 };
10072 type RateLimitGetResponseRate = {
10073 limit: number;
10074 remaining: number;
10075 reset: number;
10076 };
10077 type RateLimitGetResponseResourcesGraphql = {
10078 limit: number;
10079 remaining: number;
10080 reset: number;
10081 };
10082 type RateLimitGetResponseResourcesSearch = {
10083 limit: number;
10084 remaining: number;
10085 reset: number;
10086 };
10087 type RateLimitGetResponseResourcesCore = {
10088 limit: number;
10089 remaining: number;
10090 reset: number;
10091 };
10092 type RateLimitGetResponseResources = {
10093 core: RateLimitGetResponseResourcesCore;
10094 search: RateLimitGetResponseResourcesSearch;
10095 graphql: RateLimitGetResponseResourcesGraphql;
10096 };
10097 type RateLimitGetResponse = {
10098 resources: RateLimitGetResponseResources;
10099 rate: RateLimitGetResponseRate;
10100 };
10101 type MetaGetResponse = {
10102 verifiable_password_authentication: boolean;
10103 hooks: Array<string>;
10104 git: Array<string>;
10105 pages: Array<string>;
10106 importer: Array<string>;
10107 };
10108 type MarkdownRenderRawResponse = {};
10109 type MarkdownRenderResponse = {};
10110 type LicensesGetForRepoResponseLicense = {
10111 key: string;
10112 name: string;
10113 spdx_id: string;
10114 url: string;
10115 node_id: string;
10116 };
10117 type LicensesGetForRepoResponseLinks = {
10118 self: string;
10119 git: string;
10120 html: string;
10121 };
10122 type LicensesGetForRepoResponse = {
10123 name: string;
10124 path: string;
10125 sha: string;
10126 size: number;
10127 url: string;
10128 html_url: string;
10129 git_url: string;
10130 download_url: string;
10131 type: string;
10132 content: string;
10133 encoding: string;
10134 _links: LicensesGetForRepoResponseLinks;
10135 license: LicensesGetForRepoResponseLicense;
10136 };
10137 type LicensesGetResponse = {
10138 key: string;
10139 name: string;
10140 spdx_id: string;
10141 url: string;
10142 node_id: string;
10143 html_url: string;
10144 description: string;
10145 implementation: string;
10146 permissions: Array<string>;
10147 conditions: Array<string>;
10148 limitations: Array<string>;
10149 body: string;
10150 featured: boolean;
10151 };
10152 type LicensesListResponseItem = {
10153 key: string;
10154 name: string;
10155 spdx_id: string;
10156 url: string;
10157 node_id?: string;
10158 };
10159 type GitignoreGetTemplateResponse = { name?: string; source?: string };
10160 type EmojisGetResponse = {};
10161 type CodesOfConductGetForRepoResponse = {
10162 key: string;
10163 name: string;
10164 url: string;
10165 body: string;
10166 };
10167 type CodesOfConductGetConductCodeResponse = {
10168 key: string;
10169 name: string;
10170 url: string;
10171 body: string;
10172 };
10173 type CodesOfConductListConductCodesResponseItem = {
10174 key: string;
10175 name: string;
10176 url: string;
10177 };
10178 type MigrationsUnlockRepoForAuthenticatedUserResponse = {};
10179 type MigrationsDeleteArchiveForAuthenticatedUserResponse = {};
10180 type MigrationsGetArchiveForAuthenticatedUserResponse = {};
10181 type MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemPermissions = {
10182 admin: boolean;
10183 push: boolean;
10184 pull: boolean;
10185 };
10186 type MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemOwner = {
10187 login: string;
10188 id: number;
10189 node_id: string;
10190 avatar_url: string;
10191 gravatar_id: string;
10192 url: string;
10193 html_url: string;
10194 followers_url: string;
10195 following_url: string;
10196 gists_url: string;
10197 starred_url: string;
10198 subscriptions_url: string;
10199 organizations_url: string;
10200 repos_url: string;
10201 events_url: string;
10202 received_events_url: string;
10203 type: string;
10204 site_admin: boolean;
10205 };
10206 type MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItem = {
10207 id: number;
10208 node_id: string;
10209 name: string;
10210 full_name: string;
10211 owner: MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemOwner;
10212 private: boolean;
10213 html_url: string;
10214 description: string;
10215 fork: boolean;
10216 url: string;
10217 archive_url: string;
10218 assignees_url: string;
10219 blobs_url: string;
10220 branches_url: string;
10221 collaborators_url: string;
10222 comments_url: string;
10223 commits_url: string;
10224 compare_url: string;
10225 contents_url: string;
10226 contributors_url: string;
10227 deployments_url: string;
10228 downloads_url: string;
10229 events_url: string;
10230 forks_url: string;
10231 git_commits_url: string;
10232 git_refs_url: string;
10233 git_tags_url: string;
10234 git_url: string;
10235 issue_comment_url: string;
10236 issue_events_url: string;
10237 issues_url: string;
10238 keys_url: string;
10239 labels_url: string;
10240 languages_url: string;
10241 merges_url: string;
10242 milestones_url: string;
10243 notifications_url: string;
10244 pulls_url: string;
10245 releases_url: string;
10246 ssh_url: string;
10247 stargazers_url: string;
10248 statuses_url: string;
10249 subscribers_url: string;
10250 subscription_url: string;
10251 tags_url: string;
10252 teams_url: string;
10253 trees_url: string;
10254 clone_url: string;
10255 mirror_url: string;
10256 hooks_url: string;
10257 svn_url: string;
10258 homepage: string;
10259 language: null;
10260 forks_count: number;
10261 stargazers_count: number;
10262 watchers_count: number;
10263 size: number;
10264 default_branch: string;
10265 open_issues_count: number;
10266 topics: Array<string>;
10267 has_issues: boolean;
10268 has_projects: boolean;
10269 has_wiki: boolean;
10270 has_pages: boolean;
10271 has_downloads: boolean;
10272 archived: boolean;
10273 pushed_at: string;
10274 created_at: string;
10275 updated_at: string;
10276 permissions: MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItemPermissions;
10277 allow_rebase_merge: boolean;
10278 allow_squash_merge: boolean;
10279 allow_merge_commit: boolean;
10280 subscribers_count: number;
10281 network_count: number;
10282 };
10283 type MigrationsGetStatusForAuthenticatedUserResponseOwner = {
10284 login: string;
10285 id: number;
10286 node_id: string;
10287 avatar_url: string;
10288 gravatar_id: string;
10289 url: string;
10290 html_url: string;
10291 followers_url: string;
10292 following_url: string;
10293 gists_url: string;
10294 starred_url: string;
10295 subscriptions_url: string;
10296 organizations_url: string;
10297 repos_url: string;
10298 events_url: string;
10299 received_events_url: string;
10300 type: string;
10301 site_admin: boolean;
10302 };
10303 type MigrationsGetStatusForAuthenticatedUserResponse = {
10304 id: number;
10305 owner: MigrationsGetStatusForAuthenticatedUserResponseOwner;
10306 guid: string;
10307 state: string;
10308 lock_repositories: boolean;
10309 exclude_attachments: boolean;
10310 repositories: Array<
10311 MigrationsGetStatusForAuthenticatedUserResponseRepositoriesItem
10312 >;
10313 url: string;
10314 created_at: string;
10315 updated_at: string;
10316 };
10317 type MigrationsListForAuthenticatedUserResponseItemRepositoriesItemPermissions = {
10318 admin: boolean;
10319 push: boolean;
10320 pull: boolean;
10321 };
10322 type MigrationsListForAuthenticatedUserResponseItemRepositoriesItemOwner = {
10323 login: string;
10324 id: number;
10325 node_id: string;
10326 avatar_url: string;
10327 gravatar_id: string;
10328 url: string;
10329 html_url: string;
10330 followers_url: string;
10331 following_url: string;
10332 gists_url: string;
10333 starred_url: string;
10334 subscriptions_url: string;
10335 organizations_url: string;
10336 repos_url: string;
10337 events_url: string;
10338 received_events_url: string;
10339 type: string;
10340 site_admin: boolean;
10341 };
10342 type MigrationsListForAuthenticatedUserResponseItemRepositoriesItem = {
10343 id: number;
10344 node_id: string;
10345 name: string;
10346 full_name: string;
10347 owner: MigrationsListForAuthenticatedUserResponseItemRepositoriesItemOwner;
10348 private: boolean;
10349 html_url: string;
10350 description: string;
10351 fork: boolean;
10352 url: string;
10353 archive_url: string;
10354 assignees_url: string;
10355 blobs_url: string;
10356 branches_url: string;
10357 collaborators_url: string;
10358 comments_url: string;
10359 commits_url: string;
10360 compare_url: string;
10361 contents_url: string;
10362 contributors_url: string;
10363 deployments_url: string;
10364 downloads_url: string;
10365 events_url: string;
10366 forks_url: string;
10367 git_commits_url: string;
10368 git_refs_url: string;
10369 git_tags_url: string;
10370 git_url: string;
10371 issue_comment_url: string;
10372 issue_events_url: string;
10373 issues_url: string;
10374 keys_url: string;
10375 labels_url: string;
10376 languages_url: string;
10377 merges_url: string;
10378 milestones_url: string;
10379 notifications_url: string;
10380 pulls_url: string;
10381 releases_url: string;
10382 ssh_url: string;
10383 stargazers_url: string;
10384 statuses_url: string;
10385 subscribers_url: string;
10386 subscription_url: string;
10387 tags_url: string;
10388 teams_url: string;
10389 trees_url: string;
10390 clone_url: string;
10391 mirror_url: string;
10392 hooks_url: string;
10393 svn_url: string;
10394 homepage: string;
10395 language: null;
10396 forks_count: number;
10397 stargazers_count: number;
10398 watchers_count: number;
10399 size: number;
10400 default_branch: string;
10401 open_issues_count: number;
10402 topics: Array<string>;
10403 has_issues: boolean;
10404 has_projects: boolean;
10405 has_wiki: boolean;
10406 has_pages: boolean;
10407 has_downloads: boolean;
10408 archived: boolean;
10409 pushed_at: string;
10410 created_at: string;
10411 updated_at: string;
10412 permissions: MigrationsListForAuthenticatedUserResponseItemRepositoriesItemPermissions;
10413 allow_rebase_merge: boolean;
10414 allow_squash_merge: boolean;
10415 allow_merge_commit: boolean;
10416 subscribers_count: number;
10417 network_count: number;
10418 };
10419 type MigrationsListForAuthenticatedUserResponseItemOwner = {
10420 login: string;
10421 id: number;
10422 node_id: string;
10423 avatar_url: string;
10424 gravatar_id: string;
10425 url: string;
10426 html_url: string;
10427 followers_url: string;
10428 following_url: string;
10429 gists_url: string;
10430 starred_url: string;
10431 subscriptions_url: string;
10432 organizations_url: string;
10433 repos_url: string;
10434 events_url: string;
10435 received_events_url: string;
10436 type: string;
10437 site_admin: boolean;
10438 };
10439 type MigrationsListForAuthenticatedUserResponseItem = {
10440 id: number;
10441 owner: MigrationsListForAuthenticatedUserResponseItemOwner;
10442 guid: string;
10443 state: string;
10444 lock_repositories: boolean;
10445 exclude_attachments: boolean;
10446 repositories: Array<
10447 MigrationsListForAuthenticatedUserResponseItemRepositoriesItem
10448 >;
10449 url: string;
10450 created_at: string;
10451 updated_at: string;
10452 };
10453 type MigrationsStartForAuthenticatedUserResponseRepositoriesItemPermissions = {
10454 admin: boolean;
10455 push: boolean;
10456 pull: boolean;
10457 };
10458 type MigrationsStartForAuthenticatedUserResponseRepositoriesItemOwner = {
10459 login: string;
10460 id: number;
10461 node_id: string;
10462 avatar_url: string;
10463 gravatar_id: string;
10464 url: string;
10465 html_url: string;
10466 followers_url: string;
10467 following_url: string;
10468 gists_url: string;
10469 starred_url: string;
10470 subscriptions_url: string;
10471 organizations_url: string;
10472 repos_url: string;
10473 events_url: string;
10474 received_events_url: string;
10475 type: string;
10476 site_admin: boolean;
10477 };
10478 type MigrationsStartForAuthenticatedUserResponseRepositoriesItem = {
10479 id: number;
10480 node_id: string;
10481 name: string;
10482 full_name: string;
10483 owner: MigrationsStartForAuthenticatedUserResponseRepositoriesItemOwner;
10484 private: boolean;
10485 html_url: string;
10486 description: string;
10487 fork: boolean;
10488 url: string;
10489 archive_url: string;
10490 assignees_url: string;
10491 blobs_url: string;
10492 branches_url: string;
10493 collaborators_url: string;
10494 comments_url: string;
10495 commits_url: string;
10496 compare_url: string;
10497 contents_url: string;
10498 contributors_url: string;
10499 deployments_url: string;
10500 downloads_url: string;
10501 events_url: string;
10502 forks_url: string;
10503 git_commits_url: string;
10504 git_refs_url: string;
10505 git_tags_url: string;
10506 git_url: string;
10507 issue_comment_url: string;
10508 issue_events_url: string;
10509 issues_url: string;
10510 keys_url: string;
10511 labels_url: string;
10512 languages_url: string;
10513 merges_url: string;
10514 milestones_url: string;
10515 notifications_url: string;
10516 pulls_url: string;
10517 releases_url: string;
10518 ssh_url: string;
10519 stargazers_url: string;
10520 statuses_url: string;
10521 subscribers_url: string;
10522 subscription_url: string;
10523 tags_url: string;
10524 teams_url: string;
10525 trees_url: string;
10526 clone_url: string;
10527 mirror_url: string;
10528 hooks_url: string;
10529 svn_url: string;
10530 homepage: string;
10531 language: null;
10532 forks_count: number;
10533 stargazers_count: number;
10534 watchers_count: number;
10535 size: number;
10536 default_branch: string;
10537 open_issues_count: number;
10538 topics: Array<string>;
10539 has_issues: boolean;
10540 has_projects: boolean;
10541 has_wiki: boolean;
10542 has_pages: boolean;
10543 has_downloads: boolean;
10544 archived: boolean;
10545 pushed_at: string;
10546 created_at: string;
10547 updated_at: string;
10548 permissions: MigrationsStartForAuthenticatedUserResponseRepositoriesItemPermissions;
10549 allow_rebase_merge: boolean;
10550 allow_squash_merge: boolean;
10551 allow_merge_commit: boolean;
10552 subscribers_count: number;
10553 network_count: number;
10554 };
10555 type MigrationsStartForAuthenticatedUserResponseOwner = {
10556 login: string;
10557 id: number;
10558 node_id: string;
10559 avatar_url: string;
10560 gravatar_id: string;
10561 url: string;
10562 html_url: string;
10563 followers_url: string;
10564 following_url: string;
10565 gists_url: string;
10566 starred_url: string;
10567 subscriptions_url: string;
10568 organizations_url: string;
10569 repos_url: string;
10570 events_url: string;
10571 received_events_url: string;
10572 type: string;
10573 site_admin: boolean;
10574 };
10575 type MigrationsStartForAuthenticatedUserResponse = {
10576 id: number;
10577 owner: MigrationsStartForAuthenticatedUserResponseOwner;
10578 guid: string;
10579 state: string;
10580 lock_repositories: boolean;
10581 exclude_attachments: boolean;
10582 repositories: Array<
10583 MigrationsStartForAuthenticatedUserResponseRepositoriesItem
10584 >;
10585 url: string;
10586 created_at: string;
10587 updated_at: string;
10588 };
10589 type MigrationsCancelImportResponse = {};
10590 type MigrationsGetLargeFilesResponseItem = {
10591 ref_name: string;
10592 path: string;
10593 oid: string;
10594 size: number;
10595 };
10596 type MigrationsSetLfsPreferenceResponse = {
10597 vcs: string;
10598 use_lfs: string;
10599 vcs_url: string;
10600 status: string;
10601 status_text: string;
10602 has_large_files: boolean;
10603 large_files_size: number;
10604 large_files_count: number;
10605 authors_count: number;
10606 url: string;
10607 html_url: string;
10608 authors_url: string;
10609 repository_url: string;
10610 };
10611 type MigrationsMapCommitAuthorResponse = {
10612 id: number;
10613 remote_id: string;
10614 remote_name: string;
10615 email: string;
10616 name: string;
10617 url: string;
10618 import_url: string;
10619 };
10620 type MigrationsGetCommitAuthorsResponseItem = {
10621 id: number;
10622 remote_id: string;
10623 remote_name: string;
10624 email: string;
10625 name: string;
10626 url: string;
10627 import_url: string;
10628 };
10629 type MigrationsUpdateImportResponse = {
10630 vcs: string;
10631 use_lfs: string;
10632 vcs_url: string;
10633 status: string;
10634 url: string;
10635 html_url: string;
10636 authors_url: string;
10637 repository_url: string;
10638 };
10639 type MigrationsGetImportProgressResponse = {
10640 vcs: string;
10641 use_lfs: string;
10642 vcs_url: string;
10643 status: string;
10644 status_text: string;
10645 has_large_files: boolean;
10646 large_files_size: number;
10647 large_files_count: number;
10648 authors_count: number;
10649 url: string;
10650 html_url: string;
10651 authors_url: string;
10652 repository_url: string;
10653 };
10654 type MigrationsStartImportResponse = {
10655 vcs: string;
10656 use_lfs: string;
10657 vcs_url: string;
10658 status: string;
10659 status_text: string;
10660 has_large_files: boolean;
10661 large_files_size: number;
10662 large_files_count: number;
10663 authors_count: number;
10664 percent: number;
10665 commit_count: number;
10666 url: string;
10667 html_url: string;
10668 authors_url: string;
10669 repository_url: string;
10670 };
10671 type MigrationsUnlockRepoForOrgResponse = {};
10672 type MigrationsDeleteArchiveForOrgResponse = {};
10673 type MigrationsGetArchiveForOrgResponse = {};
10674 type MigrationsGetStatusForOrgResponseRepositoriesItemPermissions = {
10675 admin: boolean;
10676 push: boolean;
10677 pull: boolean;
10678 };
10679 type MigrationsGetStatusForOrgResponseRepositoriesItemOwner = {
10680 login: string;
10681 id: number;
10682 node_id: string;
10683 avatar_url: string;
10684 gravatar_id: string;
10685 url: string;
10686 html_url: string;
10687 followers_url: string;
10688 following_url: string;
10689 gists_url: string;
10690 starred_url: string;
10691 subscriptions_url: string;
10692 organizations_url: string;
10693 repos_url: string;
10694 events_url: string;
10695 received_events_url: string;
10696 type: string;
10697 site_admin: boolean;
10698 };
10699 type MigrationsGetStatusForOrgResponseRepositoriesItem = {
10700 id: number;
10701 node_id: string;
10702 name: string;
10703 full_name: string;
10704 owner: MigrationsGetStatusForOrgResponseRepositoriesItemOwner;
10705 private: boolean;
10706 html_url: string;
10707 description: string;
10708 fork: boolean;
10709 url: string;
10710 archive_url: string;
10711 assignees_url: string;
10712 blobs_url: string;
10713 branches_url: string;
10714 collaborators_url: string;
10715 comments_url: string;
10716 commits_url: string;
10717 compare_url: string;
10718 contents_url: string;
10719 contributors_url: string;
10720 deployments_url: string;
10721 downloads_url: string;
10722 events_url: string;
10723 forks_url: string;
10724 git_commits_url: string;
10725 git_refs_url: string;
10726 git_tags_url: string;
10727 git_url: string;
10728 issue_comment_url: string;
10729 issue_events_url: string;
10730 issues_url: string;
10731 keys_url: string;
10732 labels_url: string;
10733 languages_url: string;
10734 merges_url: string;
10735 milestones_url: string;
10736 notifications_url: string;
10737 pulls_url: string;
10738 releases_url: string;
10739 ssh_url: string;
10740 stargazers_url: string;
10741 statuses_url: string;
10742 subscribers_url: string;
10743 subscription_url: string;
10744 tags_url: string;
10745 teams_url: string;
10746 trees_url: string;
10747 clone_url: string;
10748 mirror_url: string;
10749 hooks_url: string;
10750 svn_url: string;
10751 homepage: string;
10752 language: null;
10753 forks_count: number;
10754 stargazers_count: number;
10755 watchers_count: number;
10756 size: number;
10757 default_branch: string;
10758 open_issues_count: number;
10759 topics: Array<string>;
10760 has_issues: boolean;
10761 has_projects: boolean;
10762 has_wiki: boolean;
10763 has_pages: boolean;
10764 has_downloads: boolean;
10765 archived: boolean;
10766 pushed_at: string;
10767 created_at: string;
10768 updated_at: string;
10769 permissions: MigrationsGetStatusForOrgResponseRepositoriesItemPermissions;
10770 allow_rebase_merge: boolean;
10771 allow_squash_merge: boolean;
10772 allow_merge_commit: boolean;
10773 subscribers_count: number;
10774 network_count: number;
10775 };
10776 type MigrationsGetStatusForOrgResponseOwner = {
10777 login: string;
10778 id: number;
10779 node_id: string;
10780 url: string;
10781 repos_url: string;
10782 events_url: string;
10783 hooks_url: string;
10784 issues_url: string;
10785 members_url: string;
10786 public_members_url: string;
10787 avatar_url: string;
10788 description: string;
10789 };
10790 type MigrationsGetStatusForOrgResponse = {
10791 id: number;
10792 owner: MigrationsGetStatusForOrgResponseOwner;
10793 guid: string;
10794 state: string;
10795 lock_repositories: boolean;
10796 exclude_attachments: boolean;
10797 repositories: Array<MigrationsGetStatusForOrgResponseRepositoriesItem>;
10798 url: string;
10799 created_at: string;
10800 updated_at: string;
10801 };
10802 type MigrationsListForOrgResponseItemRepositoriesItemPermissions = {
10803 admin: boolean;
10804 push: boolean;
10805 pull: boolean;
10806 };
10807 type MigrationsListForOrgResponseItemRepositoriesItemOwner = {
10808 login: string;
10809 id: number;
10810 node_id: string;
10811 avatar_url: string;
10812 gravatar_id: string;
10813 url: string;
10814 html_url: string;
10815 followers_url: string;
10816 following_url: string;
10817 gists_url: string;
10818 starred_url: string;
10819 subscriptions_url: string;
10820 organizations_url: string;
10821 repos_url: string;
10822 events_url: string;
10823 received_events_url: string;
10824 type: string;
10825 site_admin: boolean;
10826 };
10827 type MigrationsListForOrgResponseItemRepositoriesItem = {
10828 id: number;
10829 node_id: string;
10830 name: string;
10831 full_name: string;
10832 owner: MigrationsListForOrgResponseItemRepositoriesItemOwner;
10833 private: boolean;
10834 html_url: string;
10835 description: string;
10836 fork: boolean;
10837 url: string;
10838 archive_url: string;
10839 assignees_url: string;
10840 blobs_url: string;
10841 branches_url: string;
10842 collaborators_url: string;
10843 comments_url: string;
10844 commits_url: string;
10845 compare_url: string;
10846 contents_url: string;
10847 contributors_url: string;
10848 deployments_url: string;
10849 downloads_url: string;
10850 events_url: string;
10851 forks_url: string;
10852 git_commits_url: string;
10853 git_refs_url: string;
10854 git_tags_url: string;
10855 git_url: string;
10856 issue_comment_url: string;
10857 issue_events_url: string;
10858 issues_url: string;
10859 keys_url: string;
10860 labels_url: string;
10861 languages_url: string;
10862 merges_url: string;
10863 milestones_url: string;
10864 notifications_url: string;
10865 pulls_url: string;
10866 releases_url: string;
10867 ssh_url: string;
10868 stargazers_url: string;
10869 statuses_url: string;
10870 subscribers_url: string;
10871 subscription_url: string;
10872 tags_url: string;
10873 teams_url: string;
10874 trees_url: string;
10875 clone_url: string;
10876 mirror_url: string;
10877 hooks_url: string;
10878 svn_url: string;
10879 homepage: string;
10880 language: null;
10881 forks_count: number;
10882 stargazers_count: number;
10883 watchers_count: number;
10884 size: number;
10885 default_branch: string;
10886 open_issues_count: number;
10887 topics: Array<string>;
10888 has_issues: boolean;
10889 has_projects: boolean;
10890 has_wiki: boolean;
10891 has_pages: boolean;
10892 has_downloads: boolean;
10893 archived: boolean;
10894 pushed_at: string;
10895 created_at: string;
10896 updated_at: string;
10897 permissions: MigrationsListForOrgResponseItemRepositoriesItemPermissions;
10898 allow_rebase_merge: boolean;
10899 allow_squash_merge: boolean;
10900 allow_merge_commit: boolean;
10901 subscribers_count: number;
10902 network_count: number;
10903 };
10904 type MigrationsListForOrgResponseItemOwner = {
10905 login: string;
10906 id: number;
10907 node_id: string;
10908 url: string;
10909 repos_url: string;
10910 events_url: string;
10911 hooks_url: string;
10912 issues_url: string;
10913 members_url: string;
10914 public_members_url: string;
10915 avatar_url: string;
10916 description: string;
10917 };
10918 type MigrationsListForOrgResponseItem = {
10919 id: number;
10920 owner: MigrationsListForOrgResponseItemOwner;
10921 guid: string;
10922 state: string;
10923 lock_repositories: boolean;
10924 exclude_attachments: boolean;
10925 repositories: Array<MigrationsListForOrgResponseItemRepositoriesItem>;
10926 url: string;
10927 created_at: string;
10928 updated_at: string;
10929 };
10930 type MigrationsStartForOrgResponseRepositoriesItemPermissions = {
10931 admin: boolean;
10932 push: boolean;
10933 pull: boolean;
10934 };
10935 type MigrationsStartForOrgResponseRepositoriesItemOwner = {
10936 login: string;
10937 id: number;
10938 node_id: string;
10939 avatar_url: string;
10940 gravatar_id: string;
10941 url: string;
10942 html_url: string;
10943 followers_url: string;
10944 following_url: string;
10945 gists_url: string;
10946 starred_url: string;
10947 subscriptions_url: string;
10948 organizations_url: string;
10949 repos_url: string;
10950 events_url: string;
10951 received_events_url: string;
10952 type: string;
10953 site_admin: boolean;
10954 };
10955 type MigrationsStartForOrgResponseRepositoriesItem = {
10956 id: number;
10957 node_id: string;
10958 name: string;
10959 full_name: string;
10960 owner: MigrationsStartForOrgResponseRepositoriesItemOwner;
10961 private: boolean;
10962 html_url: string;
10963 description: string;
10964 fork: boolean;
10965 url: string;
10966 archive_url: string;
10967 assignees_url: string;
10968 blobs_url: string;
10969 branches_url: string;
10970 collaborators_url: string;
10971 comments_url: string;
10972 commits_url: string;
10973 compare_url: string;
10974 contents_url: string;
10975 contributors_url: string;
10976 deployments_url: string;
10977 downloads_url: string;
10978 events_url: string;
10979 forks_url: string;
10980 git_commits_url: string;
10981 git_refs_url: string;
10982 git_tags_url: string;
10983 git_url: string;
10984 issue_comment_url: string;
10985 issue_events_url: string;
10986 issues_url: string;
10987 keys_url: string;
10988 labels_url: string;
10989 languages_url: string;
10990 merges_url: string;
10991 milestones_url: string;
10992 notifications_url: string;
10993 pulls_url: string;
10994 releases_url: string;
10995 ssh_url: string;
10996 stargazers_url: string;
10997 statuses_url: string;
10998 subscribers_url: string;
10999 subscription_url: string;
11000 tags_url: string;
11001 teams_url: string;
11002 trees_url: string;
11003 clone_url: string;
11004 mirror_url: string;
11005 hooks_url: string;
11006 svn_url: string;
11007 homepage: string;
11008 language: null;
11009 forks_count: number;
11010 stargazers_count: number;
11011 watchers_count: number;
11012 size: number;
11013 default_branch: string;
11014 open_issues_count: number;
11015 topics: Array<string>;
11016 has_issues: boolean;
11017 has_projects: boolean;
11018 has_wiki: boolean;
11019 has_pages: boolean;
11020 has_downloads: boolean;
11021 archived: boolean;
11022 pushed_at: string;
11023 created_at: string;
11024 updated_at: string;
11025 permissions: MigrationsStartForOrgResponseRepositoriesItemPermissions;
11026 allow_rebase_merge: boolean;
11027 allow_squash_merge: boolean;
11028 allow_merge_commit: boolean;
11029 subscribers_count: number;
11030 network_count: number;
11031 };
11032 type MigrationsStartForOrgResponseOwner = {
11033 login: string;
11034 id: number;
11035 node_id: string;
11036 url: string;
11037 repos_url: string;
11038 events_url: string;
11039 hooks_url: string;
11040 issues_url: string;
11041 members_url: string;
11042 public_members_url: string;
11043 avatar_url: string;
11044 description: string;
11045 };
11046 type MigrationsStartForOrgResponse = {
11047 id: number;
11048 owner: MigrationsStartForOrgResponseOwner;
11049 guid: string;
11050 state: string;
11051 lock_repositories: boolean;
11052 exclude_attachments: boolean;
11053 repositories: Array<MigrationsStartForOrgResponseRepositoriesItem>;
11054 url: string;
11055 created_at: string;
11056 updated_at: string;
11057 };
11058 type IssuesListEventsForTimelineResponseItemActor = {
11059 login: string;
11060 id: number;
11061 node_id: string;
11062 avatar_url: string;
11063 gravatar_id: string;
11064 url: string;
11065 html_url: string;
11066 followers_url: string;
11067 following_url: string;
11068 gists_url: string;
11069 starred_url: string;
11070 subscriptions_url: string;
11071 organizations_url: string;
11072 repos_url: string;
11073 events_url: string;
11074 received_events_url: string;
11075 type: string;
11076 site_admin: boolean;
11077 };
11078 type IssuesListEventsForTimelineResponseItem = {
11079 id: number;
11080 node_id: string;
11081 url: string;
11082 actor: IssuesListEventsForTimelineResponseItemActor;
11083 event: string;
11084 commit_id: string;
11085 commit_url: string;
11086 created_at: string;
11087 };
11088 type IssuesDeleteMilestoneResponse = {};
11089 type IssuesUpdateMilestoneResponseCreator = {
11090 login: string;
11091 id: number;
11092 node_id: string;
11093 avatar_url: string;
11094 gravatar_id: string;
11095 url: string;
11096 html_url: string;
11097 followers_url: string;
11098 following_url: string;
11099 gists_url: string;
11100 starred_url: string;
11101 subscriptions_url: string;
11102 organizations_url: string;
11103 repos_url: string;
11104 events_url: string;
11105 received_events_url: string;
11106 type: string;
11107 site_admin: boolean;
11108 };
11109 type IssuesUpdateMilestoneResponse = {
11110 url: string;
11111 html_url: string;
11112 labels_url: string;
11113 id: number;
11114 node_id: string;
11115 number: number;
11116 state: string;
11117 title: string;
11118 description: string;
11119 creator: IssuesUpdateMilestoneResponseCreator;
11120 open_issues: number;
11121 closed_issues: number;
11122 created_at: string;
11123 updated_at: string;
11124 closed_at: string;
11125 due_on: string;
11126 };
11127 type IssuesCreateMilestoneResponseCreator = {
11128 login: string;
11129 id: number;
11130 node_id: string;
11131 avatar_url: string;
11132 gravatar_id: string;
11133 url: string;
11134 html_url: string;
11135 followers_url: string;
11136 following_url: string;
11137 gists_url: string;
11138 starred_url: string;
11139 subscriptions_url: string;
11140 organizations_url: string;
11141 repos_url: string;
11142 events_url: string;
11143 received_events_url: string;
11144 type: string;
11145 site_admin: boolean;
11146 };
11147 type IssuesCreateMilestoneResponse = {
11148 url: string;
11149 html_url: string;
11150 labels_url: string;
11151 id: number;
11152 node_id: string;
11153 number: number;
11154 state: string;
11155 title: string;
11156 description: string;
11157 creator: IssuesCreateMilestoneResponseCreator;
11158 open_issues: number;
11159 closed_issues: number;
11160 created_at: string;
11161 updated_at: string;
11162 closed_at: string;
11163 due_on: string;
11164 };
11165 type IssuesGetMilestoneResponseCreator = {
11166 login: string;
11167 id: number;
11168 node_id: string;
11169 avatar_url: string;
11170 gravatar_id: string;
11171 url: string;
11172 html_url: string;
11173 followers_url: string;
11174 following_url: string;
11175 gists_url: string;
11176 starred_url: string;
11177 subscriptions_url: string;
11178 organizations_url: string;
11179 repos_url: string;
11180 events_url: string;
11181 received_events_url: string;
11182 type: string;
11183 site_admin: boolean;
11184 };
11185 type IssuesGetMilestoneResponse = {
11186 url: string;
11187 html_url: string;
11188 labels_url: string;
11189 id: number;
11190 node_id: string;
11191 number: number;
11192 state: string;
11193 title: string;
11194 description: string;
11195 creator: IssuesGetMilestoneResponseCreator;
11196 open_issues: number;
11197 closed_issues: number;
11198 created_at: string;
11199 updated_at: string;
11200 closed_at: string;
11201 due_on: string;
11202 };
11203 type IssuesListMilestonesForRepoResponseItemCreator = {
11204 login: string;
11205 id: number;
11206 node_id: string;
11207 avatar_url: string;
11208 gravatar_id: string;
11209 url: string;
11210 html_url: string;
11211 followers_url: string;
11212 following_url: string;
11213 gists_url: string;
11214 starred_url: string;
11215 subscriptions_url: string;
11216 organizations_url: string;
11217 repos_url: string;
11218 events_url: string;
11219 received_events_url: string;
11220 type: string;
11221 site_admin: boolean;
11222 };
11223 type IssuesListMilestonesForRepoResponseItem = {
11224 url: string;
11225 html_url: string;
11226 labels_url: string;
11227 id: number;
11228 node_id: string;
11229 number: number;
11230 state: string;
11231 title: string;
11232 description: string;
11233 creator: IssuesListMilestonesForRepoResponseItemCreator;
11234 open_issues: number;
11235 closed_issues: number;
11236 created_at: string;
11237 updated_at: string;
11238 closed_at: string;
11239 due_on: string;
11240 };
11241 type IssuesListLabelsForMilestoneResponseItem = {
11242 id: number;
11243 node_id: string;
11244 url: string;
11245 name: string;
11246 description: string;
11247 color: string;
11248 default: boolean;
11249 };
11250 type IssuesRemoveLabelsResponse = {};
11251 type IssuesReplaceLabelsResponseItem = {
11252 id: number;
11253 node_id: string;
11254 url: string;
11255 name: string;
11256 description: string;
11257 color: string;
11258 default: boolean;
11259 };
11260 type IssuesAddLabelsResponseItem = {
11261 id: number;
11262 node_id: string;
11263 url: string;
11264 name: string;
11265 description: string;
11266 color: string;
11267 default: boolean;
11268 };
11269 type IssuesListLabelsOnIssueResponseItem = {
11270 id: number;
11271 node_id: string;
11272 url: string;
11273 name: string;
11274 description: string;
11275 color: string;
11276 default: boolean;
11277 };
11278 type IssuesDeleteLabelResponse = {};
11279 type IssuesUpdateLabelResponse = {
11280 id: number;
11281 node_id: string;
11282 url: string;
11283 name: string;
11284 description: string;
11285 color: string;
11286 default: boolean;
11287 };
11288 type IssuesCreateLabelResponse = {
11289 id: number;
11290 node_id: string;
11291 url: string;
11292 name: string;
11293 description: string;
11294 color: string;
11295 default: boolean;
11296 };
11297 type IssuesGetLabelResponse = {
11298 id: number;
11299 node_id: string;
11300 url: string;
11301 name: string;
11302 description: string;
11303 color: string;
11304 default: boolean;
11305 };
11306 type IssuesListLabelsForRepoResponseItem = {
11307 id: number;
11308 node_id: string;
11309 url: string;
11310 name: string;
11311 description: string;
11312 color: string;
11313 default: boolean;
11314 };
11315 type IssuesGetEventResponseIssuePullRequest = {
11316 url: string;
11317 html_url: string;
11318 diff_url: string;
11319 patch_url: string;
11320 };
11321 type IssuesGetEventResponseIssueMilestoneCreator = {
11322 login: string;
11323 id: number;
11324 node_id: string;
11325 avatar_url: string;
11326 gravatar_id: string;
11327 url: string;
11328 html_url: string;
11329 followers_url: string;
11330 following_url: string;
11331 gists_url: string;
11332 starred_url: string;
11333 subscriptions_url: string;
11334 organizations_url: string;
11335 repos_url: string;
11336 events_url: string;
11337 received_events_url: string;
11338 type: string;
11339 site_admin: boolean;
11340 };
11341 type IssuesGetEventResponseIssueMilestone = {
11342 url: string;
11343 html_url: string;
11344 labels_url: string;
11345 id: number;
11346 node_id: string;
11347 number: number;
11348 state: string;
11349 title: string;
11350 description: string;
11351 creator: IssuesGetEventResponseIssueMilestoneCreator;
11352 open_issues: number;
11353 closed_issues: number;
11354 created_at: string;
11355 updated_at: string;
11356 closed_at: string;
11357 due_on: string;
11358 };
11359 type IssuesGetEventResponseIssueAssigneesItem = {
11360 login: string;
11361 id: number;
11362 node_id: string;
11363 avatar_url: string;
11364 gravatar_id: string;
11365 url: string;
11366 html_url: string;
11367 followers_url: string;
11368 following_url: string;
11369 gists_url: string;
11370 starred_url: string;
11371 subscriptions_url: string;
11372 organizations_url: string;
11373 repos_url: string;
11374 events_url: string;
11375 received_events_url: string;
11376 type: string;
11377 site_admin: boolean;
11378 };
11379 type IssuesGetEventResponseIssueAssignee = {
11380 login: string;
11381 id: number;
11382 node_id: string;
11383 avatar_url: string;
11384 gravatar_id: string;
11385 url: string;
11386 html_url: string;
11387 followers_url: string;
11388 following_url: string;
11389 gists_url: string;
11390 starred_url: string;
11391 subscriptions_url: string;
11392 organizations_url: string;
11393 repos_url: string;
11394 events_url: string;
11395 received_events_url: string;
11396 type: string;
11397 site_admin: boolean;
11398 };
11399 type IssuesGetEventResponseIssueLabelsItem = {
11400 id: number;
11401 node_id: string;
11402 url: string;
11403 name: string;
11404 description: string;
11405 color: string;
11406 default: boolean;
11407 };
11408 type IssuesGetEventResponseIssueUser = {
11409 login: string;
11410 id: number;
11411 node_id: string;
11412 avatar_url: string;
11413 gravatar_id: string;
11414 url: string;
11415 html_url: string;
11416 followers_url: string;
11417 following_url: string;
11418 gists_url: string;
11419 starred_url: string;
11420 subscriptions_url: string;
11421 organizations_url: string;
11422 repos_url: string;
11423 events_url: string;
11424 received_events_url: string;
11425 type: string;
11426 site_admin: boolean;
11427 };
11428 type IssuesGetEventResponseIssue = {
11429 id: number;
11430 node_id: string;
11431 url: string;
11432 repository_url: string;
11433 labels_url: string;
11434 comments_url: string;
11435 events_url: string;
11436 html_url: string;
11437 number: number;
11438 state: string;
11439 title: string;
11440 body: string;
11441 user: IssuesGetEventResponseIssueUser;
11442 labels: Array<IssuesGetEventResponseIssueLabelsItem>;
11443 assignee: IssuesGetEventResponseIssueAssignee;
11444 assignees: Array<IssuesGetEventResponseIssueAssigneesItem>;
11445 milestone: IssuesGetEventResponseIssueMilestone;
11446 locked: boolean;
11447 active_lock_reason: string;
11448 comments: number;
11449 pull_request: IssuesGetEventResponseIssuePullRequest;
11450 closed_at: null;
11451 created_at: string;
11452 updated_at: string;
11453 };
11454 type IssuesGetEventResponseActor = {
11455 login: string;
11456 id: number;
11457 node_id: string;
11458 avatar_url: string;
11459 gravatar_id: string;
11460 url: string;
11461 html_url: string;
11462 followers_url: string;
11463 following_url: string;
11464 gists_url: string;
11465 starred_url: string;
11466 subscriptions_url: string;
11467 organizations_url: string;
11468 repos_url: string;
11469 events_url: string;
11470 received_events_url: string;
11471 type: string;
11472 site_admin: boolean;
11473 };
11474 type IssuesGetEventResponse = {
11475 id: number;
11476 node_id: string;
11477 url: string;
11478 actor: IssuesGetEventResponseActor;
11479 event: string;
11480 commit_id: string;
11481 commit_url: string;
11482 created_at: string;
11483 issue: IssuesGetEventResponseIssue;
11484 };
11485 type IssuesListEventsForRepoResponseItemIssuePullRequest = {
11486 url: string;
11487 html_url: string;
11488 diff_url: string;
11489 patch_url: string;
11490 };
11491 type IssuesListEventsForRepoResponseItemIssueMilestoneCreator = {
11492 login: string;
11493 id: number;
11494 node_id: string;
11495 avatar_url: string;
11496 gravatar_id: string;
11497 url: string;
11498 html_url: string;
11499 followers_url: string;
11500 following_url: string;
11501 gists_url: string;
11502 starred_url: string;
11503 subscriptions_url: string;
11504 organizations_url: string;
11505 repos_url: string;
11506 events_url: string;
11507 received_events_url: string;
11508 type: string;
11509 site_admin: boolean;
11510 };
11511 type IssuesListEventsForRepoResponseItemIssueMilestone = {
11512 url: string;
11513 html_url: string;
11514 labels_url: string;
11515 id: number;
11516 node_id: string;
11517 number: number;
11518 state: string;
11519 title: string;
11520 description: string;
11521 creator: IssuesListEventsForRepoResponseItemIssueMilestoneCreator;
11522 open_issues: number;
11523 closed_issues: number;
11524 created_at: string;
11525 updated_at: string;
11526 closed_at: string;
11527 due_on: string;
11528 };
11529 type IssuesListEventsForRepoResponseItemIssueAssigneesItem = {
11530 login: string;
11531 id: number;
11532 node_id: string;
11533 avatar_url: string;
11534 gravatar_id: string;
11535 url: string;
11536 html_url: string;
11537 followers_url: string;
11538 following_url: string;
11539 gists_url: string;
11540 starred_url: string;
11541 subscriptions_url: string;
11542 organizations_url: string;
11543 repos_url: string;
11544 events_url: string;
11545 received_events_url: string;
11546 type: string;
11547 site_admin: boolean;
11548 };
11549 type IssuesListEventsForRepoResponseItemIssueAssignee = {
11550 login: string;
11551 id: number;
11552 node_id: string;
11553 avatar_url: string;
11554 gravatar_id: string;
11555 url: string;
11556 html_url: string;
11557 followers_url: string;
11558 following_url: string;
11559 gists_url: string;
11560 starred_url: string;
11561 subscriptions_url: string;
11562 organizations_url: string;
11563 repos_url: string;
11564 events_url: string;
11565 received_events_url: string;
11566 type: string;
11567 site_admin: boolean;
11568 };
11569 type IssuesListEventsForRepoResponseItemIssueLabelsItem = {
11570 id: number;
11571 node_id: string;
11572 url: string;
11573 name: string;
11574 description: string;
11575 color: string;
11576 default: boolean;
11577 };
11578 type IssuesListEventsForRepoResponseItemIssueUser = {
11579 login: string;
11580 id: number;
11581 node_id: string;
11582 avatar_url: string;
11583 gravatar_id: string;
11584 url: string;
11585 html_url: string;
11586 followers_url: string;
11587 following_url: string;
11588 gists_url: string;
11589 starred_url: string;
11590 subscriptions_url: string;
11591 organizations_url: string;
11592 repos_url: string;
11593 events_url: string;
11594 received_events_url: string;
11595 type: string;
11596 site_admin: boolean;
11597 };
11598 type IssuesListEventsForRepoResponseItemIssue = {
11599 id: number;
11600 node_id: string;
11601 url: string;
11602 repository_url: string;
11603 labels_url: string;
11604 comments_url: string;
11605 events_url: string;
11606 html_url: string;
11607 number: number;
11608 state: string;
11609 title: string;
11610 body: string;
11611 user: IssuesListEventsForRepoResponseItemIssueUser;
11612 labels: Array<IssuesListEventsForRepoResponseItemIssueLabelsItem>;
11613 assignee: IssuesListEventsForRepoResponseItemIssueAssignee;
11614 assignees: Array<IssuesListEventsForRepoResponseItemIssueAssigneesItem>;
11615 milestone: IssuesListEventsForRepoResponseItemIssueMilestone;
11616 locked: boolean;
11617 active_lock_reason: string;
11618 comments: number;
11619 pull_request: IssuesListEventsForRepoResponseItemIssuePullRequest;
11620 closed_at: null;
11621 created_at: string;
11622 updated_at: string;
11623 };
11624 type IssuesListEventsForRepoResponseItemActor = {
11625 login: string;
11626 id: number;
11627 node_id: string;
11628 avatar_url: string;
11629 gravatar_id: string;
11630 url: string;
11631 html_url: string;
11632 followers_url: string;
11633 following_url: string;
11634 gists_url: string;
11635 starred_url: string;
11636 subscriptions_url: string;
11637 organizations_url: string;
11638 repos_url: string;
11639 events_url: string;
11640 received_events_url: string;
11641 type: string;
11642 site_admin: boolean;
11643 };
11644 type IssuesListEventsForRepoResponseItem = {
11645 id: number;
11646 node_id: string;
11647 url: string;
11648 actor: IssuesListEventsForRepoResponseItemActor;
11649 event: string;
11650 commit_id: string;
11651 commit_url: string;
11652 created_at: string;
11653 issue: IssuesListEventsForRepoResponseItemIssue;
11654 };
11655 type IssuesListEventsResponseItemActor = {
11656 login: string;
11657 id: number;
11658 node_id: string;
11659 avatar_url: string;
11660 gravatar_id: string;
11661 url: string;
11662 html_url: string;
11663 followers_url: string;
11664 following_url: string;
11665 gists_url: string;
11666 starred_url: string;
11667 subscriptions_url: string;
11668 organizations_url: string;
11669 repos_url: string;
11670 events_url: string;
11671 received_events_url: string;
11672 type: string;
11673 site_admin: boolean;
11674 };
11675 type IssuesListEventsResponseItem = {
11676 id: number;
11677 node_id: string;
11678 url: string;
11679 actor: IssuesListEventsResponseItemActor;
11680 event: string;
11681 commit_id: string;
11682 commit_url: string;
11683 created_at: string;
11684 };
11685 type IssuesDeleteCommentResponse = {};
11686 type IssuesUpdateCommentResponseUser = {
11687 login: string;
11688 id: number;
11689 node_id: string;
11690 avatar_url: string;
11691 gravatar_id: string;
11692 url: string;
11693 html_url: string;
11694 followers_url: string;
11695 following_url: string;
11696 gists_url: string;
11697 starred_url: string;
11698 subscriptions_url: string;
11699 organizations_url: string;
11700 repos_url: string;
11701 events_url: string;
11702 received_events_url: string;
11703 type: string;
11704 site_admin: boolean;
11705 };
11706 type IssuesUpdateCommentResponse = {
11707 id: number;
11708 node_id: string;
11709 url: string;
11710 html_url: string;
11711 body: string;
11712 user: IssuesUpdateCommentResponseUser;
11713 created_at: string;
11714 updated_at: string;
11715 };
11716 type IssuesCreateCommentResponseUser = {
11717 login: string;
11718 id: number;
11719 node_id: string;
11720 avatar_url: string;
11721 gravatar_id: string;
11722 url: string;
11723 html_url: string;
11724 followers_url: string;
11725 following_url: string;
11726 gists_url: string;
11727 starred_url: string;
11728 subscriptions_url: string;
11729 organizations_url: string;
11730 repos_url: string;
11731 events_url: string;
11732 received_events_url: string;
11733 type: string;
11734 site_admin: boolean;
11735 };
11736 type IssuesCreateCommentResponse = {
11737 id: number;
11738 node_id: string;
11739 url: string;
11740 html_url: string;
11741 body: string;
11742 user: IssuesCreateCommentResponseUser;
11743 created_at: string;
11744 updated_at: string;
11745 };
11746 type IssuesGetCommentResponseUser = {
11747 login: string;
11748 id: number;
11749 node_id: string;
11750 avatar_url: string;
11751 gravatar_id: string;
11752 url: string;
11753 html_url: string;
11754 followers_url: string;
11755 following_url: string;
11756 gists_url: string;
11757 starred_url: string;
11758 subscriptions_url: string;
11759 organizations_url: string;
11760 repos_url: string;
11761 events_url: string;
11762 received_events_url: string;
11763 type: string;
11764 site_admin: boolean;
11765 };
11766 type IssuesGetCommentResponse = {
11767 id: number;
11768 node_id: string;
11769 url: string;
11770 html_url: string;
11771 body: string;
11772 user: IssuesGetCommentResponseUser;
11773 created_at: string;
11774 updated_at: string;
11775 };
11776 type IssuesListCommentsForRepoResponseItemUser = {
11777 login: string;
11778 id: number;
11779 node_id: string;
11780 avatar_url: string;
11781 gravatar_id: string;
11782 url: string;
11783 html_url: string;
11784 followers_url: string;
11785 following_url: string;
11786 gists_url: string;
11787 starred_url: string;
11788 subscriptions_url: string;
11789 organizations_url: string;
11790 repos_url: string;
11791 events_url: string;
11792 received_events_url: string;
11793 type: string;
11794 site_admin: boolean;
11795 };
11796 type IssuesListCommentsForRepoResponseItem = {
11797 id: number;
11798 node_id: string;
11799 url: string;
11800 html_url: string;
11801 body: string;
11802 user: IssuesListCommentsForRepoResponseItemUser;
11803 created_at: string;
11804 updated_at: string;
11805 };
11806 type IssuesListCommentsResponseItemUser = {
11807 login: string;
11808 id: number;
11809 node_id: string;
11810 avatar_url: string;
11811 gravatar_id: string;
11812 url: string;
11813 html_url: string;
11814 followers_url: string;
11815 following_url: string;
11816 gists_url: string;
11817 starred_url: string;
11818 subscriptions_url: string;
11819 organizations_url: string;
11820 repos_url: string;
11821 events_url: string;
11822 received_events_url: string;
11823 type: string;
11824 site_admin: boolean;
11825 };
11826 type IssuesListCommentsResponseItem = {
11827 id: number;
11828 node_id: string;
11829 url: string;
11830 html_url: string;
11831 body: string;
11832 user: IssuesListCommentsResponseItemUser;
11833 created_at: string;
11834 updated_at: string;
11835 };
11836 type IssuesRemoveAssigneesResponsePullRequest = {
11837 url: string;
11838 html_url: string;
11839 diff_url: string;
11840 patch_url: string;
11841 };
11842 type IssuesRemoveAssigneesResponseMilestoneCreator = {
11843 login: string;
11844 id: number;
11845 node_id: string;
11846 avatar_url: string;
11847 gravatar_id: string;
11848 url: string;
11849 html_url: string;
11850 followers_url: string;
11851 following_url: string;
11852 gists_url: string;
11853 starred_url: string;
11854 subscriptions_url: string;
11855 organizations_url: string;
11856 repos_url: string;
11857 events_url: string;
11858 received_events_url: string;
11859 type: string;
11860 site_admin: boolean;
11861 };
11862 type IssuesRemoveAssigneesResponseMilestone = {
11863 url: string;
11864 html_url: string;
11865 labels_url: string;
11866 id: number;
11867 node_id: string;
11868 number: number;
11869 state: string;
11870 title: string;
11871 description: string;
11872 creator: IssuesRemoveAssigneesResponseMilestoneCreator;
11873 open_issues: number;
11874 closed_issues: number;
11875 created_at: string;
11876 updated_at: string;
11877 closed_at: string;
11878 due_on: string;
11879 };
11880 type IssuesRemoveAssigneesResponseAssigneesItem = {
11881 login: string;
11882 id: number;
11883 node_id: string;
11884 avatar_url: string;
11885 gravatar_id: string;
11886 url: string;
11887 html_url: string;
11888 followers_url: string;
11889 following_url: string;
11890 gists_url: string;
11891 starred_url: string;
11892 subscriptions_url: string;
11893 organizations_url: string;
11894 repos_url: string;
11895 events_url: string;
11896 received_events_url: string;
11897 type: string;
11898 site_admin: boolean;
11899 };
11900 type IssuesRemoveAssigneesResponseAssignee = {
11901 login: string;
11902 id: number;
11903 node_id: string;
11904 avatar_url: string;
11905 gravatar_id: string;
11906 url: string;
11907 html_url: string;
11908 followers_url: string;
11909 following_url: string;
11910 gists_url: string;
11911 starred_url: string;
11912 subscriptions_url: string;
11913 organizations_url: string;
11914 repos_url: string;
11915 events_url: string;
11916 received_events_url: string;
11917 type: string;
11918 site_admin: boolean;
11919 };
11920 type IssuesRemoveAssigneesResponseLabelsItem = {
11921 id: number;
11922 node_id: string;
11923 url: string;
11924 name: string;
11925 description: string;
11926 color: string;
11927 default: boolean;
11928 };
11929 type IssuesRemoveAssigneesResponseUser = {
11930 login: string;
11931 id: number;
11932 node_id: string;
11933 avatar_url: string;
11934 gravatar_id: string;
11935 url: string;
11936 html_url: string;
11937 followers_url: string;
11938 following_url: string;
11939 gists_url: string;
11940 starred_url: string;
11941 subscriptions_url: string;
11942 organizations_url: string;
11943 repos_url: string;
11944 events_url: string;
11945 received_events_url: string;
11946 type: string;
11947 site_admin: boolean;
11948 };
11949 type IssuesRemoveAssigneesResponse = {
11950 id: number;
11951 node_id: string;
11952 url: string;
11953 repository_url: string;
11954 labels_url: string;
11955 comments_url: string;
11956 events_url: string;
11957 html_url: string;
11958 number: number;
11959 state: string;
11960 title: string;
11961 body: string;
11962 user: IssuesRemoveAssigneesResponseUser;
11963 labels: Array<IssuesRemoveAssigneesResponseLabelsItem>;
11964 assignee: IssuesRemoveAssigneesResponseAssignee;
11965 assignees: Array<IssuesRemoveAssigneesResponseAssigneesItem>;
11966 milestone: IssuesRemoveAssigneesResponseMilestone;
11967 locked: boolean;
11968 active_lock_reason: string;
11969 comments: number;
11970 pull_request: IssuesRemoveAssigneesResponsePullRequest;
11971 closed_at: null;
11972 created_at: string;
11973 updated_at: string;
11974 };
11975 type IssuesAddAssigneesResponsePullRequest = {
11976 url: string;
11977 html_url: string;
11978 diff_url: string;
11979 patch_url: string;
11980 };
11981 type IssuesAddAssigneesResponseMilestoneCreator = {
11982 login: string;
11983 id: number;
11984 node_id: string;
11985 avatar_url: string;
11986 gravatar_id: string;
11987 url: string;
11988 html_url: string;
11989 followers_url: string;
11990 following_url: string;
11991 gists_url: string;
11992 starred_url: string;
11993 subscriptions_url: string;
11994 organizations_url: string;
11995 repos_url: string;
11996 events_url: string;
11997 received_events_url: string;
11998 type: string;
11999 site_admin: boolean;
12000 };
12001 type IssuesAddAssigneesResponseMilestone = {
12002 url: string;
12003 html_url: string;
12004 labels_url: string;
12005 id: number;
12006 node_id: string;
12007 number: number;
12008 state: string;
12009 title: string;
12010 description: string;
12011 creator: IssuesAddAssigneesResponseMilestoneCreator;
12012 open_issues: number;
12013 closed_issues: number;
12014 created_at: string;
12015 updated_at: string;
12016 closed_at: string;
12017 due_on: string;
12018 };
12019 type IssuesAddAssigneesResponseAssigneesItem = {
12020 login: string;
12021 id: number;
12022 node_id: string;
12023 avatar_url: string;
12024 gravatar_id: string;
12025 url: string;
12026 html_url: string;
12027 followers_url: string;
12028 following_url: string;
12029 gists_url: string;
12030 starred_url: string;
12031 subscriptions_url: string;
12032 organizations_url: string;
12033 repos_url: string;
12034 events_url: string;
12035 received_events_url: string;
12036 type: string;
12037 site_admin: boolean;
12038 };
12039 type IssuesAddAssigneesResponseAssignee = {
12040 login: string;
12041 id: number;
12042 node_id: string;
12043 avatar_url: string;
12044 gravatar_id: string;
12045 url: string;
12046 html_url: string;
12047 followers_url: string;
12048 following_url: string;
12049 gists_url: string;
12050 starred_url: string;
12051 subscriptions_url: string;
12052 organizations_url: string;
12053 repos_url: string;
12054 events_url: string;
12055 received_events_url: string;
12056 type: string;
12057 site_admin: boolean;
12058 };
12059 type IssuesAddAssigneesResponseLabelsItem = {
12060 id: number;
12061 node_id: string;
12062 url: string;
12063 name: string;
12064 description: string;
12065 color: string;
12066 default: boolean;
12067 };
12068 type IssuesAddAssigneesResponseUser = {
12069 login: string;
12070 id: number;
12071 node_id: string;
12072 avatar_url: string;
12073 gravatar_id: string;
12074 url: string;
12075 html_url: string;
12076 followers_url: string;
12077 following_url: string;
12078 gists_url: string;
12079 starred_url: string;
12080 subscriptions_url: string;
12081 organizations_url: string;
12082 repos_url: string;
12083 events_url: string;
12084 received_events_url: string;
12085 type: string;
12086 site_admin: boolean;
12087 };
12088 type IssuesAddAssigneesResponse = {
12089 id: number;
12090 node_id: string;
12091 url: string;
12092 repository_url: string;
12093 labels_url: string;
12094 comments_url: string;
12095 events_url: string;
12096 html_url: string;
12097 number: number;
12098 state: string;
12099 title: string;
12100 body: string;
12101 user: IssuesAddAssigneesResponseUser;
12102 labels: Array<IssuesAddAssigneesResponseLabelsItem>;
12103 assignee: IssuesAddAssigneesResponseAssignee;
12104 assignees: Array<IssuesAddAssigneesResponseAssigneesItem>;
12105 milestone: IssuesAddAssigneesResponseMilestone;
12106 locked: boolean;
12107 active_lock_reason: string;
12108 comments: number;
12109 pull_request: IssuesAddAssigneesResponsePullRequest;
12110 closed_at: null;
12111 created_at: string;
12112 updated_at: string;
12113 };
12114 type IssuesCheckAssigneeResponse = {};
12115 type IssuesListAssigneesResponseItem = {
12116 login: string;
12117 id: number;
12118 node_id: string;
12119 avatar_url: string;
12120 gravatar_id: string;
12121 url: string;
12122 html_url: string;
12123 followers_url: string;
12124 following_url: string;
12125 gists_url: string;
12126 starred_url: string;
12127 subscriptions_url: string;
12128 organizations_url: string;
12129 repos_url: string;
12130 events_url: string;
12131 received_events_url: string;
12132 type: string;
12133 site_admin: boolean;
12134 };
12135 type IssuesUnlockResponse = {};
12136 type IssuesLockResponse = {};
12137 type IssuesUpdateResponseClosedBy = {
12138 login: string;
12139 id: number;
12140 node_id: string;
12141 avatar_url: string;
12142 gravatar_id: string;
12143 url: string;
12144 html_url: string;
12145 followers_url: string;
12146 following_url: string;
12147 gists_url: string;
12148 starred_url: string;
12149 subscriptions_url: string;
12150 organizations_url: string;
12151 repos_url: string;
12152 events_url: string;
12153 received_events_url: string;
12154 type: string;
12155 site_admin: boolean;
12156 };
12157 type IssuesUpdateResponsePullRequest = {
12158 url: string;
12159 html_url: string;
12160 diff_url: string;
12161 patch_url: string;
12162 };
12163 type IssuesUpdateResponseMilestoneCreator = {
12164 login: string;
12165 id: number;
12166 node_id: string;
12167 avatar_url: string;
12168 gravatar_id: string;
12169 url: string;
12170 html_url: string;
12171 followers_url: string;
12172 following_url: string;
12173 gists_url: string;
12174 starred_url: string;
12175 subscriptions_url: string;
12176 organizations_url: string;
12177 repos_url: string;
12178 events_url: string;
12179 received_events_url: string;
12180 type: string;
12181 site_admin: boolean;
12182 };
12183 type IssuesUpdateResponseMilestone = {
12184 url: string;
12185 html_url: string;
12186 labels_url: string;
12187 id: number;
12188 node_id: string;
12189 number: number;
12190 state: string;
12191 title: string;
12192 description: string;
12193 creator: IssuesUpdateResponseMilestoneCreator;
12194 open_issues: number;
12195 closed_issues: number;
12196 created_at: string;
12197 updated_at: string;
12198 closed_at: string;
12199 due_on: string;
12200 };
12201 type IssuesUpdateResponseAssigneesItem = {
12202 login: string;
12203 id: number;
12204 node_id: string;
12205 avatar_url: string;
12206 gravatar_id: string;
12207 url: string;
12208 html_url: string;
12209 followers_url: string;
12210 following_url: string;
12211 gists_url: string;
12212 starred_url: string;
12213 subscriptions_url: string;
12214 organizations_url: string;
12215 repos_url: string;
12216 events_url: string;
12217 received_events_url: string;
12218 type: string;
12219 site_admin: boolean;
12220 };
12221 type IssuesUpdateResponseAssignee = {
12222 login: string;
12223 id: number;
12224 node_id: string;
12225 avatar_url: string;
12226 gravatar_id: string;
12227 url: string;
12228 html_url: string;
12229 followers_url: string;
12230 following_url: string;
12231 gists_url: string;
12232 starred_url: string;
12233 subscriptions_url: string;
12234 organizations_url: string;
12235 repos_url: string;
12236 events_url: string;
12237 received_events_url: string;
12238 type: string;
12239 site_admin: boolean;
12240 };
12241 type IssuesUpdateResponseLabelsItem = {
12242 id: number;
12243 node_id: string;
12244 url: string;
12245 name: string;
12246 description: string;
12247 color: string;
12248 default: boolean;
12249 };
12250 type IssuesUpdateResponseUser = {
12251 login: string;
12252 id: number;
12253 node_id: string;
12254 avatar_url: string;
12255 gravatar_id: string;
12256 url: string;
12257 html_url: string;
12258 followers_url: string;
12259 following_url: string;
12260 gists_url: string;
12261 starred_url: string;
12262 subscriptions_url: string;
12263 organizations_url: string;
12264 repos_url: string;
12265 events_url: string;
12266 received_events_url: string;
12267 type: string;
12268 site_admin: boolean;
12269 };
12270 type IssuesUpdateResponse = {
12271 id: number;
12272 node_id: string;
12273 url: string;
12274 repository_url: string;
12275 labels_url: string;
12276 comments_url: string;
12277 events_url: string;
12278 html_url: string;
12279 number: number;
12280 state: string;
12281 title: string;
12282 body: string;
12283 user: IssuesUpdateResponseUser;
12284 labels: Array<IssuesUpdateResponseLabelsItem>;
12285 assignee: IssuesUpdateResponseAssignee;
12286 assignees: Array<IssuesUpdateResponseAssigneesItem>;
12287 milestone: IssuesUpdateResponseMilestone;
12288 locked: boolean;
12289 active_lock_reason: string;
12290 comments: number;
12291 pull_request: IssuesUpdateResponsePullRequest;
12292 closed_at: null;
12293 created_at: string;
12294 updated_at: string;
12295 closed_by: IssuesUpdateResponseClosedBy;
12296 };
12297 type IssuesCreateResponseClosedBy = {
12298 login: string;
12299 id: number;
12300 node_id: string;
12301 avatar_url: string;
12302 gravatar_id: string;
12303 url: string;
12304 html_url: string;
12305 followers_url: string;
12306 following_url: string;
12307 gists_url: string;
12308 starred_url: string;
12309 subscriptions_url: string;
12310 organizations_url: string;
12311 repos_url: string;
12312 events_url: string;
12313 received_events_url: string;
12314 type: string;
12315 site_admin: boolean;
12316 };
12317 type IssuesCreateResponsePullRequest = {
12318 url: string;
12319 html_url: string;
12320 diff_url: string;
12321 patch_url: string;
12322 };
12323 type IssuesCreateResponseMilestoneCreator = {
12324 login: string;
12325 id: number;
12326 node_id: string;
12327 avatar_url: string;
12328 gravatar_id: string;
12329 url: string;
12330 html_url: string;
12331 followers_url: string;
12332 following_url: string;
12333 gists_url: string;
12334 starred_url: string;
12335 subscriptions_url: string;
12336 organizations_url: string;
12337 repos_url: string;
12338 events_url: string;
12339 received_events_url: string;
12340 type: string;
12341 site_admin: boolean;
12342 };
12343 type IssuesCreateResponseMilestone = {
12344 url: string;
12345 html_url: string;
12346 labels_url: string;
12347 id: number;
12348 node_id: string;
12349 number: number;
12350 state: string;
12351 title: string;
12352 description: string;
12353 creator: IssuesCreateResponseMilestoneCreator;
12354 open_issues: number;
12355 closed_issues: number;
12356 created_at: string;
12357 updated_at: string;
12358 closed_at: string;
12359 due_on: string;
12360 };
12361 type IssuesCreateResponseAssigneesItem = {
12362 login: string;
12363 id: number;
12364 node_id: string;
12365 avatar_url: string;
12366 gravatar_id: string;
12367 url: string;
12368 html_url: string;
12369 followers_url: string;
12370 following_url: string;
12371 gists_url: string;
12372 starred_url: string;
12373 subscriptions_url: string;
12374 organizations_url: string;
12375 repos_url: string;
12376 events_url: string;
12377 received_events_url: string;
12378 type: string;
12379 site_admin: boolean;
12380 };
12381 type IssuesCreateResponseAssignee = {
12382 login: string;
12383 id: number;
12384 node_id: string;
12385 avatar_url: string;
12386 gravatar_id: string;
12387 url: string;
12388 html_url: string;
12389 followers_url: string;
12390 following_url: string;
12391 gists_url: string;
12392 starred_url: string;
12393 subscriptions_url: string;
12394 organizations_url: string;
12395 repos_url: string;
12396 events_url: string;
12397 received_events_url: string;
12398 type: string;
12399 site_admin: boolean;
12400 };
12401 type IssuesCreateResponseLabelsItem = {
12402 id: number;
12403 node_id: string;
12404 url: string;
12405 name: string;
12406 description: string;
12407 color: string;
12408 default: boolean;
12409 };
12410 type IssuesCreateResponseUser = {
12411 login: string;
12412 id: number;
12413 node_id: string;
12414 avatar_url: string;
12415 gravatar_id: string;
12416 url: string;
12417 html_url: string;
12418 followers_url: string;
12419 following_url: string;
12420 gists_url: string;
12421 starred_url: string;
12422 subscriptions_url: string;
12423 organizations_url: string;
12424 repos_url: string;
12425 events_url: string;
12426 received_events_url: string;
12427 type: string;
12428 site_admin: boolean;
12429 };
12430 type IssuesCreateResponse = {
12431 id: number;
12432 node_id: string;
12433 url: string;
12434 repository_url: string;
12435 labels_url: string;
12436 comments_url: string;
12437 events_url: string;
12438 html_url: string;
12439 number: number;
12440 state: string;
12441 title: string;
12442 body: string;
12443 user: IssuesCreateResponseUser;
12444 labels: Array<IssuesCreateResponseLabelsItem>;
12445 assignee: IssuesCreateResponseAssignee;
12446 assignees: Array<IssuesCreateResponseAssigneesItem>;
12447 milestone: IssuesCreateResponseMilestone;
12448 locked: boolean;
12449 active_lock_reason: string;
12450 comments: number;
12451 pull_request: IssuesCreateResponsePullRequest;
12452 closed_at: null;
12453 created_at: string;
12454 updated_at: string;
12455 closed_by: IssuesCreateResponseClosedBy;
12456 };
12457 type IssuesGetResponseClosedBy = {
12458 login: string;
12459 id: number;
12460 node_id: string;
12461 avatar_url: string;
12462 gravatar_id: string;
12463 url: string;
12464 html_url: string;
12465 followers_url: string;
12466 following_url: string;
12467 gists_url: string;
12468 starred_url: string;
12469 subscriptions_url: string;
12470 organizations_url: string;
12471 repos_url: string;
12472 events_url: string;
12473 received_events_url: string;
12474 type: string;
12475 site_admin: boolean;
12476 };
12477 type IssuesGetResponsePullRequest = {
12478 url: string;
12479 html_url: string;
12480 diff_url: string;
12481 patch_url: string;
12482 };
12483 type IssuesGetResponseMilestoneCreator = {
12484 login: string;
12485 id: number;
12486 node_id: string;
12487 avatar_url: string;
12488 gravatar_id: string;
12489 url: string;
12490 html_url: string;
12491 followers_url: string;
12492 following_url: string;
12493 gists_url: string;
12494 starred_url: string;
12495 subscriptions_url: string;
12496 organizations_url: string;
12497 repos_url: string;
12498 events_url: string;
12499 received_events_url: string;
12500 type: string;
12501 site_admin: boolean;
12502 };
12503 type IssuesGetResponseMilestone = {
12504 url: string;
12505 html_url: string;
12506 labels_url: string;
12507 id: number;
12508 node_id: string;
12509 number: number;
12510 state: string;
12511 title: string;
12512 description: string;
12513 creator: IssuesGetResponseMilestoneCreator;
12514 open_issues: number;
12515 closed_issues: number;
12516 created_at: string;
12517 updated_at: string;
12518 closed_at: string;
12519 due_on: string;
12520 };
12521 type IssuesGetResponseAssigneesItem = {
12522 login: string;
12523 id: number;
12524 node_id: string;
12525 avatar_url: string;
12526 gravatar_id: string;
12527 url: string;
12528 html_url: string;
12529 followers_url: string;
12530 following_url: string;
12531 gists_url: string;
12532 starred_url: string;
12533 subscriptions_url: string;
12534 organizations_url: string;
12535 repos_url: string;
12536 events_url: string;
12537 received_events_url: string;
12538 type: string;
12539 site_admin: boolean;
12540 };
12541 type IssuesGetResponseAssignee = {
12542 login: string;
12543 id: number;
12544 node_id: string;
12545 avatar_url: string;
12546 gravatar_id: string;
12547 url: string;
12548 html_url: string;
12549 followers_url: string;
12550 following_url: string;
12551 gists_url: string;
12552 starred_url: string;
12553 subscriptions_url: string;
12554 organizations_url: string;
12555 repos_url: string;
12556 events_url: string;
12557 received_events_url: string;
12558 type: string;
12559 site_admin: boolean;
12560 };
12561 type IssuesGetResponseLabelsItem = {
12562 id: number;
12563 node_id: string;
12564 url: string;
12565 name: string;
12566 description: string;
12567 color: string;
12568 default: boolean;
12569 };
12570 type IssuesGetResponseUser = {
12571 login: string;
12572 id: number;
12573 node_id: string;
12574 avatar_url: string;
12575 gravatar_id: string;
12576 url: string;
12577 html_url: string;
12578 followers_url: string;
12579 following_url: string;
12580 gists_url: string;
12581 starred_url: string;
12582 subscriptions_url: string;
12583 organizations_url: string;
12584 repos_url: string;
12585 events_url: string;
12586 received_events_url: string;
12587 type: string;
12588 site_admin: boolean;
12589 };
12590 type IssuesGetResponse = {
12591 id: number;
12592 node_id: string;
12593 url: string;
12594 repository_url: string;
12595 labels_url: string;
12596 comments_url: string;
12597 events_url: string;
12598 html_url: string;
12599 number: number;
12600 state: string;
12601 title: string;
12602 body: string;
12603 user: IssuesGetResponseUser;
12604 labels: Array<IssuesGetResponseLabelsItem>;
12605 assignee: IssuesGetResponseAssignee;
12606 assignees: Array<IssuesGetResponseAssigneesItem>;
12607 milestone: IssuesGetResponseMilestone;
12608 locked: boolean;
12609 active_lock_reason: string;
12610 comments: number;
12611 pull_request: IssuesGetResponsePullRequest;
12612 closed_at: null;
12613 created_at: string;
12614 updated_at: string;
12615 closed_by: IssuesGetResponseClosedBy;
12616 };
12617 type IssuesListForRepoResponseItemPullRequest = {
12618 url: string;
12619 html_url: string;
12620 diff_url: string;
12621 patch_url: string;
12622 };
12623 type IssuesListForRepoResponseItemMilestoneCreator = {
12624 login: string;
12625 id: number;
12626 node_id: string;
12627 avatar_url: string;
12628 gravatar_id: string;
12629 url: string;
12630 html_url: string;
12631 followers_url: string;
12632 following_url: string;
12633 gists_url: string;
12634 starred_url: string;
12635 subscriptions_url: string;
12636 organizations_url: string;
12637 repos_url: string;
12638 events_url: string;
12639 received_events_url: string;
12640 type: string;
12641 site_admin: boolean;
12642 };
12643 type IssuesListForRepoResponseItemMilestone = {
12644 url: string;
12645 html_url: string;
12646 labels_url: string;
12647 id: number;
12648 node_id: string;
12649 number: number;
12650 state: string;
12651 title: string;
12652 description: string;
12653 creator: IssuesListForRepoResponseItemMilestoneCreator;
12654 open_issues: number;
12655 closed_issues: number;
12656 created_at: string;
12657 updated_at: string;
12658 closed_at: string;
12659 due_on: string;
12660 };
12661 type IssuesListForRepoResponseItemAssigneesItem = {
12662 login: string;
12663 id: number;
12664 node_id: string;
12665 avatar_url: string;
12666 gravatar_id: string;
12667 url: string;
12668 html_url: string;
12669 followers_url: string;
12670 following_url: string;
12671 gists_url: string;
12672 starred_url: string;
12673 subscriptions_url: string;
12674 organizations_url: string;
12675 repos_url: string;
12676 events_url: string;
12677 received_events_url: string;
12678 type: string;
12679 site_admin: boolean;
12680 };
12681 type IssuesListForRepoResponseItemAssignee = {
12682 login: string;
12683 id: number;
12684 node_id: string;
12685 avatar_url: string;
12686 gravatar_id: string;
12687 url: string;
12688 html_url: string;
12689 followers_url: string;
12690 following_url: string;
12691 gists_url: string;
12692 starred_url: string;
12693 subscriptions_url: string;
12694 organizations_url: string;
12695 repos_url: string;
12696 events_url: string;
12697 received_events_url: string;
12698 type: string;
12699 site_admin: boolean;
12700 };
12701 type IssuesListForRepoResponseItemLabelsItem = {
12702 id: number;
12703 node_id: string;
12704 url: string;
12705 name: string;
12706 description: string;
12707 color: string;
12708 default: boolean;
12709 };
12710 type IssuesListForRepoResponseItemUser = {
12711 login: string;
12712 id: number;
12713 node_id: string;
12714 avatar_url: string;
12715 gravatar_id: string;
12716 url: string;
12717 html_url: string;
12718 followers_url: string;
12719 following_url: string;
12720 gists_url: string;
12721 starred_url: string;
12722 subscriptions_url: string;
12723 organizations_url: string;
12724 repos_url: string;
12725 events_url: string;
12726 received_events_url: string;
12727 type: string;
12728 site_admin: boolean;
12729 };
12730 type IssuesListForRepoResponseItem = {
12731 id: number;
12732 node_id: string;
12733 url: string;
12734 repository_url: string;
12735 labels_url: string;
12736 comments_url: string;
12737 events_url: string;
12738 html_url: string;
12739 number: number;
12740 state: string;
12741 title: string;
12742 body: string;
12743 user: IssuesListForRepoResponseItemUser;
12744 labels: Array<IssuesListForRepoResponseItemLabelsItem>;
12745 assignee: IssuesListForRepoResponseItemAssignee;
12746 assignees: Array<IssuesListForRepoResponseItemAssigneesItem>;
12747 milestone: IssuesListForRepoResponseItemMilestone;
12748 locked: boolean;
12749 active_lock_reason: string;
12750 comments: number;
12751 pull_request: IssuesListForRepoResponseItemPullRequest;
12752 closed_at: null;
12753 created_at: string;
12754 updated_at: string;
12755 };
12756 type IssuesListForOrgResponseItemRepositoryPermissions = {
12757 admin: boolean;
12758 push: boolean;
12759 pull: boolean;
12760 };
12761 type IssuesListForOrgResponseItemRepositoryOwner = {
12762 login: string;
12763 id: number;
12764 node_id: string;
12765 avatar_url: string;
12766 gravatar_id: string;
12767 url: string;
12768 html_url: string;
12769 followers_url: string;
12770 following_url: string;
12771 gists_url: string;
12772 starred_url: string;
12773 subscriptions_url: string;
12774 organizations_url: string;
12775 repos_url: string;
12776 events_url: string;
12777 received_events_url: string;
12778 type: string;
12779 site_admin: boolean;
12780 };
12781 type IssuesListForOrgResponseItemRepository = {
12782 id: number;
12783 node_id: string;
12784 name: string;
12785 full_name: string;
12786 owner: IssuesListForOrgResponseItemRepositoryOwner;
12787 private: boolean;
12788 html_url: string;
12789 description: string;
12790 fork: boolean;
12791 url: string;
12792 archive_url: string;
12793 assignees_url: string;
12794 blobs_url: string;
12795 branches_url: string;
12796 collaborators_url: string;
12797 comments_url: string;
12798 commits_url: string;
12799 compare_url: string;
12800 contents_url: string;
12801 contributors_url: string;
12802 deployments_url: string;
12803 downloads_url: string;
12804 events_url: string;
12805 forks_url: string;
12806 git_commits_url: string;
12807 git_refs_url: string;
12808 git_tags_url: string;
12809 git_url: string;
12810 issue_comment_url: string;
12811 issue_events_url: string;
12812 issues_url: string;
12813 keys_url: string;
12814 labels_url: string;
12815 languages_url: string;
12816 merges_url: string;
12817 milestones_url: string;
12818 notifications_url: string;
12819 pulls_url: string;
12820 releases_url: string;
12821 ssh_url: string;
12822 stargazers_url: string;
12823 statuses_url: string;
12824 subscribers_url: string;
12825 subscription_url: string;
12826 tags_url: string;
12827 teams_url: string;
12828 trees_url: string;
12829 clone_url: string;
12830 mirror_url: string;
12831 hooks_url: string;
12832 svn_url: string;
12833 homepage: string;
12834 language: null;
12835 forks_count: number;
12836 stargazers_count: number;
12837 watchers_count: number;
12838 size: number;
12839 default_branch: string;
12840 open_issues_count: number;
12841 topics: Array<string>;
12842 has_issues: boolean;
12843 has_projects: boolean;
12844 has_wiki: boolean;
12845 has_pages: boolean;
12846 has_downloads: boolean;
12847 archived: boolean;
12848 pushed_at: string;
12849 created_at: string;
12850 updated_at: string;
12851 permissions: IssuesListForOrgResponseItemRepositoryPermissions;
12852 allow_rebase_merge: boolean;
12853 allow_squash_merge: boolean;
12854 allow_merge_commit: boolean;
12855 subscribers_count: number;
12856 network_count: number;
12857 };
12858 type IssuesListForOrgResponseItemPullRequest = {
12859 url: string;
12860 html_url: string;
12861 diff_url: string;
12862 patch_url: string;
12863 };
12864 type IssuesListForOrgResponseItemMilestoneCreator = {
12865 login: string;
12866 id: number;
12867 node_id: string;
12868 avatar_url: string;
12869 gravatar_id: string;
12870 url: string;
12871 html_url: string;
12872 followers_url: string;
12873 following_url: string;
12874 gists_url: string;
12875 starred_url: string;
12876 subscriptions_url: string;
12877 organizations_url: string;
12878 repos_url: string;
12879 events_url: string;
12880 received_events_url: string;
12881 type: string;
12882 site_admin: boolean;
12883 };
12884 type IssuesListForOrgResponseItemMilestone = {
12885 url: string;
12886 html_url: string;
12887 labels_url: string;
12888 id: number;
12889 node_id: string;
12890 number: number;
12891 state: string;
12892 title: string;
12893 description: string;
12894 creator: IssuesListForOrgResponseItemMilestoneCreator;
12895 open_issues: number;
12896 closed_issues: number;
12897 created_at: string;
12898 updated_at: string;
12899 closed_at: string;
12900 due_on: string;
12901 };
12902 type IssuesListForOrgResponseItemAssigneesItem = {
12903 login: string;
12904 id: number;
12905 node_id: string;
12906 avatar_url: string;
12907 gravatar_id: string;
12908 url: string;
12909 html_url: string;
12910 followers_url: string;
12911 following_url: string;
12912 gists_url: string;
12913 starred_url: string;
12914 subscriptions_url: string;
12915 organizations_url: string;
12916 repos_url: string;
12917 events_url: string;
12918 received_events_url: string;
12919 type: string;
12920 site_admin: boolean;
12921 };
12922 type IssuesListForOrgResponseItemAssignee = {
12923 login: string;
12924 id: number;
12925 node_id: string;
12926 avatar_url: string;
12927 gravatar_id: string;
12928 url: string;
12929 html_url: string;
12930 followers_url: string;
12931 following_url: string;
12932 gists_url: string;
12933 starred_url: string;
12934 subscriptions_url: string;
12935 organizations_url: string;
12936 repos_url: string;
12937 events_url: string;
12938 received_events_url: string;
12939 type: string;
12940 site_admin: boolean;
12941 };
12942 type IssuesListForOrgResponseItemLabelsItem = {
12943 id: number;
12944 node_id: string;
12945 url: string;
12946 name: string;
12947 description: string;
12948 color: string;
12949 default: boolean;
12950 };
12951 type IssuesListForOrgResponseItemUser = {
12952 login: string;
12953 id: number;
12954 node_id: string;
12955 avatar_url: string;
12956 gravatar_id: string;
12957 url: string;
12958 html_url: string;
12959 followers_url: string;
12960 following_url: string;
12961 gists_url: string;
12962 starred_url: string;
12963 subscriptions_url: string;
12964 organizations_url: string;
12965 repos_url: string;
12966 events_url: string;
12967 received_events_url: string;
12968 type: string;
12969 site_admin: boolean;
12970 };
12971 type IssuesListForOrgResponseItem = {
12972 id: number;
12973 node_id: string;
12974 url: string;
12975 repository_url: string;
12976 labels_url: string;
12977 comments_url: string;
12978 events_url: string;
12979 html_url: string;
12980 number: number;
12981 state: string;
12982 title: string;
12983 body: string;
12984 user: IssuesListForOrgResponseItemUser;
12985 labels: Array<IssuesListForOrgResponseItemLabelsItem>;
12986 assignee: IssuesListForOrgResponseItemAssignee;
12987 assignees: Array<IssuesListForOrgResponseItemAssigneesItem>;
12988 milestone: IssuesListForOrgResponseItemMilestone;
12989 locked: boolean;
12990 active_lock_reason: string;
12991 comments: number;
12992 pull_request: IssuesListForOrgResponseItemPullRequest;
12993 closed_at: null;
12994 created_at: string;
12995 updated_at: string;
12996 repository: IssuesListForOrgResponseItemRepository;
12997 };
12998 type IssuesListForAuthenticatedUserResponseItemRepositoryPermissions = {
12999 admin: boolean;
13000 push: boolean;
13001 pull: boolean;
13002 };
13003 type IssuesListForAuthenticatedUserResponseItemRepositoryOwner = {
13004 login: string;
13005 id: number;
13006 node_id: string;
13007 avatar_url: string;
13008 gravatar_id: string;
13009 url: string;
13010 html_url: string;
13011 followers_url: string;
13012 following_url: string;
13013 gists_url: string;
13014 starred_url: string;
13015 subscriptions_url: string;
13016 organizations_url: string;
13017 repos_url: string;
13018 events_url: string;
13019 received_events_url: string;
13020 type: string;
13021 site_admin: boolean;
13022 };
13023 type IssuesListForAuthenticatedUserResponseItemRepository = {
13024 id: number;
13025 node_id: string;
13026 name: string;
13027 full_name: string;
13028 owner: IssuesListForAuthenticatedUserResponseItemRepositoryOwner;
13029 private: boolean;
13030 html_url: string;
13031 description: string;
13032 fork: boolean;
13033 url: string;
13034 archive_url: string;
13035 assignees_url: string;
13036 blobs_url: string;
13037 branches_url: string;
13038 collaborators_url: string;
13039 comments_url: string;
13040 commits_url: string;
13041 compare_url: string;
13042 contents_url: string;
13043 contributors_url: string;
13044 deployments_url: string;
13045 downloads_url: string;
13046 events_url: string;
13047 forks_url: string;
13048 git_commits_url: string;
13049 git_refs_url: string;
13050 git_tags_url: string;
13051 git_url: string;
13052 issue_comment_url: string;
13053 issue_events_url: string;
13054 issues_url: string;
13055 keys_url: string;
13056 labels_url: string;
13057 languages_url: string;
13058 merges_url: string;
13059 milestones_url: string;
13060 notifications_url: string;
13061 pulls_url: string;
13062 releases_url: string;
13063 ssh_url: string;
13064 stargazers_url: string;
13065 statuses_url: string;
13066 subscribers_url: string;
13067 subscription_url: string;
13068 tags_url: string;
13069 teams_url: string;
13070 trees_url: string;
13071 clone_url: string;
13072 mirror_url: string;
13073 hooks_url: string;
13074 svn_url: string;
13075 homepage: string;
13076 language: null;
13077 forks_count: number;
13078 stargazers_count: number;
13079 watchers_count: number;
13080 size: number;
13081 default_branch: string;
13082 open_issues_count: number;
13083 topics: Array<string>;
13084 has_issues: boolean;
13085 has_projects: boolean;
13086 has_wiki: boolean;
13087 has_pages: boolean;
13088 has_downloads: boolean;
13089 archived: boolean;
13090 pushed_at: string;
13091 created_at: string;
13092 updated_at: string;
13093 permissions: IssuesListForAuthenticatedUserResponseItemRepositoryPermissions;
13094 allow_rebase_merge: boolean;
13095 allow_squash_merge: boolean;
13096 allow_merge_commit: boolean;
13097 subscribers_count: number;
13098 network_count: number;
13099 };
13100 type IssuesListForAuthenticatedUserResponseItemPullRequest = {
13101 url: string;
13102 html_url: string;
13103 diff_url: string;
13104 patch_url: string;
13105 };
13106 type IssuesListForAuthenticatedUserResponseItemMilestoneCreator = {
13107 login: string;
13108 id: number;
13109 node_id: string;
13110 avatar_url: string;
13111 gravatar_id: string;
13112 url: string;
13113 html_url: string;
13114 followers_url: string;
13115 following_url: string;
13116 gists_url: string;
13117 starred_url: string;
13118 subscriptions_url: string;
13119 organizations_url: string;
13120 repos_url: string;
13121 events_url: string;
13122 received_events_url: string;
13123 type: string;
13124 site_admin: boolean;
13125 };
13126 type IssuesListForAuthenticatedUserResponseItemMilestone = {
13127 url: string;
13128 html_url: string;
13129 labels_url: string;
13130 id: number;
13131 node_id: string;
13132 number: number;
13133 state: string;
13134 title: string;
13135 description: string;
13136 creator: IssuesListForAuthenticatedUserResponseItemMilestoneCreator;
13137 open_issues: number;
13138 closed_issues: number;
13139 created_at: string;
13140 updated_at: string;
13141 closed_at: string;
13142 due_on: string;
13143 };
13144 type IssuesListForAuthenticatedUserResponseItemAssigneesItem = {
13145 login: string;
13146 id: number;
13147 node_id: string;
13148 avatar_url: string;
13149 gravatar_id: string;
13150 url: string;
13151 html_url: string;
13152 followers_url: string;
13153 following_url: string;
13154 gists_url: string;
13155 starred_url: string;
13156 subscriptions_url: string;
13157 organizations_url: string;
13158 repos_url: string;
13159 events_url: string;
13160 received_events_url: string;
13161 type: string;
13162 site_admin: boolean;
13163 };
13164 type IssuesListForAuthenticatedUserResponseItemAssignee = {
13165 login: string;
13166 id: number;
13167 node_id: string;
13168 avatar_url: string;
13169 gravatar_id: string;
13170 url: string;
13171 html_url: string;
13172 followers_url: string;
13173 following_url: string;
13174 gists_url: string;
13175 starred_url: string;
13176 subscriptions_url: string;
13177 organizations_url: string;
13178 repos_url: string;
13179 events_url: string;
13180 received_events_url: string;
13181 type: string;
13182 site_admin: boolean;
13183 };
13184 type IssuesListForAuthenticatedUserResponseItemLabelsItem = {
13185 id: number;
13186 node_id: string;
13187 url: string;
13188 name: string;
13189 description: string;
13190 color: string;
13191 default: boolean;
13192 };
13193 type IssuesListForAuthenticatedUserResponseItemUser = {
13194 login: string;
13195 id: number;
13196 node_id: string;
13197 avatar_url: string;
13198 gravatar_id: string;
13199 url: string;
13200 html_url: string;
13201 followers_url: string;
13202 following_url: string;
13203 gists_url: string;
13204 starred_url: string;
13205 subscriptions_url: string;
13206 organizations_url: string;
13207 repos_url: string;
13208 events_url: string;
13209 received_events_url: string;
13210 type: string;
13211 site_admin: boolean;
13212 };
13213 type IssuesListForAuthenticatedUserResponseItem = {
13214 id: number;
13215 node_id: string;
13216 url: string;
13217 repository_url: string;
13218 labels_url: string;
13219 comments_url: string;
13220 events_url: string;
13221 html_url: string;
13222 number: number;
13223 state: string;
13224 title: string;
13225 body: string;
13226 user: IssuesListForAuthenticatedUserResponseItemUser;
13227 labels: Array<IssuesListForAuthenticatedUserResponseItemLabelsItem>;
13228 assignee: IssuesListForAuthenticatedUserResponseItemAssignee;
13229 assignees: Array<IssuesListForAuthenticatedUserResponseItemAssigneesItem>;
13230 milestone: IssuesListForAuthenticatedUserResponseItemMilestone;
13231 locked: boolean;
13232 active_lock_reason: string;
13233 comments: number;
13234 pull_request: IssuesListForAuthenticatedUserResponseItemPullRequest;
13235 closed_at: null;
13236 created_at: string;
13237 updated_at: string;
13238 repository: IssuesListForAuthenticatedUserResponseItemRepository;
13239 };
13240 type IssuesListResponseItemRepositoryPermissions = {
13241 admin: boolean;
13242 push: boolean;
13243 pull: boolean;
13244 };
13245 type IssuesListResponseItemRepositoryOwner = {
13246 login: string;
13247 id: number;
13248 node_id: string;
13249 avatar_url: string;
13250 gravatar_id: string;
13251 url: string;
13252 html_url: string;
13253 followers_url: string;
13254 following_url: string;
13255 gists_url: string;
13256 starred_url: string;
13257 subscriptions_url: string;
13258 organizations_url: string;
13259 repos_url: string;
13260 events_url: string;
13261 received_events_url: string;
13262 type: string;
13263 site_admin: boolean;
13264 };
13265 type IssuesListResponseItemRepository = {
13266 id: number;
13267 node_id: string;
13268 name: string;
13269 full_name: string;
13270 owner: IssuesListResponseItemRepositoryOwner;
13271 private: boolean;
13272 html_url: string;
13273 description: string;
13274 fork: boolean;
13275 url: string;
13276 archive_url: string;
13277 assignees_url: string;
13278 blobs_url: string;
13279 branches_url: string;
13280 collaborators_url: string;
13281 comments_url: string;
13282 commits_url: string;
13283 compare_url: string;
13284 contents_url: string;
13285 contributors_url: string;
13286 deployments_url: string;
13287 downloads_url: string;
13288 events_url: string;
13289 forks_url: string;
13290 git_commits_url: string;
13291 git_refs_url: string;
13292 git_tags_url: string;
13293 git_url: string;
13294 issue_comment_url: string;
13295 issue_events_url: string;
13296 issues_url: string;
13297 keys_url: string;
13298 labels_url: string;
13299 languages_url: string;
13300 merges_url: string;
13301 milestones_url: string;
13302 notifications_url: string;
13303 pulls_url: string;
13304 releases_url: string;
13305 ssh_url: string;
13306 stargazers_url: string;
13307 statuses_url: string;
13308 subscribers_url: string;
13309 subscription_url: string;
13310 tags_url: string;
13311 teams_url: string;
13312 trees_url: string;
13313 clone_url: string;
13314 mirror_url: string;
13315 hooks_url: string;
13316 svn_url: string;
13317 homepage: string;
13318 language: null;
13319 forks_count: number;
13320 stargazers_count: number;
13321 watchers_count: number;
13322 size: number;
13323 default_branch: string;
13324 open_issues_count: number;
13325 topics: Array<string>;
13326 has_issues: boolean;
13327 has_projects: boolean;
13328 has_wiki: boolean;
13329 has_pages: boolean;
13330 has_downloads: boolean;
13331 archived: boolean;
13332 pushed_at: string;
13333 created_at: string;
13334 updated_at: string;
13335 permissions: IssuesListResponseItemRepositoryPermissions;
13336 allow_rebase_merge: boolean;
13337 allow_squash_merge: boolean;
13338 allow_merge_commit: boolean;
13339 subscribers_count: number;
13340 network_count: number;
13341 };
13342 type IssuesListResponseItemPullRequest = {
13343 url: string;
13344 html_url: string;
13345 diff_url: string;
13346 patch_url: string;
13347 };
13348 type IssuesListResponseItemMilestoneCreator = {
13349 login: string;
13350 id: number;
13351 node_id: string;
13352 avatar_url: string;
13353 gravatar_id: string;
13354 url: string;
13355 html_url: string;
13356 followers_url: string;
13357 following_url: string;
13358 gists_url: string;
13359 starred_url: string;
13360 subscriptions_url: string;
13361 organizations_url: string;
13362 repos_url: string;
13363 events_url: string;
13364 received_events_url: string;
13365 type: string;
13366 site_admin: boolean;
13367 };
13368 type IssuesListResponseItemMilestone = {
13369 url: string;
13370 html_url: string;
13371 labels_url: string;
13372 id: number;
13373 node_id: string;
13374 number: number;
13375 state: string;
13376 title: string;
13377 description: string;
13378 creator: IssuesListResponseItemMilestoneCreator;
13379 open_issues: number;
13380 closed_issues: number;
13381 created_at: string;
13382 updated_at: string;
13383 closed_at: string;
13384 due_on: string;
13385 };
13386 type IssuesListResponseItemAssigneesItem = {
13387 login: string;
13388 id: number;
13389 node_id: string;
13390 avatar_url: string;
13391 gravatar_id: string;
13392 url: string;
13393 html_url: string;
13394 followers_url: string;
13395 following_url: string;
13396 gists_url: string;
13397 starred_url: string;
13398 subscriptions_url: string;
13399 organizations_url: string;
13400 repos_url: string;
13401 events_url: string;
13402 received_events_url: string;
13403 type: string;
13404 site_admin: boolean;
13405 };
13406 type IssuesListResponseItemAssignee = {
13407 login: string;
13408 id: number;
13409 node_id: string;
13410 avatar_url: string;
13411 gravatar_id: string;
13412 url: string;
13413 html_url: string;
13414 followers_url: string;
13415 following_url: string;
13416 gists_url: string;
13417 starred_url: string;
13418 subscriptions_url: string;
13419 organizations_url: string;
13420 repos_url: string;
13421 events_url: string;
13422 received_events_url: string;
13423 type: string;
13424 site_admin: boolean;
13425 };
13426 type IssuesListResponseItemLabelsItem = {
13427 id: number;
13428 node_id: string;
13429 url: string;
13430 name: string;
13431 description: string;
13432 color: string;
13433 default: boolean;
13434 };
13435 type IssuesListResponseItemUser = {
13436 login: string;
13437 id: number;
13438 node_id: string;
13439 avatar_url: string;
13440 gravatar_id: string;
13441 url: string;
13442 html_url: string;
13443 followers_url: string;
13444 following_url: string;
13445 gists_url: string;
13446 starred_url: string;
13447 subscriptions_url: string;
13448 organizations_url: string;
13449 repos_url: string;
13450 events_url: string;
13451 received_events_url: string;
13452 type: string;
13453 site_admin: boolean;
13454 };
13455 type IssuesListResponseItem = {
13456 id: number;
13457 node_id: string;
13458 url: string;
13459 repository_url: string;
13460 labels_url: string;
13461 comments_url: string;
13462 events_url: string;
13463 html_url: string;
13464 number: number;
13465 state: string;
13466 title: string;
13467 body: string;
13468 user: IssuesListResponseItemUser;
13469 labels: Array<IssuesListResponseItemLabelsItem>;
13470 assignee: IssuesListResponseItemAssignee;
13471 assignees: Array<IssuesListResponseItemAssigneesItem>;
13472 milestone: IssuesListResponseItemMilestone;
13473 locked: boolean;
13474 active_lock_reason: string;
13475 comments: number;
13476 pull_request: IssuesListResponseItemPullRequest;
13477 closed_at: null;
13478 created_at: string;
13479 updated_at: string;
13480 repository: IssuesListResponseItemRepository;
13481 };
13482 type InteractionsRemoveRestrictionsForRepoResponse = {};
13483 type InteractionsAddOrUpdateRestrictionsForRepoResponse = {
13484 limit: string;
13485 origin: string;
13486 expires_at: string;
13487 };
13488 type InteractionsGetRestrictionsForRepoResponse = {
13489 limit: string;
13490 origin: string;
13491 expires_at: string;
13492 };
13493 type InteractionsRemoveRestrictionsForOrgResponse = {};
13494 type InteractionsAddOrUpdateRestrictionsForOrgResponse = {
13495 limit: string;
13496 origin: string;
13497 expires_at: string;
13498 };
13499 type InteractionsGetRestrictionsForOrgResponse = {
13500 limit: string;
13501 origin: string;
13502 expires_at: string;
13503 };
13504 type AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponseItemPlan = {
13505 url: string;
13506 accounts_url: string;
13507 id: number;
13508 number: number;
13509 name: string;
13510 description: string;
13511 monthly_price_in_cents: number;
13512 yearly_price_in_cents: number;
13513 price_model: string;
13514 has_free_trial: boolean;
13515 unit_name: null;
13516 state: string;
13517 bullets: Array<string>;
13518 };
13519 type AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponseItemAccount = {
13520 login: string;
13521 id: number;
13522 url: string;
13523 email: null;
13524 organization_billing_email: string;
13525 type: string;
13526 };
13527 type AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponseItem = {
13528 billing_cycle: string;
13529 next_billing_date: string;
13530 unit_count: null;
13531 on_free_trial: boolean;
13532 free_trial_ends_on: string;
13533 updated_at: string;
13534 account: AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponseItemAccount;
13535 plan: AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponseItemPlan;
13536 };
13537 type AppsListMarketplacePurchasesForAuthenticatedUserResponseItemPlan = {
13538 url: string;
13539 accounts_url: string;
13540 id: number;
13541 number: number;
13542 name: string;
13543 description: string;
13544 monthly_price_in_cents: number;
13545 yearly_price_in_cents: number;
13546 price_model: string;
13547 has_free_trial: boolean;
13548 unit_name: null;
13549 state: string;
13550 bullets: Array<string>;
13551 };
13552 type AppsListMarketplacePurchasesForAuthenticatedUserResponseItemAccount = {
13553 login: string;
13554 id: number;
13555 url: string;
13556 email: null;
13557 organization_billing_email: string;
13558 type: string;
13559 };
13560 type AppsListMarketplacePurchasesForAuthenticatedUserResponseItem = {
13561 billing_cycle: string;
13562 next_billing_date: string;
13563 unit_count: null;
13564 on_free_trial: boolean;
13565 free_trial_ends_on: string;
13566 updated_at: string;
13567 account: AppsListMarketplacePurchasesForAuthenticatedUserResponseItemAccount;
13568 plan: AppsListMarketplacePurchasesForAuthenticatedUserResponseItemPlan;
13569 };
13570 type AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePurchasePlan = {
13571 url: string;
13572 accounts_url: string;
13573 id: number;
13574 number: number;
13575 name: string;
13576 description: string;
13577 monthly_price_in_cents: number;
13578 yearly_price_in_cents: number;
13579 price_model: string;
13580 has_free_trial: boolean;
13581 unit_name: null;
13582 state: string;
13583 bullets: Array<string>;
13584 };
13585 type AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePurchase = {
13586 billing_cycle: string;
13587 next_billing_date: string;
13588 unit_count: null;
13589 on_free_trial: boolean;
13590 free_trial_ends_on: string;
13591 updated_at: string;
13592 plan: AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePurchasePlan;
13593 };
13594 type AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePendingChangePlan = {
13595 url: string;
13596 accounts_url: string;
13597 id: number;
13598 number: number;
13599 name: string;
13600 description: string;
13601 monthly_price_in_cents: number;
13602 yearly_price_in_cents: number;
13603 price_model: string;
13604 has_free_trial: boolean;
13605 state: string;
13606 unit_name: null;
13607 bullets: Array<string>;
13608 };
13609 type AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePendingChange = {
13610 effective_date: string;
13611 unit_count: null;
13612 id: number;
13613 plan: AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePendingChangePlan;
13614 };
13615 type AppsCheckAccountIsAssociatedWithAnyStubbedResponse = {
13616 url: string;
13617 type: string;
13618 id: number;
13619 login: string;
13620 email: null;
13621 organization_billing_email: string;
13622 marketplace_pending_change: AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePendingChange;
13623 marketplace_purchase: AppsCheckAccountIsAssociatedWithAnyStubbedResponseMarketplacePurchase;
13624 };
13625 type AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePurchasePlan = {
13626 url: string;
13627 accounts_url: string;
13628 id: number;
13629 number: number;
13630 name: string;
13631 description: string;
13632 monthly_price_in_cents: number;
13633 yearly_price_in_cents: number;
13634 price_model: string;
13635 has_free_trial: boolean;
13636 unit_name: null;
13637 state: string;
13638 bullets: Array<string>;
13639 };
13640 type AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePurchase = {
13641 billing_cycle: string;
13642 next_billing_date: string;
13643 unit_count: null;
13644 on_free_trial: boolean;
13645 free_trial_ends_on: string;
13646 updated_at: string;
13647 plan: AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePurchasePlan;
13648 };
13649 type AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePendingChangePlan = {
13650 url: string;
13651 accounts_url: string;
13652 id: number;
13653 number: number;
13654 name: string;
13655 description: string;
13656 monthly_price_in_cents: number;
13657 yearly_price_in_cents: number;
13658 price_model: string;
13659 has_free_trial: boolean;
13660 state: string;
13661 unit_name: null;
13662 bullets: Array<string>;
13663 };
13664 type AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePendingChange = {
13665 effective_date: string;
13666 unit_count: null;
13667 id: number;
13668 plan: AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePendingChangePlan;
13669 };
13670 type AppsCheckAccountIsAssociatedWithAnyResponse = {
13671 url: string;
13672 type: string;
13673 id: number;
13674 login: string;
13675 email: null;
13676 organization_billing_email: string;
13677 marketplace_pending_change: AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePendingChange;
13678 marketplace_purchase: AppsCheckAccountIsAssociatedWithAnyResponseMarketplacePurchase;
13679 };
13680 type AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePurchasePlan = {
13681 url: string;
13682 accounts_url: string;
13683 id: number;
13684 number: number;
13685 name: string;
13686 description: string;
13687 monthly_price_in_cents: number;
13688 yearly_price_in_cents: number;
13689 price_model: string;
13690 has_free_trial: boolean;
13691 unit_name: null;
13692 state: string;
13693 bullets: Array<string>;
13694 };
13695 type AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePurchase = {
13696 billing_cycle: string;
13697 next_billing_date: string;
13698 unit_count: null;
13699 on_free_trial: boolean;
13700 free_trial_ends_on: string;
13701 updated_at: string;
13702 plan: AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePurchasePlan;
13703 };
13704 type AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePendingChangePlan = {
13705 url: string;
13706 accounts_url: string;
13707 id: number;
13708 number: number;
13709 name: string;
13710 description: string;
13711 monthly_price_in_cents: number;
13712 yearly_price_in_cents: number;
13713 price_model: string;
13714 has_free_trial: boolean;
13715 state: string;
13716 unit_name: null;
13717 bullets: Array<string>;
13718 };
13719 type AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePendingChange = {
13720 effective_date: string;
13721 unit_count: null;
13722 id: number;
13723 plan: AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePendingChangePlan;
13724 };
13725 type AppsListAccountsUserOrOrgOnPlanStubbedResponseItem = {
13726 url: string;
13727 type: string;
13728 id: number;
13729 login: string;
13730 email: null;
13731 organization_billing_email: string;
13732 marketplace_pending_change: AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePendingChange;
13733 marketplace_purchase: AppsListAccountsUserOrOrgOnPlanStubbedResponseItemMarketplacePurchase;
13734 };
13735 type AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePurchasePlan = {
13736 url: string;
13737 accounts_url: string;
13738 id: number;
13739 number: number;
13740 name: string;
13741 description: string;
13742 monthly_price_in_cents: number;
13743 yearly_price_in_cents: number;
13744 price_model: string;
13745 has_free_trial: boolean;
13746 unit_name: null;
13747 state: string;
13748 bullets: Array<string>;
13749 };
13750 type AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePurchase = {
13751 billing_cycle: string;
13752 next_billing_date: string;
13753 unit_count: null;
13754 on_free_trial: boolean;
13755 free_trial_ends_on: string;
13756 updated_at: string;
13757 plan: AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePurchasePlan;
13758 };
13759 type AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePendingChangePlan = {
13760 url: string;
13761 accounts_url: string;
13762 id: number;
13763 number: number;
13764 name: string;
13765 description: string;
13766 monthly_price_in_cents: number;
13767 yearly_price_in_cents: number;
13768 price_model: string;
13769 has_free_trial: boolean;
13770 state: string;
13771 unit_name: null;
13772 bullets: Array<string>;
13773 };
13774 type AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePendingChange = {
13775 effective_date: string;
13776 unit_count: null;
13777 id: number;
13778 plan: AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePendingChangePlan;
13779 };
13780 type AppsListAccountsUserOrOrgOnPlanResponseItem = {
13781 url: string;
13782 type: string;
13783 id: number;
13784 login: string;
13785 email: null;
13786 organization_billing_email: string;
13787 marketplace_pending_change: AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePendingChange;
13788 marketplace_purchase: AppsListAccountsUserOrOrgOnPlanResponseItemMarketplacePurchase;
13789 };
13790 type AppsListPlansStubbedResponseItem = {
13791 url: string;
13792 accounts_url: string;
13793 id: number;
13794 number: number;
13795 name: string;
13796 description: string;
13797 monthly_price_in_cents: number;
13798 yearly_price_in_cents: number;
13799 price_model: string;
13800 has_free_trial: boolean;
13801 unit_name: null;
13802 state: string;
13803 bullets: Array<string>;
13804 };
13805 type AppsListPlansResponseItem = {
13806 url: string;
13807 accounts_url: string;
13808 id: number;
13809 number: number;
13810 name: string;
13811 description: string;
13812 monthly_price_in_cents: number;
13813 yearly_price_in_cents: number;
13814 price_model: string;
13815 has_free_trial: boolean;
13816 unit_name: null;
13817 state: string;
13818 bullets: Array<string>;
13819 };
13820 type AppsRemoveRepoFromInstallationResponse = {};
13821 type AppsAddRepoToInstallationResponse = {};
13822 type AppsListInstallationReposForAuthenticatedUserResponseRepositoriesItemPermissions = {
13823 admin: boolean;
13824 push: boolean;
13825 pull: boolean;
13826 };
13827 type AppsListInstallationReposForAuthenticatedUserResponseRepositoriesItemOwner = {
13828 login: string;
13829 id: number;
13830 node_id: string;
13831 avatar_url: string;
13832 gravatar_id: string;
13833 url: string;
13834 html_url: string;
13835 followers_url: string;
13836 following_url: string;
13837 gists_url: string;
13838 starred_url: string;
13839 subscriptions_url: string;
13840 organizations_url: string;
13841 repos_url: string;
13842 events_url: string;
13843 received_events_url: string;
13844 type: string;
13845 site_admin: boolean;
13846 };
13847 type AppsListInstallationReposForAuthenticatedUserResponseRepositoriesItem = {
13848 id: number;
13849 node_id: string;
13850 name: string;
13851 full_name: string;
13852 owner: AppsListInstallationReposForAuthenticatedUserResponseRepositoriesItemOwner;
13853 private: boolean;
13854 html_url: string;
13855 description: string;
13856 fork: boolean;
13857 url: string;
13858 archive_url: string;
13859 assignees_url: string;
13860 blobs_url: string;
13861 branches_url: string;
13862 collaborators_url: string;
13863 comments_url: string;
13864 commits_url: string;
13865 compare_url: string;
13866 contents_url: string;
13867 contributors_url: string;
13868 deployments_url: string;
13869 downloads_url: string;
13870 events_url: string;
13871 forks_url: string;
13872 git_commits_url: string;
13873 git_refs_url: string;
13874 git_tags_url: string;
13875 git_url: string;
13876 issue_comment_url: string;
13877 issue_events_url: string;
13878 issues_url: string;
13879 keys_url: string;
13880 labels_url: string;
13881 languages_url: string;
13882 merges_url: string;
13883 milestones_url: string;
13884 notifications_url: string;
13885 pulls_url: string;
13886 releases_url: string;
13887 ssh_url: string;
13888 stargazers_url: string;
13889 statuses_url: string;
13890 subscribers_url: string;
13891 subscription_url: string;
13892 tags_url: string;
13893 teams_url: string;
13894 trees_url: string;
13895 clone_url: string;
13896 mirror_url: string;
13897 hooks_url: string;
13898 svn_url: string;
13899 homepage: string;
13900 language: null;
13901 forks_count: number;
13902 stargazers_count: number;
13903 watchers_count: number;
13904 size: number;
13905 default_branch: string;
13906 open_issues_count: number;
13907 topics: Array<string>;
13908 has_issues: boolean;
13909 has_projects: boolean;
13910 has_wiki: boolean;
13911 has_pages: boolean;
13912 has_downloads: boolean;
13913 archived: boolean;
13914 pushed_at: string;
13915 created_at: string;
13916 updated_at: string;
13917 permissions: AppsListInstallationReposForAuthenticatedUserResponseRepositoriesItemPermissions;
13918 allow_rebase_merge: boolean;
13919 allow_squash_merge: boolean;
13920 allow_merge_commit: boolean;
13921 subscribers_count: number;
13922 network_count: number;
13923 };
13924 type AppsListInstallationReposForAuthenticatedUserResponse = {
13925 total_count: number;
13926 repositories: Array<
13927 AppsListInstallationReposForAuthenticatedUserResponseRepositoriesItem
13928 >;
13929 };
13930 type AppsListReposResponseRepositoriesItemOwner = {
13931 login: string;
13932 id: number;
13933 node_id: string;
13934 avatar_url: string;
13935 gravatar_id: string;
13936 url: string;
13937 html_url: string;
13938 followers_url: string;
13939 following_url: string;
13940 gists_url: string;
13941 starred_url: string;
13942 subscriptions_url: string;
13943 organizations_url: string;
13944 repos_url: string;
13945 events_url: string;
13946 received_events_url: string;
13947 type: string;
13948 site_admin: boolean;
13949 };
13950 type AppsListReposResponseRepositoriesItem = {
13951 id: number;
13952 node_id: string;
13953 name: string;
13954 full_name: string;
13955 owner: AppsListReposResponseRepositoriesItemOwner;
13956 private: boolean;
13957 html_url: string;
13958 description: string;
13959 fork: boolean;
13960 url: string;
13961 archive_url: string;
13962 assignees_url: string;
13963 blobs_url: string;
13964 branches_url: string;
13965 collaborators_url: string;
13966 comments_url: string;
13967 commits_url: string;
13968 compare_url: string;
13969 contents_url: string;
13970 contributors_url: string;
13971 deployments_url: string;
13972 downloads_url: string;
13973 events_url: string;
13974 forks_url: string;
13975 git_commits_url: string;
13976 git_refs_url: string;
13977 git_tags_url: string;
13978 git_url: string;
13979 issue_comment_url: string;
13980 issue_events_url: string;
13981 issues_url: string;
13982 keys_url: string;
13983 labels_url: string;
13984 languages_url: string;
13985 merges_url: string;
13986 milestones_url: string;
13987 notifications_url: string;
13988 pulls_url: string;
13989 releases_url: string;
13990 ssh_url: string;
13991 stargazers_url: string;
13992 statuses_url: string;
13993 subscribers_url: string;
13994 subscription_url: string;
13995 tags_url: string;
13996 teams_url: string;
13997 trees_url: string;
13998 clone_url: string;
13999 mirror_url: string;
14000 hooks_url: string;
14001 svn_url: string;
14002 homepage: string;
14003 language: null;
14004 forks_count: number;
14005 stargazers_count: number;
14006 watchers_count: number;
14007 size: number;
14008 default_branch: string;
14009 open_issues_count: number;
14010 topics: Array<string>;
14011 has_issues: boolean;
14012 has_projects: boolean;
14013 has_wiki: boolean;
14014 has_pages: boolean;
14015 has_downloads: boolean;
14016 archived: boolean;
14017 pushed_at: string;
14018 created_at: string;
14019 updated_at: string;
14020 allow_rebase_merge: boolean;
14021 allow_squash_merge: boolean;
14022 allow_merge_commit: boolean;
14023 subscribers_count: number;
14024 network_count: number;
14025 };
14026 type AppsListReposResponse = {
14027 total_count: number;
14028 repositories: Array<AppsListReposResponseRepositoriesItem>;
14029 };
14030 type AppsCreateContentAttachmentResponse = {
14031 id: number;
14032 title: string;
14033 body: string;
14034 };
14035 type AppsCreateFromManifestResponseOwner = {
14036 login: string;
14037 id: number;
14038 node_id: string;
14039 avatar_url: string;
14040 gravatar_id: string;
14041 url: string;
14042 html_url: string;
14043 followers_url: string;
14044 following_url: string;
14045 gists_url: string;
14046 starred_url: string;
14047 subscriptions_url: string;
14048 organizations_url: string;
14049 repos_url: string;
14050 events_url: string;
14051 received_events_url: string;
14052 type: string;
14053 site_admin: boolean;
14054 };
14055 type AppsCreateFromManifestResponse = {
14056 id: number;
14057 node_id: string;
14058 owner: AppsCreateFromManifestResponseOwner;
14059 name: string;
14060 description: null;
14061 external_url: string;
14062 html_url: string;
14063 created_at: string;
14064 updated_at: string;
14065 webhook_secret: string;
14066 pem: string;
14067 };
14068 type AppsFindUserInstallationResponsePermissions = {
14069 checks: string;
14070 metadata: string;
14071 contents: string;
14072 };
14073 type AppsFindUserInstallationResponseAccount = {
14074 login: string;
14075 id: number;
14076 node_id: string;
14077 avatar_url: string;
14078 gravatar_id: string;
14079 url: string;
14080 html_url: string;
14081 followers_url: string;
14082 following_url: string;
14083 gists_url: string;
14084 starred_url: string;
14085 subscriptions_url: string;
14086 organizations_url: string;
14087 repos_url: string;
14088 events_url: string;
14089 received_events_url: string;
14090 type: string;
14091 site_admin: boolean;
14092 };
14093 type AppsFindUserInstallationResponse = {
14094 id: number;
14095 account: AppsFindUserInstallationResponseAccount;
14096 repository_selection: string;
14097 access_tokens_url: string;
14098 repositories_url: string;
14099 html_url: string;
14100 app_id: number;
14101 target_id: number;
14102 target_type: string;
14103 permissions: AppsFindUserInstallationResponsePermissions;
14104 events: Array<string>;
14105 created_at: string;
14106 updated_at: string;
14107 single_file_name: null;
14108 };
14109 type AppsFindRepoInstallationResponsePermissions = {
14110 checks: string;
14111 metadata: string;
14112 contents: string;
14113 };
14114 type AppsFindRepoInstallationResponseAccount = {
14115 login: string;
14116 id: number;
14117 avatar_url: string;
14118 gravatar_id: string;
14119 url: string;
14120 html_url: string;
14121 followers_url: string;
14122 following_url: string;
14123 gists_url: string;
14124 starred_url: string;
14125 subscriptions_url: string;
14126 organizations_url: string;
14127 repos_url: string;
14128 events_url: string;
14129 received_events_url: string;
14130 type: string;
14131 site_admin: boolean;
14132 };
14133 type AppsFindRepoInstallationResponse = {
14134 id: number;
14135 account: AppsFindRepoInstallationResponseAccount;
14136 repository_selection: string;
14137 access_tokens_url: string;
14138 repositories_url: string;
14139 html_url: string;
14140 app_id: number;
14141 target_id: number;
14142 target_type: string;
14143 permissions: AppsFindRepoInstallationResponsePermissions;
14144 events: Array<string>;
14145 created_at: string;
14146 updated_at: string;
14147 single_file_name: null;
14148 };
14149 type AppsFindOrgInstallationResponsePermissions = {
14150 checks: string;
14151 metadata: string;
14152 contents: string;
14153 };
14154 type AppsFindOrgInstallationResponseAccount = {
14155 login: string;
14156 id: number;
14157 avatar_url: string;
14158 gravatar_id: string;
14159 url: string;
14160 html_url: string;
14161 followers_url: string;
14162 following_url: string;
14163 gists_url: string;
14164 starred_url: string;
14165 subscriptions_url: string;
14166 organizations_url: string;
14167 repos_url: string;
14168 events_url: string;
14169 received_events_url: string;
14170 type: string;
14171 site_admin: boolean;
14172 };
14173 type AppsFindOrgInstallationResponse = {
14174 id: number;
14175 account: AppsFindOrgInstallationResponseAccount;
14176 repository_selection: string;
14177 access_tokens_url: string;
14178 repositories_url: string;
14179 html_url: string;
14180 app_id: number;
14181 target_id: number;
14182 target_type: string;
14183 permissions: AppsFindOrgInstallationResponsePermissions;
14184 events: Array<string>;
14185 created_at: string;
14186 updated_at: string;
14187 single_file_name: null;
14188 };
14189 type AppsCreateInstallationTokenResponse = {
14190 token: string;
14191 expires_at: string;
14192 };
14193 type AppsListInstallationsForAuthenticatedUserResponseInstallationsItemPermissions = {
14194 metadata: string;
14195 contents: string;
14196 issues: string;
14197 single_file: string;
14198 };
14199 type AppsListInstallationsForAuthenticatedUserResponseInstallationsItemAccount = {
14200 login: string;
14201 id: number;
14202 node_id: string;
14203 url: string;
14204 repos_url: string;
14205 events_url: string;
14206 hooks_url?: string;
14207 issues_url?: string;
14208 members_url?: string;
14209 public_members_url?: string;
14210 avatar_url: string;
14211 description?: string;
14212 gravatar_id?: string;
14213 html_url?: string;
14214 followers_url?: string;
14215 following_url?: string;
14216 gists_url?: string;
14217 starred_url?: string;
14218 subscriptions_url?: string;
14219 organizations_url?: string;
14220 received_events_url?: string;
14221 type?: string;
14222 site_admin?: boolean;
14223 };
14224 type AppsListInstallationsForAuthenticatedUserResponseInstallationsItem = {
14225 id: number;
14226 account: AppsListInstallationsForAuthenticatedUserResponseInstallationsItemAccount;
14227 access_tokens_url: string;
14228 repositories_url: string;
14229 html_url: string;
14230 app_id: number;
14231 target_id: number;
14232 target_type: string;
14233 permissions: AppsListInstallationsForAuthenticatedUserResponseInstallationsItemPermissions;
14234 events: Array<string>;
14235 single_file_name: string;
14236 };
14237 type AppsListInstallationsForAuthenticatedUserResponse = {
14238 total_count: number;
14239 installations: Array<
14240 AppsListInstallationsForAuthenticatedUserResponseInstallationsItem
14241 >;
14242 };
14243 type AppsGetInstallationResponsePermissions = {
14244 metadata: string;
14245 contents: string;
14246 issues: string;
14247 single_file: string;
14248 };
14249 type AppsGetInstallationResponseAccount = {
14250 login: string;
14251 id: number;
14252 node_id: string;
14253 url: string;
14254 repos_url: string;
14255 events_url: string;
14256 hooks_url: string;
14257 issues_url: string;
14258 members_url: string;
14259 public_members_url: string;
14260 avatar_url: string;
14261 description: string;
14262 };
14263 type AppsGetInstallationResponse = {
14264 id: number;
14265 account: AppsGetInstallationResponseAccount;
14266 access_tokens_url: string;
14267 repositories_url: string;
14268 html_url: string;
14269 app_id: number;
14270 target_id: number;
14271 target_type: string;
14272 permissions: AppsGetInstallationResponsePermissions;
14273 events: Array<string>;
14274 single_file_name: string;
14275 repository_selection: string;
14276 };
14277 type AppsListInstallationsResponseItemPermissions = {
14278 metadata: string;
14279 contents: string;
14280 issues: string;
14281 single_file: string;
14282 };
14283 type AppsListInstallationsResponseItemAccount = {
14284 login: string;
14285 id: number;
14286 node_id: string;
14287 url: string;
14288 repos_url: string;
14289 events_url: string;
14290 hooks_url: string;
14291 issues_url: string;
14292 members_url: string;
14293 public_members_url: string;
14294 avatar_url: string;
14295 description: string;
14296 };
14297 type AppsListInstallationsResponseItem = {
14298 id: number;
14299 account: AppsListInstallationsResponseItemAccount;
14300 access_tokens_url: string;
14301 repositories_url: string;
14302 html_url: string;
14303 app_id: number;
14304 target_id: number;
14305 target_type: string;
14306 permissions: AppsListInstallationsResponseItemPermissions;
14307 events: Array<string>;
14308 single_file_name: string;
14309 repository_selection: string;
14310 };
14311 type AppsGetAuthenticatedResponseOwner = {
14312 login: string;
14313 id: number;
14314 node_id: string;
14315 url: string;
14316 repos_url: string;
14317 events_url: string;
14318 hooks_url: string;
14319 issues_url: string;
14320 members_url: string;
14321 public_members_url: string;
14322 avatar_url: string;
14323 description: string;
14324 };
14325 type AppsGetAuthenticatedResponse = {
14326 id: number;
14327 node_id: string;
14328 owner: AppsGetAuthenticatedResponseOwner;
14329 name: string;
14330 description: string;
14331 external_url: string;
14332 html_url: string;
14333 created_at: string;
14334 updated_at: string;
14335 };
14336 type AppsGetBySlugResponseOwner = {
14337 login: string;
14338 id: number;
14339 node_id: string;
14340 url: string;
14341 repos_url: string;
14342 events_url: string;
14343 hooks_url: string;
14344 issues_url: string;
14345 members_url: string;
14346 public_members_url: string;
14347 avatar_url: string;
14348 description: string;
14349 };
14350 type AppsGetBySlugResponse = {
14351 id: number;
14352 node_id: string;
14353 owner: AppsGetBySlugResponseOwner;
14354 name: string;
14355 description: string;
14356 external_url: string;
14357 html_url: string;
14358 created_at: string;
14359 updated_at: string;
14360 };
14361 type GitCreateTreeResponseTreeItem = {
14362 path: string;
14363 mode: string;
14364 type: string;
14365 size: number;
14366 sha: string;
14367 url: string;
14368 };
14369 type GitCreateTreeResponse = {
14370 sha: string;
14371 url: string;
14372 tree: Array<GitCreateTreeResponseTreeItem>;
14373 };
14374 type GitCreateTagResponseVerification = {
14375 verified: boolean;
14376 reason: string;
14377 signature: null;
14378 payload: null;
14379 };
14380 type GitCreateTagResponseObject = { type: string; sha: string; url: string };
14381 type GitCreateTagResponseTagger = {
14382 name: string;
14383 email: string;
14384 date: string;
14385 };
14386 type GitCreateTagResponse = {
14387 node_id: string;
14388 tag: string;
14389 sha: string;
14390 url: string;
14391 message: string;
14392 tagger: GitCreateTagResponseTagger;
14393 object: GitCreateTagResponseObject;
14394 verification: GitCreateTagResponseVerification;
14395 };
14396 type GitGetTagResponseVerification = {
14397 verified: boolean;
14398 reason: string;
14399 signature: null;
14400 payload: null;
14401 };
14402 type GitGetTagResponseObject = { type: string; sha: string; url: string };
14403 type GitGetTagResponseTagger = { name: string; email: string; date: string };
14404 type GitGetTagResponse = {
14405 node_id: string;
14406 tag: string;
14407 sha: string;
14408 url: string;
14409 message: string;
14410 tagger: GitGetTagResponseTagger;
14411 object: GitGetTagResponseObject;
14412 verification: GitGetTagResponseVerification;
14413 };
14414 type GitDeleteRefResponse = {};
14415 type GitUpdateRefResponseObject = { type: string; sha: string; url: string };
14416 type GitUpdateRefResponse = {
14417 ref: string;
14418 node_id: string;
14419 url: string;
14420 object: GitUpdateRefResponseObject;
14421 };
14422 type GitCreateRefResponseObject = { type: string; sha: string; url: string };
14423 type GitCreateRefResponse = {
14424 ref: string;
14425 node_id: string;
14426 url: string;
14427 object: GitCreateRefResponseObject;
14428 };
14429 type GitCreateCommitResponseVerification = {
14430 verified: boolean;
14431 reason: string;
14432 signature: null;
14433 payload: null;
14434 };
14435 type GitCreateCommitResponseParentsItem = { url: string; sha: string };
14436 type GitCreateCommitResponseTree = { url: string; sha: string };
14437 type GitCreateCommitResponseCommitter = {
14438 date: string;
14439 name: string;
14440 email: string;
14441 };
14442 type GitCreateCommitResponseAuthor = {
14443 date: string;
14444 name: string;
14445 email: string;
14446 };
14447 type GitCreateCommitResponse = {
14448 sha: string;
14449 node_id: string;
14450 url: string;
14451 author: GitCreateCommitResponseAuthor;
14452 committer: GitCreateCommitResponseCommitter;
14453 message: string;
14454 tree: GitCreateCommitResponseTree;
14455 parents: Array<GitCreateCommitResponseParentsItem>;
14456 verification: GitCreateCommitResponseVerification;
14457 };
14458 type GitGetCommitResponseVerification = {
14459 verified: boolean;
14460 reason: string;
14461 signature: null;
14462 payload: null;
14463 };
14464 type GitGetCommitResponseParentsItem = { url: string; sha: string };
14465 type GitGetCommitResponseTree = { url: string; sha: string };
14466 type GitGetCommitResponseCommitter = {
14467 date: string;
14468 name: string;
14469 email: string;
14470 };
14471 type GitGetCommitResponseAuthor = {
14472 date: string;
14473 name: string;
14474 email: string;
14475 };
14476 type GitGetCommitResponse = {
14477 sha: string;
14478 url: string;
14479 author: GitGetCommitResponseAuthor;
14480 committer: GitGetCommitResponseCommitter;
14481 message: string;
14482 tree: GitGetCommitResponseTree;
14483 parents: Array<GitGetCommitResponseParentsItem>;
14484 verification: GitGetCommitResponseVerification;
14485 };
14486 type GitCreateBlobResponse = { url: string; sha: string };
14487 type GitGetBlobResponse = {
14488 content: string;
14489 encoding: string;
14490 url: string;
14491 sha: string;
14492 size: number;
14493 };
14494 type GistsDeleteCommentResponse = {};
14495 type GistsUpdateCommentResponseUser = {
14496 login: string;
14497 id: number;
14498 node_id: string;
14499 avatar_url: string;
14500 gravatar_id: string;
14501 url: string;
14502 html_url: string;
14503 followers_url: string;
14504 following_url: string;
14505 gists_url: string;
14506 starred_url: string;
14507 subscriptions_url: string;
14508 organizations_url: string;
14509 repos_url: string;
14510 events_url: string;
14511 received_events_url: string;
14512 type: string;
14513 site_admin: boolean;
14514 };
14515 type GistsUpdateCommentResponse = {
14516 id: number;
14517 node_id: string;
14518 url: string;
14519 body: string;
14520 user: GistsUpdateCommentResponseUser;
14521 created_at: string;
14522 updated_at: string;
14523 };
14524 type GistsCreateCommentResponseUser = {
14525 login: string;
14526 id: number;
14527 node_id: string;
14528 avatar_url: string;
14529 gravatar_id: string;
14530 url: string;
14531 html_url: string;
14532 followers_url: string;
14533 following_url: string;
14534 gists_url: string;
14535 starred_url: string;
14536 subscriptions_url: string;
14537 organizations_url: string;
14538 repos_url: string;
14539 events_url: string;
14540 received_events_url: string;
14541 type: string;
14542 site_admin: boolean;
14543 };
14544 type GistsCreateCommentResponse = {
14545 id: number;
14546 node_id: string;
14547 url: string;
14548 body: string;
14549 user: GistsCreateCommentResponseUser;
14550 created_at: string;
14551 updated_at: string;
14552 };
14553 type GistsGetCommentResponseUser = {
14554 login: string;
14555 id: number;
14556 node_id: string;
14557 avatar_url: string;
14558 gravatar_id: string;
14559 url: string;
14560 html_url: string;
14561 followers_url: string;
14562 following_url: string;
14563 gists_url: string;
14564 starred_url: string;
14565 subscriptions_url: string;
14566 organizations_url: string;
14567 repos_url: string;
14568 events_url: string;
14569 received_events_url: string;
14570 type: string;
14571 site_admin: boolean;
14572 };
14573 type GistsGetCommentResponse = {
14574 id: number;
14575 node_id: string;
14576 url: string;
14577 body: string;
14578 user: GistsGetCommentResponseUser;
14579 created_at: string;
14580 updated_at: string;
14581 };
14582 type GistsListCommentsResponseItemUser = {
14583 login: string;
14584 id: number;
14585 node_id: string;
14586 avatar_url: string;
14587 gravatar_id: string;
14588 url: string;
14589 html_url: string;
14590 followers_url: string;
14591 following_url: string;
14592 gists_url: string;
14593 starred_url: string;
14594 subscriptions_url: string;
14595 organizations_url: string;
14596 repos_url: string;
14597 events_url: string;
14598 received_events_url: string;
14599 type: string;
14600 site_admin: boolean;
14601 };
14602 type GistsListCommentsResponseItem = {
14603 id: number;
14604 node_id: string;
14605 url: string;
14606 body: string;
14607 user: GistsListCommentsResponseItemUser;
14608 created_at: string;
14609 updated_at: string;
14610 };
14611 type GistsDeleteResponse = {};
14612 type GistsListForksResponseItemUser = {
14613 login: string;
14614 id: number;
14615 node_id: string;
14616 avatar_url: string;
14617 gravatar_id: string;
14618 url: string;
14619 html_url: string;
14620 followers_url: string;
14621 following_url: string;
14622 gists_url: string;
14623 starred_url: string;
14624 subscriptions_url: string;
14625 organizations_url: string;
14626 repos_url: string;
14627 events_url: string;
14628 received_events_url: string;
14629 type: string;
14630 site_admin: boolean;
14631 };
14632 type GistsListForksResponseItem = {
14633 user: GistsListForksResponseItemUser;
14634 url: string;
14635 id: string;
14636 created_at: string;
14637 updated_at: string;
14638 };
14639 type GistsForkResponseOwner = {
14640 login: string;
14641 id: number;
14642 node_id: string;
14643 avatar_url: string;
14644 gravatar_id: string;
14645 url: string;
14646 html_url: string;
14647 followers_url: string;
14648 following_url: string;
14649 gists_url: string;
14650 starred_url: string;
14651 subscriptions_url: string;
14652 organizations_url: string;
14653 repos_url: string;
14654 events_url: string;
14655 received_events_url: string;
14656 type: string;
14657 site_admin: boolean;
14658 };
14659 type GistsForkResponseFilesHelloWorldRb = {
14660 filename: string;
14661 type: string;
14662 language: string;
14663 raw_url: string;
14664 size: number;
14665 };
14666 type GistsForkResponseFiles = {
14667 "hello_world.rb": GistsForkResponseFilesHelloWorldRb;
14668 };
14669 type GistsForkResponse = {
14670 url: string;
14671 forks_url: string;
14672 commits_url: string;
14673 id: string;
14674 node_id: string;
14675 git_pull_url: string;
14676 git_push_url: string;
14677 html_url: string;
14678 files: GistsForkResponseFiles;
14679 public: boolean;
14680 created_at: string;
14681 updated_at: string;
14682 description: string;
14683 comments: number;
14684 user: null;
14685 comments_url: string;
14686 owner: GistsForkResponseOwner;
14687 truncated: boolean;
14688 };
14689 type GistsUnstarResponse = {};
14690 type GistsStarResponse = {};
14691 type GistsListCommitsResponseItemChangeStatus = {
14692 deletions: number;
14693 additions: number;
14694 total: number;
14695 };
14696 type GistsListCommitsResponseItemUser = {
14697 login: string;
14698 id: number;
14699 node_id: string;
14700 avatar_url: string;
14701 gravatar_id: string;
14702 url: string;
14703 html_url: string;
14704 followers_url: string;
14705 following_url: string;
14706 gists_url: string;
14707 starred_url: string;
14708 subscriptions_url: string;
14709 organizations_url: string;
14710 repos_url: string;
14711 events_url: string;
14712 received_events_url: string;
14713 type: string;
14714 site_admin: boolean;
14715 };
14716 type GistsListCommitsResponseItem = {
14717 url: string;
14718 version: string;
14719 user: GistsListCommitsResponseItemUser;
14720 change_status: GistsListCommitsResponseItemChangeStatus;
14721 committed_at: string;
14722 };
14723 type GistsUpdateResponseHistoryItemChangeStatus = {
14724 deletions: number;
14725 additions: number;
14726 total: number;
14727 };
14728 type GistsUpdateResponseHistoryItemUser = {
14729 login: string;
14730 id: number;
14731 node_id: string;
14732 avatar_url: string;
14733 gravatar_id: string;
14734 url: string;
14735 html_url: string;
14736 followers_url: string;
14737 following_url: string;
14738 gists_url: string;
14739 starred_url: string;
14740 subscriptions_url: string;
14741 organizations_url: string;
14742 repos_url: string;
14743 events_url: string;
14744 received_events_url: string;
14745 type: string;
14746 site_admin: boolean;
14747 };
14748 type GistsUpdateResponseHistoryItem = {
14749 url: string;
14750 version: string;
14751 user: GistsUpdateResponseHistoryItemUser;
14752 change_status: GistsUpdateResponseHistoryItemChangeStatus;
14753 committed_at: string;
14754 };
14755 type GistsUpdateResponseForksItemUser = {
14756 login: string;
14757 id: number;
14758 node_id: string;
14759 avatar_url: string;
14760 gravatar_id: string;
14761 url: string;
14762 html_url: string;
14763 followers_url: string;
14764 following_url: string;
14765 gists_url: string;
14766 starred_url: string;
14767 subscriptions_url: string;
14768 organizations_url: string;
14769 repos_url: string;
14770 events_url: string;
14771 received_events_url: string;
14772 type: string;
14773 site_admin: boolean;
14774 };
14775 type GistsUpdateResponseForksItem = {
14776 user: GistsUpdateResponseForksItemUser;
14777 url: string;
14778 id: string;
14779 created_at: string;
14780 updated_at: string;
14781 };
14782 type GistsUpdateResponseOwner = {
14783 login: string;
14784 id: number;
14785 node_id: string;
14786 avatar_url: string;
14787 gravatar_id: string;
14788 url: string;
14789 html_url: string;
14790 followers_url: string;
14791 following_url: string;
14792 gists_url: string;
14793 starred_url: string;
14794 subscriptions_url: string;
14795 organizations_url: string;
14796 repos_url: string;
14797 events_url: string;
14798 received_events_url: string;
14799 type: string;
14800 site_admin: boolean;
14801 };
14802 type GistsUpdateResponseFilesNewFileTxt = {
14803 filename: string;
14804 type: string;
14805 language: string;
14806 raw_url: string;
14807 size: number;
14808 truncated: boolean;
14809 content: string;
14810 };
14811 type GistsUpdateResponseFilesHelloWorldMd = {
14812 filename: string;
14813 type: string;
14814 language: string;
14815 raw_url: string;
14816 size: number;
14817 truncated: boolean;
14818 content: string;
14819 };
14820 type GistsUpdateResponseFilesHelloWorldPy = {
14821 filename: string;
14822 type: string;
14823 language: string;
14824 raw_url: string;
14825 size: number;
14826 truncated: boolean;
14827 content: string;
14828 };
14829 type GistsUpdateResponseFilesHelloWorldRb = {
14830 filename: string;
14831 type: string;
14832 language: string;
14833 raw_url: string;
14834 size: number;
14835 truncated: boolean;
14836 content: string;
14837 };
14838 type GistsUpdateResponseFiles = {
14839 "hello_world.rb": GistsUpdateResponseFilesHelloWorldRb;
14840 "hello_world.py": GistsUpdateResponseFilesHelloWorldPy;
14841 "hello_world.md": GistsUpdateResponseFilesHelloWorldMd;
14842 "new_file.txt": GistsUpdateResponseFilesNewFileTxt;
14843 };
14844 type GistsUpdateResponse = {
14845 url: string;
14846 forks_url: string;
14847 commits_url: string;
14848 id: string;
14849 node_id: string;
14850 git_pull_url: string;
14851 git_push_url: string;
14852 html_url: string;
14853 files: GistsUpdateResponseFiles;
14854 public: boolean;
14855 created_at: string;
14856 updated_at: string;
14857 description: string;
14858 comments: number;
14859 user: null;
14860 comments_url: string;
14861 owner: GistsUpdateResponseOwner;
14862 truncated: boolean;
14863 forks: Array<GistsUpdateResponseForksItem>;
14864 history: Array<GistsUpdateResponseHistoryItem>;
14865 };
14866 type GistsCreateResponseHistoryItemChangeStatus = {
14867 deletions: number;
14868 additions: number;
14869 total: number;
14870 };
14871 type GistsCreateResponseHistoryItemUser = {
14872 login: string;
14873 id: number;
14874 node_id: string;
14875 avatar_url: string;
14876 gravatar_id: string;
14877 url: string;
14878 html_url: string;
14879 followers_url: string;
14880 following_url: string;
14881 gists_url: string;
14882 starred_url: string;
14883 subscriptions_url: string;
14884 organizations_url: string;
14885 repos_url: string;
14886 events_url: string;
14887 received_events_url: string;
14888 type: string;
14889 site_admin: boolean;
14890 };
14891 type GistsCreateResponseHistoryItem = {
14892 url: string;
14893 version: string;
14894 user: GistsCreateResponseHistoryItemUser;
14895 change_status: GistsCreateResponseHistoryItemChangeStatus;
14896 committed_at: string;
14897 };
14898 type GistsCreateResponseForksItemUser = {
14899 login: string;
14900 id: number;
14901 node_id: string;
14902 avatar_url: string;
14903 gravatar_id: string;
14904 url: string;
14905 html_url: string;
14906 followers_url: string;
14907 following_url: string;
14908 gists_url: string;
14909 starred_url: string;
14910 subscriptions_url: string;
14911 organizations_url: string;
14912 repos_url: string;
14913 events_url: string;
14914 received_events_url: string;
14915 type: string;
14916 site_admin: boolean;
14917 };
14918 type GistsCreateResponseForksItem = {
14919 user: GistsCreateResponseForksItemUser;
14920 url: string;
14921 id: string;
14922 created_at: string;
14923 updated_at: string;
14924 };
14925 type GistsCreateResponseOwner = {
14926 login: string;
14927 id: number;
14928 node_id: string;
14929 avatar_url: string;
14930 gravatar_id: string;
14931 url: string;
14932 html_url: string;
14933 followers_url: string;
14934 following_url: string;
14935 gists_url: string;
14936 starred_url: string;
14937 subscriptions_url: string;
14938 organizations_url: string;
14939 repos_url: string;
14940 events_url: string;
14941 received_events_url: string;
14942 type: string;
14943 site_admin: boolean;
14944 };
14945 type GistsCreateResponseFilesHelloWorldPythonTxt = {
14946 filename: string;
14947 type: string;
14948 language: string;
14949 raw_url: string;
14950 size: number;
14951 truncated: boolean;
14952 content: string;
14953 };
14954 type GistsCreateResponseFilesHelloWorldRubyTxt = {
14955 filename: string;
14956 type: string;
14957 language: string;
14958 raw_url: string;
14959 size: number;
14960 truncated: boolean;
14961 content: string;
14962 };
14963 type GistsCreateResponseFilesHelloWorldPy = {
14964 filename: string;
14965 type: string;
14966 language: string;
14967 raw_url: string;
14968 size: number;
14969 truncated: boolean;
14970 content: string;
14971 };
14972 type GistsCreateResponseFilesHelloWorldRb = {
14973 filename: string;
14974 type: string;
14975 language: string;
14976 raw_url: string;
14977 size: number;
14978 truncated: boolean;
14979 content: string;
14980 };
14981 type GistsCreateResponseFiles = {
14982 "hello_world.rb": GistsCreateResponseFilesHelloWorldRb;
14983 "hello_world.py": GistsCreateResponseFilesHelloWorldPy;
14984 "hello_world_ruby.txt": GistsCreateResponseFilesHelloWorldRubyTxt;
14985 "hello_world_python.txt": GistsCreateResponseFilesHelloWorldPythonTxt;
14986 };
14987 type GistsCreateResponse = {
14988 url: string;
14989 forks_url: string;
14990 commits_url: string;
14991 id: string;
14992 node_id: string;
14993 git_pull_url: string;
14994 git_push_url: string;
14995 html_url: string;
14996 files: GistsCreateResponseFiles;
14997 public: boolean;
14998 created_at: string;
14999 updated_at: string;
15000 description: string;
15001 comments: number;
15002 user: null;
15003 comments_url: string;
15004 owner: GistsCreateResponseOwner;
15005 truncated: boolean;
15006 forks: Array<GistsCreateResponseForksItem>;
15007 history: Array<GistsCreateResponseHistoryItem>;
15008 };
15009 type GistsGetRevisionResponseHistoryItemChangeStatus = {
15010 deletions: number;
15011 additions: number;
15012 total: number;
15013 };
15014 type GistsGetRevisionResponseHistoryItemUser = {
15015 login: string;
15016 id: number;
15017 node_id: string;
15018 avatar_url: string;
15019 gravatar_id: string;
15020 url: string;
15021 html_url: string;
15022 followers_url: string;
15023 following_url: string;
15024 gists_url: string;
15025 starred_url: string;
15026 subscriptions_url: string;
15027 organizations_url: string;
15028 repos_url: string;
15029 events_url: string;
15030 received_events_url: string;
15031 type: string;
15032 site_admin: boolean;
15033 };
15034 type GistsGetRevisionResponseHistoryItem = {
15035 url: string;
15036 version: string;
15037 user: GistsGetRevisionResponseHistoryItemUser;
15038 change_status: GistsGetRevisionResponseHistoryItemChangeStatus;
15039 committed_at: string;
15040 };
15041 type GistsGetRevisionResponseForksItemUser = {
15042 login: string;
15043 id: number;
15044 node_id: string;
15045 avatar_url: string;
15046 gravatar_id: string;
15047 url: string;
15048 html_url: string;
15049 followers_url: string;
15050 following_url: string;
15051 gists_url: string;
15052 starred_url: string;
15053 subscriptions_url: string;
15054 organizations_url: string;
15055 repos_url: string;
15056 events_url: string;
15057 received_events_url: string;
15058 type: string;
15059 site_admin: boolean;
15060 };
15061 type GistsGetRevisionResponseForksItem = {
15062 user: GistsGetRevisionResponseForksItemUser;
15063 url: string;
15064 id: string;
15065 created_at: string;
15066 updated_at: string;
15067 };
15068 type GistsGetRevisionResponseOwner = {
15069 login: string;
15070 id: number;
15071 node_id: string;
15072 avatar_url: string;
15073 gravatar_id: string;
15074 url: string;
15075 html_url: string;
15076 followers_url: string;
15077 following_url: string;
15078 gists_url: string;
15079 starred_url: string;
15080 subscriptions_url: string;
15081 organizations_url: string;
15082 repos_url: string;
15083 events_url: string;
15084 received_events_url: string;
15085 type: string;
15086 site_admin: boolean;
15087 };
15088 type GistsGetRevisionResponseFilesHelloWorldPythonTxt = {
15089 filename: string;
15090 type: string;
15091 language: string;
15092 raw_url: string;
15093 size: number;
15094 truncated: boolean;
15095 content: string;
15096 };
15097 type GistsGetRevisionResponseFilesHelloWorldRubyTxt = {
15098 filename: string;
15099 type: string;
15100 language: string;
15101 raw_url: string;
15102 size: number;
15103 truncated: boolean;
15104 content: string;
15105 };
15106 type GistsGetRevisionResponseFilesHelloWorldPy = {
15107 filename: string;
15108 type: string;
15109 language: string;
15110 raw_url: string;
15111 size: number;
15112 truncated: boolean;
15113 content: string;
15114 };
15115 type GistsGetRevisionResponseFilesHelloWorldRb = {
15116 filename: string;
15117 type: string;
15118 language: string;
15119 raw_url: string;
15120 size: number;
15121 truncated: boolean;
15122 content: string;
15123 };
15124 type GistsGetRevisionResponseFiles = {
15125 "hello_world.rb": GistsGetRevisionResponseFilesHelloWorldRb;
15126 "hello_world.py": GistsGetRevisionResponseFilesHelloWorldPy;
15127 "hello_world_ruby.txt": GistsGetRevisionResponseFilesHelloWorldRubyTxt;
15128 "hello_world_python.txt": GistsGetRevisionResponseFilesHelloWorldPythonTxt;
15129 };
15130 type GistsGetRevisionResponse = {
15131 url: string;
15132 forks_url: string;
15133 commits_url: string;
15134 id: string;
15135 node_id: string;
15136 git_pull_url: string;
15137 git_push_url: string;
15138 html_url: string;
15139 files: GistsGetRevisionResponseFiles;
15140 public: boolean;
15141 created_at: string;
15142 updated_at: string;
15143 description: string;
15144 comments: number;
15145 user: null;
15146 comments_url: string;
15147 owner: GistsGetRevisionResponseOwner;
15148 truncated: boolean;
15149 forks: Array<GistsGetRevisionResponseForksItem>;
15150 history: Array<GistsGetRevisionResponseHistoryItem>;
15151 };
15152 type GistsGetResponseHistoryItemChangeStatus = {
15153 deletions: number;
15154 additions: number;
15155 total: number;
15156 };
15157 type GistsGetResponseHistoryItemUser = {
15158 login: string;
15159 id: number;
15160 node_id: string;
15161 avatar_url: string;
15162 gravatar_id: string;
15163 url: string;
15164 html_url: string;
15165 followers_url: string;
15166 following_url: string;
15167 gists_url: string;
15168 starred_url: string;
15169 subscriptions_url: string;
15170 organizations_url: string;
15171 repos_url: string;
15172 events_url: string;
15173 received_events_url: string;
15174 type: string;
15175 site_admin: boolean;
15176 };
15177 type GistsGetResponseHistoryItem = {
15178 url: string;
15179 version: string;
15180 user: GistsGetResponseHistoryItemUser;
15181 change_status: GistsGetResponseHistoryItemChangeStatus;
15182 committed_at: string;
15183 };
15184 type GistsGetResponseForksItemUser = {
15185 login: string;
15186 id: number;
15187 node_id: string;
15188 avatar_url: string;
15189 gravatar_id: string;
15190 url: string;
15191 html_url: string;
15192 followers_url: string;
15193 following_url: string;
15194 gists_url: string;
15195 starred_url: string;
15196 subscriptions_url: string;
15197 organizations_url: string;
15198 repos_url: string;
15199 events_url: string;
15200 received_events_url: string;
15201 type: string;
15202 site_admin: boolean;
15203 };
15204 type GistsGetResponseForksItem = {
15205 user: GistsGetResponseForksItemUser;
15206 url: string;
15207 id: string;
15208 created_at: string;
15209 updated_at: string;
15210 };
15211 type GistsGetResponseOwner = {
15212 login: string;
15213 id: number;
15214 node_id: string;
15215 avatar_url: string;
15216 gravatar_id: string;
15217 url: string;
15218 html_url: string;
15219 followers_url: string;
15220 following_url: string;
15221 gists_url: string;
15222 starred_url: string;
15223 subscriptions_url: string;
15224 organizations_url: string;
15225 repos_url: string;
15226 events_url: string;
15227 received_events_url: string;
15228 type: string;
15229 site_admin: boolean;
15230 };
15231 type GistsGetResponseFilesHelloWorldPythonTxt = {
15232 filename: string;
15233 type: string;
15234 language: string;
15235 raw_url: string;
15236 size: number;
15237 truncated: boolean;
15238 content: string;
15239 };
15240 type GistsGetResponseFilesHelloWorldRubyTxt = {
15241 filename: string;
15242 type: string;
15243 language: string;
15244 raw_url: string;
15245 size: number;
15246 truncated: boolean;
15247 content: string;
15248 };
15249 type GistsGetResponseFilesHelloWorldPy = {
15250 filename: string;
15251 type: string;
15252 language: string;
15253 raw_url: string;
15254 size: number;
15255 truncated: boolean;
15256 content: string;
15257 };
15258 type GistsGetResponseFilesHelloWorldRb = {
15259 filename: string;
15260 type: string;
15261 language: string;
15262 raw_url: string;
15263 size: number;
15264 truncated: boolean;
15265 content: string;
15266 };
15267 type GistsGetResponseFiles = {
15268 "hello_world.rb": GistsGetResponseFilesHelloWorldRb;
15269 "hello_world.py": GistsGetResponseFilesHelloWorldPy;
15270 "hello_world_ruby.txt": GistsGetResponseFilesHelloWorldRubyTxt;
15271 "hello_world_python.txt": GistsGetResponseFilesHelloWorldPythonTxt;
15272 };
15273 type GistsGetResponse = {
15274 url: string;
15275 forks_url: string;
15276 commits_url: string;
15277 id: string;
15278 node_id: string;
15279 git_pull_url: string;
15280 git_push_url: string;
15281 html_url: string;
15282 files: GistsGetResponseFiles;
15283 public: boolean;
15284 created_at: string;
15285 updated_at: string;
15286 description: string;
15287 comments: number;
15288 user: null;
15289 comments_url: string;
15290 owner: GistsGetResponseOwner;
15291 truncated: boolean;
15292 forks: Array<GistsGetResponseForksItem>;
15293 history: Array<GistsGetResponseHistoryItem>;
15294 };
15295 type GistsListStarredResponseItemOwner = {
15296 login: string;
15297 id: number;
15298 node_id: string;
15299 avatar_url: string;
15300 gravatar_id: string;
15301 url: string;
15302 html_url: string;
15303 followers_url: string;
15304 following_url: string;
15305 gists_url: string;
15306 starred_url: string;
15307 subscriptions_url: string;
15308 organizations_url: string;
15309 repos_url: string;
15310 events_url: string;
15311 received_events_url: string;
15312 type: string;
15313 site_admin: boolean;
15314 };
15315 type GistsListStarredResponseItemFilesHelloWorldRb = {
15316 filename: string;
15317 type: string;
15318 language: string;
15319 raw_url: string;
15320 size: number;
15321 };
15322 type GistsListStarredResponseItemFiles = {
15323 "hello_world.rb": GistsListStarredResponseItemFilesHelloWorldRb;
15324 };
15325 type GistsListStarredResponseItem = {
15326 url: string;
15327 forks_url: string;
15328 commits_url: string;
15329 id: string;
15330 node_id: string;
15331 git_pull_url: string;
15332 git_push_url: string;
15333 html_url: string;
15334 files: GistsListStarredResponseItemFiles;
15335 public: boolean;
15336 created_at: string;
15337 updated_at: string;
15338 description: string;
15339 comments: number;
15340 user: null;
15341 comments_url: string;
15342 owner: GistsListStarredResponseItemOwner;
15343 truncated: boolean;
15344 };
15345 type GistsListPublicResponseItemOwner = {
15346 login: string;
15347 id: number;
15348 node_id: string;
15349 avatar_url: string;
15350 gravatar_id: string;
15351 url: string;
15352 html_url: string;
15353 followers_url: string;
15354 following_url: string;
15355 gists_url: string;
15356 starred_url: string;
15357 subscriptions_url: string;
15358 organizations_url: string;
15359 repos_url: string;
15360 events_url: string;
15361 received_events_url: string;
15362 type: string;
15363 site_admin: boolean;
15364 };
15365 type GistsListPublicResponseItemFilesHelloWorldRb = {
15366 filename: string;
15367 type: string;
15368 language: string;
15369 raw_url: string;
15370 size: number;
15371 };
15372 type GistsListPublicResponseItemFiles = {
15373 "hello_world.rb": GistsListPublicResponseItemFilesHelloWorldRb;
15374 };
15375 type GistsListPublicResponseItem = {
15376 url: string;
15377 forks_url: string;
15378 commits_url: string;
15379 id: string;
15380 node_id: string;
15381 git_pull_url: string;
15382 git_push_url: string;
15383 html_url: string;
15384 files: GistsListPublicResponseItemFiles;
15385 public: boolean;
15386 created_at: string;
15387 updated_at: string;
15388 description: string;
15389 comments: number;
15390 user: null;
15391 comments_url: string;
15392 owner: GistsListPublicResponseItemOwner;
15393 truncated: boolean;
15394 };
15395 type GistsListResponseItemOwner = {
15396 login: string;
15397 id: number;
15398 node_id: string;
15399 avatar_url: string;
15400 gravatar_id: string;
15401 url: string;
15402 html_url: string;
15403 followers_url: string;
15404 following_url: string;
15405 gists_url: string;
15406 starred_url: string;
15407 subscriptions_url: string;
15408 organizations_url: string;
15409 repos_url: string;
15410 events_url: string;
15411 received_events_url: string;
15412 type: string;
15413 site_admin: boolean;
15414 };
15415 type GistsListResponseItemFilesHelloWorldRb = {
15416 filename: string;
15417 type: string;
15418 language: string;
15419 raw_url: string;
15420 size: number;
15421 };
15422 type GistsListResponseItemFiles = {
15423 "hello_world.rb": GistsListResponseItemFilesHelloWorldRb;
15424 };
15425 type GistsListResponseItem = {
15426 url: string;
15427 forks_url: string;
15428 commits_url: string;
15429 id: string;
15430 node_id: string;
15431 git_pull_url: string;
15432 git_push_url: string;
15433 html_url: string;
15434 files: GistsListResponseItemFiles;
15435 public: boolean;
15436 created_at: string;
15437 updated_at: string;
15438 description: string;
15439 comments: number;
15440 user: null;
15441 comments_url: string;
15442 owner: GistsListResponseItemOwner;
15443 truncated: boolean;
15444 };
15445 type GistsListPublicForUserResponseItemOwner = {
15446 login: string;
15447 id: number;
15448 node_id: string;
15449 avatar_url: string;
15450 gravatar_id: string;
15451 url: string;
15452 html_url: string;
15453 followers_url: string;
15454 following_url: string;
15455 gists_url: string;
15456 starred_url: string;
15457 subscriptions_url: string;
15458 organizations_url: string;
15459 repos_url: string;
15460 events_url: string;
15461 received_events_url: string;
15462 type: string;
15463 site_admin: boolean;
15464 };
15465 type GistsListPublicForUserResponseItemFilesHelloWorldRb = {
15466 filename: string;
15467 type: string;
15468 language: string;
15469 raw_url: string;
15470 size: number;
15471 };
15472 type GistsListPublicForUserResponseItemFiles = {
15473 "hello_world.rb": GistsListPublicForUserResponseItemFilesHelloWorldRb;
15474 };
15475 type GistsListPublicForUserResponseItem = {
15476 url: string;
15477 forks_url: string;
15478 commits_url: string;
15479 id: string;
15480 node_id: string;
15481 git_pull_url: string;
15482 git_push_url: string;
15483 html_url: string;
15484 files: GistsListPublicForUserResponseItemFiles;
15485 public: boolean;
15486 created_at: string;
15487 updated_at: string;
15488 description: string;
15489 comments: number;
15490 user: null;
15491 comments_url: string;
15492 owner: GistsListPublicForUserResponseItemOwner;
15493 truncated: boolean;
15494 };
15495 type ChecksRerequestSuiteResponse = {};
15496 type ChecksCreateSuiteResponseRepositoryPermissions = {
15497 admin: boolean;
15498 push: boolean;
15499 pull: boolean;
15500 };
15501 type ChecksCreateSuiteResponseRepositoryOwner = {
15502 login: string;
15503 id: number;
15504 node_id: string;
15505 avatar_url: string;
15506 gravatar_id: string;
15507 url: string;
15508 html_url: string;
15509 followers_url: string;
15510 following_url: string;
15511 gists_url: string;
15512 starred_url: string;
15513 subscriptions_url: string;
15514 organizations_url: string;
15515 repos_url: string;
15516 events_url: string;
15517 received_events_url: string;
15518 type: string;
15519 site_admin: boolean;
15520 };
15521 type ChecksCreateSuiteResponseRepository = {
15522 id: number;
15523 node_id: string;
15524 name: string;
15525 full_name: string;
15526 owner: ChecksCreateSuiteResponseRepositoryOwner;
15527 private: boolean;
15528 html_url: string;
15529 description: string;
15530 fork: boolean;
15531 url: string;
15532 archive_url: string;
15533 assignees_url: string;
15534 blobs_url: string;
15535 branches_url: string;
15536 collaborators_url: string;
15537 comments_url: string;
15538 commits_url: string;
15539 compare_url: string;
15540 contents_url: string;
15541 contributors_url: string;
15542 deployments_url: string;
15543 downloads_url: string;
15544 events_url: string;
15545 forks_url: string;
15546 git_commits_url: string;
15547 git_refs_url: string;
15548 git_tags_url: string;
15549 git_url: string;
15550 issue_comment_url: string;
15551 issue_events_url: string;
15552 issues_url: string;
15553 keys_url: string;
15554 labels_url: string;
15555 languages_url: string;
15556 merges_url: string;
15557 milestones_url: string;
15558 notifications_url: string;
15559 pulls_url: string;
15560 releases_url: string;
15561 ssh_url: string;
15562 stargazers_url: string;
15563 statuses_url: string;
15564 subscribers_url: string;
15565 subscription_url: string;
15566 tags_url: string;
15567 teams_url: string;
15568 trees_url: string;
15569 clone_url: string;
15570 mirror_url: string;
15571 hooks_url: string;
15572 svn_url: string;
15573 homepage: string;
15574 language: null;
15575 forks_count: number;
15576 stargazers_count: number;
15577 watchers_count: number;
15578 size: number;
15579 default_branch: string;
15580 open_issues_count: number;
15581 topics: Array<string>;
15582 has_issues: boolean;
15583 has_projects: boolean;
15584 has_wiki: boolean;
15585 has_pages: boolean;
15586 has_downloads: boolean;
15587 archived: boolean;
15588 pushed_at: string;
15589 created_at: string;
15590 updated_at: string;
15591 permissions: ChecksCreateSuiteResponseRepositoryPermissions;
15592 allow_rebase_merge: boolean;
15593 allow_squash_merge: boolean;
15594 allow_merge_commit: boolean;
15595 subscribers_count: number;
15596 network_count: number;
15597 };
15598 type ChecksCreateSuiteResponseAppOwner = {
15599 login: string;
15600 id: number;
15601 node_id: string;
15602 url: string;
15603 repos_url: string;
15604 events_url: string;
15605 hooks_url: string;
15606 issues_url: string;
15607 members_url: string;
15608 public_members_url: string;
15609 avatar_url: string;
15610 description: string;
15611 };
15612 type ChecksCreateSuiteResponseApp = {
15613 id: number;
15614 node_id: string;
15615 owner: ChecksCreateSuiteResponseAppOwner;
15616 name: string;
15617 description: string;
15618 external_url: string;
15619 html_url: string;
15620 created_at: string;
15621 updated_at: string;
15622 };
15623 type ChecksCreateSuiteResponse = {
15624 id: number;
15625 node_id: string;
15626 head_branch: string;
15627 head_sha: string;
15628 status: string;
15629 conclusion: string;
15630 url: string;
15631 before: string;
15632 after: string;
15633 pull_requests: Array<any>;
15634 app: ChecksCreateSuiteResponseApp;
15635 repository: ChecksCreateSuiteResponseRepository;
15636 };
15637 type ChecksSetSuitesPreferencesResponseRepositoryPermissions = {
15638 admin: boolean;
15639 push: boolean;
15640 pull: boolean;
15641 };
15642 type ChecksSetSuitesPreferencesResponseRepositoryOwner = {
15643 login: string;
15644 id: number;
15645 node_id: string;
15646 avatar_url: string;
15647 gravatar_id: string;
15648 url: string;
15649 html_url: string;
15650 followers_url: string;
15651 following_url: string;
15652 gists_url: string;
15653 starred_url: string;
15654 subscriptions_url: string;
15655 organizations_url: string;
15656 repos_url: string;
15657 events_url: string;
15658 received_events_url: string;
15659 type: string;
15660 site_admin: boolean;
15661 };
15662 type ChecksSetSuitesPreferencesResponseRepository = {
15663 id: number;
15664 node_id: string;
15665 name: string;
15666 full_name: string;
15667 owner: ChecksSetSuitesPreferencesResponseRepositoryOwner;
15668 private: boolean;
15669 html_url: string;
15670 description: string;
15671 fork: boolean;
15672 url: string;
15673 archive_url: string;
15674 assignees_url: string;
15675 blobs_url: string;
15676 branches_url: string;
15677 collaborators_url: string;
15678 comments_url: string;
15679 commits_url: string;
15680 compare_url: string;
15681 contents_url: string;
15682 contributors_url: string;
15683 deployments_url: string;
15684 downloads_url: string;
15685 events_url: string;
15686 forks_url: string;
15687 git_commits_url: string;
15688 git_refs_url: string;
15689 git_tags_url: string;
15690 git_url: string;
15691 issue_comment_url: string;
15692 issue_events_url: string;
15693 issues_url: string;
15694 keys_url: string;
15695 labels_url: string;
15696 languages_url: string;
15697 merges_url: string;
15698 milestones_url: string;
15699 notifications_url: string;
15700 pulls_url: string;
15701 releases_url: string;
15702 ssh_url: string;
15703 stargazers_url: string;
15704 statuses_url: string;
15705 subscribers_url: string;
15706 subscription_url: string;
15707 tags_url: string;
15708 teams_url: string;
15709 trees_url: string;
15710 clone_url: string;
15711 mirror_url: string;
15712 hooks_url: string;
15713 svn_url: string;
15714 homepage: string;
15715 language: null;
15716 forks_count: number;
15717 stargazers_count: number;
15718 watchers_count: number;
15719 size: number;
15720 default_branch: string;
15721 open_issues_count: number;
15722 topics: Array<string>;
15723 has_issues: boolean;
15724 has_projects: boolean;
15725 has_wiki: boolean;
15726 has_pages: boolean;
15727 has_downloads: boolean;
15728 archived: boolean;
15729 pushed_at: string;
15730 created_at: string;
15731 updated_at: string;
15732 permissions: ChecksSetSuitesPreferencesResponseRepositoryPermissions;
15733 allow_rebase_merge: boolean;
15734 allow_squash_merge: boolean;
15735 allow_merge_commit: boolean;
15736 subscribers_count: number;
15737 network_count: number;
15738 };
15739 type ChecksSetSuitesPreferencesResponsePreferencesAutoTriggerChecksItem = {
15740 app_id: number;
15741 setting: boolean;
15742 };
15743 type ChecksSetSuitesPreferencesResponsePreferences = {
15744 auto_trigger_checks: Array<
15745 ChecksSetSuitesPreferencesResponsePreferencesAutoTriggerChecksItem
15746 >;
15747 };
15748 type ChecksSetSuitesPreferencesResponse = {
15749 preferences: ChecksSetSuitesPreferencesResponsePreferences;
15750 repository: ChecksSetSuitesPreferencesResponseRepository;
15751 };
15752 type ChecksListSuitesForRefResponseCheckSuitesItemRepositoryPermissions = {
15753 admin: boolean;
15754 push: boolean;
15755 pull: boolean;
15756 };
15757 type ChecksListSuitesForRefResponseCheckSuitesItemRepositoryOwner = {
15758 login: string;
15759 id: number;
15760 node_id: string;
15761 avatar_url: string;
15762 gravatar_id: string;
15763 url: string;
15764 html_url: string;
15765 followers_url: string;
15766 following_url: string;
15767 gists_url: string;
15768 starred_url: string;
15769 subscriptions_url: string;
15770 organizations_url: string;
15771 repos_url: string;
15772 events_url: string;
15773 received_events_url: string;
15774 type: string;
15775 site_admin: boolean;
15776 };
15777 type ChecksListSuitesForRefResponseCheckSuitesItemRepository = {
15778 id: number;
15779 node_id: string;
15780 name: string;
15781 full_name: string;
15782 owner: ChecksListSuitesForRefResponseCheckSuitesItemRepositoryOwner;
15783 private: boolean;
15784 html_url: string;
15785 description: string;
15786 fork: boolean;
15787 url: string;
15788 archive_url: string;
15789 assignees_url: string;
15790 blobs_url: string;
15791 branches_url: string;
15792 collaborators_url: string;
15793 comments_url: string;
15794 commits_url: string;
15795 compare_url: string;
15796 contents_url: string;
15797 contributors_url: string;
15798 deployments_url: string;
15799 downloads_url: string;
15800 events_url: string;
15801 forks_url: string;
15802 git_commits_url: string;
15803 git_refs_url: string;
15804 git_tags_url: string;
15805 git_url: string;
15806 issue_comment_url: string;
15807 issue_events_url: string;
15808 issues_url: string;
15809 keys_url: string;
15810 labels_url: string;
15811 languages_url: string;
15812 merges_url: string;
15813 milestones_url: string;
15814 notifications_url: string;
15815 pulls_url: string;
15816 releases_url: string;
15817 ssh_url: string;
15818 stargazers_url: string;
15819 statuses_url: string;
15820 subscribers_url: string;
15821 subscription_url: string;
15822 tags_url: string;
15823 teams_url: string;
15824 trees_url: string;
15825 clone_url: string;
15826 mirror_url: string;
15827 hooks_url: string;
15828 svn_url: string;
15829 homepage: string;
15830 language: null;
15831 forks_count: number;
15832 stargazers_count: number;
15833 watchers_count: number;
15834 size: number;
15835 default_branch: string;
15836 open_issues_count: number;
15837 topics: Array<string>;
15838 has_issues: boolean;
15839 has_projects: boolean;
15840 has_wiki: boolean;
15841 has_pages: boolean;
15842 has_downloads: boolean;
15843 archived: boolean;
15844 pushed_at: string;
15845 created_at: string;
15846 updated_at: string;
15847 permissions: ChecksListSuitesForRefResponseCheckSuitesItemRepositoryPermissions;
15848 allow_rebase_merge: boolean;
15849 allow_squash_merge: boolean;
15850 allow_merge_commit: boolean;
15851 subscribers_count: number;
15852 network_count: number;
15853 };
15854 type ChecksListSuitesForRefResponseCheckSuitesItemAppOwner = {
15855 login: string;
15856 id: number;
15857 node_id: string;
15858 url: string;
15859 repos_url: string;
15860 events_url: string;
15861 hooks_url: string;
15862 issues_url: string;
15863 members_url: string;
15864 public_members_url: string;
15865 avatar_url: string;
15866 description: string;
15867 };
15868 type ChecksListSuitesForRefResponseCheckSuitesItemApp = {
15869 id: number;
15870 node_id: string;
15871 owner: ChecksListSuitesForRefResponseCheckSuitesItemAppOwner;
15872 name: string;
15873 description: string;
15874 external_url: string;
15875 html_url: string;
15876 created_at: string;
15877 updated_at: string;
15878 };
15879 type ChecksListSuitesForRefResponseCheckSuitesItem = {
15880 id: number;
15881 node_id: string;
15882 head_branch: string;
15883 head_sha: string;
15884 status: string;
15885 conclusion: string;
15886 url: string;
15887 before: string;
15888 after: string;
15889 pull_requests: Array<any>;
15890 app: ChecksListSuitesForRefResponseCheckSuitesItemApp;
15891 repository: ChecksListSuitesForRefResponseCheckSuitesItemRepository;
15892 };
15893 type ChecksListSuitesForRefResponse = {
15894 total_count: number;
15895 check_suites: Array<ChecksListSuitesForRefResponseCheckSuitesItem>;
15896 };
15897 type ChecksGetSuiteResponseRepositoryPermissions = {
15898 admin: boolean;
15899 push: boolean;
15900 pull: boolean;
15901 };
15902 type ChecksGetSuiteResponseRepositoryOwner = {
15903 login: string;
15904 id: number;
15905 node_id: string;
15906 avatar_url: string;
15907 gravatar_id: string;
15908 url: string;
15909 html_url: string;
15910 followers_url: string;
15911 following_url: string;
15912 gists_url: string;
15913 starred_url: string;
15914 subscriptions_url: string;
15915 organizations_url: string;
15916 repos_url: string;
15917 events_url: string;
15918 received_events_url: string;
15919 type: string;
15920 site_admin: boolean;
15921 };
15922 type ChecksGetSuiteResponseRepository = {
15923 id: number;
15924 node_id: string;
15925 name: string;
15926 full_name: string;
15927 owner: ChecksGetSuiteResponseRepositoryOwner;
15928 private: boolean;
15929 html_url: string;
15930 description: string;
15931 fork: boolean;
15932 url: string;
15933 archive_url: string;
15934 assignees_url: string;
15935 blobs_url: string;
15936 branches_url: string;
15937 collaborators_url: string;
15938 comments_url: string;
15939 commits_url: string;
15940 compare_url: string;
15941 contents_url: string;
15942 contributors_url: string;
15943 deployments_url: string;
15944 downloads_url: string;
15945 events_url: string;
15946 forks_url: string;
15947 git_commits_url: string;
15948 git_refs_url: string;
15949 git_tags_url: string;
15950 git_url: string;
15951 issue_comment_url: string;
15952 issue_events_url: string;
15953 issues_url: string;
15954 keys_url: string;
15955 labels_url: string;
15956 languages_url: string;
15957 merges_url: string;
15958 milestones_url: string;
15959 notifications_url: string;
15960 pulls_url: string;
15961 releases_url: string;
15962 ssh_url: string;
15963 stargazers_url: string;
15964 statuses_url: string;
15965 subscribers_url: string;
15966 subscription_url: string;
15967 tags_url: string;
15968 teams_url: string;
15969 trees_url: string;
15970 clone_url: string;
15971 mirror_url: string;
15972 hooks_url: string;
15973 svn_url: string;
15974 homepage: string;
15975 language: null;
15976 forks_count: number;
15977 stargazers_count: number;
15978 watchers_count: number;
15979 size: number;
15980 default_branch: string;
15981 open_issues_count: number;
15982 topics: Array<string>;
15983 has_issues: boolean;
15984 has_projects: boolean;
15985 has_wiki: boolean;
15986 has_pages: boolean;
15987 has_downloads: boolean;
15988 archived: boolean;
15989 pushed_at: string;
15990 created_at: string;
15991 updated_at: string;
15992 permissions: ChecksGetSuiteResponseRepositoryPermissions;
15993 allow_rebase_merge: boolean;
15994 allow_squash_merge: boolean;
15995 allow_merge_commit: boolean;
15996 subscribers_count: number;
15997 network_count: number;
15998 };
15999 type ChecksGetSuiteResponseAppOwner = {
16000 login: string;
16001 id: number;
16002 node_id: string;
16003 url: string;
16004 repos_url: string;
16005 events_url: string;
16006 hooks_url: string;
16007 issues_url: string;
16008 members_url: string;
16009 public_members_url: string;
16010 avatar_url: string;
16011 description: string;
16012 };
16013 type ChecksGetSuiteResponseApp = {
16014 id: number;
16015 node_id: string;
16016 owner: ChecksGetSuiteResponseAppOwner;
16017 name: string;
16018 description: string;
16019 external_url: string;
16020 html_url: string;
16021 created_at: string;
16022 updated_at: string;
16023 };
16024 type ChecksGetSuiteResponse = {
16025 id: number;
16026 node_id: string;
16027 head_branch: string;
16028 head_sha: string;
16029 status: string;
16030 conclusion: string;
16031 url: string;
16032 before: string;
16033 after: string;
16034 pull_requests: Array<any>;
16035 app: ChecksGetSuiteResponseApp;
16036 repository: ChecksGetSuiteResponseRepository;
16037 };
16038 type ChecksListAnnotationsResponseItem = {
16039 path: string;
16040 start_line: number;
16041 end_line: number;
16042 start_column: number;
16043 end_column: number;
16044 annotation_level: string;
16045 title: string;
16046 message: string;
16047 raw_details: string;
16048 };
16049 type ChecksGetResponsePullRequestsItemBaseRepo = {
16050 id: number;
16051 url: string;
16052 name: string;
16053 };
16054 type ChecksGetResponsePullRequestsItemBase = {
16055 ref: string;
16056 sha: string;
16057 repo: ChecksGetResponsePullRequestsItemBaseRepo;
16058 };
16059 type ChecksGetResponsePullRequestsItemHeadRepo = {
16060 id: number;
16061 url: string;
16062 name: string;
16063 };
16064 type ChecksGetResponsePullRequestsItemHead = {
16065 ref: string;
16066 sha: string;
16067 repo: ChecksGetResponsePullRequestsItemHeadRepo;
16068 };
16069 type ChecksGetResponsePullRequestsItem = {
16070 url: string;
16071 id: number;
16072 number: number;
16073 head: ChecksGetResponsePullRequestsItemHead;
16074 base: ChecksGetResponsePullRequestsItemBase;
16075 };
16076 type ChecksGetResponseAppOwner = {
16077 login: string;
16078 id: number;
16079 node_id: string;
16080 url: string;
16081 repos_url: string;
16082 events_url: string;
16083 hooks_url: string;
16084 issues_url: string;
16085 members_url: string;
16086 public_members_url: string;
16087 avatar_url: string;
16088 description: string;
16089 };
16090 type ChecksGetResponseApp = {
16091 id: number;
16092 node_id: string;
16093 owner: ChecksGetResponseAppOwner;
16094 name: string;
16095 description: string;
16096 external_url: string;
16097 html_url: string;
16098 created_at: string;
16099 updated_at: string;
16100 };
16101 type ChecksGetResponseCheckSuite = { id: number };
16102 type ChecksGetResponseOutput = {
16103 title: string;
16104 summary: string;
16105 text: string;
16106 annotations_count: number;
16107 annotations_url: string;
16108 };
16109 type ChecksGetResponse = {
16110 id: number;
16111 head_sha: string;
16112 node_id: string;
16113 external_id: string;
16114 url: string;
16115 html_url: string;
16116 details_url: string;
16117 status: string;
16118 conclusion: string;
16119 started_at: string;
16120 completed_at: string;
16121 output: ChecksGetResponseOutput;
16122 name: string;
16123 check_suite: ChecksGetResponseCheckSuite;
16124 app: ChecksGetResponseApp;
16125 pull_requests: Array<ChecksGetResponsePullRequestsItem>;
16126 };
16127 type ChecksListForSuiteResponseCheckRunsItemPullRequestsItemBaseRepo = {
16128 id: number;
16129 url: string;
16130 name: string;
16131 };
16132 type ChecksListForSuiteResponseCheckRunsItemPullRequestsItemBase = {
16133 ref: string;
16134 sha: string;
16135 repo: ChecksListForSuiteResponseCheckRunsItemPullRequestsItemBaseRepo;
16136 };
16137 type ChecksListForSuiteResponseCheckRunsItemPullRequestsItemHeadRepo = {
16138 id: number;
16139 url: string;
16140 name: string;
16141 };
16142 type ChecksListForSuiteResponseCheckRunsItemPullRequestsItemHead = {
16143 ref: string;
16144 sha: string;
16145 repo: ChecksListForSuiteResponseCheckRunsItemPullRequestsItemHeadRepo;
16146 };
16147 type ChecksListForSuiteResponseCheckRunsItemPullRequestsItem = {
16148 url: string;
16149 id: number;
16150 number: number;
16151 head: ChecksListForSuiteResponseCheckRunsItemPullRequestsItemHead;
16152 base: ChecksListForSuiteResponseCheckRunsItemPullRequestsItemBase;
16153 };
16154 type ChecksListForSuiteResponseCheckRunsItemAppOwner = {
16155 login: string;
16156 id: number;
16157 node_id: string;
16158 url: string;
16159 repos_url: string;
16160 events_url: string;
16161 hooks_url: string;
16162 issues_url: string;
16163 members_url: string;
16164 public_members_url: string;
16165 avatar_url: string;
16166 description: string;
16167 };
16168 type ChecksListForSuiteResponseCheckRunsItemApp = {
16169 id: number;
16170 node_id: string;
16171 owner: ChecksListForSuiteResponseCheckRunsItemAppOwner;
16172 name: string;
16173 description: string;
16174 external_url: string;
16175 html_url: string;
16176 created_at: string;
16177 updated_at: string;
16178 };
16179 type ChecksListForSuiteResponseCheckRunsItemCheckSuite = { id: number };
16180 type ChecksListForSuiteResponseCheckRunsItemOutput = {
16181 title: string;
16182 summary: string;
16183 text: string;
16184 annotations_count: number;
16185 annotations_url: string;
16186 };
16187 type ChecksListForSuiteResponseCheckRunsItem = {
16188 id: number;
16189 head_sha: string;
16190 node_id: string;
16191 external_id: string;
16192 url: string;
16193 html_url: string;
16194 details_url: string;
16195 status: string;
16196 conclusion: string;
16197 started_at: string;
16198 completed_at: string;
16199 output: ChecksListForSuiteResponseCheckRunsItemOutput;
16200 name: string;
16201 check_suite: ChecksListForSuiteResponseCheckRunsItemCheckSuite;
16202 app: ChecksListForSuiteResponseCheckRunsItemApp;
16203 pull_requests: Array<
16204 ChecksListForSuiteResponseCheckRunsItemPullRequestsItem
16205 >;
16206 };
16207 type ChecksListForSuiteResponse = {
16208 total_count: number;
16209 check_runs: Array<ChecksListForSuiteResponseCheckRunsItem>;
16210 };
16211 type ChecksListForRefResponseCheckRunsItemPullRequestsItemBaseRepo = {
16212 id: number;
16213 url: string;
16214 name: string;
16215 };
16216 type ChecksListForRefResponseCheckRunsItemPullRequestsItemBase = {
16217 ref: string;
16218 sha: string;
16219 repo: ChecksListForRefResponseCheckRunsItemPullRequestsItemBaseRepo;
16220 };
16221 type ChecksListForRefResponseCheckRunsItemPullRequestsItemHeadRepo = {
16222 id: number;
16223 url: string;
16224 name: string;
16225 };
16226 type ChecksListForRefResponseCheckRunsItemPullRequestsItemHead = {
16227 ref: string;
16228 sha: string;
16229 repo: ChecksListForRefResponseCheckRunsItemPullRequestsItemHeadRepo;
16230 };
16231 type ChecksListForRefResponseCheckRunsItemPullRequestsItem = {
16232 url: string;
16233 id: number;
16234 number: number;
16235 head: ChecksListForRefResponseCheckRunsItemPullRequestsItemHead;
16236 base: ChecksListForRefResponseCheckRunsItemPullRequestsItemBase;
16237 };
16238 type ChecksListForRefResponseCheckRunsItemAppOwner = {
16239 login: string;
16240 id: number;
16241 node_id: string;
16242 url: string;
16243 repos_url: string;
16244 events_url: string;
16245 hooks_url: string;
16246 issues_url: string;
16247 members_url: string;
16248 public_members_url: string;
16249 avatar_url: string;
16250 description: string;
16251 };
16252 type ChecksListForRefResponseCheckRunsItemApp = {
16253 id: number;
16254 node_id: string;
16255 owner: ChecksListForRefResponseCheckRunsItemAppOwner;
16256 name: string;
16257 description: string;
16258 external_url: string;
16259 html_url: string;
16260 created_at: string;
16261 updated_at: string;
16262 };
16263 type ChecksListForRefResponseCheckRunsItemCheckSuite = { id: number };
16264 type ChecksListForRefResponseCheckRunsItemOutput = {
16265 title: string;
16266 summary: string;
16267 text: string;
16268 annotations_count: number;
16269 annotations_url: string;
16270 };
16271 type ChecksListForRefResponseCheckRunsItem = {
16272 id: number;
16273 head_sha: string;
16274 node_id: string;
16275 external_id: string;
16276 url: string;
16277 html_url: string;
16278 details_url: string;
16279 status: string;
16280 conclusion: string;
16281 started_at: string;
16282 completed_at: string;
16283 output: ChecksListForRefResponseCheckRunsItemOutput;
16284 name: string;
16285 check_suite: ChecksListForRefResponseCheckRunsItemCheckSuite;
16286 app: ChecksListForRefResponseCheckRunsItemApp;
16287 pull_requests: Array<ChecksListForRefResponseCheckRunsItemPullRequestsItem>;
16288 };
16289 type ChecksListForRefResponse = {
16290 total_count: number;
16291 check_runs: Array<ChecksListForRefResponseCheckRunsItem>;
16292 };
16293 type ChecksUpdateResponsePullRequestsItemBaseRepo = {
16294 id: number;
16295 url: string;
16296 name: string;
16297 };
16298 type ChecksUpdateResponsePullRequestsItemBase = {
16299 ref: string;
16300 sha: string;
16301 repo: ChecksUpdateResponsePullRequestsItemBaseRepo;
16302 };
16303 type ChecksUpdateResponsePullRequestsItemHeadRepo = {
16304 id: number;
16305 url: string;
16306 name: string;
16307 };
16308 type ChecksUpdateResponsePullRequestsItemHead = {
16309 ref: string;
16310 sha: string;
16311 repo: ChecksUpdateResponsePullRequestsItemHeadRepo;
16312 };
16313 type ChecksUpdateResponsePullRequestsItem = {
16314 url: string;
16315 id: number;
16316 number: number;
16317 head: ChecksUpdateResponsePullRequestsItemHead;
16318 base: ChecksUpdateResponsePullRequestsItemBase;
16319 };
16320 type ChecksUpdateResponseAppOwner = {
16321 login: string;
16322 id: number;
16323 node_id: string;
16324 url: string;
16325 repos_url: string;
16326 events_url: string;
16327 hooks_url: string;
16328 issues_url: string;
16329 members_url: string;
16330 public_members_url: string;
16331 avatar_url: string;
16332 description: string;
16333 };
16334 type ChecksUpdateResponseApp = {
16335 id: number;
16336 node_id: string;
16337 owner: ChecksUpdateResponseAppOwner;
16338 name: string;
16339 description: string;
16340 external_url: string;
16341 html_url: string;
16342 created_at: string;
16343 updated_at: string;
16344 };
16345 type ChecksUpdateResponseCheckSuite = { id: number };
16346 type ChecksUpdateResponseOutput = {
16347 title: string;
16348 summary: string;
16349 text: string;
16350 annotations_count: number;
16351 annotations_url: string;
16352 };
16353 type ChecksUpdateResponse = {
16354 id: number;
16355 head_sha: string;
16356 node_id: string;
16357 external_id: string;
16358 url: string;
16359 html_url: string;
16360 details_url: string;
16361 status: string;
16362 conclusion: string;
16363 started_at: string;
16364 completed_at: string;
16365 output: ChecksUpdateResponseOutput;
16366 name: string;
16367 check_suite: ChecksUpdateResponseCheckSuite;
16368 app: ChecksUpdateResponseApp;
16369 pull_requests: Array<ChecksUpdateResponsePullRequestsItem>;
16370 };
16371 type ChecksCreateResponsePullRequestsItemBaseRepo = {
16372 id: number;
16373 url: string;
16374 name: string;
16375 };
16376 type ChecksCreateResponsePullRequestsItemBase = {
16377 ref: string;
16378 sha: string;
16379 repo: ChecksCreateResponsePullRequestsItemBaseRepo;
16380 };
16381 type ChecksCreateResponsePullRequestsItemHeadRepo = {
16382 id: number;
16383 url: string;
16384 name: string;
16385 };
16386 type ChecksCreateResponsePullRequestsItemHead = {
16387 ref: string;
16388 sha: string;
16389 repo: ChecksCreateResponsePullRequestsItemHeadRepo;
16390 };
16391 type ChecksCreateResponsePullRequestsItem = {
16392 url: string;
16393 id: number;
16394 number: number;
16395 head: ChecksCreateResponsePullRequestsItemHead;
16396 base: ChecksCreateResponsePullRequestsItemBase;
16397 };
16398 type ChecksCreateResponseAppOwner = {
16399 login: string;
16400 id: number;
16401 node_id: string;
16402 url: string;
16403 repos_url: string;
16404 events_url: string;
16405 hooks_url: string;
16406 issues_url: string;
16407 members_url: string;
16408 public_members_url: string;
16409 avatar_url: string;
16410 description: string;
16411 };
16412 type ChecksCreateResponseApp = {
16413 id: number;
16414 node_id: string;
16415 owner: ChecksCreateResponseAppOwner;
16416 name: string;
16417 description: string;
16418 external_url: string;
16419 html_url: string;
16420 created_at: string;
16421 updated_at: string;
16422 };
16423 type ChecksCreateResponseCheckSuite = { id: number };
16424 type ChecksCreateResponseOutput = {
16425 title: string;
16426 summary: string;
16427 text: string;
16428 };
16429 type ChecksCreateResponse = {
16430 id: number;
16431 head_sha: string;
16432 node_id: string;
16433 external_id: string;
16434 url: string;
16435 html_url: string;
16436 details_url: string;
16437 status: string;
16438 conclusion: null;
16439 started_at: string;
16440 completed_at: null;
16441 output: ChecksCreateResponseOutput;
16442 name: string;
16443 check_suite: ChecksCreateResponseCheckSuite;
16444 app: ChecksCreateResponseApp;
16445 pull_requests: Array<ChecksCreateResponsePullRequestsItem>;
16446 };
16447 type ActivityDeleteRepoSubscriptionResponse = {};
16448 type ActivitySetRepoSubscriptionResponse = {
16449 subscribed: boolean;
16450 ignored: boolean;
16451 reason: null;
16452 created_at: string;
16453 url: string;
16454 repository_url: string;
16455 };
16456 type ActivityListWatchedReposForAuthenticatedUserResponseItemLicense = {
16457 key: string;
16458 name: string;
16459 spdx_id: string;
16460 url: string;
16461 node_id: string;
16462 };
16463 type ActivityListWatchedReposForAuthenticatedUserResponseItemPermissions = {
16464 admin: boolean;
16465 push: boolean;
16466 pull: boolean;
16467 };
16468 type ActivityListWatchedReposForAuthenticatedUserResponseItemOwner = {
16469 login: string;
16470 id: number;
16471 node_id: string;
16472 avatar_url: string;
16473 gravatar_id: string;
16474 url: string;
16475 html_url: string;
16476 followers_url: string;
16477 following_url: string;
16478 gists_url: string;
16479 starred_url: string;
16480 subscriptions_url: string;
16481 organizations_url: string;
16482 repos_url: string;
16483 events_url: string;
16484 received_events_url: string;
16485 type: string;
16486 site_admin: boolean;
16487 };
16488 type ActivityListWatchedReposForAuthenticatedUserResponseItem = {
16489 id: number;
16490 node_id: string;
16491 name: string;
16492 full_name: string;
16493 owner: ActivityListWatchedReposForAuthenticatedUserResponseItemOwner;
16494 private: boolean;
16495 html_url: string;
16496 description: string;
16497 fork: boolean;
16498 url: string;
16499 archive_url: string;
16500 assignees_url: string;
16501 blobs_url: string;
16502 branches_url: string;
16503 collaborators_url: string;
16504 comments_url: string;
16505 commits_url: string;
16506 compare_url: string;
16507 contents_url: string;
16508 contributors_url: string;
16509 deployments_url: string;
16510 downloads_url: string;
16511 events_url: string;
16512 forks_url: string;
16513 git_commits_url: string;
16514 git_refs_url: string;
16515 git_tags_url: string;
16516 git_url: string;
16517 issue_comment_url: string;
16518 issue_events_url: string;
16519 issues_url: string;
16520 keys_url: string;
16521 labels_url: string;
16522 languages_url: string;
16523 merges_url: string;
16524 milestones_url: string;
16525 notifications_url: string;
16526 pulls_url: string;
16527 releases_url: string;
16528 ssh_url: string;
16529 stargazers_url: string;
16530 statuses_url: string;
16531 subscribers_url: string;
16532 subscription_url: string;
16533 tags_url: string;
16534 teams_url: string;
16535 trees_url: string;
16536 clone_url: string;
16537 mirror_url: string;
16538 hooks_url: string;
16539 svn_url: string;
16540 homepage: string;
16541 language: null;
16542 forks_count: number;
16543 stargazers_count: number;
16544 watchers_count: number;
16545 size: number;
16546 default_branch: string;
16547 open_issues_count: number;
16548 topics: Array<string>;
16549 has_issues: boolean;
16550 has_projects: boolean;
16551 has_wiki: boolean;
16552 has_pages: boolean;
16553 has_downloads: boolean;
16554 archived: boolean;
16555 pushed_at: string;
16556 created_at: string;
16557 updated_at: string;
16558 permissions: ActivityListWatchedReposForAuthenticatedUserResponseItemPermissions;
16559 subscribers_count: number;
16560 network_count: number;
16561 license: ActivityListWatchedReposForAuthenticatedUserResponseItemLicense;
16562 };
16563 type ActivityListReposWatchedByUserResponseItemLicense = {
16564 key: string;
16565 name: string;
16566 spdx_id: string;
16567 url: string;
16568 node_id: string;
16569 };
16570 type ActivityListReposWatchedByUserResponseItemPermissions = {
16571 admin: boolean;
16572 push: boolean;
16573 pull: boolean;
16574 };
16575 type ActivityListReposWatchedByUserResponseItemOwner = {
16576 login: string;
16577 id: number;
16578 node_id: string;
16579 avatar_url: string;
16580 gravatar_id: string;
16581 url: string;
16582 html_url: string;
16583 followers_url: string;
16584 following_url: string;
16585 gists_url: string;
16586 starred_url: string;
16587 subscriptions_url: string;
16588 organizations_url: string;
16589 repos_url: string;
16590 events_url: string;
16591 received_events_url: string;
16592 type: string;
16593 site_admin: boolean;
16594 };
16595 type ActivityListReposWatchedByUserResponseItem = {
16596 id: number;
16597 node_id: string;
16598 name: string;
16599 full_name: string;
16600 owner: ActivityListReposWatchedByUserResponseItemOwner;
16601 private: boolean;
16602 html_url: string;
16603 description: string;
16604 fork: boolean;
16605 url: string;
16606 archive_url: string;
16607 assignees_url: string;
16608 blobs_url: string;
16609 branches_url: string;
16610 collaborators_url: string;
16611 comments_url: string;
16612 commits_url: string;
16613 compare_url: string;
16614 contents_url: string;
16615 contributors_url: string;
16616 deployments_url: string;
16617 downloads_url: string;
16618 events_url: string;
16619 forks_url: string;
16620 git_commits_url: string;
16621 git_refs_url: string;
16622 git_tags_url: string;
16623 git_url: string;
16624 issue_comment_url: string;
16625 issue_events_url: string;
16626 issues_url: string;
16627 keys_url: string;
16628 labels_url: string;
16629 languages_url: string;
16630 merges_url: string;
16631 milestones_url: string;
16632 notifications_url: string;
16633 pulls_url: string;
16634 releases_url: string;
16635 ssh_url: string;
16636 stargazers_url: string;
16637 statuses_url: string;
16638 subscribers_url: string;
16639 subscription_url: string;
16640 tags_url: string;
16641 teams_url: string;
16642 trees_url: string;
16643 clone_url: string;
16644 mirror_url: string;
16645 hooks_url: string;
16646 svn_url: string;
16647 homepage: string;
16648 language: null;
16649 forks_count: number;
16650 stargazers_count: number;
16651 watchers_count: number;
16652 size: number;
16653 default_branch: string;
16654 open_issues_count: number;
16655 topics: Array<string>;
16656 has_issues: boolean;
16657 has_projects: boolean;
16658 has_wiki: boolean;
16659 has_pages: boolean;
16660 has_downloads: boolean;
16661 archived: boolean;
16662 pushed_at: string;
16663 created_at: string;
16664 updated_at: string;
16665 permissions: ActivityListReposWatchedByUserResponseItemPermissions;
16666 subscribers_count: number;
16667 network_count: number;
16668 license: ActivityListReposWatchedByUserResponseItemLicense;
16669 };
16670 type ActivityListWatchersForRepoResponseItem = {
16671 login: string;
16672 id: number;
16673 node_id: string;
16674 avatar_url: string;
16675 gravatar_id: string;
16676 url: string;
16677 html_url: string;
16678 followers_url: string;
16679 following_url: string;
16680 gists_url: string;
16681 starred_url: string;
16682 subscriptions_url: string;
16683 organizations_url: string;
16684 repos_url: string;
16685 events_url: string;
16686 received_events_url: string;
16687 type: string;
16688 site_admin: boolean;
16689 };
16690 type ActivityUnstarRepoResponse = {};
16691 type ActivityStarRepoResponse = {};
16692 type ActivityListReposStarredByAuthenticatedUserResponseItemPermissions = {
16693 admin: boolean;
16694 push: boolean;
16695 pull: boolean;
16696 };
16697 type ActivityListReposStarredByAuthenticatedUserResponseItemOwner = {
16698 login: string;
16699 id: number;
16700 node_id: string;
16701 avatar_url: string;
16702 gravatar_id: string;
16703 url: string;
16704 html_url: string;
16705 followers_url: string;
16706 following_url: string;
16707 gists_url: string;
16708 starred_url: string;
16709 subscriptions_url: string;
16710 organizations_url: string;
16711 repos_url: string;
16712 events_url: string;
16713 received_events_url: string;
16714 type: string;
16715 site_admin: boolean;
16716 };
16717 type ActivityListReposStarredByAuthenticatedUserResponseItem = {
16718 id: number;
16719 node_id: string;
16720 name: string;
16721 full_name: string;
16722 owner: ActivityListReposStarredByAuthenticatedUserResponseItemOwner;
16723 private: boolean;
16724 html_url: string;
16725 description: string;
16726 fork: boolean;
16727 url: string;
16728 archive_url: string;
16729 assignees_url: string;
16730 blobs_url: string;
16731 branches_url: string;
16732 collaborators_url: string;
16733 comments_url: string;
16734 commits_url: string;
16735 compare_url: string;
16736 contents_url: string;
16737 contributors_url: string;
16738 deployments_url: string;
16739 downloads_url: string;
16740 events_url: string;
16741 forks_url: string;
16742 git_commits_url: string;
16743 git_refs_url: string;
16744 git_tags_url: string;
16745 git_url: string;
16746 issue_comment_url: string;
16747 issue_events_url: string;
16748 issues_url: string;
16749 keys_url: string;
16750 labels_url: string;
16751 languages_url: string;
16752 merges_url: string;
16753 milestones_url: string;
16754 notifications_url: string;
16755 pulls_url: string;
16756 releases_url: string;
16757 ssh_url: string;
16758 stargazers_url: string;
16759 statuses_url: string;
16760 subscribers_url: string;
16761 subscription_url: string;
16762 tags_url: string;
16763 teams_url: string;
16764 trees_url: string;
16765 clone_url: string;
16766 mirror_url: string;
16767 hooks_url: string;
16768 svn_url: string;
16769 homepage: string;
16770 language: null;
16771 forks_count: number;
16772 stargazers_count: number;
16773 watchers_count: number;
16774 size: number;
16775 default_branch: string;
16776 open_issues_count: number;
16777 topics: Array<string>;
16778 has_issues: boolean;
16779 has_projects: boolean;
16780 has_wiki: boolean;
16781 has_pages: boolean;
16782 has_downloads: boolean;
16783 archived: boolean;
16784 pushed_at: string;
16785 created_at: string;
16786 updated_at: string;
16787 permissions: ActivityListReposStarredByAuthenticatedUserResponseItemPermissions;
16788 allow_rebase_merge: boolean;
16789 allow_squash_merge: boolean;
16790 allow_merge_commit: boolean;
16791 subscribers_count: number;
16792 network_count: number;
16793 };
16794 type ActivityListReposStarredByUserResponseItemPermissions = {
16795 admin: boolean;
16796 push: boolean;
16797 pull: boolean;
16798 };
16799 type ActivityListReposStarredByUserResponseItemOwner = {
16800 login: string;
16801 id: number;
16802 node_id: string;
16803 avatar_url: string;
16804 gravatar_id: string;
16805 url: string;
16806 html_url: string;
16807 followers_url: string;
16808 following_url: string;
16809 gists_url: string;
16810 starred_url: string;
16811 subscriptions_url: string;
16812 organizations_url: string;
16813 repos_url: string;
16814 events_url: string;
16815 received_events_url: string;
16816 type: string;
16817 site_admin: boolean;
16818 };
16819 type ActivityListReposStarredByUserResponseItem = {
16820 id: number;
16821 node_id: string;
16822 name: string;
16823 full_name: string;
16824 owner: ActivityListReposStarredByUserResponseItemOwner;
16825 private: boolean;
16826 html_url: string;
16827 description: string;
16828 fork: boolean;
16829 url: string;
16830 archive_url: string;
16831 assignees_url: string;
16832 blobs_url: string;
16833 branches_url: string;
16834 collaborators_url: string;
16835 comments_url: string;
16836 commits_url: string;
16837 compare_url: string;
16838 contents_url: string;
16839 contributors_url: string;
16840 deployments_url: string;
16841 downloads_url: string;
16842 events_url: string;
16843 forks_url: string;
16844 git_commits_url: string;
16845 git_refs_url: string;
16846 git_tags_url: string;
16847 git_url: string;
16848 issue_comment_url: string;
16849 issue_events_url: string;
16850 issues_url: string;
16851 keys_url: string;
16852 labels_url: string;
16853 languages_url: string;
16854 merges_url: string;
16855 milestones_url: string;
16856 notifications_url: string;
16857 pulls_url: string;
16858 releases_url: string;
16859 ssh_url: string;
16860 stargazers_url: string;
16861 statuses_url: string;
16862 subscribers_url: string;
16863 subscription_url: string;
16864 tags_url: string;
16865 teams_url: string;
16866 trees_url: string;
16867 clone_url: string;
16868 mirror_url: string;
16869 hooks_url: string;
16870 svn_url: string;
16871 homepage: string;
16872 language: null;
16873 forks_count: number;
16874 stargazers_count: number;
16875 watchers_count: number;
16876 size: number;
16877 default_branch: string;
16878 open_issues_count: number;
16879 topics: Array<string>;
16880 has_issues: boolean;
16881 has_projects: boolean;
16882 has_wiki: boolean;
16883 has_pages: boolean;
16884 has_downloads: boolean;
16885 archived: boolean;
16886 pushed_at: string;
16887 created_at: string;
16888 updated_at: string;
16889 permissions: ActivityListReposStarredByUserResponseItemPermissions;
16890 allow_rebase_merge: boolean;
16891 allow_squash_merge: boolean;
16892 allow_merge_commit: boolean;
16893 subscribers_count: number;
16894 network_count: number;
16895 };
16896 type ActivityListStargazersForRepoResponseItem = {
16897 login: string;
16898 id: number;
16899 node_id: string;
16900 avatar_url: string;
16901 gravatar_id: string;
16902 url: string;
16903 html_url: string;
16904 followers_url: string;
16905 following_url: string;
16906 gists_url: string;
16907 starred_url: string;
16908 subscriptions_url: string;
16909 organizations_url: string;
16910 repos_url: string;
16911 events_url: string;
16912 received_events_url: string;
16913 type: string;
16914 site_admin: boolean;
16915 };
16916 type ActivityDeleteThreadSubscriptionResponse = {};
16917 type ActivitySetThreadSubscriptionResponse = {
16918 subscribed: boolean;
16919 ignored: boolean;
16920 reason: null;
16921 created_at: string;
16922 url: string;
16923 thread_url: string;
16924 };
16925 type ActivityGetThreadSubscriptionResponse = {
16926 subscribed: boolean;
16927 ignored: boolean;
16928 reason: null;
16929 created_at: string;
16930 url: string;
16931 thread_url: string;
16932 };
16933 type ActivityMarkThreadAsReadResponse = {};
16934 type ActivityGetThreadResponseSubject = {
16935 title: string;
16936 url: string;
16937 latest_comment_url: string;
16938 type: string;
16939 };
16940 type ActivityGetThreadResponseRepositoryOwner = {
16941 login: string;
16942 id: number;
16943 node_id: string;
16944 avatar_url: string;
16945 gravatar_id: string;
16946 url: string;
16947 html_url: string;
16948 followers_url: string;
16949 following_url: string;
16950 gists_url: string;
16951 starred_url: string;
16952 subscriptions_url: string;
16953 organizations_url: string;
16954 repos_url: string;
16955 events_url: string;
16956 received_events_url: string;
16957 type: string;
16958 site_admin: boolean;
16959 };
16960 type ActivityGetThreadResponseRepository = {
16961 id: number;
16962 node_id: string;
16963 name: string;
16964 full_name: string;
16965 owner: ActivityGetThreadResponseRepositoryOwner;
16966 private: boolean;
16967 html_url: string;
16968 description: string;
16969 fork: boolean;
16970 url: string;
16971 archive_url: string;
16972 assignees_url: string;
16973 blobs_url: string;
16974 branches_url: string;
16975 collaborators_url: string;
16976 comments_url: string;
16977 commits_url: string;
16978 compare_url: string;
16979 contents_url: string;
16980 contributors_url: string;
16981 deployments_url: string;
16982 downloads_url: string;
16983 events_url: string;
16984 forks_url: string;
16985 git_commits_url: string;
16986 git_refs_url: string;
16987 git_tags_url: string;
16988 git_url: string;
16989 issue_comment_url: string;
16990 issue_events_url: string;
16991 issues_url: string;
16992 keys_url: string;
16993 labels_url: string;
16994 languages_url: string;
16995 merges_url: string;
16996 milestones_url: string;
16997 notifications_url: string;
16998 pulls_url: string;
16999 releases_url: string;
17000 ssh_url: string;
17001 stargazers_url: string;
17002 statuses_url: string;
17003 subscribers_url: string;
17004 subscription_url: string;
17005 tags_url: string;
17006 teams_url: string;
17007 trees_url: string;
17008 };
17009 type ActivityGetThreadResponse = {
17010 id: string;
17011 repository: ActivityGetThreadResponseRepository;
17012 subject: ActivityGetThreadResponseSubject;
17013 reason: string;
17014 unread: boolean;
17015 updated_at: string;
17016 last_read_at: string;
17017 url: string;
17018 };
17019 type ActivityMarkNotificationsAsReadForRepoResponse = {};
17020 type ActivityMarkAsReadResponse = {};
17021 type ActivityListNotificationsForRepoResponseItemSubject = {
17022 title: string;
17023 url: string;
17024 latest_comment_url: string;
17025 type: string;
17026 };
17027 type ActivityListNotificationsForRepoResponseItemRepositoryOwner = {
17028 login: string;
17029 id: number;
17030 node_id: string;
17031 avatar_url: string;
17032 gravatar_id: string;
17033 url: string;
17034 html_url: string;
17035 followers_url: string;
17036 following_url: string;
17037 gists_url: string;
17038 starred_url: string;
17039 subscriptions_url: string;
17040 organizations_url: string;
17041 repos_url: string;
17042 events_url: string;
17043 received_events_url: string;
17044 type: string;
17045 site_admin: boolean;
17046 };
17047 type ActivityListNotificationsForRepoResponseItemRepository = {
17048 id: number;
17049 node_id: string;
17050 name: string;
17051 full_name: string;
17052 owner: ActivityListNotificationsForRepoResponseItemRepositoryOwner;
17053 private: boolean;
17054 html_url: string;
17055 description: string;
17056 fork: boolean;
17057 url: string;
17058 archive_url: string;
17059 assignees_url: string;
17060 blobs_url: string;
17061 branches_url: string;
17062 collaborators_url: string;
17063 comments_url: string;
17064 commits_url: string;
17065 compare_url: string;
17066 contents_url: string;
17067 contributors_url: string;
17068 deployments_url: string;
17069 downloads_url: string;
17070 events_url: string;
17071 forks_url: string;
17072 git_commits_url: string;
17073 git_refs_url: string;
17074 git_tags_url: string;
17075 git_url: string;
17076 issue_comment_url: string;
17077 issue_events_url: string;
17078 issues_url: string;
17079 keys_url: string;
17080 labels_url: string;
17081 languages_url: string;
17082 merges_url: string;
17083 milestones_url: string;
17084 notifications_url: string;
17085 pulls_url: string;
17086 releases_url: string;
17087 ssh_url: string;
17088 stargazers_url: string;
17089 statuses_url: string;
17090 subscribers_url: string;
17091 subscription_url: string;
17092 tags_url: string;
17093 teams_url: string;
17094 trees_url: string;
17095 };
17096 type ActivityListNotificationsForRepoResponseItem = {
17097 id: string;
17098 repository: ActivityListNotificationsForRepoResponseItemRepository;
17099 subject: ActivityListNotificationsForRepoResponseItemSubject;
17100 reason: string;
17101 unread: boolean;
17102 updated_at: string;
17103 last_read_at: string;
17104 url: string;
17105 };
17106 type ActivityListNotificationsResponseItemSubject = {
17107 title: string;
17108 url: string;
17109 latest_comment_url: string;
17110 type: string;
17111 };
17112 type ActivityListNotificationsResponseItemRepositoryOwner = {
17113 login: string;
17114 id: number;
17115 node_id: string;
17116 avatar_url: string;
17117 gravatar_id: string;
17118 url: string;
17119 html_url: string;
17120 followers_url: string;
17121 following_url: string;
17122 gists_url: string;
17123 starred_url: string;
17124 subscriptions_url: string;
17125 organizations_url: string;
17126 repos_url: string;
17127 events_url: string;
17128 received_events_url: string;
17129 type: string;
17130 site_admin: boolean;
17131 };
17132 type ActivityListNotificationsResponseItemRepository = {
17133 id: number;
17134 node_id: string;
17135 name: string;
17136 full_name: string;
17137 owner: ActivityListNotificationsResponseItemRepositoryOwner;
17138 private: boolean;
17139 html_url: string;
17140 description: string;
17141 fork: boolean;
17142 url: string;
17143 archive_url: string;
17144 assignees_url: string;
17145 blobs_url: string;
17146 branches_url: string;
17147 collaborators_url: string;
17148 comments_url: string;
17149 commits_url: string;
17150 compare_url: string;
17151 contents_url: string;
17152 contributors_url: string;
17153 deployments_url: string;
17154 downloads_url: string;
17155 events_url: string;
17156 forks_url: string;
17157 git_commits_url: string;
17158 git_refs_url: string;
17159 git_tags_url: string;
17160 git_url: string;
17161 issue_comment_url: string;
17162 issue_events_url: string;
17163 issues_url: string;
17164 keys_url: string;
17165 labels_url: string;
17166 languages_url: string;
17167 merges_url: string;
17168 milestones_url: string;
17169 notifications_url: string;
17170 pulls_url: string;
17171 releases_url: string;
17172 ssh_url: string;
17173 stargazers_url: string;
17174 statuses_url: string;
17175 subscribers_url: string;
17176 subscription_url: string;
17177 tags_url: string;
17178 teams_url: string;
17179 trees_url: string;
17180 };
17181 type ActivityListNotificationsResponseItem = {
17182 id: string;
17183 repository: ActivityListNotificationsResponseItemRepository;
17184 subject: ActivityListNotificationsResponseItemSubject;
17185 reason: string;
17186 unread: boolean;
17187 updated_at: string;
17188 last_read_at: string;
17189 url: string;
17190 };
17191 type ActivityListFeedsResponseLinksSecurityAdvisories = {
17192 href: string;
17193 type: string;
17194 };
17195 type ActivityListFeedsResponseLinksCurrentUserOrganizationsItem = {
17196 href: string;
17197 type: string;
17198 };
17199 type ActivityListFeedsResponseLinksCurrentUserOrganization = {
17200 href: string;
17201 type: string;
17202 };
17203 type ActivityListFeedsResponseLinksCurrentUserActor = {
17204 href: string;
17205 type: string;
17206 };
17207 type ActivityListFeedsResponseLinksCurrentUser = {
17208 href: string;
17209 type: string;
17210 };
17211 type ActivityListFeedsResponseLinksCurrentUserPublic = {
17212 href: string;
17213 type: string;
17214 };
17215 type ActivityListFeedsResponseLinksUser = { href: string; type: string };
17216 type ActivityListFeedsResponseLinksTimeline = { href: string; type: string };
17217 type ActivityListFeedsResponseLinks = {
17218 timeline: ActivityListFeedsResponseLinksTimeline;
17219 user: ActivityListFeedsResponseLinksUser;
17220 current_user_public: ActivityListFeedsResponseLinksCurrentUserPublic;
17221 current_user: ActivityListFeedsResponseLinksCurrentUser;
17222 current_user_actor: ActivityListFeedsResponseLinksCurrentUserActor;
17223 current_user_organization: ActivityListFeedsResponseLinksCurrentUserOrganization;
17224 current_user_organizations: Array<
17225 ActivityListFeedsResponseLinksCurrentUserOrganizationsItem
17226 >;
17227 security_advisories: ActivityListFeedsResponseLinksSecurityAdvisories;
17228 };
17229 type ActivityListFeedsResponse = {
17230 timeline_url: string;
17231 user_url: string;
17232 current_user_public_url: string;
17233 current_user_url: string;
17234 current_user_actor_url: string;
17235 current_user_organization_url: string;
17236 current_user_organization_urls: Array<string>;
17237 security_advisories_url: string;
17238 _links: ActivityListFeedsResponseLinks;
17239 };
17240 type OauthAuthorizationsRevokeGrantForApplicationResponse = {};
17241 type OauthAuthorizationsRevokeAuthorizationForApplicationResponse = {};
17242 type OauthAuthorizationsResetAuthorizationResponseUser = {
17243 login: string;
17244 id: number;
17245 node_id: string;
17246 avatar_url: string;
17247 gravatar_id: string;
17248 url: string;
17249 html_url: string;
17250 followers_url: string;
17251 following_url: string;
17252 gists_url: string;
17253 starred_url: string;
17254 subscriptions_url: string;
17255 organizations_url: string;
17256 repos_url: string;
17257 events_url: string;
17258 received_events_url: string;
17259 type: string;
17260 site_admin: boolean;
17261 };
17262 type OauthAuthorizationsResetAuthorizationResponseApp = {
17263 url: string;
17264 name: string;
17265 client_id: string;
17266 };
17267 type OauthAuthorizationsResetAuthorizationResponse = {
17268 id: number;
17269 url: string;
17270 scopes: Array<string>;
17271 token: string;
17272 token_last_eight: string;
17273 hashed_token: string;
17274 app: OauthAuthorizationsResetAuthorizationResponseApp;
17275 note: string;
17276 note_url: string;
17277 updated_at: string;
17278 created_at: string;
17279 fingerprint: string;
17280 user: OauthAuthorizationsResetAuthorizationResponseUser;
17281 };
17282 type OauthAuthorizationsCheckAuthorizationResponseUser = {
17283 login: string;
17284 id: number;
17285 node_id: string;
17286 avatar_url: string;
17287 gravatar_id: string;
17288 url: string;
17289 html_url: string;
17290 followers_url: string;
17291 following_url: string;
17292 gists_url: string;
17293 starred_url: string;
17294 subscriptions_url: string;
17295 organizations_url: string;
17296 repos_url: string;
17297 events_url: string;
17298 received_events_url: string;
17299 type: string;
17300 site_admin: boolean;
17301 };
17302 type OauthAuthorizationsCheckAuthorizationResponseApp = {
17303 url: string;
17304 name: string;
17305 client_id: string;
17306 };
17307 type OauthAuthorizationsCheckAuthorizationResponse = {
17308 id: number;
17309 url: string;
17310 scopes: Array<string>;
17311 token: string;
17312 token_last_eight: string;
17313 hashed_token: string;
17314 app: OauthAuthorizationsCheckAuthorizationResponseApp;
17315 note: string;
17316 note_url: string;
17317 updated_at: string;
17318 created_at: string;
17319 fingerprint: string;
17320 user: OauthAuthorizationsCheckAuthorizationResponseUser;
17321 };
17322 type OauthAuthorizationsDeleteAuthorizationResponse = {};
17323 type OauthAuthorizationsUpdateAuthorizationResponseApp = {
17324 url: string;
17325 name: string;
17326 client_id: string;
17327 };
17328 type OauthAuthorizationsUpdateAuthorizationResponse = {
17329 id: number;
17330 url: string;
17331 scopes: Array<string>;
17332 token: string;
17333 token_last_eight: string;
17334 hashed_token: string;
17335 app: OauthAuthorizationsUpdateAuthorizationResponseApp;
17336 note: string;
17337 note_url: string;
17338 updated_at: string;
17339 created_at: string;
17340 fingerprint: string;
17341 };
17342 type OauthAuthorizationsCreateAuthorizationResponseApp = {
17343 url: string;
17344 name: string;
17345 client_id: string;
17346 };
17347 type OauthAuthorizationsCreateAuthorizationResponse = {
17348 id: number;
17349 url: string;
17350 scopes: Array<string>;
17351 token: string;
17352 token_last_eight: string;
17353 hashed_token: string;
17354 app: OauthAuthorizationsCreateAuthorizationResponseApp;
17355 note: string;
17356 note_url: string;
17357 updated_at: string;
17358 created_at: string;
17359 fingerprint: string;
17360 };
17361 type OauthAuthorizationsGetAuthorizationResponseApp = {
17362 url: string;
17363 name: string;
17364 client_id: string;
17365 };
17366 type OauthAuthorizationsGetAuthorizationResponse = {
17367 id: number;
17368 url: string;
17369 scopes: Array<string>;
17370 token: string;
17371 token_last_eight: string;
17372 hashed_token: string;
17373 app: OauthAuthorizationsGetAuthorizationResponseApp;
17374 note: string;
17375 note_url: string;
17376 updated_at: string;
17377 created_at: string;
17378 fingerprint: string;
17379 };
17380 type OauthAuthorizationsListAuthorizationsResponseItemApp = {
17381 url: string;
17382 name: string;
17383 client_id: string;
17384 };
17385 type OauthAuthorizationsListAuthorizationsResponseItem = {
17386 id: number;
17387 url: string;
17388 scopes: Array<string>;
17389 token: string;
17390 token_last_eight: string;
17391 hashed_token: string;
17392 app: OauthAuthorizationsListAuthorizationsResponseItemApp;
17393 note: string;
17394 note_url: string;
17395 updated_at: string;
17396 created_at: string;
17397 fingerprint: string;
17398 };
17399 type OauthAuthorizationsDeleteGrantResponse = {};
17400 type OauthAuthorizationsGetGrantResponseApp = {
17401 url: string;
17402 name: string;
17403 client_id: string;
17404 };
17405 type OauthAuthorizationsGetGrantResponse = {
17406 id: number;
17407 url: string;
17408 app: OauthAuthorizationsGetGrantResponseApp;
17409 created_at: string;
17410 updated_at: string;
17411 scopes: Array<string>;
17412 };
17413 type OauthAuthorizationsListGrantsResponseItemApp = {
17414 url: string;
17415 name: string;
17416 client_id: string;
17417 };
17418 type OauthAuthorizationsListGrantsResponseItem = {
17419 id: number;
17420 url: string;
17421 app: OauthAuthorizationsListGrantsResponseItemApp;
17422 created_at: string;
17423 updated_at: string;
17424 scopes: Array<string>;
17425 };
17426 type OauthAuthorizationsListGrantsResponse = Array<
17427 OauthAuthorizationsListGrantsResponseItem
17428 >;
17429 type OauthAuthorizationsListAuthorizationsResponse = Array<
17430 OauthAuthorizationsListAuthorizationsResponseItem
17431 >;
17432 type ActivityListNotificationsResponse = Array<
17433 ActivityListNotificationsResponseItem
17434 >;
17435 type ActivityListNotificationsForRepoResponse = Array<
17436 ActivityListNotificationsForRepoResponseItem
17437 >;
17438 type ActivityListStargazersForRepoResponse = Array<
17439 ActivityListStargazersForRepoResponseItem
17440 >;
17441 type ActivityListReposStarredByUserResponse = Array<
17442 ActivityListReposStarredByUserResponseItem
17443 >;
17444 type ActivityListReposStarredByAuthenticatedUserResponse = Array<
17445 ActivityListReposStarredByAuthenticatedUserResponseItem
17446 >;
17447 type ActivityListWatchersForRepoResponse = Array<
17448 ActivityListWatchersForRepoResponseItem
17449 >;
17450 type ActivityListReposWatchedByUserResponse = Array<
17451 ActivityListReposWatchedByUserResponseItem
17452 >;
17453 type ActivityListWatchedReposForAuthenticatedUserResponse = Array<
17454 ActivityListWatchedReposForAuthenticatedUserResponseItem
17455 >;
17456 type ChecksListAnnotationsResponse = Array<ChecksListAnnotationsResponseItem>;
17457 type GistsListPublicForUserResponse = Array<
17458 GistsListPublicForUserResponseItem
17459 >;
17460 type GistsListResponse = Array<GistsListResponseItem>;
17461 type GistsListPublicResponse = Array<GistsListPublicResponseItem>;
17462 type GistsListStarredResponse = Array<GistsListStarredResponseItem>;
17463 type GistsListCommitsResponse = Array<GistsListCommitsResponseItem>;
17464 type GistsListForksResponse = Array<GistsListForksResponseItem>;
17465 type GistsListCommentsResponse = Array<GistsListCommentsResponseItem>;
17466 type AppsListInstallationsResponse = Array<AppsListInstallationsResponseItem>;
17467 type AppsListPlansResponse = Array<AppsListPlansResponseItem>;
17468 type AppsListPlansStubbedResponse = Array<AppsListPlansStubbedResponseItem>;
17469 type AppsListAccountsUserOrOrgOnPlanResponse = Array<
17470 AppsListAccountsUserOrOrgOnPlanResponseItem
17471 >;
17472 type AppsListAccountsUserOrOrgOnPlanStubbedResponse = Array<
17473 AppsListAccountsUserOrOrgOnPlanStubbedResponseItem
17474 >;
17475 type AppsListMarketplacePurchasesForAuthenticatedUserResponse = Array<
17476 AppsListMarketplacePurchasesForAuthenticatedUserResponseItem
17477 >;
17478 type AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponse = Array<
17479 AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponseItem
17480 >;
17481 type IssuesListResponse = Array<IssuesListResponseItem>;
17482 type IssuesListForAuthenticatedUserResponse = Array<
17483 IssuesListForAuthenticatedUserResponseItem
17484 >;
17485 type IssuesListForOrgResponse = Array<IssuesListForOrgResponseItem>;
17486 type IssuesListForRepoResponse = Array<IssuesListForRepoResponseItem>;
17487 type IssuesListAssigneesResponse = Array<IssuesListAssigneesResponseItem>;
17488 type IssuesListCommentsResponse = Array<IssuesListCommentsResponseItem>;
17489 type IssuesListCommentsForRepoResponse = Array<
17490 IssuesListCommentsForRepoResponseItem
17491 >;
17492 type IssuesListEventsResponse = Array<IssuesListEventsResponseItem>;
17493 type IssuesListEventsForRepoResponse = Array<
17494 IssuesListEventsForRepoResponseItem
17495 >;
17496 type IssuesListLabelsForRepoResponse = Array<
17497 IssuesListLabelsForRepoResponseItem
17498 >;
17499 type IssuesListLabelsOnIssueResponse = Array<
17500 IssuesListLabelsOnIssueResponseItem
17501 >;
17502 type IssuesAddLabelsResponse = Array<IssuesAddLabelsResponseItem>;
17503 type IssuesReplaceLabelsResponse = Array<IssuesReplaceLabelsResponseItem>;
17504 type IssuesListLabelsForMilestoneResponse = Array<
17505 IssuesListLabelsForMilestoneResponseItem
17506 >;
17507 type IssuesListMilestonesForRepoResponse = Array<
17508 IssuesListMilestonesForRepoResponseItem
17509 >;
17510 type IssuesListEventsForTimelineResponse = Array<
17511 IssuesListEventsForTimelineResponseItem
17512 >;
17513 type MigrationsListForOrgResponse = Array<MigrationsListForOrgResponseItem>;
17514 type MigrationsGetCommitAuthorsResponse = Array<
17515 MigrationsGetCommitAuthorsResponseItem
17516 >;
17517 type MigrationsGetLargeFilesResponse = Array<
17518 MigrationsGetLargeFilesResponseItem
17519 >;
17520 type MigrationsListForAuthenticatedUserResponse = Array<
17521 MigrationsListForAuthenticatedUserResponseItem
17522 >;
17523 type CodesOfConductListConductCodesResponse = Array<
17524 CodesOfConductListConductCodesResponseItem
17525 >;
17526 type GitignoreListTemplatesResponse = Array<string>;
17527 type LicensesListResponse = Array<LicensesListResponseItem>;
17528 type OrgsListForAuthenticatedUserResponse = Array<
17529 OrgsListForAuthenticatedUserResponseItem
17530 >;
17531 type OrgsListResponse = Array<OrgsListResponseItem>;
17532 type OrgsListForUserResponse = Array<OrgsListForUserResponseItem>;
17533 type OrgsListBlockedUsersResponse = Array<OrgsListBlockedUsersResponseItem>;
17534 type OrgsListMembersResponse = Array<OrgsListMembersResponseItem>;
17535 type OrgsListPublicMembersResponse = Array<OrgsListPublicMembersResponseItem>;
17536 type OrgsListInvitationTeamsResponse = Array<
17537 OrgsListInvitationTeamsResponseItem
17538 >;
17539 type OrgsListPendingInvitationsResponse = Array<
17540 OrgsListPendingInvitationsResponseItem
17541 >;
17542 type OrgsListMembershipsResponse = Array<OrgsListMembershipsResponseItem>;
17543 type OrgsListOutsideCollaboratorsResponse = Array<
17544 OrgsListOutsideCollaboratorsResponseItem
17545 >;
17546 type OrgsListHooksResponse = Array<OrgsListHooksResponseItem>;
17547 type ProjectsListForRepoResponse = Array<ProjectsListForRepoResponseItem>;
17548 type ProjectsListForOrgResponse = Array<ProjectsListForOrgResponseItem>;
17549 type ProjectsListForUserResponse = Array<ProjectsListForUserResponseItem>;
17550 type ProjectsListCardsResponse = Array<ProjectsListCardsResponseItem>;
17551 type ProjectsListCollaboratorsResponse = Array<
17552 ProjectsListCollaboratorsResponseItem
17553 >;
17554 type ProjectsListColumnsResponse = Array<ProjectsListColumnsResponseItem>;
17555 type PullsListResponse = Array<PullsListResponseItem>;
17556 type PullsListCommitsResponse = Array<PullsListCommitsResponseItem>;
17557 type PullsListFilesResponse = Array<PullsListFilesResponseItem>;
17558 type PullsListReviewsResponse = Array<PullsListReviewsResponseItem>;
17559 type PullsGetCommentsForReviewResponse = Array<
17560 PullsGetCommentsForReviewResponseItem
17561 >;
17562 type PullsListCommentsResponse = Array<PullsListCommentsResponseItem>;
17563 type PullsListCommentsForRepoResponse = Array<
17564 PullsListCommentsForRepoResponseItem
17565 >;
17566 type ReactionsListForCommitCommentResponse = Array<
17567 ReactionsListForCommitCommentResponseItem
17568 >;
17569 type ReactionsListForIssueResponse = Array<ReactionsListForIssueResponseItem>;
17570 type ReactionsListForIssueCommentResponse = Array<
17571 ReactionsListForIssueCommentResponseItem
17572 >;
17573 type ReactionsListForPullRequestReviewCommentResponse = Array<
17574 ReactionsListForPullRequestReviewCommentResponseItem
17575 >;
17576 type ReactionsListForTeamDiscussionResponse = Array<
17577 ReactionsListForTeamDiscussionResponseItem
17578 >;
17579 type ReactionsListForTeamDiscussionCommentResponse = Array<
17580 ReactionsListForTeamDiscussionCommentResponseItem
17581 >;
17582 type ReposListForOrgResponse = Array<ReposListForOrgResponseItem>;
17583 type ReposListPublicResponse = Array<ReposListPublicResponseItem>;
17584 type ReposListTeamsResponse = Array<ReposListTeamsResponseItem>;
17585 type ReposListTagsResponse = Array<ReposListTagsResponseItem>;
17586 type ReposListBranchesResponse = Array<ReposListBranchesResponseItem>;
17587 type ReposReplaceProtectedBranchRequiredStatusChecksContextsResponse = Array<
17588 string
17589 >;
17590 type ReposAddProtectedBranchRequiredStatusChecksContextsResponse = Array<
17591 string
17592 >;
17593 type ReposRemoveProtectedBranchRequiredStatusChecksContextsResponse = Array<
17594 string
17595 >;
17596 type ReposListProtectedBranchTeamRestrictionsResponse = any;
17597 type ReposReplaceProtectedBranchTeamRestrictionsResponse = Array<
17598 ReposReplaceProtectedBranchTeamRestrictionsResponseItem
17599 >;
17600 type ReposAddProtectedBranchTeamRestrictionsResponse = Array<
17601 ReposAddProtectedBranchTeamRestrictionsResponseItem
17602 >;
17603 type ReposRemoveProtectedBranchTeamRestrictionsResponse = Array<
17604 ReposRemoveProtectedBranchTeamRestrictionsResponseItem
17605 >;
17606 type ReposReplaceProtectedBranchUserRestrictionsResponse = Array<
17607 ReposReplaceProtectedBranchUserRestrictionsResponseItem
17608 >;
17609 type ReposAddProtectedBranchUserRestrictionsResponse = Array<
17610 ReposAddProtectedBranchUserRestrictionsResponseItem
17611 >;
17612 type ReposRemoveProtectedBranchUserRestrictionsResponse = Array<
17613 ReposRemoveProtectedBranchUserRestrictionsResponseItem
17614 >;
17615 type ReposListCollaboratorsResponse = Array<
17616 ReposListCollaboratorsResponseItem
17617 >;
17618 type ReposListCommitCommentsResponse = Array<
17619 ReposListCommitCommentsResponseItem
17620 >;
17621 type ReposListCommentsForCommitResponse = Array<
17622 ReposListCommentsForCommitResponseItem
17623 >;
17624 type ReposListCommitsResponse = Array<ReposListCommitsResponseItem>;
17625 type ReposCompareCommitsResponse = any;
17626 type ReposListDeployKeysResponse = Array<ReposListDeployKeysResponseItem>;
17627 type ReposListDeploymentsResponse = Array<ReposListDeploymentsResponseItem>;
17628 type ReposListDeploymentStatusesResponse = Array<
17629 ReposListDeploymentStatusesResponseItem
17630 >;
17631 type ReposListDownloadsResponse = Array<ReposListDownloadsResponseItem>;
17632 type ReposListForksResponse = Array<ReposListForksResponseItem>;
17633 type ReposListInvitationsResponse = Array<ReposListInvitationsResponseItem>;
17634 type ReposListInvitationsForAuthenticatedUserResponse = Array<
17635 ReposListInvitationsForAuthenticatedUserResponseItem
17636 >;
17637 type ReposListReleasesResponse = Array<ReposListReleasesResponseItem>;
17638 type ReposListAssetsForReleaseResponse = Array<
17639 ReposListAssetsForReleaseResponseItem
17640 >;
17641 type ReposGetContributorsStatsResponse = Array<
17642 ReposGetContributorsStatsResponseItem
17643 >;
17644 type ReposGetCommitActivityStatsResponse = Array<
17645 ReposGetCommitActivityStatsResponseItem
17646 >;
17647 type ReposGetCodeFrequencyStatsResponse = Array<Array<number>>;
17648 type ReposGetPunchCardStatsResponse = Array<Array<number>>;
17649 type ReposListStatusesForRefResponse = Array<
17650 ReposListStatusesForRefResponseItem
17651 >;
17652 type ReposGetTopReferrersResponse = Array<ReposGetTopReferrersResponseItem>;
17653 type ReposGetTopPathsResponse = Array<ReposGetTopPathsResponseItem>;
17654 type ReposListHooksResponse = Array<ReposListHooksResponseItem>;
17655 type TeamsListResponse = Array<TeamsListResponseItem>;
17656 type TeamsListReposResponse = Array<TeamsListReposResponseItem>;
17657 type TeamsListForAuthenticatedUserResponse = Array<
17658 TeamsListForAuthenticatedUserResponseItem
17659 >;
17660 type TeamsListProjectsResponse = Array<TeamsListProjectsResponseItem>;
17661 type TeamsListDiscussionsResponse = Array<TeamsListDiscussionsResponseItem>;
17662 type TeamsListDiscussionCommentsResponse = Array<
17663 TeamsListDiscussionCommentsResponseItem
17664 >;
17665 type TeamsListMembersResponse = Array<TeamsListMembersResponseItem>;
17666 type TeamsListPendingInvitationsResponse = Array<
17667 TeamsListPendingInvitationsResponseItem
17668 >;
17669 type UsersGetContextForUserResponse = any;
17670 type UsersListResponse = Array<UsersListResponseItem>;
17671 type UsersListBlockedResponse = Array<UsersListBlockedResponseItem>;
17672 type UsersListEmailsResponse = Array<UsersListEmailsResponseItem>;
17673 type UsersListPublicEmailsResponse = Array<UsersListPublicEmailsResponseItem>;
17674 type UsersAddEmailsResponse = Array<UsersAddEmailsResponseItem>;
17675 type UsersTogglePrimaryEmailVisibilityResponse = Array<
17676 UsersTogglePrimaryEmailVisibilityResponseItem
17677 >;
17678 type UsersListFollowersForUserResponse = Array<
17679 UsersListFollowersForUserResponseItem
17680 >;
17681 type UsersListFollowersForAuthenticatedUserResponse = Array<
17682 UsersListFollowersForAuthenticatedUserResponseItem
17683 >;
17684 type UsersListFollowingForUserResponse = Array<
17685 UsersListFollowingForUserResponseItem
17686 >;
17687 type UsersListFollowingForAuthenticatedUserResponse = Array<
17688 UsersListFollowingForAuthenticatedUserResponseItem
17689 >;
17690 type UsersListPublicKeysForUserResponse = Array<
17691 UsersListPublicKeysForUserResponseItem
17692 >;
17693 type UsersListPublicKeysResponse = Array<UsersListPublicKeysResponseItem>;
17694 type UsersListGpgKeysForUserResponse = Array<
17695 UsersListGpgKeysForUserResponseItem
17696 >;
17697 type UsersListGpgKeysResponse = Array<UsersListGpgKeysResponseItem>;
17698
17699 export type OauthAuthorizationsListGrantsParams = {
17700 /**
17701 * Results per page (max 100)
17702 */
17703 per_page?: number;
17704 /**
17705 * Page number of the results to fetch.
17706 */
17707 page?: number;
17708 };
17709 export type OauthAuthorizationsGetGrantParams = {
17710 grant_id: number;
17711 };
17712 export type OauthAuthorizationsDeleteGrantParams = {
17713 grant_id: number;
17714 };
17715 export type OauthAuthorizationsListAuthorizationsParams = {
17716 /**
17717 * Results per page (max 100)
17718 */
17719 per_page?: number;
17720 /**
17721 * Page number of the results to fetch.
17722 */
17723 page?: number;
17724 };
17725 export type OauthAuthorizationsGetAuthorizationParams = {
17726 authorization_id: number;
17727 };
17728 export type OauthAuthorizationsCreateAuthorizationParams = {
17729 /**
17730 * A list of scopes that this authorization is in.
17731 */
17732 scopes?: string[];
17733 /**
17734 * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note.
17735 */
17736 note: string;
17737 /**
17738 * A URL to remind you what app the OAuth token is for.
17739 */
17740 note_url?: string;
17741 /**
17742 * The 20 character OAuth app client key for which to create the token.
17743 */
17744 client_id?: string;
17745 /**
17746 * The 40 character OAuth app client secret for which to create the token.
17747 */
17748 client_secret?: string;
17749 /**
17750 * A unique string to distinguish an authorization from others created for the same client ID and user.
17751 */
17752 fingerprint?: string;
17753 };
17754 export type OauthAuthorizationsGetOrCreateAuthorizationForAppParams = {
17755 client_id: string;
17756 /**
17757 * The 40 character OAuth app client secret associated with the client ID specified in the URL.
17758 */
17759 client_secret: string;
17760 /**
17761 * A list of scopes that this authorization is in.
17762 */
17763 scopes?: string[];
17764 /**
17765 * A note to remind you what the OAuth token is for.
17766 */
17767 note?: string;
17768 /**
17769 * A URL to remind you what app the OAuth token is for.
17770 */
17771 note_url?: string;
17772 /**
17773 * A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to [Get-or-create an authorization for a specific app and fingerprint](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint).
17774 */
17775 fingerprint?: string;
17776 };
17777 export type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintParams = {
17778 client_id: string;
17779
17780 fingerprint: string;
17781 /**
17782 * The 40 character OAuth app client secret associated with the client ID specified in the URL.
17783 */
17784 client_secret: string;
17785 /**
17786 * A list of scopes that this authorization is in.
17787 */
17788 scopes?: string[];
17789 /**
17790 * A note to remind you what the OAuth token is for.
17791 */
17792 note?: string;
17793 /**
17794 * A URL to remind you what app the OAuth token is for.
17795 */
17796 note_url?: string;
17797 };
17798 export type OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintParams = {
17799 client_id: string;
17800
17801 fingerprint: string;
17802 /**
17803 * The 40 character OAuth app client secret associated with the client ID specified in the URL.
17804 */
17805 client_secret: string;
17806 /**
17807 * A list of scopes that this authorization is in.
17808 */
17809 scopes?: string[];
17810 /**
17811 * A note to remind you what the OAuth token is for.
17812 */
17813 note?: string;
17814 /**
17815 * A URL to remind you what app the OAuth token is for.
17816 */
17817 note_url?: string;
17818 };
17819 export type OauthAuthorizationsUpdateAuthorizationParams = {
17820 authorization_id: number;
17821 /**
17822 * Replaces the authorization scopes with these.
17823 */
17824 scopes?: string[];
17825 /**
17826 * A list of scopes to add to this authorization.
17827 */
17828 add_scopes?: string[];
17829 /**
17830 * A list of scopes to remove from this authorization.
17831 */
17832 remove_scopes?: string[];
17833 /**
17834 * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note.
17835 */
17836 note?: string;
17837 /**
17838 * A URL to remind you what app the OAuth token is for.
17839 */
17840 note_url?: string;
17841 /**
17842 * A unique string to distinguish an authorization from others created for the same client ID and user.
17843 */
17844 fingerprint?: string;
17845 };
17846 export type OauthAuthorizationsDeleteAuthorizationParams = {
17847 authorization_id: number;
17848 };
17849 export type OauthAuthorizationsCheckAuthorizationParams = {
17850 client_id: string;
17851
17852 access_token: string;
17853 };
17854 export type OauthAuthorizationsResetAuthorizationParams = {
17855 client_id: string;
17856
17857 access_token: string;
17858 };
17859 export type OauthAuthorizationsRevokeAuthorizationForApplicationParams = {
17860 client_id: string;
17861
17862 access_token: string;
17863 };
17864 export type OauthAuthorizationsRevokeGrantForApplicationParams = {
17865 client_id: string;
17866
17867 access_token: string;
17868 };
17869 export type ActivityListPublicEventsParams = {
17870 /**
17871 * Results per page (max 100)
17872 */
17873 per_page?: number;
17874 /**
17875 * Page number of the results to fetch.
17876 */
17877 page?: number;
17878 };
17879 export type ActivityListRepoEventsParams = {
17880 owner: string;
17881
17882 repo: string;
17883 /**
17884 * Results per page (max 100)
17885 */
17886 per_page?: number;
17887 /**
17888 * Page number of the results to fetch.
17889 */
17890 page?: number;
17891 };
17892 export type ActivityListPublicEventsForRepoNetworkParams = {
17893 owner: string;
17894
17895 repo: string;
17896 /**
17897 * Results per page (max 100)
17898 */
17899 per_page?: number;
17900 /**
17901 * Page number of the results to fetch.
17902 */
17903 page?: number;
17904 };
17905 export type ActivityListPublicEventsForOrgParams = {
17906 org: string;
17907 /**
17908 * Results per page (max 100)
17909 */
17910 per_page?: number;
17911 /**
17912 * Page number of the results to fetch.
17913 */
17914 page?: number;
17915 };
17916 export type ActivityListReceivedEventsForUserParams = {
17917 username: string;
17918 /**
17919 * Results per page (max 100)
17920 */
17921 per_page?: number;
17922 /**
17923 * Page number of the results to fetch.
17924 */
17925 page?: number;
17926 };
17927 export type ActivityListReceivedPublicEventsForUserParams = {
17928 username: string;
17929 /**
17930 * Results per page (max 100)
17931 */
17932 per_page?: number;
17933 /**
17934 * Page number of the results to fetch.
17935 */
17936 page?: number;
17937 };
17938 export type ActivityListEventsForUserParams = {
17939 username: string;
17940 /**
17941 * Results per page (max 100)
17942 */
17943 per_page?: number;
17944 /**
17945 * Page number of the results to fetch.
17946 */
17947 page?: number;
17948 };
17949 export type ActivityListPublicEventsForUserParams = {
17950 username: string;
17951 /**
17952 * Results per page (max 100)
17953 */
17954 per_page?: number;
17955 /**
17956 * Page number of the results to fetch.
17957 */
17958 page?: number;
17959 };
17960 export type ActivityListEventsForOrgParams = {
17961 username: string;
17962
17963 org: string;
17964 /**
17965 * Results per page (max 100)
17966 */
17967 per_page?: number;
17968 /**
17969 * Page number of the results to fetch.
17970 */
17971 page?: number;
17972 };
17973 export type ActivityListNotificationsParams = {
17974 /**
17975 * If `true`, show notifications marked as read.
17976 */
17977 all?: boolean;
17978 /**
17979 * If `true`, only shows notifications in which the user is directly participating or mentioned.
17980 */
17981 participating?: boolean;
17982 /**
17983 * Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
17984 */
17985 since?: string;
17986 /**
17987 * Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
17988 */
17989 before?: string;
17990 /**
17991 * Results per page (max 100)
17992 */
17993 per_page?: number;
17994 /**
17995 * Page number of the results to fetch.
17996 */
17997 page?: number;
17998 };
17999 export type ActivityListNotificationsForRepoParams = {
18000 owner: string;
18001
18002 repo: string;
18003 /**
18004 * If `true`, show notifications marked as read.
18005 */
18006 all?: boolean;
18007 /**
18008 * If `true`, only shows notifications in which the user is directly participating or mentioned.
18009 */
18010 participating?: boolean;
18011 /**
18012 * Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18013 */
18014 since?: string;
18015 /**
18016 * Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18017 */
18018 before?: string;
18019 /**
18020 * Results per page (max 100)
18021 */
18022 per_page?: number;
18023 /**
18024 * Page number of the results to fetch.
18025 */
18026 page?: number;
18027 };
18028 export type ActivityMarkAsReadParams = {
18029 /**
18030 * Describes the last point that notifications were checked. Anything updated since this time will not be updated. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18031 */
18032 last_read_at?: string;
18033 };
18034 export type ActivityMarkNotificationsAsReadForRepoParams = {
18035 owner: string;
18036
18037 repo: string;
18038 /**
18039 * Describes the last point that notifications were checked. Anything updated since this time will not be updated. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18040 */
18041 last_read_at?: string;
18042 };
18043 export type ActivityGetThreadParams = {
18044 thread_id: number;
18045 };
18046 export type ActivityMarkThreadAsReadParams = {
18047 thread_id: number;
18048 };
18049 export type ActivityGetThreadSubscriptionParams = {
18050 thread_id: number;
18051 };
18052 export type ActivitySetThreadSubscriptionParams = {
18053 thread_id: number;
18054 /**
18055 * Unsubscribes and subscribes you to a conversation. Set `ignored` to `true` to block all notifications from this thread.
18056 */
18057 ignored?: boolean;
18058 };
18059 export type ActivityDeleteThreadSubscriptionParams = {
18060 thread_id: number;
18061 };
18062 export type ActivityListStargazersForRepoParams = {
18063 owner: string;
18064
18065 repo: string;
18066 /**
18067 * Results per page (max 100)
18068 */
18069 per_page?: number;
18070 /**
18071 * Page number of the results to fetch.
18072 */
18073 page?: number;
18074 };
18075 export type ActivityListReposStarredByUserParams = {
18076 username: string;
18077 /**
18078 * One of `created` (when the repository was starred) or `updated` (when it was last pushed to).
18079 */
18080 sort?: "created" | "updated";
18081 /**
18082 * One of `asc` (ascending) or `desc` (descending).
18083 */
18084 direction?: "asc" | "desc";
18085 /**
18086 * Results per page (max 100)
18087 */
18088 per_page?: number;
18089 /**
18090 * Page number of the results to fetch.
18091 */
18092 page?: number;
18093 };
18094 export type ActivityListReposStarredByAuthenticatedUserParams = {
18095 /**
18096 * One of `created` (when the repository was starred) or `updated` (when it was last pushed to).
18097 */
18098 sort?: "created" | "updated";
18099 /**
18100 * One of `asc` (ascending) or `desc` (descending).
18101 */
18102 direction?: "asc" | "desc";
18103 /**
18104 * Results per page (max 100)
18105 */
18106 per_page?: number;
18107 /**
18108 * Page number of the results to fetch.
18109 */
18110 page?: number;
18111 };
18112 export type ActivityCheckStarringRepoParams = {
18113 owner: string;
18114
18115 repo: string;
18116 };
18117 export type ActivityStarRepoParams = {
18118 owner: string;
18119
18120 repo: string;
18121 };
18122 export type ActivityUnstarRepoParams = {
18123 owner: string;
18124
18125 repo: string;
18126 };
18127 export type ActivityListWatchersForRepoParams = {
18128 owner: string;
18129
18130 repo: string;
18131 /**
18132 * Results per page (max 100)
18133 */
18134 per_page?: number;
18135 /**
18136 * Page number of the results to fetch.
18137 */
18138 page?: number;
18139 };
18140 export type ActivityListReposWatchedByUserParams = {
18141 username: string;
18142 /**
18143 * Results per page (max 100)
18144 */
18145 per_page?: number;
18146 /**
18147 * Page number of the results to fetch.
18148 */
18149 page?: number;
18150 };
18151 export type ActivityListWatchedReposForAuthenticatedUserParams = {
18152 /**
18153 * Results per page (max 100)
18154 */
18155 per_page?: number;
18156 /**
18157 * Page number of the results to fetch.
18158 */
18159 page?: number;
18160 };
18161 export type ActivityGetRepoSubscriptionParams = {
18162 owner: string;
18163
18164 repo: string;
18165 };
18166 export type ActivitySetRepoSubscriptionParams = {
18167 owner: string;
18168
18169 repo: string;
18170 /**
18171 * Determines if notifications should be received from this repository.
18172 */
18173 subscribed?: boolean;
18174 /**
18175 * Determines if all notifications should be blocked from this repository.
18176 */
18177 ignored?: boolean;
18178 };
18179 export type ActivityDeleteRepoSubscriptionParams = {
18180 owner: string;
18181
18182 repo: string;
18183 };
18184 export type ChecksCreateParams = {
18185 owner: string;
18186
18187 repo: string;
18188 /**
18189 * The name of the check. For example, "code-coverage".
18190 */
18191 name: string;
18192 /**
18193 * The SHA of the commit.
18194 */
18195 head_sha: string;
18196 /**
18197 * The URL of the integrator's site that has the full details of the check.
18198 */
18199 details_url?: string;
18200 /**
18201 * A reference for the run on the integrator's system.
18202 */
18203 external_id?: string;
18204 /**
18205 * The current status. Can be one of `queued`, `in_progress`, or `completed`.
18206 */
18207 status?: "queued" | "in_progress" | "completed";
18208 /**
18209 * The time that the check run began in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18210 */
18211 started_at?: string;
18212 /**
18213 * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, or `action_required`. When the conclusion is `action_required`, additional details should be provided on the site specified by `details_url`. ,* **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`.
18214 */
18215 conclusion?:
18216 | "success"
18217 | "failure"
18218 | "neutral"
18219 | "cancelled"
18220 | "timed_out"
18221 | "action_required";
18222 /**
18223 * **Required if you provide `conclusion`**. The time the check completed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18224 */
18225 completed_at?: string;
18226 /**
18227 * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](#output-object) description.
18228 */
18229 output?: ChecksCreateParamsOutput;
18230 /**
18231 * Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](#actions-object) description.
18232 */
18233 actions?: ChecksCreateParamsActions[];
18234 };
18235 export type ChecksUpdateParams = {
18236 owner: string;
18237
18238 repo: string;
18239
18240 check_run_id: number;
18241 /**
18242 * The name of the check. For example, "code-coverage".
18243 */
18244 name?: string;
18245 /**
18246 * The URL of the integrator's site that has the full details of the check.
18247 */
18248 details_url?: string;
18249 /**
18250 * A reference for the run on the integrator's system.
18251 */
18252 external_id?: string;
18253 /**
18254 * A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18255 */
18256 started_at?: string;
18257 /**
18258 * The current status. Can be one of `queued`, `in_progress`, or `completed`.
18259 */
18260 status?: "queued" | "in_progress" | "completed";
18261 /**
18262 * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, or `action_required`. ,* **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`.
18263 */
18264 conclusion?:
18265 | "success"
18266 | "failure"
18267 | "neutral"
18268 | "cancelled"
18269 | "timed_out"
18270 | "action_required";
18271 /**
18272 * **Required if you provide `conclusion`**. The time the check completed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18273 */
18274 completed_at?: string;
18275 /**
18276 * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](#output-object-1) description.
18277 */
18278 output?: ChecksUpdateParamsOutput;
18279 /**
18280 * Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](#actions-object) description.
18281 */
18282 actions?: ChecksUpdateParamsActions[];
18283 };
18284 export type ChecksListForRefParams = {
18285 owner: string;
18286
18287 repo: string;
18288
18289 ref: string;
18290 /**
18291 * Returns check runs with the specified `name`.
18292 */
18293 check_name?: string;
18294 /**
18295 * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`.
18296 */
18297 status?: "queued" | "in_progress" | "completed";
18298 /**
18299 * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`.
18300 */
18301 filter?: "latest" | "all";
18302 /**
18303 * Results per page (max 100)
18304 */
18305 per_page?: number;
18306 /**
18307 * Page number of the results to fetch.
18308 */
18309 page?: number;
18310 };
18311 export type ChecksListForSuiteParams = {
18312 owner: string;
18313
18314 repo: string;
18315
18316 check_suite_id: number;
18317 /**
18318 * Returns check runs with the specified `name`.
18319 */
18320 check_name?: string;
18321 /**
18322 * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`.
18323 */
18324 status?: "queued" | "in_progress" | "completed";
18325 /**
18326 * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`.
18327 */
18328 filter?: "latest" | "all";
18329 /**
18330 * Results per page (max 100)
18331 */
18332 per_page?: number;
18333 /**
18334 * Page number of the results to fetch.
18335 */
18336 page?: number;
18337 };
18338 export type ChecksGetParams = {
18339 owner: string;
18340
18341 repo: string;
18342
18343 check_run_id: number;
18344 };
18345 export type ChecksListAnnotationsParams = {
18346 owner: string;
18347
18348 repo: string;
18349
18350 check_run_id: number;
18351 /**
18352 * Results per page (max 100)
18353 */
18354 per_page?: number;
18355 /**
18356 * Page number of the results to fetch.
18357 */
18358 page?: number;
18359 };
18360 export type ChecksGetSuiteParams = {
18361 owner: string;
18362
18363 repo: string;
18364
18365 check_suite_id: number;
18366 };
18367 export type ChecksListSuitesForRefParams = {
18368 owner: string;
18369
18370 repo: string;
18371
18372 ref: string;
18373 /**
18374 * Filters check suites by GitHub App `id`.
18375 */
18376 app_id?: number;
18377 /**
18378 * Filters checks suites by the name of the [check run](https://developer.github.com/v3/checks/runs/).
18379 */
18380 check_name?: string;
18381 /**
18382 * Results per page (max 100)
18383 */
18384 per_page?: number;
18385 /**
18386 * Page number of the results to fetch.
18387 */
18388 page?: number;
18389 };
18390 export type ChecksSetSuitesPreferencesParams = {
18391 owner: string;
18392
18393 repo: string;
18394 /**
18395 * Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the [`auto_trigger_checks` object](#auto_trigger_checks-object) description for details.
18396 */
18397 auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[];
18398 };
18399 export type ChecksCreateSuiteParams = {
18400 owner: string;
18401
18402 repo: string;
18403 /**
18404 * The sha of the head commit.
18405 */
18406 head_sha: string;
18407 };
18408 export type ChecksRerequestSuiteParams = {
18409 owner: string;
18410
18411 repo: string;
18412
18413 check_suite_id: number;
18414 };
18415 export type GistsListPublicForUserParams = {
18416 username: string;
18417 /**
18418 * A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.
18419 */
18420 since?: string;
18421 /**
18422 * Results per page (max 100)
18423 */
18424 per_page?: number;
18425 /**
18426 * Page number of the results to fetch.
18427 */
18428 page?: number;
18429 };
18430 export type GistsListParams = {
18431 /**
18432 * A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.
18433 */
18434 since?: string;
18435 /**
18436 * Results per page (max 100)
18437 */
18438 per_page?: number;
18439 /**
18440 * Page number of the results to fetch.
18441 */
18442 page?: number;
18443 };
18444 export type GistsListPublicParams = {
18445 /**
18446 * A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.
18447 */
18448 since?: string;
18449 /**
18450 * Results per page (max 100)
18451 */
18452 per_page?: number;
18453 /**
18454 * Page number of the results to fetch.
18455 */
18456 page?: number;
18457 };
18458 export type GistsListStarredParams = {
18459 /**
18460 * A timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.
18461 */
18462 since?: string;
18463 /**
18464 * Results per page (max 100)
18465 */
18466 per_page?: number;
18467 /**
18468 * Page number of the results to fetch.
18469 */
18470 page?: number;
18471 };
18472 export type GistsGetParams = {
18473 gist_id: string;
18474 };
18475 export type GistsGetRevisionParams = {
18476 gist_id: string;
18477
18478 sha: string;
18479 };
18480 export type GistsCreateParams = {
18481 /**
18482 * The filenames and content of each file in the gist. The keys in the `files` object represent the filename and have the type `string`.
18483 */
18484 files: GistsCreateParamsFiles;
18485 /**
18486 * A descriptive name for this gist.
18487 */
18488 description?: string;
18489 /**
18490 * When `true`, the gist will be public and available for anyone to see.
18491 */
18492 public?: boolean;
18493 };
18494 export type GistsUpdateParams = {
18495 gist_id: string;
18496 /**
18497 * A descriptive name for this gist.
18498 */
18499 description?: string;
18500 /**
18501 * The filenames and content that make up this gist.
18502 */
18503 files?: GistsUpdateParamsFiles;
18504 };
18505 export type GistsListCommitsParams = {
18506 gist_id: string;
18507 /**
18508 * Results per page (max 100)
18509 */
18510 per_page?: number;
18511 /**
18512 * Page number of the results to fetch.
18513 */
18514 page?: number;
18515 };
18516 export type GistsStarParams = {
18517 gist_id: string;
18518 };
18519 export type GistsUnstarParams = {
18520 gist_id: string;
18521 };
18522 export type GistsCheckIsStarredParams = {
18523 gist_id: string;
18524 };
18525 export type GistsForkParams = {
18526 gist_id: string;
18527 };
18528 export type GistsListForksParams = {
18529 gist_id: string;
18530 /**
18531 * Results per page (max 100)
18532 */
18533 per_page?: number;
18534 /**
18535 * Page number of the results to fetch.
18536 */
18537 page?: number;
18538 };
18539 export type GistsDeleteParams = {
18540 gist_id: string;
18541 };
18542 export type GistsListCommentsParams = {
18543 gist_id: string;
18544 /**
18545 * Results per page (max 100)
18546 */
18547 per_page?: number;
18548 /**
18549 * Page number of the results to fetch.
18550 */
18551 page?: number;
18552 };
18553 export type GistsGetCommentParams = {
18554 gist_id: string;
18555
18556 comment_id: number;
18557 };
18558 export type GistsCreateCommentParams = {
18559 gist_id: string;
18560 /**
18561 * The comment text.
18562 */
18563 body: string;
18564 };
18565 export type GistsUpdateCommentParams = {
18566 gist_id: string;
18567
18568 comment_id: number;
18569 /**
18570 * The comment text.
18571 */
18572 body: string;
18573 };
18574 export type GistsDeleteCommentParams = {
18575 gist_id: string;
18576
18577 comment_id: number;
18578 };
18579 export type GitGetBlobParams = {
18580 owner: string;
18581
18582 repo: string;
18583
18584 file_sha: string;
18585 };
18586 export type GitCreateBlobParams = {
18587 owner: string;
18588
18589 repo: string;
18590 /**
18591 * The new blob's content.
18592 */
18593 content: string;
18594 /**
18595 * The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
18596 */
18597 encoding?: string;
18598 };
18599 export type GitGetCommitParams = {
18600 owner: string;
18601
18602 repo: string;
18603
18604 commit_sha: string;
18605 };
18606 export type GitCreateCommitParams = {
18607 owner: string;
18608
18609 repo: string;
18610 /**
18611 * The commit message
18612 */
18613 message: string;
18614 /**
18615 * The SHA of the tree object this commit points to
18616 */
18617 tree: string;
18618 /**
18619 * The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided.
18620 */
18621 parents: string[];
18622 /**
18623 * object containing information about the committer.
18624 */
18625 committer?: GitCreateCommitParamsCommitter;
18626 /**
18627 * object containing information about the author.
18628 */
18629 author?: GitCreateCommitParamsAuthor;
18630 };
18631 export type GitGetRefParams = {
18632 owner: string;
18633
18634 repo: string;
18635 /**
18636 * Must be formatted as `heads/branch`, not just `branch`
18637 */
18638 ref: string;
18639 };
18640 export type GitListRefsParams = {
18641 owner: string;
18642
18643 repo: string;
18644 /**
18645 * Filter by sub-namespace (reference prefix). Most commen examples would be `'heads/'` and `'tags/'` to retrieve branches or tags
18646 */
18647 namespace?: string;
18648 /**
18649 * Results per page (max 100)
18650 */
18651 per_page?: number;
18652 /**
18653 * Page number of the results to fetch.
18654 */
18655 page?: number;
18656 };
18657 export type GitCreateRefParams = {
18658 owner: string;
18659
18660 repo: string;
18661 /**
18662 * The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected.
18663 */
18664 ref: string;
18665 /**
18666 * The SHA1 value for this reference.
18667 */
18668 sha: string;
18669 };
18670 export type GitUpdateRefParams = {
18671 owner: string;
18672
18673 repo: string;
18674
18675 ref: string;
18676 /**
18677 * The SHA1 value to set this reference to
18678 */
18679 sha: string;
18680 /**
18681 * Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.
18682 */
18683 force?: boolean;
18684 };
18685 export type GitDeleteRefParams = {
18686 owner: string;
18687
18688 repo: string;
18689
18690 ref: string;
18691 };
18692 export type GitGetTagParams = {
18693 owner: string;
18694
18695 repo: string;
18696
18697 tag_sha: string;
18698 };
18699 export type GitCreateTagParams = {
18700 owner: string;
18701
18702 repo: string;
18703 /**
18704 * The tag's name. This is typically a version (e.g., "v0.0.1").
18705 */
18706 tag: string;
18707 /**
18708 * The tag message.
18709 */
18710 message: string;
18711 /**
18712 * The SHA of the git object this is tagging.
18713 */
18714 object: string;
18715 /**
18716 * The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`.
18717 */
18718 type: "commit" | "tree" | "blob";
18719 /**
18720 * An object with information about the individual creating the tag.
18721 */
18722 tagger?: GitCreateTagParamsTagger;
18723 };
18724 export type GitGetTreeParams = {
18725 owner: string;
18726
18727 repo: string;
18728
18729 tree_sha: string;
18730
18731 recursive?: 1;
18732 };
18733 export type GitCreateTreeParams = {
18734 owner: string;
18735
18736 repo: string;
18737 /**
18738 * Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure.
18739 */
18740 tree: GitCreateTreeParamsTree[];
18741 /**
18742 * The SHA1 of the tree you want to update with new data. If you don't set this, the commit will be created on top of everything; however, it will only contain your change, the rest of your files will show up as deleted.
18743 */
18744 base_tree?: string;
18745 };
18746 export type AppsGetBySlugParams = {
18747 app_slug: string;
18748 };
18749 export type AppsListInstallationsParams = {
18750 /**
18751 * Results per page (max 100)
18752 */
18753 per_page?: number;
18754 /**
18755 * Page number of the results to fetch.
18756 */
18757 page?: number;
18758 };
18759 export type AppsGetInstallationParams = {
18760 installation_id: number;
18761 };
18762 export type AppsListInstallationsForAuthenticatedUserParams = {
18763 /**
18764 * Results per page (max 100)
18765 */
18766 per_page?: number;
18767 /**
18768 * Page number of the results to fetch.
18769 */
18770 page?: number;
18771 };
18772 export type AppsCreateInstallationTokenParams = {
18773 installation_id: number;
18774 };
18775 export type AppsFindOrgInstallationParams = {
18776 org: string;
18777 };
18778 export type AppsFindRepoInstallationParams = {
18779 owner: string;
18780
18781 repo: string;
18782 };
18783 export type AppsFindUserInstallationParams = {
18784 username: string;
18785 };
18786 export type AppsCreateFromManifestParams = {
18787 code: string;
18788 };
18789 export type AppsCreateContentAttachmentParams = {
18790 content_reference_id: number;
18791 /**
18792 * The title of the content attachment displayed in the body or comment of an issue or pull request.
18793 */
18794 title: string;
18795 /**
18796 * The body text of the content attachment displayed in the body or comment of an issue or pull request. This parameter supports markdown.
18797 */
18798 body: string;
18799 };
18800 export type AppsListReposParams = {
18801 /**
18802 * Results per page (max 100)
18803 */
18804 per_page?: number;
18805 /**
18806 * Page number of the results to fetch.
18807 */
18808 page?: number;
18809 };
18810 export type AppsListInstallationReposForAuthenticatedUserParams = {
18811 installation_id: number;
18812 /**
18813 * Results per page (max 100)
18814 */
18815 per_page?: number;
18816 /**
18817 * Page number of the results to fetch.
18818 */
18819 page?: number;
18820 };
18821 export type AppsAddRepoToInstallationParams = {
18822 installation_id: number;
18823
18824 repository_id: number;
18825 };
18826 export type AppsRemoveRepoFromInstallationParams = {
18827 installation_id: number;
18828
18829 repository_id: number;
18830 };
18831 export type AppsListPlansParams = {
18832 /**
18833 * Results per page (max 100)
18834 */
18835 per_page?: number;
18836 /**
18837 * Page number of the results to fetch.
18838 */
18839 page?: number;
18840 };
18841 export type AppsListPlansStubbedParams = {
18842 /**
18843 * Results per page (max 100)
18844 */
18845 per_page?: number;
18846 /**
18847 * Page number of the results to fetch.
18848 */
18849 page?: number;
18850 };
18851 export type AppsListAccountsUserOrOrgOnPlanParams = {
18852 plan_id: number;
18853 /**
18854 * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`.
18855 */
18856 sort?: "created" | "updated";
18857 /**
18858 * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter.
18859 */
18860 direction?: "asc" | "desc";
18861 /**
18862 * Results per page (max 100)
18863 */
18864 per_page?: number;
18865 /**
18866 * Page number of the results to fetch.
18867 */
18868 page?: number;
18869 };
18870 export type AppsListAccountsUserOrOrgOnPlanStubbedParams = {
18871 plan_id: number;
18872 /**
18873 * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`.
18874 */
18875 sort?: "created" | "updated";
18876 /**
18877 * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter.
18878 */
18879 direction?: "asc" | "desc";
18880 /**
18881 * Results per page (max 100)
18882 */
18883 per_page?: number;
18884 /**
18885 * Page number of the results to fetch.
18886 */
18887 page?: number;
18888 };
18889 export type AppsCheckAccountIsAssociatedWithAnyParams = {
18890 account_id: number;
18891 /**
18892 * Results per page (max 100)
18893 */
18894 per_page?: number;
18895 /**
18896 * Page number of the results to fetch.
18897 */
18898 page?: number;
18899 };
18900 export type AppsCheckAccountIsAssociatedWithAnyStubbedParams = {
18901 account_id: number;
18902 /**
18903 * Results per page (max 100)
18904 */
18905 per_page?: number;
18906 /**
18907 * Page number of the results to fetch.
18908 */
18909 page?: number;
18910 };
18911 export type AppsListMarketplacePurchasesForAuthenticatedUserParams = {
18912 /**
18913 * Results per page (max 100)
18914 */
18915 per_page?: number;
18916 /**
18917 * Page number of the results to fetch.
18918 */
18919 page?: number;
18920 };
18921 export type AppsListMarketplacePurchasesForAuthenticatedUserStubbedParams = {
18922 /**
18923 * Results per page (max 100)
18924 */
18925 per_page?: number;
18926 /**
18927 * Page number of the results to fetch.
18928 */
18929 page?: number;
18930 };
18931 export type InteractionsGetRestrictionsForOrgParams = {
18932 org: string;
18933 };
18934 export type InteractionsAddOrUpdateRestrictionsForOrgParams = {
18935 org: string;
18936 /**
18937 * Specifies the group of GitHub users who can comment, open issues, or create pull requests in public repositories for the given organization. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`.
18938 */
18939 limit: "existing_users" | "contributors_only" | "collaborators_only";
18940 };
18941 export type InteractionsRemoveRestrictionsForOrgParams = {
18942 org: string;
18943 };
18944 export type InteractionsGetRestrictionsForRepoParams = {
18945 owner: string;
18946
18947 repo: string;
18948 };
18949 export type InteractionsAddOrUpdateRestrictionsForRepoParams = {
18950 owner: string;
18951
18952 repo: string;
18953 /**
18954 * Specifies the group of GitHub users who can comment, open issues, or create pull requests for the given repository. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`.
18955 */
18956 limit: "existing_users" | "contributors_only" | "collaborators_only";
18957 };
18958 export type InteractionsRemoveRestrictionsForRepoParams = {
18959 owner: string;
18960
18961 repo: string;
18962 };
18963 export type IssuesListParams = {
18964 /**
18965 * Indicates which sorts of issues to return. Can be one of: ,* \* `assigned`: Issues assigned to you ,* \* `created`: Issues created by you ,* \* `mentioned`: Issues mentioning you ,* \* `subscribed`: Issues you're subscribed to updates for ,* \* `all`: All issues the authenticated user can see, regardless of participation or creation
18966 */
18967 filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all";
18968 /**
18969 * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.
18970 */
18971 state?: "open" | "closed" | "all";
18972 /**
18973 * A list of comma separated label names. Example: `bug,ui,@high`
18974 */
18975 labels?: string;
18976 /**
18977 * What to sort results by. Can be either `created`, `updated`, `comments`.
18978 */
18979 sort?: "created" | "updated" | "comments";
18980 /**
18981 * The direction of the sort. Can be either `asc` or `desc`.
18982 */
18983 direction?: "asc" | "desc";
18984 /**
18985 * Only issues updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
18986 */
18987 since?: string;
18988 /**
18989 * Results per page (max 100)
18990 */
18991 per_page?: number;
18992 /**
18993 * Page number of the results to fetch.
18994 */
18995 page?: number;
18996 };
18997 export type IssuesListForAuthenticatedUserParams = {
18998 /**
18999 * Indicates which sorts of issues to return. Can be one of: ,* \* `assigned`: Issues assigned to you ,* \* `created`: Issues created by you ,* \* `mentioned`: Issues mentioning you ,* \* `subscribed`: Issues you're subscribed to updates for ,* \* `all`: All issues the authenticated user can see, regardless of participation or creation
19000 */
19001 filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all";
19002 /**
19003 * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.
19004 */
19005 state?: "open" | "closed" | "all";
19006 /**
19007 * A list of comma separated label names. Example: `bug,ui,@high`
19008 */
19009 labels?: string;
19010 /**
19011 * What to sort results by. Can be either `created`, `updated`, `comments`.
19012 */
19013 sort?: "created" | "updated" | "comments";
19014 /**
19015 * The direction of the sort. Can be either `asc` or `desc`.
19016 */
19017 direction?: "asc" | "desc";
19018 /**
19019 * Only issues updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19020 */
19021 since?: string;
19022 /**
19023 * Results per page (max 100)
19024 */
19025 per_page?: number;
19026 /**
19027 * Page number of the results to fetch.
19028 */
19029 page?: number;
19030 };
19031 export type IssuesListForOrgParams = {
19032 org: string;
19033 /**
19034 * Indicates which sorts of issues to return. Can be one of: ,* \* `assigned`: Issues assigned to you ,* \* `created`: Issues created by you ,* \* `mentioned`: Issues mentioning you ,* \* `subscribed`: Issues you're subscribed to updates for ,* \* `all`: All issues the authenticated user can see, regardless of participation or creation
19035 */
19036 filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all";
19037 /**
19038 * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.
19039 */
19040 state?: "open" | "closed" | "all";
19041 /**
19042 * A list of comma separated label names. Example: `bug,ui,@high`
19043 */
19044 labels?: string;
19045 /**
19046 * What to sort results by. Can be either `created`, `updated`, `comments`.
19047 */
19048 sort?: "created" | "updated" | "comments";
19049 /**
19050 * The direction of the sort. Can be either `asc` or `desc`.
19051 */
19052 direction?: "asc" | "desc";
19053 /**
19054 * Only issues updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19055 */
19056 since?: string;
19057 /**
19058 * Results per page (max 100)
19059 */
19060 per_page?: number;
19061 /**
19062 * Page number of the results to fetch.
19063 */
19064 page?: number;
19065 };
19066 export type IssuesListForRepoParams = {
19067 owner: string;
19068
19069 repo: string;
19070 /**
19071 * If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned.
19072 */
19073 milestone?: string;
19074 /**
19075 * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.
19076 */
19077 state?: "open" | "closed" | "all";
19078 /**
19079 * Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user.
19080 */
19081 assignee?: string;
19082 /**
19083 * The user that created the issue.
19084 */
19085 creator?: string;
19086 /**
19087 * A user that's mentioned in the issue.
19088 */
19089 mentioned?: string;
19090 /**
19091 * A list of comma separated label names. Example: `bug,ui,@high`
19092 */
19093 labels?: string;
19094 /**
19095 * What to sort results by. Can be either `created`, `updated`, `comments`.
19096 */
19097 sort?: "created" | "updated" | "comments";
19098 /**
19099 * The direction of the sort. Can be either `asc` or `desc`.
19100 */
19101 direction?: "asc" | "desc";
19102 /**
19103 * Only issues updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19104 */
19105 since?: string;
19106 /**
19107 * Results per page (max 100)
19108 */
19109 per_page?: number;
19110 /**
19111 * Page number of the results to fetch.
19112 */
19113 page?: number;
19114 };
19115 export type IssuesGetParams = {
19116 owner: string;
19117
19118 repo: string;
19119
19120 number: number;
19121 };
19122 export type IssuesCreateParams = {
19123 owner: string;
19124
19125 repo: string;
19126 /**
19127 * The title of the issue.
19128 */
19129 title: string;
19130 /**
19131 * The contents of the issue.
19132 */
19133 body?: string;
19134 /**
19135 * Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_
19136 */
19137 assignee?: string;
19138 /**
19139 * The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._
19140 */
19141 milestone?: number;
19142 /**
19143 * Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._
19144 */
19145 labels?: string[];
19146 /**
19147 * Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._
19148 */
19149 assignees?: string[];
19150 };
19151 export type IssuesUpdateParams = {
19152 owner: string;
19153
19154 repo: string;
19155
19156 number: number;
19157 /**
19158 * The title of the issue.
19159 */
19160 title?: string;
19161 /**
19162 * The contents of the issue.
19163 */
19164 body?: string;
19165 /**
19166 * Login for the user that this issue should be assigned to. **This field is deprecated.**
19167 */
19168 assignee?: string;
19169 /**
19170 * State of the issue. Either `open` or `closed`.
19171 */
19172 state?: "open" | "closed";
19173 /**
19174 * The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._
19175 */
19176 milestone?: number | null;
19177 /**
19178 * Labels to associate with this issue. Pass one or more Labels to _replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue. _NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._
19179 */
19180 labels?: string[];
19181 /**
19182 * Logins for Users to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this Issue. Send an empty array (`[]`) to clear all assignees from the Issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._
19183 */
19184 assignees?: string[];
19185 };
19186 export type IssuesLockParams = {
19187 owner: string;
19188
19189 repo: string;
19190
19191 number: number;
19192 /**
19193 * The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: ,* \* `off-topic` ,* \* `too heated` ,* \* `resolved` ,* \* `spam`
19194 */
19195 lock_reason?: "off-topic" | "too heated" | "resolved" | "spam";
19196 };
19197 export type IssuesUnlockParams = {
19198 owner: string;
19199
19200 repo: string;
19201
19202 number: number;
19203 };
19204 export type IssuesListAssigneesParams = {
19205 owner: string;
19206
19207 repo: string;
19208 /**
19209 * Results per page (max 100)
19210 */
19211 per_page?: number;
19212 /**
19213 * Page number of the results to fetch.
19214 */
19215 page?: number;
19216 };
19217 export type IssuesCheckAssigneeParams = {
19218 owner: string;
19219
19220 repo: string;
19221
19222 assignee: string;
19223 };
19224 export type IssuesAddAssigneesParams = {
19225 owner: string;
19226
19227 repo: string;
19228
19229 number: number;
19230 /**
19231 * Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._
19232 */
19233 assignees?: string[];
19234 };
19235 export type IssuesRemoveAssigneesParams = {
19236 owner: string;
19237
19238 repo: string;
19239
19240 number: number;
19241 /**
19242 * Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._
19243 */
19244 assignees?: string[];
19245 };
19246 export type IssuesListCommentsParams = {
19247 owner: string;
19248
19249 repo: string;
19250
19251 number: number;
19252 /**
19253 * Only comments updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19254 */
19255 since?: string;
19256 /**
19257 * Results per page (max 100)
19258 */
19259 per_page?: number;
19260 /**
19261 * Page number of the results to fetch.
19262 */
19263 page?: number;
19264 };
19265 export type IssuesListCommentsForRepoParams = {
19266 owner: string;
19267
19268 repo: string;
19269 /**
19270 * Either `created` or `updated`.
19271 */
19272 sort?: "created" | "updated";
19273 /**
19274 * Either `asc` or `desc`. Ignored without the `sort` parameter.
19275 */
19276 direction?: "asc" | "desc";
19277 /**
19278 * Only comments updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19279 */
19280 since?: string;
19281 };
19282 export type IssuesGetCommentParams = {
19283 owner: string;
19284
19285 repo: string;
19286
19287 comment_id: number;
19288 /**
19289 * Results per page (max 100)
19290 */
19291 per_page?: number;
19292 /**
19293 * Page number of the results to fetch.
19294 */
19295 page?: number;
19296 };
19297 export type IssuesCreateCommentParams = {
19298 owner: string;
19299
19300 repo: string;
19301
19302 number: number;
19303 /**
19304 * The contents of the comment.
19305 */
19306 body: string;
19307 };
19308 export type IssuesUpdateCommentParams = {
19309 owner: string;
19310
19311 repo: string;
19312
19313 comment_id: number;
19314 /**
19315 * The contents of the comment.
19316 */
19317 body: string;
19318 };
19319 export type IssuesDeleteCommentParams = {
19320 owner: string;
19321
19322 repo: string;
19323
19324 comment_id: number;
19325 };
19326 export type IssuesListEventsParams = {
19327 owner: string;
19328
19329 repo: string;
19330
19331 number: number;
19332 /**
19333 * Results per page (max 100)
19334 */
19335 per_page?: number;
19336 /**
19337 * Page number of the results to fetch.
19338 */
19339 page?: number;
19340 };
19341 export type IssuesListEventsForRepoParams = {
19342 owner: string;
19343
19344 repo: string;
19345 /**
19346 * Results per page (max 100)
19347 */
19348 per_page?: number;
19349 /**
19350 * Page number of the results to fetch.
19351 */
19352 page?: number;
19353 };
19354 export type IssuesGetEventParams = {
19355 owner: string;
19356
19357 repo: string;
19358
19359 event_id: number;
19360 };
19361 export type IssuesListLabelsForRepoParams = {
19362 owner: string;
19363
19364 repo: string;
19365 /**
19366 * Results per page (max 100)
19367 */
19368 per_page?: number;
19369 /**
19370 * Page number of the results to fetch.
19371 */
19372 page?: number;
19373 };
19374 export type IssuesGetLabelParams = {
19375 owner: string;
19376
19377 repo: string;
19378
19379 name: string;
19380 };
19381 export type IssuesCreateLabelParams = {
19382 owner: string;
19383
19384 repo: string;
19385 /**
19386 * The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).
19387 */
19388 name: string;
19389 /**
19390 * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.
19391 */
19392 color: string;
19393 /**
19394 * A short description of the label.
19395 */
19396 description?: string;
19397 };
19398 export type IssuesUpdateLabelParams = {
19399 owner: string;
19400
19401 repo: string;
19402
19403 current_name: string;
19404 /**
19405 * The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).
19406 */
19407 name?: string;
19408 /**
19409 * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.
19410 */
19411 color?: string;
19412 /**
19413 * A short description of the label.
19414 */
19415 description?: string;
19416 };
19417 export type IssuesDeleteLabelParams = {
19418 owner: string;
19419
19420 repo: string;
19421
19422 name: string;
19423 };
19424 export type IssuesListLabelsOnIssueParams = {
19425 owner: string;
19426
19427 repo: string;
19428
19429 number: number;
19430 /**
19431 * Results per page (max 100)
19432 */
19433 per_page?: number;
19434 /**
19435 * Page number of the results to fetch.
19436 */
19437 page?: number;
19438 };
19439 export type IssuesAddLabelsParams = {
19440 owner: string;
19441
19442 repo: string;
19443
19444 number: number;
19445 /**
19446 * The name of the label to add to the issue. Must contain at least one label. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.
19447 */
19448 labels: string[];
19449 };
19450 export type IssuesRemoveLabelParams = {
19451 owner: string;
19452
19453 repo: string;
19454
19455 number: number;
19456
19457 name: string;
19458 };
19459 export type IssuesReplaceLabelsParams = {
19460 owner: string;
19461
19462 repo: string;
19463
19464 number: number;
19465 /**
19466 * The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.
19467 */
19468 labels?: string[];
19469 };
19470 export type IssuesRemoveLabelsParams = {
19471 owner: string;
19472
19473 repo: string;
19474
19475 number: number;
19476 };
19477 export type IssuesListLabelsForMilestoneParams = {
19478 owner: string;
19479
19480 repo: string;
19481
19482 number: number;
19483 /**
19484 * Results per page (max 100)
19485 */
19486 per_page?: number;
19487 /**
19488 * Page number of the results to fetch.
19489 */
19490 page?: number;
19491 };
19492 export type IssuesListMilestonesForRepoParams = {
19493 owner: string;
19494
19495 repo: string;
19496 /**
19497 * The state of the milestone. Either `open`, `closed`, or `all`.
19498 */
19499 state?: "open" | "closed" | "all";
19500 /**
19501 * What to sort results by. Either `due_on` or `completeness`.
19502 */
19503 sort?: "due_on" | "completeness";
19504 /**
19505 * The direction of the sort. Either `asc` or `desc`.
19506 */
19507 direction?: "asc" | "desc";
19508 /**
19509 * Results per page (max 100)
19510 */
19511 per_page?: number;
19512 /**
19513 * Page number of the results to fetch.
19514 */
19515 page?: number;
19516 };
19517 export type IssuesGetMilestoneParams = {
19518 owner: string;
19519
19520 repo: string;
19521
19522 number: number;
19523 };
19524 export type IssuesCreateMilestoneParams = {
19525 owner: string;
19526
19527 repo: string;
19528 /**
19529 * The title of the milestone.
19530 */
19531 title: string;
19532 /**
19533 * The state of the milestone. Either `open` or `closed`.
19534 */
19535 state?: "open" | "closed";
19536 /**
19537 * A description of the milestone.
19538 */
19539 description?: string;
19540 /**
19541 * The milestone due date. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19542 */
19543 due_on?: string;
19544 };
19545 export type IssuesUpdateMilestoneParams = {
19546 owner: string;
19547
19548 repo: string;
19549
19550 number: number;
19551 /**
19552 * The title of the milestone.
19553 */
19554 title?: string;
19555 /**
19556 * The state of the milestone. Either `open` or `closed`.
19557 */
19558 state?: "open" | "closed";
19559 /**
19560 * A description of the milestone.
19561 */
19562 description?: string;
19563 /**
19564 * The milestone due date. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
19565 */
19566 due_on?: string;
19567 };
19568 export type IssuesDeleteMilestoneParams = {
19569 owner: string;
19570
19571 repo: string;
19572
19573 number: number;
19574 };
19575 export type IssuesListEventsForTimelineParams = {
19576 owner: string;
19577
19578 repo: string;
19579
19580 number: number;
19581 /**
19582 * Results per page (max 100)
19583 */
19584 per_page?: number;
19585 /**
19586 * Page number of the results to fetch.
19587 */
19588 page?: number;
19589 };
19590 export type MigrationsStartForOrgParams = {
19591 org: string;
19592 /**
19593 * A list of arrays indicating which repositories should be migrated.
19594 */
19595 repositories: string[];
19596 /**
19597 * Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
19598 */
19599 lock_repositories?: boolean;
19600 /**
19601 * Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
19602 */
19603 exclude_attachments?: boolean;
19604 };
19605 export type MigrationsListForOrgParams = {
19606 org: string;
19607 /**
19608 * Results per page (max 100)
19609 */
19610 per_page?: number;
19611 /**
19612 * Page number of the results to fetch.
19613 */
19614 page?: number;
19615 };
19616 export type MigrationsGetStatusForOrgParams = {
19617 org: string;
19618
19619 migration_id: number;
19620 };
19621 export type MigrationsGetArchiveForOrgParams = {
19622 org: string;
19623
19624 migration_id: number;
19625 };
19626 export type MigrationsDeleteArchiveForOrgParams = {
19627 org: string;
19628
19629 migration_id: number;
19630 };
19631 export type MigrationsUnlockRepoForOrgParams = {
19632 org: string;
19633
19634 migration_id: number;
19635
19636 repo_name: string;
19637 };
19638 export type MigrationsStartImportParams = {
19639 owner: string;
19640
19641 repo: string;
19642 /**
19643 * The URL of the originating repository.
19644 */
19645 vcs_url: string;
19646 /**
19647 * The originating VCS type. Can be one of `subversion`, `git`, `mercurial`, or `tfvc`. Please be aware that without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response.
19648 */
19649 vcs?: "subversion" | "git" | "mercurial" | "tfvc";
19650 /**
19651 * If authentication is required, the username to provide to `vcs_url`.
19652 */
19653 vcs_username?: string;
19654 /**
19655 * If authentication is required, the password to provide to `vcs_url`.
19656 */
19657 vcs_password?: string;
19658 /**
19659 * For a tfvc import, the name of the project that is being imported.
19660 */
19661 tfvc_project?: string;
19662 };
19663 export type MigrationsGetImportProgressParams = {
19664 owner: string;
19665
19666 repo: string;
19667 };
19668 export type MigrationsUpdateImportParams = {
19669 owner: string;
19670
19671 repo: string;
19672 /**
19673 * The username to provide to the originating repository.
19674 */
19675 vcs_username?: string;
19676 /**
19677 * The password to provide to the originating repository.
19678 */
19679 vcs_password?: string;
19680 };
19681 export type MigrationsGetCommitAuthorsParams = {
19682 owner: string;
19683
19684 repo: string;
19685 /**
19686 * Only authors found after this id are returned. Provide the highest author ID you've seen so far. New authors may be added to the list at any point while the importer is performing the `raw` step.
19687 */
19688 since?: string;
19689 };
19690 export type MigrationsMapCommitAuthorParams = {
19691 owner: string;
19692
19693 repo: string;
19694
19695 author_id: number;
19696 /**
19697 * The new Git author email.
19698 */
19699 email?: string;
19700 /**
19701 * The new Git author name.
19702 */
19703 name?: string;
19704 };
19705 export type MigrationsSetLfsPreferenceParams = {
19706 owner: string;
19707
19708 repo: string;
19709 /**
19710 * Can be one of `opt_in` (large files will be stored using Git LFS) or `opt_out` (large files will be removed during the import).
19711 */
19712 use_lfs: "opt_in" | "opt_out";
19713 };
19714 export type MigrationsGetLargeFilesParams = {
19715 owner: string;
19716
19717 repo: string;
19718 };
19719 export type MigrationsCancelImportParams = {
19720 owner: string;
19721
19722 repo: string;
19723 };
19724 export type MigrationsStartForAuthenticatedUserParams = {
19725 /**
19726 * An array of repositories to include in the migration.
19727 */
19728 repositories: string[];
19729 /**
19730 * Locks the `repositories` to prevent changes during the migration when set to `true`.
19731 */
19732 lock_repositories?: boolean;
19733 /**
19734 * Does not include attachments uploaded to GitHub.com in the migration data when set to `true`. Excluding attachments will reduce the migration archive file size.
19735 */
19736 exclude_attachments?: boolean;
19737 };
19738 export type MigrationsListForAuthenticatedUserParams = {
19739 /**
19740 * Results per page (max 100)
19741 */
19742 per_page?: number;
19743 /**
19744 * Page number of the results to fetch.
19745 */
19746 page?: number;
19747 };
19748 export type MigrationsGetStatusForAuthenticatedUserParams = {
19749 migration_id: number;
19750 };
19751 export type MigrationsGetArchiveForAuthenticatedUserParams = {
19752 migration_id: number;
19753 };
19754 export type MigrationsDeleteArchiveForAuthenticatedUserParams = {
19755 migration_id: number;
19756 };
19757 export type MigrationsUnlockRepoForAuthenticatedUserParams = {
19758 migration_id: number;
19759
19760 repo_name: string;
19761 };
19762 export type CodesOfConductGetConductCodeParams = {
19763 key: string;
19764 };
19765 export type CodesOfConductGetForRepoParams = {
19766 owner: string;
19767
19768 repo: string;
19769 };
19770 export type GitignoreGetTemplateParams = {
19771 name: string;
19772 };
19773 export type LicensesGetParams = {
19774 license: string;
19775 };
19776 export type LicensesGetForRepoParams = {
19777 owner: string;
19778
19779 repo: string;
19780 };
19781 export type MarkdownRenderParams = {
19782 /**
19783 * The Markdown text to render in HTML. Markdown content must be 400 KB or less.
19784 */
19785 text: string;
19786 /**
19787 * The rendering mode. Can be either: ,* \* `markdown` to render a document in plain Markdown, just like README.md files are rendered. ,* \* `gfm` to render a document in [GitHub Flavored Markdown](https://github.github.com/gfm/), which creates links for user mentions as well as references to SHA-1 hashes, issues, and pull requests.
19788 */
19789 mode?: "markdown" | "gfm";
19790 /**
19791 * The repository context to use when creating references in `gfm` mode. Omit this parameter when using `markdown` mode.
19792 */
19793 context?: string;
19794 };
19795 export type MarkdownRenderRawParams = {
19796 data: string;
19797 };
19798 export type OrgsListForAuthenticatedUserParams = {
19799 /**
19800 * Results per page (max 100)
19801 */
19802 per_page?: number;
19803 /**
19804 * Page number of the results to fetch.
19805 */
19806 page?: number;
19807 };
19808 export type OrgsListParams = {
19809 /**
19810 * The integer ID of the last Organization that you've seen.
19811 */
19812 since?: string;
19813 /**
19814 * Results per page (max 100)
19815 */
19816 per_page?: number;
19817 /**
19818 * Page number of the results to fetch.
19819 */
19820 page?: number;
19821 };
19822 export type OrgsListForUserParams = {
19823 username: string;
19824 /**
19825 * Results per page (max 100)
19826 */
19827 per_page?: number;
19828 /**
19829 * Page number of the results to fetch.
19830 */
19831 page?: number;
19832 };
19833 export type OrgsGetParams = {
19834 org: string;
19835 };
19836 export type OrgsUpdateParams = {
19837 org: string;
19838 /**
19839 * Billing email address. This address is not publicized.
19840 */
19841 billing_email?: string;
19842 /**
19843 * The company name.
19844 */
19845 company?: string;
19846 /**
19847 * The publicly visible email address.
19848 */
19849 email?: string;
19850 /**
19851 * The location.
19852 */
19853 location?: string;
19854 /**
19855 * The shorthand name of the company.
19856 */
19857 name?: string;
19858 /**
19859 * The description of the company.
19860 */
19861 description?: string;
19862 /**
19863 * Toggles whether organization projects are enabled for the organization.
19864 */
19865 has_organization_projects?: boolean;
19866 /**
19867 * Toggles whether repository projects are enabled for repositories that belong to the organization.
19868 */
19869 has_repository_projects?: boolean;
19870 /**
19871 * Default permission level members have for organization repositories: ,* \* `read` - can pull, but not push to or administer this repository. ,* \* `write` - can pull and push, but not administer this repository. ,* \* `admin` - can pull, push, and administer this repository. ,* \* `none` - no permissions granted by default.
19872 */
19873 default_repository_permission?: "read" | "write" | "admin" | "none";
19874 /**
19875 * Toggles the ability of non-admin organization members to create repositories. Can be one of: ,* \* `true` - all organization members can create repositories. ,* \* `false` - only admin members can create repositories. ,* Default: `true` ,* **Note:** Another parameter can override the this parameter. See [this note](#members_can_create_repositories) for details. **Note:** Another parameter can override the this parameter. See [this note](#members_can_create_repositories) for details.
19876 */
19877 members_can_create_repositories?: boolean;
19878 /**
19879 * Specifies which types of repositories non-admin organization members can create. Can be one of: ,* \* `all` - all organization members can create public and private repositories. ,* \* `private` - members can create private repositories. This option is only available to repositories that are part of an organization on [GitHub Business Cloud](https://github.com/pricing/business-cloud). ,* \* `none` - only admin members can create repositories. ,* **Note:** Using this parameter will override values set in `members_can_create_repositories`. See [this note](#members_can_create_repositories) for details.
19880 */
19881 members_allowed_repository_creation_type?: "all" | "private" | "none";
19882 };
19883 export type OrgsListBlockedUsersParams = {
19884 org: string;
19885 };
19886 export type OrgsCheckBlockedUserParams = {
19887 org: string;
19888
19889 username: string;
19890 };
19891 export type OrgsBlockUserParams = {
19892 org: string;
19893
19894 username: string;
19895 };
19896 export type OrgsUnblockUserParams = {
19897 org: string;
19898
19899 username: string;
19900 };
19901 export type OrgsListMembersParams = {
19902 org: string;
19903 /**
19904 * Filter members returned in the list. Can be one of: ,* \* `2fa_disabled` - Members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. Available for organization owners. ,* \* `all` - All members the authenticated user can see.
19905 */
19906 filter?: "2fa_disabled" | "all";
19907 /**
19908 * Filter members returned by their role. Can be one of: ,* \* `all` - All members of the organization, regardless of role. ,* \* `admin` - Organization owners. ,* \* `member` - Non-owner organization members.
19909 */
19910 role?: "all" | "admin" | "member";
19911 /**
19912 * Results per page (max 100)
19913 */
19914 per_page?: number;
19915 /**
19916 * Page number of the results to fetch.
19917 */
19918 page?: number;
19919 };
19920 export type OrgsCheckMembershipParams = {
19921 org: string;
19922
19923 username: string;
19924 };
19925 export type OrgsRemoveMemberParams = {
19926 org: string;
19927
19928 username: string;
19929 };
19930 export type OrgsListPublicMembersParams = {
19931 org: string;
19932 /**
19933 * Results per page (max 100)
19934 */
19935 per_page?: number;
19936 /**
19937 * Page number of the results to fetch.
19938 */
19939 page?: number;
19940 };
19941 export type OrgsCheckPublicMembershipParams = {
19942 org: string;
19943
19944 username: string;
19945 };
19946 export type OrgsPublicizeMembershipParams = {
19947 org: string;
19948
19949 username: string;
19950 };
19951 export type OrgsConcealMembershipParams = {
19952 org: string;
19953
19954 username: string;
19955 };
19956 export type OrgsGetMembershipParams = {
19957 org: string;
19958
19959 username: string;
19960 };
19961 export type OrgsAddOrUpdateMembershipParams = {
19962 org: string;
19963
19964 username: string;
19965 /**
19966 * The role to give the user in the organization. Can be one of: ,* \* `admin` - The user will become an owner of the organization. ,* \* `member` - The user will become a non-owner member of the organization.
19967 */
19968 role?: "admin" | "member";
19969 };
19970 export type OrgsRemoveMembershipParams = {
19971 org: string;
19972
19973 username: string;
19974 };
19975 export type OrgsListInvitationTeamsParams = {
19976 org: string;
19977
19978 invitation_id: number;
19979 /**
19980 * Results per page (max 100)
19981 */
19982 per_page?: number;
19983 /**
19984 * Page number of the results to fetch.
19985 */
19986 page?: number;
19987 };
19988 export type OrgsListPendingInvitationsParams = {
19989 org: string;
19990 /**
19991 * Results per page (max 100)
19992 */
19993 per_page?: number;
19994 /**
19995 * Page number of the results to fetch.
19996 */
19997 page?: number;
19998 };
19999 export type OrgsCreateInvitationParams = {
20000 org: string;
20001 /**
20002 * **Required unless you provide `email`**. GitHub user ID for the person you are inviting.
20003 */
20004 invitee_id?: number;
20005 /**
20006 * **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user.
20007 */
20008 email?: string;
20009 /**
20010 * Specify role for new member. Can be one of: ,* \* `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. ,* \* `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. ,* \* `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization.
20011 */
20012 role?: "admin" | "direct_member" | "billing_manager";
20013 /**
20014 * Specify IDs for the teams you want to invite new members to.
20015 */
20016 team_ids?: number[];
20017 };
20018 export type OrgsListMembershipsParams = {
20019 /**
20020 * Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships.
20021 */
20022 state?: "active" | "pending";
20023 /**
20024 * Results per page (max 100)
20025 */
20026 per_page?: number;
20027 /**
20028 * Page number of the results to fetch.
20029 */
20030 page?: number;
20031 };
20032 export type OrgsGetMembershipForAuthenticatedUserParams = {
20033 org: string;
20034 };
20035 export type OrgsUpdateMembershipParams = {
20036 org: string;
20037 /**
20038 * The state that the membership should be in. Only `"active"` will be accepted.
20039 */
20040 state: "active";
20041 };
20042 export type OrgsListOutsideCollaboratorsParams = {
20043 org: string;
20044 /**
20045 * Filter the list of outside collaborators. Can be one of: ,* \* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. ,* \* `all`: All outside collaborators.
20046 */
20047 filter?: "2fa_disabled" | "all";
20048 /**
20049 * Results per page (max 100)
20050 */
20051 per_page?: number;
20052 /**
20053 * Page number of the results to fetch.
20054 */
20055 page?: number;
20056 };
20057 export type OrgsRemoveOutsideCollaboratorParams = {
20058 org: string;
20059
20060 username: string;
20061 };
20062 export type OrgsConvertMemberToOutsideCollaboratorParams = {
20063 org: string;
20064
20065 username: string;
20066 };
20067 export type OrgsListHooksParams = {
20068 org: string;
20069 /**
20070 * Results per page (max 100)
20071 */
20072 per_page?: number;
20073 /**
20074 * Page number of the results to fetch.
20075 */
20076 page?: number;
20077 };
20078 export type OrgsGetHookParams = {
20079 org: string;
20080
20081 hook_id: number;
20082 };
20083 export type OrgsCreateHookParams = {
20084 org: string;
20085 /**
20086 * Must be passed as "web".
20087 */
20088 name: string;
20089 /**
20090 * Key/value pairs to provide settings for this webhook. [These are defined below](#create-hook-config-params).
20091 */
20092 config: OrgsCreateHookParamsConfig;
20093 /**
20094 * Determines what [events](https://developer.github.com/v3/activity/events/types/) the hook is triggered for.
20095 */
20096 events?: string[];
20097 /**
20098 * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
20099 */
20100 active?: boolean;
20101 };
20102 export type OrgsUpdateHookParams = {
20103 org: string;
20104
20105 hook_id: number;
20106 /**
20107 * Key/value pairs to provide settings for this webhook. [These are defined below](#update-hook-config-params).
20108 */
20109 config?: OrgsUpdateHookParamsConfig;
20110 /**
20111 * Determines what [events](https://developer.github.com/v3/activity/events/types/) the hook is triggered for.
20112 */
20113 events?: string[];
20114 /**
20115 * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
20116 */
20117 active?: boolean;
20118 };
20119 export type OrgsPingHookParams = {
20120 org: string;
20121
20122 hook_id: number;
20123 };
20124 export type OrgsDeleteHookParams = {
20125 org: string;
20126
20127 hook_id: number;
20128 };
20129 export type ProjectsListForRepoParams = {
20130 owner: string;
20131
20132 repo: string;
20133 /**
20134 * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.
20135 */
20136 state?: "open" | "closed" | "all";
20137 /**
20138 * Results per page (max 100)
20139 */
20140 per_page?: number;
20141 /**
20142 * Page number of the results to fetch.
20143 */
20144 page?: number;
20145 };
20146 export type ProjectsListForOrgParams = {
20147 org: string;
20148 /**
20149 * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.
20150 */
20151 state?: "open" | "closed" | "all";
20152 /**
20153 * Results per page (max 100)
20154 */
20155 per_page?: number;
20156 /**
20157 * Page number of the results to fetch.
20158 */
20159 page?: number;
20160 };
20161 export type ProjectsListForUserParams = {
20162 username: string;
20163 /**
20164 * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.
20165 */
20166 state?: "open" | "closed" | "all";
20167 /**
20168 * Results per page (max 100)
20169 */
20170 per_page?: number;
20171 /**
20172 * Page number of the results to fetch.
20173 */
20174 page?: number;
20175 };
20176 export type ProjectsGetParams = {
20177 project_id: number;
20178 /**
20179 * Results per page (max 100)
20180 */
20181 per_page?: number;
20182 /**
20183 * Page number of the results to fetch.
20184 */
20185 page?: number;
20186 };
20187 export type ProjectsCreateForRepoParams = {
20188 owner: string;
20189
20190 repo: string;
20191 /**
20192 * The name of the project.
20193 */
20194 name: string;
20195 /**
20196 * The description of the project.
20197 */
20198 body?: string;
20199 /**
20200 * Results per page (max 100)
20201 */
20202 per_page?: number;
20203 /**
20204 * Page number of the results to fetch.
20205 */
20206 page?: number;
20207 };
20208 export type ProjectsCreateForOrgParams = {
20209 org: string;
20210 /**
20211 * The name of the project.
20212 */
20213 name: string;
20214 /**
20215 * The description of the project.
20216 */
20217 body?: string;
20218 /**
20219 * Results per page (max 100)
20220 */
20221 per_page?: number;
20222 /**
20223 * Page number of the results to fetch.
20224 */
20225 page?: number;
20226 };
20227 export type ProjectsCreateForAuthenticatedUserParams = {
20228 /**
20229 * The name of the project.
20230 */
20231 name: string;
20232 /**
20233 * The description of the project.
20234 */
20235 body?: string;
20236 /**
20237 * Results per page (max 100)
20238 */
20239 per_page?: number;
20240 /**
20241 * Page number of the results to fetch.
20242 */
20243 page?: number;
20244 };
20245 export type ProjectsUpdateParams = {
20246 project_id: number;
20247 /**
20248 * The name of the project.
20249 */
20250 name?: string;
20251 /**
20252 * The description of the project.
20253 */
20254 body?: string;
20255 /**
20256 * State of the project. Either `open` or `closed`.
20257 */
20258 state?: "open" | "closed";
20259 /**
20260 * The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project](https://developer.github.com/v3/teams/#add-or-update-team-project) or [Add user as a collaborator](https://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator). ,* ,* **Note:** Updating a project's `organization_permission` requires `admin` access to the project. ,* ,* Can be one of: ,* \* `read` - Organization members can read, but not write to or administer this project. ,* \* `write` - Organization members can read and write, but not administer this project. ,* \* `admin` - Organization members can read, write and administer this project. ,* \* `none` - Organization members can only see this project if it is public.
20261 */
20262 organization_permission?: string;
20263 /**
20264 * Sets the visibility of a project board. Setting `private` is only available for organization and user projects. **Note:** Updating a project's visibility requires `admin` access to the project. ,* ,* Can be one of: ,* \* `false` - Anyone can see the project. ,* \* `true` - Only the user can view a project board created on a user account. Organization members with the appropriate `organization_permission` can see project boards in an organization account.
20265 */
20266 private?: boolean;
20267 /**
20268 * Results per page (max 100)
20269 */
20270 per_page?: number;
20271 /**
20272 * Page number of the results to fetch.
20273 */
20274 page?: number;
20275 };
20276 export type ProjectsDeleteParams = {
20277 project_id: number;
20278 };
20279 export type ProjectsListCardsParams = {
20280 column_id: number;
20281 /**
20282 * Filters the project cards that are returned by the card's state. Can be one of `all`,`archived`, or `not_archived`.
20283 */
20284 archived_state?: "all" | "archived" | "not_archived";
20285 /**
20286 * Results per page (max 100)
20287 */
20288 per_page?: number;
20289 /**
20290 * Page number of the results to fetch.
20291 */
20292 page?: number;
20293 };
20294 export type ProjectsGetCardParams = {
20295 card_id: number;
20296 };
20297 export type ProjectsCreateCardParams = {
20298 column_id: number;
20299 /**
20300 * The card's note content. Only valid for cards without another type of content, so you must omit when specifying `content_id` and `content_type`.
20301 */
20302 note?: string;
20303 /**
20304 * The issue or pull request id you want to associate with this card. You can use the [List issues for a repository](https://developer.github.com/v3/issues/#list-issues-for-a-repository) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id. ,* **Note:** Depending on whether you use the issue id or pull request id, you will need to specify `Issue` or `PullRequest` as the `content_type`.
20305 */
20306 content_id?: number;
20307 /**
20308 * **Required if you provide `content_id`**. The type of content you want to associate with this card. Use `Issue` when `content_id` is an issue id and use `PullRequest` when `content_id` is a pull request id.
20309 */
20310 content_type?: string;
20311 };
20312 export type ProjectsUpdateCardParams = {
20313 card_id: number;
20314 /**
20315 * The card's note content. Only valid for cards without another type of content, so this cannot be specified if the card already has a `content_id` and `content_type`.
20316 */
20317 note?: string;
20318 /**
20319 * Use `true` to archive a project card. Specify `false` if you need to restore a previously archived project card.
20320 */
20321 archived?: boolean;
20322 };
20323 export type ProjectsDeleteCardParams = {
20324 card_id: number;
20325 };
20326 export type ProjectsMoveCardParams = {
20327 card_id: number;
20328 /**
20329 * Can be one of `top`, `bottom`, or `after:<card_id>`, where `<card_id>` is the `id` value of a card in the same column, or in the new column specified by `column_id`.
20330 */
20331 position: string;
20332 /**
20333 * The `id` value of a column in the same project.
20334 */
20335 column_id?: number;
20336 };
20337 export type ProjectsListCollaboratorsParams = {
20338 project_id: number;
20339 /**
20340 * Filters the collaborators by their affiliation. Can be one of: ,* \* `outside`: Outside collaborators of a project that are not a member of the project's organization. ,* \* `direct`: Collaborators with permissions to a project, regardless of organization membership status. ,* \* `all`: All collaborators the authenticated user can see.
20341 */
20342 affiliation?: "outside" | "direct" | "all";
20343 /**
20344 * Results per page (max 100)
20345 */
20346 per_page?: number;
20347 /**
20348 * Page number of the results to fetch.
20349 */
20350 page?: number;
20351 };
20352 export type ProjectsReviewUserPermissionLevelParams = {
20353 project_id: number;
20354
20355 username: string;
20356 };
20357 export type ProjectsAddCollaboratorParams = {
20358 project_id: number;
20359
20360 username: string;
20361 /**
20362 * The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." Can be one of: ,* \* `read` - can read, but not write to or administer this project. ,* \* `write` - can read and write, but not administer this project. ,* \* `admin` - can read, write and administer this project.
20363 */
20364 permission?: "read" | "write" | "admin";
20365 };
20366 export type ProjectsRemoveCollaboratorParams = {
20367 project_id: number;
20368
20369 username: string;
20370 };
20371 export type ProjectsListColumnsParams = {
20372 project_id: number;
20373 /**
20374 * Results per page (max 100)
20375 */
20376 per_page?: number;
20377 /**
20378 * Page number of the results to fetch.
20379 */
20380 page?: number;
20381 };
20382 export type ProjectsGetColumnParams = {
20383 column_id: number;
20384 };
20385 export type ProjectsCreateColumnParams = {
20386 project_id: number;
20387 /**
20388 * The name of the column.
20389 */
20390 name: string;
20391 };
20392 export type ProjectsUpdateColumnParams = {
20393 column_id: number;
20394 /**
20395 * The new name of the column.
20396 */
20397 name: string;
20398 };
20399 export type ProjectsDeleteColumnParams = {
20400 column_id: number;
20401 };
20402 export type ProjectsMoveColumnParams = {
20403 column_id: number;
20404 /**
20405 * Can be one of `first`, `last`, or `after:<column_id>`, where `<column_id>` is the `id` value of a column in the same project.
20406 */
20407 position: string;
20408 };
20409 export type PullsListParams = {
20410 owner: string;
20411
20412 repo: string;
20413 /**
20414 * Either `open`, `closed`, or `all` to filter by state.
20415 */
20416 state?: "open" | "closed" | "all";
20417 /**
20418 * Filter pulls by head user and branch name in the format of `user:ref-name`. Example: `github:new-script-format`.
20419 */
20420 head?: string;
20421 /**
20422 * Filter pulls by base branch name. Example: `gh-pages`.
20423 */
20424 base?: string;
20425 /**
20426 * What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).
20427 */
20428 sort?: "created" | "updated" | "popularity" | "long-running";
20429 /**
20430 * The direction of the sort. Can be either `asc` or `desc`.
20431 */
20432 direction?: "asc" | "desc";
20433 /**
20434 * Results per page (max 100)
20435 */
20436 per_page?: number;
20437 /**
20438 * Page number of the results to fetch.
20439 */
20440 page?: number;
20441 };
20442 export type PullsGetParams = {
20443 owner: string;
20444
20445 repo: string;
20446
20447 number: number;
20448 };
20449 export type PullsCreateParams = {
20450 owner: string;
20451
20452 repo: string;
20453 /**
20454 * The title of the pull request.
20455 */
20456 title: string;
20457 /**
20458 * The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`.
20459 */
20460 head: string;
20461 /**
20462 * The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
20463 */
20464 base: string;
20465 /**
20466 * The contents of the pull request.
20467 */
20468 body?: string;
20469 /**
20470 * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
20471 */
20472 maintainer_can_modify?: boolean;
20473 };
20474 export type PullsCreateFromIssueParams = {
20475 owner: string;
20476
20477 repo: string;
20478 /**
20479 * The issue number in this repository to turn into a Pull Request.
20480 */
20481 issue: number;
20482 /**
20483 * The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`.
20484 */
20485 head: string;
20486 /**
20487 * The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
20488 */
20489 base: string;
20490 /**
20491 * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
20492 */
20493 maintainer_can_modify?: boolean;
20494 };
20495 export type PullsUpdateParams = {
20496 owner: string;
20497
20498 repo: string;
20499
20500 number: number;
20501 /**
20502 * The title of the pull request.
20503 */
20504 title?: string;
20505 /**
20506 * The contents of the pull request.
20507 */
20508 body?: string;
20509 /**
20510 * State of this Pull Request. Either `open` or `closed`.
20511 */
20512 state?: "open" | "closed";
20513 /**
20514 * The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository.
20515 */
20516 base?: string;
20517 /**
20518 * Indicates whether [maintainers can modify](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
20519 */
20520 maintainer_can_modify?: boolean;
20521 };
20522 export type PullsListCommitsParams = {
20523 owner: string;
20524
20525 repo: string;
20526
20527 number: number;
20528 /**
20529 * Results per page (max 100)
20530 */
20531 per_page?: number;
20532 /**
20533 * Page number of the results to fetch.
20534 */
20535 page?: number;
20536 };
20537 export type PullsListFilesParams = {
20538 owner: string;
20539
20540 repo: string;
20541
20542 number: number;
20543 /**
20544 * Results per page (max 100)
20545 */
20546 per_page?: number;
20547 /**
20548 * Page number of the results to fetch.
20549 */
20550 page?: number;
20551 };
20552 export type PullsCheckIfMergedParams = {
20553 owner: string;
20554
20555 repo: string;
20556
20557 number: number;
20558 };
20559 export type PullsMergeParams = {
20560 owner: string;
20561
20562 repo: string;
20563
20564 number: number;
20565 /**
20566 * Title for the automatic commit message.
20567 */
20568 commit_title?: string;
20569 /**
20570 * Extra detail to append to automatic commit message.
20571 */
20572 commit_message?: string;
20573 /**
20574 * SHA that pull request head must match to allow merge.
20575 */
20576 sha?: string;
20577 /**
20578 * Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default is `merge`.
20579 */
20580 merge_method?: "merge" | "squash" | "rebase";
20581 };
20582 export type PullsListReviewsParams = {
20583 owner: string;
20584
20585 repo: string;
20586
20587 number: number;
20588 /**
20589 * Results per page (max 100)
20590 */
20591 per_page?: number;
20592 /**
20593 * Page number of the results to fetch.
20594 */
20595 page?: number;
20596 };
20597 export type PullsGetReviewParams = {
20598 owner: string;
20599
20600 repo: string;
20601
20602 number: number;
20603
20604 review_id: number;
20605 };
20606 export type PullsDeletePendingReviewParams = {
20607 owner: string;
20608
20609 repo: string;
20610
20611 number: number;
20612
20613 review_id: number;
20614 };
20615 export type PullsGetCommentsForReviewParams = {
20616 owner: string;
20617
20618 repo: string;
20619
20620 number: number;
20621
20622 review_id: number;
20623 /**
20624 * Results per page (max 100)
20625 */
20626 per_page?: number;
20627 /**
20628 * Page number of the results to fetch.
20629 */
20630 page?: number;
20631 };
20632 export type PullsCreateReviewParams = {
20633 owner: string;
20634
20635 repo: string;
20636
20637 number: number;
20638 /**
20639 * The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value.
20640 */
20641 commit_id?: string;
20642 /**
20643 * **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review.
20644 */
20645 body?: string;
20646 /**
20647 * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://developer.github.com/v3/pulls/reviews/#submit-a-pull-request-review) when you are ready.
20648 */
20649 event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT";
20650 /**
20651 * Use the following table to specify the location, destination, and contents of the draft review comment.
20652 */
20653 comments?: PullsCreateReviewParamsComments[];
20654 };
20655 export type PullsUpdateReviewParams = {
20656 owner: string;
20657
20658 repo: string;
20659
20660 number: number;
20661
20662 review_id: number;
20663 /**
20664 * The body text of the pull request review.
20665 */
20666 body: string;
20667 };
20668 export type PullsSubmitReviewParams = {
20669 owner: string;
20670
20671 repo: string;
20672
20673 number: number;
20674
20675 review_id: number;
20676 /**
20677 * The body text of the pull request review
20678 */
20679 body?: string;
20680 /**
20681 * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.
20682 */
20683 event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT";
20684 };
20685 export type PullsDismissReviewParams = {
20686 owner: string;
20687
20688 repo: string;
20689
20690 number: number;
20691
20692 review_id: number;
20693 /**
20694 * The message for the pull request review dismissal
20695 */
20696 message: string;
20697 };
20698 export type PullsListCommentsParams = {
20699 owner: string;
20700
20701 repo: string;
20702
20703 number: number;
20704 /**
20705 * Can be either `created` or `updated` comments.
20706 */
20707 sort?: "created" | "updated";
20708 /**
20709 * Can be either `asc` or `desc`. Ignored without `sort` parameter.
20710 */
20711 direction?: "asc" | "desc";
20712 /**
20713 * This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time.
20714 */
20715 since?: string;
20716 /**
20717 * Results per page (max 100)
20718 */
20719 per_page?: number;
20720 /**
20721 * Page number of the results to fetch.
20722 */
20723 page?: number;
20724 };
20725 export type PullsListCommentsForRepoParams = {
20726 owner: string;
20727
20728 repo: string;
20729 /**
20730 * Can be either `created` or `updated` comments.
20731 */
20732 sort?: "created" | "updated";
20733 /**
20734 * Can be either `asc` or `desc`. Ignored without `sort` parameter.
20735 */
20736 direction?: "asc" | "desc";
20737 /**
20738 * This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time.
20739 */
20740 since?: string;
20741 /**
20742 * Results per page (max 100)
20743 */
20744 per_page?: number;
20745 /**
20746 * Page number of the results to fetch.
20747 */
20748 page?: number;
20749 };
20750 export type PullsGetCommentParams = {
20751 owner: string;
20752
20753 repo: string;
20754
20755 comment_id: number;
20756 };
20757 export type PullsCreateCommentParams = {
20758 owner: string;
20759
20760 repo: string;
20761
20762 number: number;
20763 /**
20764 * The text of the comment.
20765 */
20766 body: string;
20767 /**
20768 * The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`.
20769 */
20770 commit_id: string;
20771 /**
20772 * The relative path to the file that necessitates a comment.
20773 */
20774 path: string;
20775 /**
20776 * The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note below.
20777 */
20778 position: number;
20779 };
20780 export type PullsCreateCommentReplyParams = {
20781 owner: string;
20782
20783 repo: string;
20784
20785 number: number;
20786 /**
20787 * The text of the comment.
20788 */
20789 body: string;
20790 /**
20791 * The comment ID to reply to. **Note**: This must be the ID of a _top-level comment_, not a reply to that comment. Replies to replies are not supported.
20792 */
20793 in_reply_to: number;
20794 };
20795 export type PullsUpdateCommentParams = {
20796 owner: string;
20797
20798 repo: string;
20799
20800 comment_id: number;
20801 /**
20802 * The text of the comment.
20803 */
20804 body: string;
20805 };
20806 export type PullsDeleteCommentParams = {
20807 owner: string;
20808
20809 repo: string;
20810
20811 comment_id: number;
20812 };
20813 export type PullsListReviewRequestsParams = {
20814 owner: string;
20815
20816 repo: string;
20817
20818 number: number;
20819 /**
20820 * Results per page (max 100)
20821 */
20822 per_page?: number;
20823 /**
20824 * Page number of the results to fetch.
20825 */
20826 page?: number;
20827 };
20828 export type PullsCreateReviewRequestParams = {
20829 owner: string;
20830
20831 repo: string;
20832
20833 number: number;
20834 /**
20835 * An array of user `login`s that will be requested.
20836 */
20837 reviewers?: string[];
20838 /**
20839 * An array of team `slug`s that will be requested.
20840 */
20841 team_reviewers?: string[];
20842 };
20843 export type PullsDeleteReviewRequestParams = {
20844 owner: string;
20845
20846 repo: string;
20847
20848 number: number;
20849 /**
20850 * An array of user `login`s that will be removed.
20851 */
20852 reviewers?: string[];
20853 /**
20854 * An array of team `slug`s that will be removed.
20855 */
20856 team_reviewers?: string[];
20857 };
20858 export type ReactionsListForCommitCommentParams = {
20859 owner: string;
20860
20861 repo: string;
20862
20863 comment_id: number;
20864 /**
20865 * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a commit comment.
20866 */
20867 content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20868 /**
20869 * Results per page (max 100)
20870 */
20871 per_page?: number;
20872 /**
20873 * Page number of the results to fetch.
20874 */
20875 page?: number;
20876 };
20877 export type ReactionsCreateForCommitCommentParams = {
20878 owner: string;
20879
20880 repo: string;
20881
20882 comment_id: number;
20883 /**
20884 * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the commit comment.
20885 */
20886 content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20887 };
20888 export type ReactionsListForIssueParams = {
20889 owner: string;
20890
20891 repo: string;
20892
20893 number: number;
20894 /**
20895 * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue.
20896 */
20897 content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20898 /**
20899 * Results per page (max 100)
20900 */
20901 per_page?: number;
20902 /**
20903 * Page number of the results to fetch.
20904 */
20905 page?: number;
20906 };
20907 export type ReactionsCreateForIssueParams = {
20908 owner: string;
20909
20910 repo: string;
20911
20912 number: number;
20913 /**
20914 * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue.
20915 */
20916 content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20917 };
20918 export type ReactionsListForIssueCommentParams = {
20919 owner: string;
20920
20921 repo: string;
20922
20923 comment_id: number;
20924 /**
20925 * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue comment.
20926 */
20927 content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20928 /**
20929 * Results per page (max 100)
20930 */
20931 per_page?: number;
20932 /**
20933 * Page number of the results to fetch.
20934 */
20935 page?: number;
20936 };
20937 export type ReactionsCreateForIssueCommentParams = {
20938 owner: string;
20939
20940 repo: string;
20941
20942 comment_id: number;
20943 /**
20944 * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue comment.
20945 */
20946 content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20947 };
20948 export type ReactionsListForPullRequestReviewCommentParams = {
20949 owner: string;
20950
20951 repo: string;
20952
20953 comment_id: number;
20954 /**
20955 * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a pull request review comment.
20956 */
20957 content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20958 /**
20959 * Results per page (max 100)
20960 */
20961 per_page?: number;
20962 /**
20963 * Page number of the results to fetch.
20964 */
20965 page?: number;
20966 };
20967 export type ReactionsCreateForPullRequestReviewCommentParams = {
20968 owner: string;
20969
20970 repo: string;
20971
20972 comment_id: number;
20973 /**
20974 * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the pull request review comment.
20975 */
20976 content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20977 };
20978 export type ReactionsListForTeamDiscussionParams = {
20979 team_id: number;
20980
20981 discussion_number: number;
20982 /**
20983 * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion.
20984 */
20985 content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
20986 /**
20987 * Results per page (max 100)
20988 */
20989 per_page?: number;
20990 /**
20991 * Page number of the results to fetch.
20992 */
20993 page?: number;
20994 };
20995 export type ReactionsCreateForTeamDiscussionParams = {
20996 team_id: number;
20997
20998 discussion_number: number;
20999 /**
21000 * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion.
21001 */
21002 content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
21003 };
21004 export type ReactionsListForTeamDiscussionCommentParams = {
21005 team_id: number;
21006
21007 discussion_number: number;
21008
21009 comment_number: number;
21010 /**
21011 * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment.
21012 */
21013 content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
21014 /**
21015 * Results per page (max 100)
21016 */
21017 per_page?: number;
21018 /**
21019 * Page number of the results to fetch.
21020 */
21021 page?: number;
21022 };
21023 export type ReactionsCreateForTeamDiscussionCommentParams = {
21024 team_id: number;
21025
21026 discussion_number: number;
21027
21028 comment_number: number;
21029 /**
21030 * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment.
21031 */
21032 content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray";
21033 };
21034 export type ReactionsDeleteParams = {
21035 reaction_id: number;
21036 };
21037 export type ReposListParams = {
21038 /**
21039 * Can be one of `all`, `public`, or `private`.
21040 */
21041 visibility?: "all" | "public" | "private";
21042 /**
21043 * Comma-separated list of values. Can include: ,* \* `owner`: Repositories that are owned by the authenticated user. ,* \* `collaborator`: Repositories that the user has been added to as a collaborator. ,* \* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.
21044 */
21045 affiliation?: string;
21046 /**
21047 * Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` ,* ,* Will cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.
21048 */
21049 type?: "all" | "owner" | "public" | "private" | "member";
21050 /**
21051 * Can be one of `created`, `updated`, `pushed`, `full_name`.
21052 */
21053 sort?: "created" | "updated" | "pushed" | "full_name";
21054 /**
21055 * Can be one of `asc` or `desc`.
21056 */
21057 direction?: "asc" | "desc";
21058 /**
21059 * Results per page (max 100)
21060 */
21061 per_page?: number;
21062 /**
21063 * Page number of the results to fetch.
21064 */
21065 page?: number;
21066 };
21067 export type ReposListForUserParams = {
21068 username: string;
21069 /**
21070 * Can be one of `all`, `owner`, `member`.
21071 */
21072 type?: "all" | "owner" | "member";
21073 /**
21074 * Can be one of `created`, `updated`, `pushed`, `full_name`.
21075 */
21076 sort?: "created" | "updated" | "pushed" | "full_name";
21077 /**
21078 * Can be one of `asc` or `desc`.
21079 */
21080 direction?: "asc" | "desc";
21081 /**
21082 * Results per page (max 100)
21083 */
21084 per_page?: number;
21085 /**
21086 * Page number of the results to fetch.
21087 */
21088 page?: number;
21089 };
21090 export type ReposListForOrgParams = {
21091 org: string;
21092 /**
21093 * Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`.
21094 */
21095 type?: "all" | "public" | "private" | "forks" | "sources" | "member";
21096 /**
21097 * Can be one of `created`, `updated`, `pushed`, `full_name`.
21098 */
21099 sort?: "created" | "updated" | "pushed" | "full_name";
21100 /**
21101 * Can be one of `asc` or `desc`.
21102 */
21103 direction?: "asc" | "desc";
21104 /**
21105 * Results per page (max 100)
21106 */
21107 per_page?: number;
21108 /**
21109 * Page number of the results to fetch.
21110 */
21111 page?: number;
21112 };
21113 export type ReposListPublicParams = {
21114 /**
21115 * The integer ID of the last Repository that you've seen.
21116 */
21117 since?: string;
21118 /**
21119 * Results per page (max 100)
21120 */
21121 per_page?: number;
21122 /**
21123 * Page number of the results to fetch.
21124 */
21125 page?: number;
21126 };
21127 export type ReposCreateForAuthenticatedUserParams = {
21128 /**
21129 * The name of the repository.
21130 */
21131 name: string;
21132 /**
21133 * A short description of the repository.
21134 */
21135 description?: string;
21136 /**
21137 * A URL with more information about the repository.
21138 */
21139 homepage?: string;
21140 /**
21141 * Either `true` to create a private repository or `false` to create a public one. Creating private repositories requires a paid GitHub account.
21142 */
21143 private?: boolean;
21144 /**
21145 * Either `true` to enable issues for this repository or `false` to disable them.
21146 */
21147 has_issues?: boolean;
21148 /**
21149 * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
21150 */
21151 has_projects?: boolean;
21152 /**
21153 * Either `true` to enable the wiki for this repository or `false` to disable it.
21154 */
21155 has_wiki?: boolean;
21156 /**
21157 * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
21158 */
21159 team_id?: number;
21160 /**
21161 * Pass `true` to create an initial commit with empty README.
21162 */
21163 auto_init?: boolean;
21164 /**
21165 * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell".
21166 */
21167 gitignore_template?: string;
21168 /**
21169 * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".
21170 */
21171 license_template?: string;
21172 /**
21173 * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
21174 */
21175 allow_squash_merge?: boolean;
21176 /**
21177 * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
21178 */
21179 allow_merge_commit?: boolean;
21180 /**
21181 * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
21182 */
21183 allow_rebase_merge?: boolean;
21184 };
21185 export type ReposCreateInOrgParams = {
21186 org: string;
21187 /**
21188 * The name of the repository.
21189 */
21190 name: string;
21191 /**
21192 * A short description of the repository.
21193 */
21194 description?: string;
21195 /**
21196 * A URL with more information about the repository.
21197 */
21198 homepage?: string;
21199 /**
21200 * Either `true` to create a private repository or `false` to create a public one. Creating private repositories requires a paid GitHub account.
21201 */
21202 private?: boolean;
21203 /**
21204 * Either `true` to enable issues for this repository or `false` to disable them.
21205 */
21206 has_issues?: boolean;
21207 /**
21208 * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
21209 */
21210 has_projects?: boolean;
21211 /**
21212 * Either `true` to enable the wiki for this repository or `false` to disable it.
21213 */
21214 has_wiki?: boolean;
21215 /**
21216 * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
21217 */
21218 team_id?: number;
21219 /**
21220 * Pass `true` to create an initial commit with empty README.
21221 */
21222 auto_init?: boolean;
21223 /**
21224 * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell".
21225 */
21226 gitignore_template?: string;
21227 /**
21228 * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://help.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".
21229 */
21230 license_template?: string;
21231 /**
21232 * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
21233 */
21234 allow_squash_merge?: boolean;
21235 /**
21236 * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
21237 */
21238 allow_merge_commit?: boolean;
21239 /**
21240 * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
21241 */
21242 allow_rebase_merge?: boolean;
21243 };
21244 export type ReposGetParams = {
21245 owner: string;
21246
21247 repo: string;
21248 };
21249 export type ReposUpdateParams = {
21250 owner: string;
21251
21252 repo: string;
21253 /**
21254 * The name of the repository.
21255 */
21256 name: string;
21257 /**
21258 * A short description of the repository.
21259 */
21260 description?: string;
21261 /**
21262 * A URL with more information about the repository.
21263 */
21264 homepage?: string;
21265 /**
21266 * Either `true` to make the repository private or `false` to make it public. Creating private repositories requires a paid GitHub account. Default: `false`. ,* **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.
21267 */
21268 private?: boolean;
21269 /**
21270 * Either `true` to enable issues for this repository or `false` to disable them.
21271 */
21272 has_issues?: boolean;
21273 /**
21274 * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
21275 */
21276 has_projects?: boolean;
21277 /**
21278 * Either `true` to enable the wiki for this repository or `false` to disable it.
21279 */
21280 has_wiki?: boolean;
21281 /**
21282 * Updates the default branch for this repository.
21283 */
21284 default_branch?: string;
21285 /**
21286 * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
21287 */
21288 allow_squash_merge?: boolean;
21289 /**
21290 * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
21291 */
21292 allow_merge_commit?: boolean;
21293 /**
21294 * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
21295 */
21296 allow_rebase_merge?: boolean;
21297 /**
21298 * `true` to archive this repository. **Note**: You cannot unarchive repositories through the API.
21299 */
21300 archived?: boolean;
21301 };
21302 export type ReposListTopicsParams = {
21303 owner: string;
21304
21305 repo: string;
21306 };
21307 export type ReposReplaceTopicsParams = {
21308 owner: string;
21309
21310 repo: string;
21311 /**
21312 * An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository.
21313 */
21314 names: string[];
21315 };
21316 export type ReposListContributorsParams = {
21317 owner: string;
21318
21319 repo: string;
21320 /**
21321 * Set to `1` or `true` to include anonymous contributors in results.
21322 */
21323 anon?: string;
21324 /**
21325 * Results per page (max 100)
21326 */
21327 per_page?: number;
21328 /**
21329 * Page number of the results to fetch.
21330 */
21331 page?: number;
21332 };
21333 export type ReposListLanguagesParams = {
21334 owner: string;
21335
21336 repo: string;
21337 };
21338 export type ReposListTeamsParams = {
21339 owner: string;
21340
21341 repo: string;
21342 /**
21343 * Results per page (max 100)
21344 */
21345 per_page?: number;
21346 /**
21347 * Page number of the results to fetch.
21348 */
21349 page?: number;
21350 };
21351 export type ReposListTagsParams = {
21352 owner: string;
21353
21354 repo: string;
21355 /**
21356 * Results per page (max 100)
21357 */
21358 per_page?: number;
21359 /**
21360 * Page number of the results to fetch.
21361 */
21362 page?: number;
21363 };
21364 export type ReposDeleteParams = {
21365 owner: string;
21366
21367 repo: string;
21368 };
21369 export type ReposTransferParams = {
21370 owner: string;
21371
21372 repo: string;
21373 /**
21374 * **Required:** The username or organization name the repository will be transferred to.
21375 */
21376 new_owner?: string;
21377 /**
21378 * ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
21379 */
21380 team_ids?: number[];
21381 };
21382 export type ReposListBranchesParams = {
21383 owner: string;
21384
21385 repo: string;
21386 /**
21387 * Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches.
21388 */
21389 protected?: boolean;
21390 /**
21391 * Results per page (max 100)
21392 */
21393 per_page?: number;
21394 /**
21395 * Page number of the results to fetch.
21396 */
21397 page?: number;
21398 };
21399 export type ReposGetBranchParams = {
21400 owner: string;
21401
21402 repo: string;
21403
21404 branch: string;
21405 };
21406 export type ReposGetBranchProtectionParams = {
21407 owner: string;
21408
21409 repo: string;
21410
21411 branch: string;
21412 };
21413 export type ReposUpdateBranchProtectionParams = {
21414 owner: string;
21415
21416 repo: string;
21417
21418 branch: string;
21419 /**
21420 * Require status checks to pass before merging. Set to `null` to disable.
21421 */
21422 required_status_checks: ReposUpdateBranchProtectionParamsRequiredStatusChecks | null;
21423 /**
21424 * Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.
21425 */
21426 enforce_admins: boolean | null;
21427 /**
21428 * Require at least one approving review on a pull request, before merging. Set to `null` to disable.
21429 */
21430 required_pull_request_reviews: ReposUpdateBranchProtectionParamsRequiredPullRequestReviews | null;
21431 /**
21432 * Restrict who can push to this branch. Team and user `restrictions` are only available for organization-owned repositories. Set to `null` to disable.
21433 */
21434 restrictions: ReposUpdateBranchProtectionParamsRestrictions | null;
21435 };
21436 export type ReposRemoveBranchProtectionParams = {
21437 owner: string;
21438
21439 repo: string;
21440
21441 branch: string;
21442 };
21443 export type ReposGetProtectedBranchRequiredStatusChecksParams = {
21444 owner: string;
21445
21446 repo: string;
21447
21448 branch: string;
21449 };
21450 export type ReposUpdateProtectedBranchRequiredStatusChecksParams = {
21451 owner: string;
21452
21453 repo: string;
21454
21455 branch: string;
21456 /**
21457 * Require branches to be up to date before merging.
21458 */
21459 strict?: boolean;
21460 /**
21461 * The list of status checks to require in order to merge into this branch
21462 */
21463 contexts?: string[];
21464 };
21465 export type ReposRemoveProtectedBranchRequiredStatusChecksParams = {
21466 owner: string;
21467
21468 repo: string;
21469
21470 branch: string;
21471 };
21472 export type ReposListProtectedBranchRequiredStatusChecksContextsParams = {
21473 owner: string;
21474
21475 repo: string;
21476
21477 branch: string;
21478 };
21479 export type ReposReplaceProtectedBranchRequiredStatusChecksContextsParams = {
21480 owner: string;
21481
21482 repo: string;
21483
21484 branch: string;
21485
21486 contexts: string[];
21487 };
21488 export type ReposAddProtectedBranchRequiredStatusChecksContextsParams = {
21489 owner: string;
21490
21491 repo: string;
21492
21493 branch: string;
21494
21495 contexts: string[];
21496 };
21497 export type ReposRemoveProtectedBranchRequiredStatusChecksContextsParams = {
21498 owner: string;
21499
21500 repo: string;
21501
21502 branch: string;
21503
21504 contexts: string[];
21505 };
21506 export type ReposGetProtectedBranchPullRequestReviewEnforcementParams = {
21507 owner: string;
21508
21509 repo: string;
21510
21511 branch: string;
21512 };
21513 export type ReposUpdateProtectedBranchPullRequestReviewEnforcementParams = {
21514 owner: string;
21515
21516 repo: string;
21517
21518 branch: string;
21519 /**
21520 * Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.
21521 */
21522 dismissal_restrictions?: ReposUpdateProtectedBranchPullRequestReviewEnforcementParamsDismissalRestrictions;
21523 /**
21524 * Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.
21525 */
21526 dismiss_stale_reviews?: boolean;
21527 /**
21528 * Blocks merging pull requests until [code owners](https://help.github.com/articles/about-code-owners/) have reviewed.
21529 */
21530 require_code_owner_reviews?: boolean;
21531 /**
21532 * Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6.
21533 */
21534 required_approving_review_count?: number;
21535 };
21536 export type ReposRemoveProtectedBranchPullRequestReviewEnforcementParams = {
21537 owner: string;
21538
21539 repo: string;
21540
21541 branch: string;
21542 };
21543 export type ReposGetProtectedBranchRequiredSignaturesParams = {
21544 owner: string;
21545
21546 repo: string;
21547
21548 branch: string;
21549 };
21550 export type ReposAddProtectedBranchRequiredSignaturesParams = {
21551 owner: string;
21552
21553 repo: string;
21554
21555 branch: string;
21556 };
21557 export type ReposRemoveProtectedBranchRequiredSignaturesParams = {
21558 owner: string;
21559
21560 repo: string;
21561
21562 branch: string;
21563 };
21564 export type ReposGetProtectedBranchAdminEnforcementParams = {
21565 owner: string;
21566
21567 repo: string;
21568
21569 branch: string;
21570 };
21571 export type ReposAddProtectedBranchAdminEnforcementParams = {
21572 owner: string;
21573
21574 repo: string;
21575
21576 branch: string;
21577 };
21578 export type ReposRemoveProtectedBranchAdminEnforcementParams = {
21579 owner: string;
21580
21581 repo: string;
21582
21583 branch: string;
21584 };
21585 export type ReposGetProtectedBranchRestrictionsParams = {
21586 owner: string;
21587
21588 repo: string;
21589
21590 branch: string;
21591 };
21592 export type ReposRemoveProtectedBranchRestrictionsParams = {
21593 owner: string;
21594
21595 repo: string;
21596
21597 branch: string;
21598 };
21599 export type ReposListProtectedBranchTeamRestrictionsParams = {
21600 owner: string;
21601
21602 repo: string;
21603
21604 branch: string;
21605 /**
21606 * Results per page (max 100)
21607 */
21608 per_page?: number;
21609 /**
21610 * Page number of the results to fetch.
21611 */
21612 page?: number;
21613 };
21614 export type ReposReplaceProtectedBranchTeamRestrictionsParams = {
21615 owner: string;
21616
21617 repo: string;
21618
21619 branch: string;
21620
21621 teams: string[];
21622 };
21623 export type ReposAddProtectedBranchTeamRestrictionsParams = {
21624 owner: string;
21625
21626 repo: string;
21627
21628 branch: string;
21629
21630 teams: string[];
21631 };
21632 export type ReposRemoveProtectedBranchTeamRestrictionsParams = {
21633 owner: string;
21634
21635 repo: string;
21636
21637 branch: string;
21638
21639 teams: string[];
21640 };
21641 export type ReposListProtectedBranchUserRestrictionsParams = {
21642 owner: string;
21643
21644 repo: string;
21645
21646 branch: string;
21647 };
21648 export type ReposReplaceProtectedBranchUserRestrictionsParams = {
21649 owner: string;
21650
21651 repo: string;
21652
21653 branch: string;
21654
21655 users: string[];
21656 };
21657 export type ReposAddProtectedBranchUserRestrictionsParams = {
21658 owner: string;
21659
21660 repo: string;
21661
21662 branch: string;
21663
21664 users: string[];
21665 };
21666 export type ReposRemoveProtectedBranchUserRestrictionsParams = {
21667 owner: string;
21668
21669 repo: string;
21670
21671 branch: string;
21672
21673 users: string[];
21674 };
21675 export type ReposListCollaboratorsParams = {
21676 owner: string;
21677
21678 repo: string;
21679 /**
21680 * Filter collaborators returned by their affiliation. Can be one of: ,* \* `outside`: All outside collaborators of an organization-owned repository. ,* \* `direct`: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. ,* \* `all`: All collaborators the authenticated user can see.
21681 */
21682 affiliation?: "outside" | "direct" | "all";
21683 /**
21684 * Results per page (max 100)
21685 */
21686 per_page?: number;
21687 /**
21688 * Page number of the results to fetch.
21689 */
21690 page?: number;
21691 };
21692 export type ReposCheckCollaboratorParams = {
21693 owner: string;
21694
21695 repo: string;
21696
21697 username: string;
21698 };
21699 export type ReposGetCollaboratorPermissionLevelParams = {
21700 owner: string;
21701
21702 repo: string;
21703
21704 username: string;
21705 };
21706 export type ReposAddCollaboratorParams = {
21707 owner: string;
21708
21709 repo: string;
21710
21711 username: string;
21712 /**
21713 * The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of: ,* \* `pull` - can pull, but not push to or administer this repository. ,* \* `push` - can pull and push, but not administer this repository. ,* \* `admin` - can pull, push and administer this repository.
21714 */
21715 permission?: "pull" | "push" | "admin";
21716 };
21717 export type ReposRemoveCollaboratorParams = {
21718 owner: string;
21719
21720 repo: string;
21721
21722 username: string;
21723 };
21724 export type ReposListCommitCommentsParams = {
21725 owner: string;
21726
21727 repo: string;
21728 /**
21729 * Results per page (max 100)
21730 */
21731 per_page?: number;
21732 /**
21733 * Page number of the results to fetch.
21734 */
21735 page?: number;
21736 };
21737 export type ReposListCommentsForCommitParams = {
21738 owner: string;
21739
21740 repo: string;
21741
21742 ref: string;
21743 /**
21744 * Results per page (max 100)
21745 */
21746 per_page?: number;
21747 /**
21748 * Page number of the results to fetch.
21749 */
21750 page?: number;
21751 };
21752 export type ReposCreateCommitCommentParams = {
21753 owner: string;
21754
21755 repo: string;
21756
21757 sha: string;
21758 /**
21759 * The contents of the comment.
21760 */
21761 body: string;
21762 /**
21763 * Relative path of the file to comment on.
21764 */
21765 path?: string;
21766 /**
21767 * Line index in the diff to comment on.
21768 */
21769 position?: number;
21770 /**
21771 * **Deprecated**. Use **position** parameter instead. Line number in the file to comment on.
21772 */
21773 line?: number;
21774 };
21775 export type ReposGetCommitCommentParams = {
21776 owner: string;
21777
21778 repo: string;
21779
21780 comment_id: number;
21781 };
21782 export type ReposUpdateCommitCommentParams = {
21783 owner: string;
21784
21785 repo: string;
21786
21787 comment_id: number;
21788 /**
21789 * The contents of the comment
21790 */
21791 body: string;
21792 };
21793 export type ReposDeleteCommitCommentParams = {
21794 owner: string;
21795
21796 repo: string;
21797
21798 comment_id: number;
21799 };
21800 export type ReposListCommitsParams = {
21801 owner: string;
21802
21803 repo: string;
21804 /**
21805 * SHA or branch to start listing commits from.
21806 */
21807 sha?: string;
21808 /**
21809 * Only commits containing this file path will be returned.
21810 */
21811 path?: string;
21812 /**
21813 * GitHub login or email address by which to filter by commit author.
21814 */
21815 author?: string;
21816 /**
21817 * Only commits after this date will be returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
21818 */
21819 since?: string;
21820 /**
21821 * Only commits before this date will be returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
21822 */
21823 until?: string;
21824 /**
21825 * Results per page (max 100)
21826 */
21827 per_page?: number;
21828 /**
21829 * Page number of the results to fetch.
21830 */
21831 page?: number;
21832 };
21833 export type ReposGetCommitParams = {
21834 owner: string;
21835
21836 repo: string;
21837
21838 sha: string;
21839 };
21840 export type ReposGetCommitRefShaParams = {
21841 owner: string;
21842
21843 repo: string;
21844
21845 ref: string;
21846 };
21847 export type ReposCompareCommitsParams = {
21848 owner: string;
21849
21850 repo: string;
21851
21852 base: string;
21853
21854 head: string;
21855 };
21856 export type ReposRetrieveCommunityProfileMetricsParams = {
21857 owner: string;
21858
21859 repo: string;
21860 };
21861 export type ReposGetReadmeParams = {
21862 owner: string;
21863
21864 repo: string;
21865 /**
21866 * The name of the commit/branch/tag.
21867 */
21868 ref?: string;
21869 };
21870 export type ReposGetContentsParams = {
21871 owner: string;
21872
21873 repo: string;
21874
21875 path: string;
21876 /**
21877 * The name of the commit/branch/tag.
21878 */
21879 ref?: string;
21880 };
21881 export type ReposCreateFileParams = {
21882 owner: string;
21883
21884 repo: string;
21885
21886 path: string;
21887 /**
21888 * The commit message.
21889 */
21890 message: string;
21891 /**
21892 * The new file content, using Base64 encoding.
21893 */
21894 content: string;
21895 /**
21896 * The branch name.
21897 */
21898 branch?: string;
21899 /**
21900 * The person that committed the file.
21901 */
21902 committer?: ReposCreateFileParamsCommitter;
21903 /**
21904 * The author of the file.
21905 */
21906 author?: ReposCreateFileParamsAuthor;
21907 };
21908 export type ReposUpdateFileParams = {
21909 owner: string;
21910
21911 repo: string;
21912
21913 path: string;
21914 /**
21915 * The commit message.
21916 */
21917 message: string;
21918 /**
21919 * The new file content, using Base64 encoding.
21920 */
21921 content: string;
21922 /**
21923 * The blob SHA of the file being replaced.
21924 */
21925 sha: string;
21926 /**
21927 * The branch name.
21928 */
21929 branch?: string;
21930 /**
21931 * The person that committed the file.
21932 */
21933 committer?: ReposUpdateFileParamsCommitter;
21934 /**
21935 * The author of the file.
21936 */
21937 author?: ReposUpdateFileParamsAuthor;
21938 };
21939 export type ReposDeleteFileParams = {
21940 owner: string;
21941
21942 repo: string;
21943
21944 path: string;
21945 /**
21946 * The commit message.
21947 */
21948 message: string;
21949 /**
21950 * The blob SHA of the file being replaced.
21951 */
21952 sha: string;
21953 /**
21954 * The branch name.
21955 */
21956 branch?: string;
21957 /**
21958 * object containing information about the committer.
21959 */
21960 committer?: ReposDeleteFileParamsCommitter;
21961 /**
21962 * object containing information about the author.
21963 */
21964 author?: ReposDeleteFileParamsAuthor;
21965 };
21966 export type ReposGetArchiveLinkParams = {
21967 owner: string;
21968
21969 repo: string;
21970
21971 archive_format: string;
21972
21973 ref: string;
21974 };
21975 export type ReposListDeployKeysParams = {
21976 owner: string;
21977
21978 repo: string;
21979 /**
21980 * Results per page (max 100)
21981 */
21982 per_page?: number;
21983 /**
21984 * Page number of the results to fetch.
21985 */
21986 page?: number;
21987 };
21988 export type ReposGetDeployKeyParams = {
21989 owner: string;
21990
21991 repo: string;
21992
21993 key_id: number;
21994 };
21995 export type ReposAddDeployKeyParams = {
21996 owner: string;
21997
21998 repo: string;
21999 /**
22000 * A name for the key.
22001 */
22002 title?: string;
22003 /**
22004 * The contents of the key.
22005 */
22006 key: string;
22007 /**
22008 * If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. ,* ,* Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://help.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://help.github.com/articles/permission-levels-for-a-user-account-repository/)."
22009 */
22010 read_only?: boolean;
22011 };
22012 export type ReposRemoveDeployKeyParams = {
22013 owner: string;
22014
22015 repo: string;
22016
22017 key_id: number;
22018 };
22019 export type ReposListDeploymentsParams = {
22020 owner: string;
22021
22022 repo: string;
22023 /**
22024 * The SHA recorded at creation time.
22025 */
22026 sha?: string;
22027 /**
22028 * The name of the ref. This can be a branch, tag, or SHA.
22029 */
22030 ref?: string;
22031 /**
22032 * The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`).
22033 */
22034 task?: string;
22035 /**
22036 * The name of the environment that was deployed to (e.g., `staging` or `production`).
22037 */
22038 environment?: string;
22039 /**
22040 * Results per page (max 100)
22041 */
22042 per_page?: number;
22043 /**
22044 * Page number of the results to fetch.
22045 */
22046 page?: number;
22047 };
22048 export type ReposGetDeploymentParams = {
22049 owner: string;
22050
22051 repo: string;
22052
22053 deployment_id: number;
22054 };
22055 export type ReposCreateDeploymentParams = {
22056 owner: string;
22057
22058 repo: string;
22059 /**
22060 * The ref to deploy. This can be a branch, tag, or SHA.
22061 */
22062 ref: string;
22063 /**
22064 * Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).
22065 */
22066 task?: string;
22067 /**
22068 * Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.
22069 */
22070 auto_merge?: boolean;
22071 /**
22072 * The [status](https://developer.github.com/v3/repos/statuses/) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.
22073 */
22074 required_contexts?: string[];
22075 /**
22076 * JSON payload with extra information about the deployment.
22077 */
22078 payload?: string;
22079 /**
22080 * Name for the target deployment environment (e.g., `production`, `staging`, `qa`).
22081 */
22082 environment?: string;
22083 /**
22084 * Short description of the deployment.
22085 */
22086 description?: string;
22087 /**
22088 * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` ,* **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.
22089 */
22090 transient_environment?: boolean;
22091 /**
22092 * Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. ,* **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.
22093 */
22094 production_environment?: boolean;
22095 };
22096 export type ReposListDeploymentStatusesParams = {
22097 owner: string;
22098
22099 repo: string;
22100
22101 deployment_id: number;
22102 /**
22103 * Results per page (max 100)
22104 */
22105 per_page?: number;
22106 /**
22107 * Page number of the results to fetch.
22108 */
22109 page?: number;
22110 };
22111 export type ReposGetDeploymentStatusParams = {
22112 owner: string;
22113
22114 repo: string;
22115
22116 deployment_id: number;
22117
22118 status_id: number;
22119 };
22120 export type ReposCreateDeploymentStatusParams = {
22121 owner: string;
22122
22123 repo: string;
22124
22125 deployment_id: number;
22126 /**
22127 * The state of the status. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued` `pending`, or `success`. **Note:** To use the `inactive` state, you must provide the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. To use the `in_progress` and `queued` states, you must provide the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type.
22128 */
22129 state:
22130 | "error"
22131 | "failure"
22132 | "inactive"
22133 | "in_progress"
22134 | "queued"
22135 | "pending"
22136 | "success";
22137 /**
22138 * The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.
22139 */
22140 target_url?: string;
22141 /**
22142 * The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` ,* **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.
22143 */
22144 log_url?: string;
22145 /**
22146 * A short description of the status. The maximum description length is 140 characters.
22147 */
22148 description?: string;
22149 /**
22150 * Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. **Note:** This parameter requires you to use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type.
22151 */
22152 environment?: "production" | "staging" | "qa";
22153 /**
22154 * Sets the URL for accessing your environment. Default: `""` ,* **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.
22155 */
22156 environment_url?: string;
22157 /**
22158 * Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` ,* **Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. ,* **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type.
22159 */
22160 auto_inactive?: boolean;
22161 };
22162 export type ReposListDownloadsParams = {
22163 owner: string;
22164
22165 repo: string;
22166 /**
22167 * Results per page (max 100)
22168 */
22169 per_page?: number;
22170 /**
22171 * Page number of the results to fetch.
22172 */
22173 page?: number;
22174 };
22175 export type ReposGetDownloadParams = {
22176 owner: string;
22177
22178 repo: string;
22179
22180 download_id: number;
22181 };
22182 export type ReposDeleteDownloadParams = {
22183 owner: string;
22184
22185 repo: string;
22186
22187 download_id: number;
22188 };
22189 export type ReposListForksParams = {
22190 owner: string;
22191
22192 repo: string;
22193 /**
22194 * The sort order. Can be either `newest`, `oldest`, or `stargazers`.
22195 */
22196 sort?: "newest" | "oldest" | "stargazers";
22197 /**
22198 * Results per page (max 100)
22199 */
22200 per_page?: number;
22201 /**
22202 * Page number of the results to fetch.
22203 */
22204 page?: number;
22205 };
22206 export type ReposCreateForkParams = {
22207 owner: string;
22208
22209 repo: string;
22210 /**
22211 * Optional parameter to specify the organization name if forking into an organization.
22212 */
22213 organization?: string;
22214 };
22215 export type ReposListInvitationsParams = {
22216 owner: string;
22217
22218 repo: string;
22219 /**
22220 * Results per page (max 100)
22221 */
22222 per_page?: number;
22223 /**
22224 * Page number of the results to fetch.
22225 */
22226 page?: number;
22227 };
22228 export type ReposDeleteInvitationParams = {
22229 owner: string;
22230
22231 repo: string;
22232
22233 invitation_id: number;
22234 };
22235 export type ReposUpdateInvitationParams = {
22236 owner: string;
22237
22238 repo: string;
22239
22240 invitation_id: number;
22241 /**
22242 * The permissions that the associated user will have on the repository. Valid values are `read`, `write`, and `admin`.
22243 */
22244 permissions?: "read" | "write" | "admin";
22245 };
22246 export type ReposListInvitationsForAuthenticatedUserParams = {
22247 /**
22248 * Results per page (max 100)
22249 */
22250 per_page?: number;
22251 /**
22252 * Page number of the results to fetch.
22253 */
22254 page?: number;
22255 };
22256 export type ReposAcceptInvitationParams = {
22257 invitation_id: number;
22258 };
22259 export type ReposDeclineInvitationParams = {
22260 invitation_id: number;
22261 };
22262 export type ReposMergeParams = {
22263 owner: string;
22264
22265 repo: string;
22266 /**
22267 * The name of the base branch that the head will be merged into.
22268 */
22269 base: string;
22270 /**
22271 * The head to merge. This can be a branch name or a commit SHA1.
22272 */
22273 head: string;
22274 /**
22275 * Commit message to use for the merge commit. If omitted, a default message will be used.
22276 */
22277 commit_message?: string;
22278 };
22279 export type ReposGetPagesParams = {
22280 owner: string;
22281
22282 repo: string;
22283 };
22284 export type ReposUpdateInformationAboutPagesSiteParams = {
22285 owner: string;
22286
22287 repo: string;
22288 /**
22289 * Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)."
22290 */
22291 cname?: string;
22292 /**
22293 * Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`.
22294 */
22295 source?: '"gh-pages"' | '"master"' | '"master /docs"';
22296 };
22297 export type ReposRequestPageBuildParams = {
22298 owner: string;
22299
22300 repo: string;
22301 };
22302 export type ReposListPagesBuildsParams = {
22303 owner: string;
22304
22305 repo: string;
22306 /**
22307 * Results per page (max 100)
22308 */
22309 per_page?: number;
22310 /**
22311 * Page number of the results to fetch.
22312 */
22313 page?: number;
22314 };
22315 export type ReposGetLatestPagesBuildParams = {
22316 owner: string;
22317
22318 repo: string;
22319 };
22320 export type ReposGetPagesBuildParams = {
22321 owner: string;
22322
22323 repo: string;
22324
22325 build_id: number;
22326 };
22327 export type ReposListReleasesParams = {
22328 owner: string;
22329
22330 repo: string;
22331 /**
22332 * Results per page (max 100)
22333 */
22334 per_page?: number;
22335 /**
22336 * Page number of the results to fetch.
22337 */
22338 page?: number;
22339 };
22340 export type ReposGetReleaseParams = {
22341 owner: string;
22342
22343 repo: string;
22344
22345 release_id: number;
22346 };
22347 export type ReposGetLatestReleaseParams = {
22348 owner: string;
22349
22350 repo: string;
22351 };
22352 export type ReposGetReleaseByTagParams = {
22353 owner: string;
22354
22355 repo: string;
22356
22357 tag: string;
22358 };
22359 export type ReposCreateReleaseParams = {
22360 owner: string;
22361
22362 repo: string;
22363 /**
22364 * The name of the tag.
22365 */
22366 tag_name: string;
22367 /**
22368 * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists.
22369 */
22370 target_commitish?: string;
22371 /**
22372 * The name of the release.
22373 */
22374 name?: string;
22375 /**
22376 * Text describing the contents of the tag.
22377 */
22378 body?: string;
22379 /**
22380 * `true` to create a draft (unpublished) release, `false` to create a published one.
22381 */
22382 draft?: boolean;
22383 /**
22384 * `true` to identify the release as a prerelease. `false` to identify the release as a full release.
22385 */
22386 prerelease?: boolean;
22387 };
22388 export type ReposUpdateReleaseParams = {
22389 owner: string;
22390
22391 repo: string;
22392
22393 release_id: number;
22394 /**
22395 * The name of the tag.
22396 */
22397 tag_name?: string;
22398 /**
22399 * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists.
22400 */
22401 target_commitish?: string;
22402 /**
22403 * The name of the release.
22404 */
22405 name?: string;
22406 /**
22407 * Text describing the contents of the tag.
22408 */
22409 body?: string;
22410 /**
22411 * `true` makes the release a draft, and `false` publishes the release.
22412 */
22413 draft?: boolean;
22414 /**
22415 * `true` to identify the release as a prerelease, `false` to identify the release as a full release.
22416 */
22417 prerelease?: boolean;
22418 };
22419 export type ReposDeleteReleaseParams = {
22420 owner: string;
22421
22422 repo: string;
22423
22424 release_id: number;
22425 };
22426 export type ReposListAssetsForReleaseParams = {
22427 owner: string;
22428
22429 repo: string;
22430
22431 release_id: number;
22432 /**
22433 * Results per page (max 100)
22434 */
22435 per_page?: number;
22436 /**
22437 * Page number of the results to fetch.
22438 */
22439 page?: number;
22440 };
22441 export type ReposUploadReleaseAssetParams = {
22442 /**
22443 * Request headers containing `content-type` and `content-length`
22444 */
22445 headers: ReposUploadReleaseAssetParamsHeaders;
22446
22447 url: string;
22448 /**
22449 * The file name of the asset. This should be set in a URI query parameter.
22450 */
22451 name: string;
22452 /**
22453 * An alternate short description of the asset. Used in place of the filename. This should be set in a URI query parameter.
22454 */
22455 label?: string;
22456
22457 file: string | object;
22458 };
22459 export type ReposGetReleaseAssetParams = {
22460 owner: string;
22461
22462 repo: string;
22463
22464 asset_id: number;
22465 };
22466 export type ReposUpdateReleaseAssetParams = {
22467 owner: string;
22468
22469 repo: string;
22470
22471 asset_id: number;
22472 /**
22473 * The file name of the asset.
22474 */
22475 name?: string;
22476 /**
22477 * An alternate short description of the asset. Used in place of the filename.
22478 */
22479 label?: string;
22480 };
22481 export type ReposDeleteReleaseAssetParams = {
22482 owner: string;
22483
22484 repo: string;
22485
22486 asset_id: number;
22487 };
22488 export type ReposGetContributorsStatsParams = {
22489 owner: string;
22490
22491 repo: string;
22492 };
22493 export type ReposGetCommitActivityStatsParams = {
22494 owner: string;
22495
22496 repo: string;
22497 };
22498 export type ReposGetCodeFrequencyStatsParams = {
22499 owner: string;
22500
22501 repo: string;
22502 };
22503 export type ReposGetParticipationStatsParams = {
22504 owner: string;
22505
22506 repo: string;
22507 };
22508 export type ReposGetPunchCardStatsParams = {
22509 owner: string;
22510
22511 repo: string;
22512 };
22513 export type ReposCreateStatusParams = {
22514 owner: string;
22515
22516 repo: string;
22517
22518 sha: string;
22519 /**
22520 * The state of the status. Can be one of `error`, `failure`, `pending`, or `success`.
22521 */
22522 state: "error" | "failure" | "pending" | "success";
22523 /**
22524 * The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. ,* For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: ,* `http://ci.example.com/user/repo/build/sha`
22525 */
22526 target_url?: string;
22527 /**
22528 * A short description of the status.
22529 */
22530 description?: string;
22531 /**
22532 * A string label to differentiate this status from the status of other systems.
22533 */
22534 context?: string;
22535 };
22536 export type ReposListStatusesForRefParams = {
22537 owner: string;
22538
22539 repo: string;
22540
22541 ref: string;
22542 /**
22543 * Results per page (max 100)
22544 */
22545 per_page?: number;
22546 /**
22547 * Page number of the results to fetch.
22548 */
22549 page?: number;
22550 };
22551 export type ReposGetCombinedStatusForRefParams = {
22552 owner: string;
22553
22554 repo: string;
22555
22556 ref: string;
22557 };
22558 export type ReposGetTopReferrersParams = {
22559 owner: string;
22560
22561 repo: string;
22562 };
22563 export type ReposGetTopPathsParams = {
22564 owner: string;
22565
22566 repo: string;
22567 };
22568 export type ReposGetViewsParams = {
22569 owner: string;
22570
22571 repo: string;
22572 /**
22573 * Must be one of: `day`, `week`.
22574 */
22575 per?: "day" | "week";
22576 };
22577 export type ReposGetClonesParams = {
22578 owner: string;
22579
22580 repo: string;
22581 /**
22582 * Must be one of: `day`, `week`.
22583 */
22584 per?: "day" | "week";
22585 };
22586 export type ReposListHooksParams = {
22587 owner: string;
22588
22589 repo: string;
22590 /**
22591 * Results per page (max 100)
22592 */
22593 per_page?: number;
22594 /**
22595 * Page number of the results to fetch.
22596 */
22597 page?: number;
22598 };
22599 export type ReposGetHookParams = {
22600 owner: string;
22601
22602 repo: string;
22603
22604 hook_id: number;
22605 };
22606 export type ReposCreateHookParams = {
22607 owner: string;
22608
22609 repo: string;
22610 /**
22611 * Use `web` to create a webhook. This parameter only accepts the value `web`.
22612 */
22613 name?: string;
22614 /**
22615 * Key/value pairs to provide settings for this webhook. [These are defined below](#create-hook-config-params).
22616 */
22617 config: ReposCreateHookParamsConfig;
22618 /**
22619 * Determines what [events](https://developer.github.com/v3/activity/events/types/) the hook is triggered for.
22620 */
22621 events?: string[];
22622 /**
22623 * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
22624 */
22625 active?: boolean;
22626 };
22627 export type ReposUpdateHookParams = {
22628 owner: string;
22629
22630 repo: string;
22631
22632 hook_id: number;
22633 /**
22634 * Key/value pairs to provide settings for this webhook. [These are defined below](#create-hook-config-params).
22635 */
22636 config?: ReposUpdateHookParamsConfig;
22637 /**
22638 * Determines what [events](https://developer.github.com/v3/activity/events/types/) the hook is triggered for. This replaces the entire array of events.
22639 */
22640 events?: string[];
22641 /**
22642 * Determines a list of events to be added to the list of events that the Hook triggers for.
22643 */
22644 add_events?: string[];
22645 /**
22646 * Determines a list of events to be removed from the list of events that the Hook triggers for.
22647 */
22648 remove_events?: string[];
22649 /**
22650 * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
22651 */
22652 active?: boolean;
22653 };
22654 export type ReposTestPushHookParams = {
22655 owner: string;
22656
22657 repo: string;
22658
22659 hook_id: number;
22660 };
22661 export type ReposPingHookParams = {
22662 owner: string;
22663
22664 repo: string;
22665
22666 hook_id: number;
22667 };
22668 export type ReposDeleteHookParams = {
22669 owner: string;
22670
22671 repo: string;
22672
22673 hook_id: number;
22674 };
22675 export type SearchReposParams = {
22676 /**
22677 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query). See "[Searching for repositories](https://help.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers.
22678 */
22679 q: string;
22680 /**
22681 * Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`.
22682 */
22683 sort?: "stars" | "forks" | "help-wanted-issues" | "updated";
22684 /**
22685 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22686 */
22687 order?: "desc" | "asc";
22688 /**
22689 * Results per page (max 100)
22690 */
22691 per_page?: number;
22692 /**
22693 * Page number of the results to fetch.
22694 */
22695 page?: number;
22696 };
22697 export type SearchCommitsParams = {
22698 /**
22699 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query). See "[Searching commits](https://help.github.com/articles/searching-commits/)" for a detailed list of qualifiers.
22700 */
22701 q: string;
22702 /**
22703 * Sorts the results of your query by `author-date` or `committer-date`.
22704 */
22705 sort?: "author-date" | "committer-date";
22706 /**
22707 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22708 */
22709 order?: "desc" | "asc";
22710 /**
22711 * Results per page (max 100)
22712 */
22713 per_page?: number;
22714 /**
22715 * Page number of the results to fetch.
22716 */
22717 page?: number;
22718 };
22719 export type SearchCodeParams = {
22720 /**
22721 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query). See "[Searching code](https://help.github.com/articles/searching-code/)" for a detailed list of qualifiers.
22722 */
22723 q: string;
22724 /**
22725 * Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure.
22726 */
22727 sort?: "indexed";
22728 /**
22729 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22730 */
22731 order?: "desc" | "asc";
22732 /**
22733 * Results per page (max 100)
22734 */
22735 per_page?: number;
22736 /**
22737 * Page number of the results to fetch.
22738 */
22739 page?: number;
22740 };
22741 export type SearchIssuesAndPullRequestsParams = {
22742 /**
22743 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query). See "[Searching issues and pull requests](https://help.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers.
22744 */
22745 q: string;
22746 /**
22747 * Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`,
22748 */
22749 sort?:
22750 | "comments"
22751 | "reactions"
22752 | "reactions-+1"
22753 | "reactions--1"
22754 | "reactions-smile"
22755 | "reactions-thinking_face"
22756 | "reactions-heart"
22757 | "reactions-tada"
22758 | "interactions"
22759 | "created"
22760 | "updated";
22761 /**
22762 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22763 */
22764 order?: "desc" | "asc";
22765 /**
22766 * Results per page (max 100)
22767 */
22768 per_page?: number;
22769 /**
22770 * Page number of the results to fetch.
22771 */
22772 page?: number;
22773 };
22774 export type SearchIssuesParams = {
22775 /**
22776 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query). See "[Searching issues and pull requests](https://help.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers.
22777 */
22778 q: string;
22779 /**
22780 * Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`,
22781 */
22782 sort?:
22783 | "comments"
22784 | "reactions"
22785 | "reactions-+1"
22786 | "reactions--1"
22787 | "reactions-smile"
22788 | "reactions-thinking_face"
22789 | "reactions-heart"
22790 | "reactions-tada"
22791 | "interactions"
22792 | "created"
22793 | "updated";
22794 /**
22795 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22796 */
22797 order?: "desc" | "asc";
22798 /**
22799 * Results per page (max 100)
22800 */
22801 per_page?: number;
22802 /**
22803 * Page number of the results to fetch.
22804 */
22805 page?: number;
22806 };
22807 export type SearchUsersParams = {
22808 /**
22809 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query). See "[Searching users](https://help.github.com/articles/searching-users/)" for a detailed list of qualifiers.
22810 */
22811 q: string;
22812 /**
22813 * Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub.
22814 */
22815 sort?: "followers" | "repositories" | "joined";
22816 /**
22817 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22818 */
22819 order?: "desc" | "asc";
22820 /**
22821 * Results per page (max 100)
22822 */
22823 per_page?: number;
22824 /**
22825 * Page number of the results to fetch.
22826 */
22827 page?: number;
22828 };
22829 export type SearchTopicsParams = {
22830 /**
22831 * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query).
22832 */
22833 q: string;
22834 };
22835 export type SearchLabelsParams = {
22836 /**
22837 * The id of the repository.
22838 */
22839 repository_id: number;
22840 /**
22841 * The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](#constructing-a-search-query).
22842 */
22843 q: string;
22844 /**
22845 * Sorts the results of your query by when the label was `created` or `updated`.
22846 */
22847 sort?: "created" | "updated";
22848 /**
22849 * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.
22850 */
22851 order?: "desc" | "asc";
22852 };
22853 export type TeamsListParams = {
22854 org: string;
22855 /**
22856 * Results per page (max 100)
22857 */
22858 per_page?: number;
22859 /**
22860 * Page number of the results to fetch.
22861 */
22862 page?: number;
22863 };
22864 export type TeamsGetParams = {
22865 team_id: number;
22866 };
22867 export type TeamsCreateParams = {
22868 org: string;
22869 /**
22870 * The name of the team.
22871 */
22872 name: string;
22873 /**
22874 * The description of the team.
22875 */
22876 description?: string;
22877 /**
22878 * The logins of organization members to add as maintainers of the team.
22879 */
22880 maintainers?: string[];
22881 /**
22882 * The full name (e.g., "organization-name/repository-name") of repositories to add the team to.
22883 */
22884 repo_names?: string[];
22885 /**
22886 * The level of privacy this team should have. The options are: ,* **For a non-nested team:** ,* \* `secret` - only visible to organization owners and members of this team. ,* \* `closed` - visible to all members of this organization. ,* Default: `secret` ,* **For a parent or child team:** ,* \* `closed` - visible to all members of this organization. ,* Default for child team: `closed` ,* **Note**: You must pass the `hellcat-preview` media type to set privacy default to `closed` for child teams. **For a parent or child team:**
22887 */
22888 privacy?: "secret" | "closed";
22889 /**
22890 * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: ,* \* `pull` - team members can pull, but not push to or administer newly-added repositories. ,* \* `push` - team members can pull and push, but not administer newly-added repositories. ,* \* `admin` - team members can pull, push and administer newly-added repositories.
22891 */
22892 permission?: "pull" | "push" | "admin";
22893 /**
22894 * The ID of a team to set as the parent team. **Note**: You must pass the `hellcat-preview` media type to use this parameter.
22895 */
22896 parent_team_id?: number;
22897 };
22898 export type TeamsUpdateParams = {
22899 team_id: number;
22900 /**
22901 * The name of the team.
22902 */
22903 name: string;
22904 /**
22905 * The description of the team.
22906 */
22907 description?: string;
22908 /**
22909 * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: ,* **For a non-nested team:** ,* \* `secret` - only visible to organization owners and members of this team. ,* \* `closed` - visible to all members of this organization. ,* **For a parent or child team:** ,* \* `closed` - visible to all members of this organization.
22910 */
22911 privacy?: string;
22912 /**
22913 * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: ,* \* `pull` - team members can pull, but not push to or administer newly-added repositories. ,* \* `push` - team members can pull and push, but not administer newly-added repositories. ,* \* `admin` - team members can pull, push and administer newly-added repositories.
22914 */
22915 permission?: "pull" | "push" | "admin";
22916 /**
22917 * The ID of a team to set as the parent team. **Note**: You must pass the `hellcat-preview` media type to use this parameter.
22918 */
22919 parent_team_id?: number;
22920 };
22921 export type TeamsDeleteParams = {
22922 team_id: number;
22923 };
22924 export type TeamsListChildParams = {
22925 team_id: number;
22926 /**
22927 * Results per page (max 100)
22928 */
22929 per_page?: number;
22930 /**
22931 * Page number of the results to fetch.
22932 */
22933 page?: number;
22934 };
22935 export type TeamsListReposParams = {
22936 team_id: number;
22937 /**
22938 * Results per page (max 100)
22939 */
22940 per_page?: number;
22941 /**
22942 * Page number of the results to fetch.
22943 */
22944 page?: number;
22945 };
22946 export type TeamsCheckManagesRepoParams = {
22947 team_id: number;
22948
22949 owner: string;
22950
22951 repo: string;
22952 };
22953 export type TeamsAddOrUpdateRepoParams = {
22954 team_id: number;
22955
22956 owner: string;
22957
22958 repo: string;
22959 /**
22960 * The permission to grant the team on this repository. Can be one of: ,* \* `pull` - team members can pull, but not push to or administer this repository. ,* \* `push` - team members can pull and push, but not administer this repository. ,* \* `admin` - team members can pull, push and administer this repository. ,* ,* If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. ,* **Note**: If you pass the `hellcat-preview` media type, you can promote—but not demote—a `permission` attribute inherited through a parent team.
22961 */
22962 permission?: "pull" | "push" | "admin";
22963 };
22964 export type TeamsRemoveRepoParams = {
22965 team_id: number;
22966
22967 owner: string;
22968
22969 repo: string;
22970 };
22971 export type TeamsListForAuthenticatedUserParams = {
22972 /**
22973 * Results per page (max 100)
22974 */
22975 per_page?: number;
22976 /**
22977 * Page number of the results to fetch.
22978 */
22979 page?: number;
22980 };
22981 export type TeamsListProjectsParams = {
22982 team_id: number;
22983 /**
22984 * Results per page (max 100)
22985 */
22986 per_page?: number;
22987 /**
22988 * Page number of the results to fetch.
22989 */
22990 page?: number;
22991 };
22992 export type TeamsReviewProjectParams = {
22993 team_id: number;
22994
22995 project_id: number;
22996 };
22997 export type TeamsAddOrUpdateProjectParams = {
22998 team_id: number;
22999
23000 project_id: number;
23001 /**
23002 * The permission to grant to the team for this project. Can be one of: ,* \* `read` - team members can read, but not write to or administer this project. ,* \* `write` - team members can read and write, but not administer this project. ,* \* `admin` - team members can read, write and administer this project. ,* Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." ,* **Note**: If you pass the `hellcat-preview` media type, you can promote—but not demote—a `permission` attribute inherited from a parent team.
23003 */
23004 permission?: "read" | "write" | "admin";
23005 };
23006 export type TeamsRemoveProjectParams = {
23007 team_id: number;
23008
23009 project_id: number;
23010 };
23011 export type TeamsListDiscussionsParams = {
23012 team_id: number;
23013 /**
23014 * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.
23015 */
23016 direction?: "asc" | "desc";
23017 /**
23018 * Results per page (max 100)
23019 */
23020 per_page?: number;
23021 /**
23022 * Page number of the results to fetch.
23023 */
23024 page?: number;
23025 };
23026 export type TeamsGetDiscussionParams = {
23027 team_id: number;
23028
23029 discussion_number: number;
23030 };
23031 export type TeamsCreateDiscussionParams = {
23032 team_id: number;
23033 /**
23034 * The discussion post's title.
23035 */
23036 title: string;
23037 /**
23038 * The discussion post's body text.
23039 */
23040 body: string;
23041 /**
23042 * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
23043 */
23044 private?: boolean;
23045 };
23046 export type TeamsUpdateDiscussionParams = {
23047 team_id: number;
23048
23049 discussion_number: number;
23050 /**
23051 * The discussion post's title.
23052 */
23053 title?: string;
23054 /**
23055 * The discussion post's body text.
23056 */
23057 body?: string;
23058 };
23059 export type TeamsDeleteDiscussionParams = {
23060 team_id: number;
23061
23062 discussion_number: number;
23063 };
23064 export type TeamsListDiscussionCommentsParams = {
23065 team_id: number;
23066
23067 discussion_number: number;
23068 /**
23069 * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.
23070 */
23071 direction?: "asc" | "desc";
23072 /**
23073 * Results per page (max 100)
23074 */
23075 per_page?: number;
23076 /**
23077 * Page number of the results to fetch.
23078 */
23079 page?: number;
23080 };
23081 export type TeamsGetDiscussionCommentParams = {
23082 team_id: number;
23083
23084 discussion_number: number;
23085
23086 comment_number: number;
23087 };
23088 export type TeamsCreateDiscussionCommentParams = {
23089 team_id: number;
23090
23091 discussion_number: number;
23092 /**
23093 * The discussion comment's body text.
23094 */
23095 body: string;
23096 };
23097 export type TeamsUpdateDiscussionCommentParams = {
23098 team_id: number;
23099
23100 discussion_number: number;
23101
23102 comment_number: number;
23103 /**
23104 * The discussion comment's body text.
23105 */
23106 body: string;
23107 };
23108 export type TeamsDeleteDiscussionCommentParams = {
23109 team_id: number;
23110
23111 discussion_number: number;
23112
23113 comment_number: number;
23114 };
23115 export type TeamsListMembersParams = {
23116 team_id: number;
23117 /**
23118 * Filters members returned by their role in the team. Can be one of: ,* \* `member` - normal members of the team. ,* \* `maintainer` - team maintainers. ,* \* `all` - all members of the team.
23119 */
23120 role?: "member" | "maintainer" | "all";
23121 /**
23122 * Results per page (max 100)
23123 */
23124 per_page?: number;
23125 /**
23126 * Page number of the results to fetch.
23127 */
23128 page?: number;
23129 };
23130 export type TeamsGetMemberParams = {
23131 team_id: number;
23132
23133 username: string;
23134 };
23135 export type TeamsAddMemberParams = {
23136 team_id: number;
23137
23138 username: string;
23139 };
23140 export type TeamsRemoveMemberParams = {
23141 team_id: number;
23142
23143 username: string;
23144 };
23145 export type TeamsGetMembershipParams = {
23146 team_id: number;
23147
23148 username: string;
23149 };
23150 export type TeamsAddOrUpdateMembershipParams = {
23151 team_id: number;
23152
23153 username: string;
23154 /**
23155 * The role that this user should have in the team. Can be one of: ,* \* `member` - a normal member of the team. ,* \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description.
23156 */
23157 role?: "member" | "maintainer";
23158 };
23159 export type TeamsRemoveMembershipParams = {
23160 team_id: number;
23161
23162 username: string;
23163 };
23164 export type TeamsListPendingInvitationsParams = {
23165 team_id: number;
23166 /**
23167 * Results per page (max 100)
23168 */
23169 per_page?: number;
23170 /**
23171 * Page number of the results to fetch.
23172 */
23173 page?: number;
23174 };
23175 export type UsersGetByUsernameParams = {
23176 username: string;
23177 };
23178 export type UsersUpdateAuthenticatedParams = {
23179 /**
23180 * The new name of the user.
23181 */
23182 name?: string;
23183 /**
23184 * The publicly visible email address of the user.
23185 */
23186 email?: string;
23187 /**
23188 * The new blog URL of the user.
23189 */
23190 blog?: string;
23191 /**
23192 * The new company of the user.
23193 */
23194 company?: string;
23195 /**
23196 * The new location of the user.
23197 */
23198 location?: string;
23199 /**
23200 * The new hiring availability of the user.
23201 */
23202 hireable?: boolean;
23203 /**
23204 * The new short biography of the user.
23205 */
23206 bio?: string;
23207 };
23208 export type UsersGetContextForUserParams = {
23209 username: string;
23210 /**
23211 * Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`.
23212 */
23213 subject_type?: "organization" | "repository" | "issue" | "pull_request";
23214 /**
23215 * Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`.
23216 */
23217 subject_id?: string;
23218 };
23219 export type UsersListParams = {
23220 /**
23221 * The integer ID of the last User that you've seen.
23222 */
23223 since?: string;
23224 /**
23225 * Results per page (max 100)
23226 */
23227 per_page?: number;
23228 /**
23229 * Page number of the results to fetch.
23230 */
23231 page?: number;
23232 };
23233 export type UsersCheckBlockedParams = {
23234 username: string;
23235 };
23236 export type UsersBlockParams = {
23237 username: string;
23238 };
23239 export type UsersUnblockParams = {
23240 username: string;
23241 };
23242 export type UsersListEmailsParams = {
23243 /**
23244 * Results per page (max 100)
23245 */
23246 per_page?: number;
23247 /**
23248 * Page number of the results to fetch.
23249 */
23250 page?: number;
23251 };
23252 export type UsersListPublicEmailsParams = {
23253 /**
23254 * Results per page (max 100)
23255 */
23256 per_page?: number;
23257 /**
23258 * Page number of the results to fetch.
23259 */
23260 page?: number;
23261 };
23262 export type UsersAddEmailsParams = {
23263 /**
23264 * Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.
23265 */
23266 emails: string[];
23267 };
23268 export type UsersDeleteEmailsParams = {
23269 /**
23270 * Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.
23271 */
23272 emails: string[];
23273 };
23274 export type UsersTogglePrimaryEmailVisibilityParams = {
23275 /**
23276 * Specify the _primary_ email address that needs a visibility change.
23277 */
23278 email: string;
23279 /**
23280 * Use `public` to enable an authenticated user to view the specified email address, or use `private` so this primary email address cannot be seen publicly.
23281 */
23282 visibility: string;
23283 };
23284 export type UsersListFollowersForUserParams = {
23285 username: string;
23286 /**
23287 * Results per page (max 100)
23288 */
23289 per_page?: number;
23290 /**
23291 * Page number of the results to fetch.
23292 */
23293 page?: number;
23294 };
23295 export type UsersListFollowersForAuthenticatedUserParams = {
23296 /**
23297 * Results per page (max 100)
23298 */
23299 per_page?: number;
23300 /**
23301 * Page number of the results to fetch.
23302 */
23303 page?: number;
23304 };
23305 export type UsersListFollowingForUserParams = {
23306 username: string;
23307 /**
23308 * Results per page (max 100)
23309 */
23310 per_page?: number;
23311 /**
23312 * Page number of the results to fetch.
23313 */
23314 page?: number;
23315 };
23316 export type UsersListFollowingForAuthenticatedUserParams = {
23317 /**
23318 * Results per page (max 100)
23319 */
23320 per_page?: number;
23321 /**
23322 * Page number of the results to fetch.
23323 */
23324 page?: number;
23325 };
23326 export type UsersCheckFollowingParams = {
23327 username: string;
23328 };
23329 export type UsersCheckFollowingForUserParams = {
23330 username: string;
23331
23332 target_user: string;
23333 };
23334 export type UsersFollowParams = {
23335 username: string;
23336 };
23337 export type UsersUnfollowParams = {
23338 username: string;
23339 };
23340 export type UsersListPublicKeysForUserParams = {
23341 username: string;
23342 /**
23343 * Results per page (max 100)
23344 */
23345 per_page?: number;
23346 /**
23347 * Page number of the results to fetch.
23348 */
23349 page?: number;
23350 };
23351 export type UsersListPublicKeysParams = {
23352 /**
23353 * Results per page (max 100)
23354 */
23355 per_page?: number;
23356 /**
23357 * Page number of the results to fetch.
23358 */
23359 page?: number;
23360 };
23361 export type UsersGetPublicKeyParams = {
23362 key_id: number;
23363 };
23364 export type UsersCreatePublicKeyParams = {
23365 /**
23366 * A descriptive name for the new key. Use a name that will help you recognize this key in your GitHub account. For example, if you're using a personal Mac, you might call this key "Personal MacBook Air".
23367 */
23368 title?: string;
23369 /**
23370 * The public SSH key to add to your GitHub account. See "[Generating a new SSH key](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)" for guidance on how to create a public SSH key.
23371 */
23372 key?: string;
23373 };
23374 export type UsersDeletePublicKeyParams = {
23375 key_id: number;
23376 };
23377 export type UsersListGpgKeysForUserParams = {
23378 username: string;
23379 /**
23380 * Results per page (max 100)
23381 */
23382 per_page?: number;
23383 /**
23384 * Page number of the results to fetch.
23385 */
23386 page?: number;
23387 };
23388 export type UsersListGpgKeysParams = {
23389 /**
23390 * Results per page (max 100)
23391 */
23392 per_page?: number;
23393 /**
23394 * Page number of the results to fetch.
23395 */
23396 page?: number;
23397 };
23398 export type UsersGetGpgKeyParams = {
23399 gpg_key_id: number;
23400 };
23401 export type UsersCreateGpgKeyParams = {
23402 /**
23403 * Your GPG key, generated in ASCII-armored format. See "[Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/)" for help creating a GPG key.
23404 */
23405 armored_public_key?: string;
23406 };
23407 export type UsersDeleteGpgKeyParams = {
23408 gpg_key_id: number;
23409 };
23410 export type ChecksCreateParamsOutput = {
23411 title: string;
23412 summary: string;
23413 text?: string;
23414 annotations?: ChecksCreateParamsOutputAnnotations[];
23415 images?: ChecksCreateParamsOutputImages[];
23416 };
23417 export type ChecksCreateParamsOutputAnnotations = {
23418 path: string;
23419 start_line: number;
23420 end_line: number;
23421 start_column?: number;
23422 end_column?: number;
23423 annotation_level: "notice" | "warning" | "failure";
23424 message: string;
23425 title?: string;
23426 raw_details?: string;
23427 };
23428 export type ChecksCreateParamsOutputImages = {
23429 alt: string;
23430 image_url: string;
23431 caption?: string;
23432 };
23433 export type ChecksCreateParamsActions = {
23434 label: string;
23435 description: string;
23436 identifier: string;
23437 };
23438 export type ChecksUpdateParamsOutput = {
23439 title?: string;
23440 summary: string;
23441 text?: string;
23442 annotations?: ChecksUpdateParamsOutputAnnotations[];
23443 images?: ChecksUpdateParamsOutputImages[];
23444 };
23445 export type ChecksUpdateParamsOutputAnnotations = {
23446 path: string;
23447 start_line: number;
23448 end_line: number;
23449 start_column?: number;
23450 end_column?: number;
23451 annotation_level: "notice" | "warning" | "failure";
23452 message: string;
23453 title?: string;
23454 raw_details?: string;
23455 };
23456 export type ChecksUpdateParamsOutputImages = {
23457 alt: string;
23458 image_url: string;
23459 caption?: string;
23460 };
23461 export type ChecksUpdateParamsActions = {
23462 label: string;
23463 description: string;
23464 identifier: string;
23465 };
23466 export type ChecksSetSuitesPreferencesParamsAutoTriggerChecks = {
23467 app_id: number;
23468 setting: boolean;
23469 };
23470 export type GistsCreateParamsFiles = {
23471 content?: string;
23472 };
23473 export type GistsUpdateParamsFiles = {
23474 content?: string;
23475 filename?: string;
23476 };
23477 export type GitCreateCommitParamsCommitter = {};
23478 export type GitCreateCommitParamsAuthor = {};
23479 export type GitCreateTagParamsTagger = {
23480 name?: string;
23481 email?: string;
23482 date?: string;
23483 };
23484 export type GitCreateTreeParamsTree = {
23485 path?: string;
23486 mode?: "100644" | "100755" | "040000" | "160000" | "120000";
23487 type?: "blob" | "tree" | "commit";
23488 sha?: string;
23489 content?: string;
23490 };
23491 export type OrgsCreateHookParamsConfig = {
23492 url: string;
23493 content_type?: string;
23494 secret?: string;
23495 insecure_ssl?: string;
23496 };
23497 export type OrgsUpdateHookParamsConfig = {
23498 url: string;
23499 content_type?: string;
23500 secret?: string;
23501 insecure_ssl?: string;
23502 };
23503 export type PullsCreateReviewParamsComments = {
23504 path: string;
23505 position: number;
23506 body: string;
23507 };
23508 export type ReposUpdateBranchProtectionParamsRequiredStatusChecks = {
23509 strict: boolean;
23510 contexts: string[];
23511 };
23512 export type ReposUpdateBranchProtectionParamsRequiredPullRequestReviews = {
23513 dismissal_restrictions?: ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions;
23514 dismiss_stale_reviews?: boolean;
23515 require_code_owner_reviews?: boolean;
23516 required_approving_review_count?: number;
23517 };
23518 export type ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions = {
23519 users?: string[];
23520 teams?: string[];
23521 };
23522 export type ReposUpdateBranchProtectionParamsRestrictions = {
23523 users?: string[];
23524 teams?: string[];
23525 };
23526 export type ReposUpdateProtectedBranchPullRequestReviewEnforcementParamsDismissalRestrictions = {
23527 users?: string[];
23528 teams?: string[];
23529 };
23530 export type ReposCreateFileParamsCommitter = {
23531 name: string;
23532 email: string;
23533 };
23534 export type ReposCreateFileParamsAuthor = {
23535 name: string;
23536 email: string;
23537 };
23538 export type ReposUpdateFileParamsCommitter = {
23539 name: string;
23540 email: string;
23541 };
23542 export type ReposUpdateFileParamsAuthor = {
23543 name: string;
23544 email: string;
23545 };
23546 export type ReposDeleteFileParamsCommitter = {};
23547 export type ReposDeleteFileParamsAuthor = {};
23548 export type ReposUploadReleaseAssetParamsHeaders = {
23549 "content-length": number;
23550 "content-type": string;
23551 };
23552 export type ReposCreateHookParamsConfig = {
23553 url: string;
23554 content_type?: string;
23555 secret?: string;
23556 insecure_ssl?: string;
23557 };
23558 export type ReposUpdateHookParamsConfig = {
23559 url: string;
23560 content_type?: string;
23561 secret?: string;
23562 insecure_ssl?: string;
23563 };
23564}
23565
23566declare class Octokit {
23567 constructor(options?: Octokit.Options);
23568 authenticate(auth: Octokit.AuthBasic): void;
23569 authenticate(auth: Octokit.AuthOAuthToken): void;
23570 authenticate(auth: Octokit.AuthOAuthSecret): void;
23571 authenticate(auth: Octokit.AuthUserToken): void;
23572 authenticate(auth: Octokit.AuthJWT): void;
23573
23574 hook: {
23575 before(
23576 name: string,
23577 callback: (options: Octokit.HookOptions) => void
23578 ): void;
23579 after(
23580 name: string,
23581 callback: (
23582 response: Octokit.Response<any>,
23583 options: Octokit.HookOptions
23584 ) => void
23585 ): void;
23586 error(
23587 name: string,
23588 callback: (error: Octokit.HookError, options: Octokit.HookOptions) => void
23589 ): void;
23590 wrap(
23591 name: string,
23592 callback: (
23593 request: (
23594 options: Octokit.HookOptions
23595 ) => Promise<Octokit.Response<any>>,
23596 options: Octokit.HookOptions
23597 ) => void
23598 ): void;
23599 };
23600
23601 static plugin(plugin: Octokit.Plugin | [Octokit.Plugin]): Octokit.Static;
23602
23603 registerEndpoints(endpoints: {
23604 [scope: string]: Octokit.EndpointOptions;
23605 }): void;
23606
23607 request: Octokit.Request;
23608
23609 paginate: Octokit.Paginate;
23610
23611 log: Octokit.Log;
23612
23613 oauthAuthorizations: {
23614 /**
23615 * You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `["repo", "user"]`.
23616 */
23617 listGrants: {
23618 (params?: Octokit.OauthAuthorizationsListGrantsParams): Promise<
23619 Octokit.Response<Octokit.OauthAuthorizationsListGrantsResponse>
23620 >;
23621
23622 endpoint: Octokit.Endpoint;
23623 };
23624
23625 getGrant: {
23626 (params?: Octokit.OauthAuthorizationsGetGrantParams): Promise<
23627 Octokit.Response<Octokit.OauthAuthorizationsGetGrantResponse>
23628 >;
23629
23630 endpoint: Octokit.Endpoint;
23631 };
23632 /**
23633 * Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
23634 */
23635 deleteGrant: {
23636 (params?: Octokit.OauthAuthorizationsDeleteGrantParams): Promise<
23637 Octokit.Response<Octokit.OauthAuthorizationsDeleteGrantResponse>
23638 >;
23639
23640 endpoint: Octokit.Endpoint;
23641 };
23642
23643 listAuthorizations: {
23644 (params?: Octokit.OauthAuthorizationsListAuthorizationsParams): Promise<
23645 Octokit.Response<Octokit.OauthAuthorizationsListAuthorizationsResponse>
23646 >;
23647
23648 endpoint: Octokit.Endpoint;
23649 };
23650
23651 getAuthorization: {
23652 (params?: Octokit.OauthAuthorizationsGetAuthorizationParams): Promise<
23653 Octokit.Response<Octokit.OauthAuthorizationsGetAuthorizationResponse>
23654 >;
23655
23656 endpoint: Octokit.Endpoint;
23657 };
23658 /**
23659 * If you need a small number of personal access tokens, implementing the [web flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/) can be cumbersome. Instead, tokens can be created using the OAuth Authorizations API using [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication). To create personal access tokens for a particular OAuth application, you must provide its client ID and secret, found on the OAuth application settings page, linked from your [OAuth applications listing on GitHub](https://github.com/settings/developers).,* ,* If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.,* ,* You can also create OAuth tokens through the web UI via the [personal access tokens settings](https://github.com/settings/tokens). Read more about these tokens on the [GitHub Help site](https://help.github.com/articles/creating-an-access-token-for-command-line-use).,* ,* Organizations that enforce SAML SSO require personal access tokens to be whitelisted. Read more about whitelisting tokens on the [GitHub Help site](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).
23660 */
23661 createAuthorization: {
23662 (params?: Octokit.OauthAuthorizationsCreateAuthorizationParams): Promise<
23663 Octokit.Response<Octokit.OauthAuthorizationsCreateAuthorizationResponse>
23664 >;
23665
23666 endpoint: Octokit.Endpoint;
23667 };
23668 /**
23669 * This method will create a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
23670 */
23671 getOrCreateAuthorizationForApp: {
23672 (
23673 params?: Octokit.OauthAuthorizationsGetOrCreateAuthorizationForAppParams
23674 ): Promise<Octokit.AnyResponse>;
23675
23676 endpoint: Octokit.Endpoint;
23677 };
23678 /**
23679 * This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
23680 */
23681 getOrCreateAuthorizationForAppAndFingerprint: {
23682 (
23683 params?: Octokit.OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintParams
23684 ): Promise<Octokit.AnyResponse>;
23685
23686 endpoint: Octokit.Endpoint;
23687 };
23688 /**
23689 * This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.
23690 */
23691 getOrCreateAuthorizationForAppFingerprint: {
23692 (
23693 params?: Octokit.OauthAuthorizationsGetOrCreateAuthorizationForAppFingerprintParams
23694 ): Promise<Octokit.AnyResponse>;
23695
23696 endpoint: Octokit.Endpoint;
23697 };
23698 /**
23699 * You can only send one of these scope keys at a time.
23700 */
23701 updateAuthorization: {
23702 (params?: Octokit.OauthAuthorizationsUpdateAuthorizationParams): Promise<
23703 Octokit.Response<Octokit.OauthAuthorizationsUpdateAuthorizationResponse>
23704 >;
23705
23706 endpoint: Octokit.Endpoint;
23707 };
23708
23709 deleteAuthorization: {
23710 (params?: Octokit.OauthAuthorizationsDeleteAuthorizationParams): Promise<
23711 Octokit.Response<Octokit.OauthAuthorizationsDeleteAuthorizationResponse>
23712 >;
23713
23714 endpoint: Octokit.Endpoint;
23715 };
23716 /**
23717 * OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.
23718 */
23719 checkAuthorization: {
23720 (params?: Octokit.OauthAuthorizationsCheckAuthorizationParams): Promise<
23721 Octokit.Response<Octokit.OauthAuthorizationsCheckAuthorizationResponse>
23722 >;
23723
23724 endpoint: Octokit.Endpoint;
23725 };
23726 /**
23727 * OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the "token" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.
23728 */
23729 resetAuthorization: {
23730 (params?: Octokit.OauthAuthorizationsResetAuthorizationParams): Promise<
23731 Octokit.Response<Octokit.OauthAuthorizationsResetAuthorizationResponse>
23732 >;
23733
23734 endpoint: Octokit.Endpoint;
23735 };
23736 /**
23737 * OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.
23738 */
23739 revokeAuthorizationForApplication: {
23740 (
23741 params?: Octokit.OauthAuthorizationsRevokeAuthorizationForApplicationParams
23742 ): Promise<
23743 Octokit.Response<
23744 Octokit.OauthAuthorizationsRevokeAuthorizationForApplicationResponse
23745 >
23746 >;
23747
23748 endpoint: Octokit.Endpoint;
23749 };
23750 /**
23751 * OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:token` and the grant for the token's owner will be deleted.,* ,* Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).
23752 */
23753 revokeGrantForApplication: {
23754 (
23755 params?: Octokit.OauthAuthorizationsRevokeGrantForApplicationParams
23756 ): Promise<
23757 Octokit.Response<
23758 Octokit.OauthAuthorizationsRevokeGrantForApplicationResponse
23759 >
23760 >;
23761
23762 endpoint: Octokit.Endpoint;
23763 };
23764 };
23765 activity: {
23766 /**
23767 * We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
23768 */
23769 listPublicEvents: {
23770 (params?: Octokit.ActivityListPublicEventsParams): Promise<
23771 Octokit.AnyResponse
23772 >;
23773
23774 endpoint: Octokit.Endpoint;
23775 };
23776
23777 listRepoEvents: {
23778 (params?: Octokit.ActivityListRepoEventsParams): Promise<
23779 Octokit.AnyResponse
23780 >;
23781
23782 endpoint: Octokit.Endpoint;
23783 };
23784
23785 listPublicEventsForRepoNetwork: {
23786 (params?: Octokit.ActivityListPublicEventsForRepoNetworkParams): Promise<
23787 Octokit.AnyResponse
23788 >;
23789
23790 endpoint: Octokit.Endpoint;
23791 };
23792
23793 listPublicEventsForOrg: {
23794 (params?: Octokit.ActivityListPublicEventsForOrgParams): Promise<
23795 Octokit.AnyResponse
23796 >;
23797
23798 endpoint: Octokit.Endpoint;
23799 };
23800 /**
23801 * These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
23802 */
23803 listReceivedEventsForUser: {
23804 (params?: Octokit.ActivityListReceivedEventsForUserParams): Promise<
23805 Octokit.AnyResponse
23806 >;
23807
23808 endpoint: Octokit.Endpoint;
23809 };
23810
23811 listReceivedPublicEventsForUser: {
23812 (params?: Octokit.ActivityListReceivedPublicEventsForUserParams): Promise<
23813 Octokit.AnyResponse
23814 >;
23815
23816 endpoint: Octokit.Endpoint;
23817 };
23818 /**
23819 * If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
23820 */
23821 listEventsForUser: {
23822 (params?: Octokit.ActivityListEventsForUserParams): Promise<
23823 Octokit.AnyResponse
23824 >;
23825
23826 endpoint: Octokit.Endpoint;
23827 };
23828
23829 listPublicEventsForUser: {
23830 (params?: Octokit.ActivityListPublicEventsForUserParams): Promise<
23831 Octokit.AnyResponse
23832 >;
23833
23834 endpoint: Octokit.Endpoint;
23835 };
23836 /**
23837 * This is the user's organization dashboard. You must be authenticated as the user to view this.
23838 */
23839 listEventsForOrg: {
23840 (params?: Octokit.ActivityListEventsForOrgParams): Promise<
23841 Octokit.AnyResponse
23842 >;
23843
23844 endpoint: Octokit.Endpoint;
23845 };
23846 /**
23847 * GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:,* ,* * **Timeline**: The GitHub global public timeline,* * **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia),* * **Current user public**: The public timeline for the authenticated user,* * **Current user**: The private timeline for the authenticated user,* * **Current user actor**: The private timeline for activity created by the authenticated user,* * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.,* * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.,* ,* **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.
23848 */
23849 listFeeds: {
23850 (params?: Octokit.EmptyParams): Promise<
23851 Octokit.Response<Octokit.ActivityListFeedsResponse>
23852 >;
23853
23854 endpoint: Octokit.Endpoint;
23855 };
23856 /**
23857 * List all notifications for the current user, sorted by most recently updated.
23858 */
23859 listNotifications: {
23860 (params?: Octokit.ActivityListNotificationsParams): Promise<
23861 Octokit.Response<Octokit.ActivityListNotificationsResponse>
23862 >;
23863
23864 endpoint: Octokit.Endpoint;
23865 };
23866 /**
23867 * List all notifications for the current user.
23868 */
23869 listNotificationsForRepo: {
23870 (params?: Octokit.ActivityListNotificationsForRepoParams): Promise<
23871 Octokit.Response<Octokit.ActivityListNotificationsForRepoResponse>
23872 >;
23873
23874 endpoint: Octokit.Endpoint;
23875 };
23876 /**
23877 * Marking a notification as "read" removes it from the [default view on GitHub](https://github.com/notifications).
23878 */
23879 markAsRead: {
23880 (params?: Octokit.ActivityMarkAsReadParams): Promise<
23881 Octokit.Response<Octokit.ActivityMarkAsReadResponse>
23882 >;
23883
23884 endpoint: Octokit.Endpoint;
23885 };
23886 /**
23887 * Marking all notifications in a repository as "read" removes them from the [default view on GitHub](https://github.com/notifications).
23888 */
23889 markNotificationsAsReadForRepo: {
23890 (params?: Octokit.ActivityMarkNotificationsAsReadForRepoParams): Promise<
23891 Octokit.Response<Octokit.ActivityMarkNotificationsAsReadForRepoResponse>
23892 >;
23893
23894 endpoint: Octokit.Endpoint;
23895 };
23896
23897 getThread: {
23898 (params?: Octokit.ActivityGetThreadParams): Promise<
23899 Octokit.Response<Octokit.ActivityGetThreadResponse>
23900 >;
23901
23902 endpoint: Octokit.Endpoint;
23903 };
23904
23905 markThreadAsRead: {
23906 (params?: Octokit.ActivityMarkThreadAsReadParams): Promise<
23907 Octokit.Response<Octokit.ActivityMarkThreadAsReadResponse>
23908 >;
23909
23910 endpoint: Octokit.Endpoint;
23911 };
23912 /**
23913 * This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/v3/activity/watching/#get-a-repository-subscription).,* ,* Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.
23914 */
23915 getThreadSubscription: {
23916 (params?: Octokit.ActivityGetThreadSubscriptionParams): Promise<
23917 Octokit.Response<Octokit.ActivityGetThreadSubscriptionResponse>
23918 >;
23919
23920 endpoint: Octokit.Endpoint;
23921 };
23922 /**
23923 * This lets you subscribe or unsubscribe from a conversation.
23924 */
23925 setThreadSubscription: {
23926 (params?: Octokit.ActivitySetThreadSubscriptionParams): Promise<
23927 Octokit.Response<Octokit.ActivitySetThreadSubscriptionResponse>
23928 >;
23929
23930 endpoint: Octokit.Endpoint;
23931 };
23932 /**
23933 * Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.
23934 */
23935 deleteThreadSubscription: {
23936 (params?: Octokit.ActivityDeleteThreadSubscriptionParams): Promise<
23937 Octokit.Response<Octokit.ActivityDeleteThreadSubscriptionResponse>
23938 >;
23939
23940 endpoint: Octokit.Endpoint;
23941 };
23942 /**
23943 * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
23944 */
23945 listStargazersForRepo: {
23946 (params?: Octokit.ActivityListStargazersForRepoParams): Promise<
23947 Octokit.Response<Octokit.ActivityListStargazersForRepoResponse>
23948 >;
23949
23950 endpoint: Octokit.Endpoint;
23951 };
23952 /**
23953 * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
23954 */
23955 listReposStarredByUser: {
23956 (params?: Octokit.ActivityListReposStarredByUserParams): Promise<
23957 Octokit.Response<Octokit.ActivityListReposStarredByUserResponse>
23958 >;
23959
23960 endpoint: Octokit.Endpoint;
23961 };
23962 /**
23963 * You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
23964 */
23965 listReposStarredByAuthenticatedUser: {
23966 (
23967 params?: Octokit.ActivityListReposStarredByAuthenticatedUserParams
23968 ): Promise<
23969 Octokit.Response<
23970 Octokit.ActivityListReposStarredByAuthenticatedUserResponse
23971 >
23972 >;
23973
23974 endpoint: Octokit.Endpoint;
23975 };
23976 /**
23977 * Requires for the user to be authenticated.
23978 */
23979 checkStarringRepo: {
23980 (params?: Octokit.ActivityCheckStarringRepoParams): Promise<
23981 Octokit.AnyResponse
23982 >;
23983
23984 endpoint: Octokit.Endpoint;
23985 };
23986 /**
23987 * Requires for the user to be authenticated.,* ,* Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)."
23988 */
23989 starRepo: {
23990 (params?: Octokit.ActivityStarRepoParams): Promise<
23991 Octokit.Response<Octokit.ActivityStarRepoResponse>
23992 >;
23993
23994 endpoint: Octokit.Endpoint;
23995 };
23996 /**
23997 * Requires for the user to be authenticated.
23998 */
23999 unstarRepo: {
24000 (params?: Octokit.ActivityUnstarRepoParams): Promise<
24001 Octokit.Response<Octokit.ActivityUnstarRepoResponse>
24002 >;
24003
24004 endpoint: Octokit.Endpoint;
24005 };
24006
24007 listWatchersForRepo: {
24008 (params?: Octokit.ActivityListWatchersForRepoParams): Promise<
24009 Octokit.Response<Octokit.ActivityListWatchersForRepoResponse>
24010 >;
24011
24012 endpoint: Octokit.Endpoint;
24013 };
24014
24015 listReposWatchedByUser: {
24016 (params?: Octokit.ActivityListReposWatchedByUserParams): Promise<
24017 Octokit.Response<Octokit.ActivityListReposWatchedByUserResponse>
24018 >;
24019
24020 endpoint: Octokit.Endpoint;
24021 };
24022
24023 listWatchedReposForAuthenticatedUser: {
24024 (
24025 params?: Octokit.ActivityListWatchedReposForAuthenticatedUserParams
24026 ): Promise<
24027 Octokit.Response<
24028 Octokit.ActivityListWatchedReposForAuthenticatedUserResponse
24029 >
24030 >;
24031
24032 endpoint: Octokit.Endpoint;
24033 };
24034
24035 getRepoSubscription: {
24036 (params?: Octokit.ActivityGetRepoSubscriptionParams): Promise<
24037 Octokit.AnyResponse
24038 >;
24039
24040 endpoint: Octokit.Endpoint;
24041 };
24042 /**
24043 * If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](#delete-a-repository-subscription) completely.
24044 */
24045 setRepoSubscription: {
24046 (params?: Octokit.ActivitySetRepoSubscriptionParams): Promise<
24047 Octokit.Response<Octokit.ActivitySetRepoSubscriptionResponse>
24048 >;
24049
24050 endpoint: Octokit.Endpoint;
24051 };
24052 /**
24053 * This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](#set-a-repository-subscription).
24054 */
24055 deleteRepoSubscription: {
24056 (params?: Octokit.ActivityDeleteRepoSubscriptionParams): Promise<
24057 Octokit.Response<Octokit.ActivityDeleteRepoSubscriptionResponse>
24058 >;
24059
24060 endpoint: Octokit.Endpoint;
24061 };
24062 };
24063 checks: {
24064 /**
24065 * Creates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.
24066 */
24067 create: {
24068 (params?: Octokit.ChecksCreateParams): Promise<
24069 Octokit.Response<Octokit.ChecksCreateResponse>
24070 >;
24071
24072 endpoint: Octokit.Endpoint;
24073 };
24074 /**
24075 * Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.
24076 */
24077 update: {
24078 (params?: Octokit.ChecksUpdateParams): Promise<
24079 Octokit.Response<Octokit.ChecksUpdateResponse>
24080 >;
24081
24082 endpoint: Octokit.Endpoint;
24083 };
24084 /**
24085 * Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
24086 */
24087 listForRef: {
24088 (params?: Octokit.ChecksListForRefParams): Promise<
24089 Octokit.Response<Octokit.ChecksListForRefResponse>
24090 >;
24091
24092 endpoint: Octokit.Endpoint;
24093 };
24094 /**
24095 * Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
24096 */
24097 listForSuite: {
24098 (params?: Octokit.ChecksListForSuiteParams): Promise<
24099 Octokit.Response<Octokit.ChecksListForSuiteResponse>
24100 >;
24101
24102 endpoint: Octokit.Endpoint;
24103 };
24104 /**
24105 * Gets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.
24106 */
24107 get: {
24108 (params?: Octokit.ChecksGetParams): Promise<
24109 Octokit.Response<Octokit.ChecksGetResponse>
24110 >;
24111
24112 endpoint: Octokit.Endpoint;
24113 };
24114 /**
24115 * Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.
24116 */
24117 listAnnotations: {
24118 (params?: Octokit.ChecksListAnnotationsParams): Promise<
24119 Octokit.Response<Octokit.ChecksListAnnotationsResponse>
24120 >;
24121
24122 endpoint: Octokit.Endpoint;
24123 };
24124 /**
24125 * Gets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.
24126 */
24127 getSuite: {
24128 (params?: Octokit.ChecksGetSuiteParams): Promise<
24129 Octokit.Response<Octokit.ChecksGetSuiteResponse>
24130 >;
24131
24132 endpoint: Octokit.Endpoint;
24133 };
24134 /**
24135 * Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.
24136 */
24137 listSuitesForRef: {
24138 (params?: Octokit.ChecksListSuitesForRefParams): Promise<
24139 Octokit.Response<Octokit.ChecksListSuitesForRefResponse>
24140 >;
24141
24142 endpoint: Octokit.Endpoint;
24143 };
24144 /**
24145 * Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.
24146 */
24147 setSuitesPreferences: {
24148 (params?: Octokit.ChecksSetSuitesPreferencesParams): Promise<
24149 Octokit.Response<Octokit.ChecksSetSuitesPreferencesResponse>
24150 >;
24151
24152 endpoint: Octokit.Endpoint;
24153 };
24154 /**
24155 * By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Set preferences for check suites on a repository](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)". Your GitHub App must have the `checks:write` permission to create check suites.
24156 */
24157 createSuite: {
24158 (params?: Octokit.ChecksCreateSuiteParams): Promise<
24159 Octokit.Response<Octokit.ChecksCreateSuiteResponse>
24160 >;
24161
24162 endpoint: Octokit.Endpoint;
24163 };
24164 /**
24165 * Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.,* ,* To rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.
24166 */
24167 rerequestSuite: {
24168 (params?: Octokit.ChecksRerequestSuiteParams): Promise<
24169 Octokit.Response<Octokit.ChecksRerequestSuiteResponse>
24170 >;
24171
24172 endpoint: Octokit.Endpoint;
24173 };
24174 };
24175 gists: {
24176 listPublicForUser: {
24177 (params?: Octokit.GistsListPublicForUserParams): Promise<
24178 Octokit.Response<Octokit.GistsListPublicForUserResponse>
24179 >;
24180
24181 endpoint: Octokit.Endpoint;
24182 };
24183
24184 list: {
24185 (params?: Octokit.GistsListParams): Promise<
24186 Octokit.Response<Octokit.GistsListResponse>
24187 >;
24188
24189 endpoint: Octokit.Endpoint;
24190 };
24191 /**
24192 * List all public gists sorted by most recently updated to least recently updated.,* ,* Note: With [pagination](https://developer.github.com/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.
24193 */
24194 listPublic: {
24195 (params?: Octokit.GistsListPublicParams): Promise<
24196 Octokit.Response<Octokit.GistsListPublicResponse>
24197 >;
24198
24199 endpoint: Octokit.Endpoint;
24200 };
24201 /**
24202 * List the authenticated user's starred gists:
24203 */
24204 listStarred: {
24205 (params?: Octokit.GistsListStarredParams): Promise<
24206 Octokit.Response<Octokit.GistsListStarredResponse>
24207 >;
24208
24209 endpoint: Octokit.Endpoint;
24210 };
24211
24212 get: {
24213 (params?: Octokit.GistsGetParams): Promise<
24214 Octokit.Response<Octokit.GistsGetResponse>
24215 >;
24216
24217 endpoint: Octokit.Endpoint;
24218 };
24219
24220 getRevision: {
24221 (params?: Octokit.GistsGetRevisionParams): Promise<
24222 Octokit.Response<Octokit.GistsGetRevisionResponse>
24223 >;
24224
24225 endpoint: Octokit.Endpoint;
24226 };
24227 /**
24228 * Allows you to add a new gist with one or more files.,* ,* **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.
24229 */
24230 create: {
24231 (params?: Octokit.GistsCreateParams): Promise<
24232 Octokit.Response<Octokit.GistsCreateResponse>
24233 >;
24234
24235 endpoint: Octokit.Endpoint;
24236 };
24237 /**
24238 * Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.
24239 */
24240 update: {
24241 (params?: Octokit.GistsUpdateParams): Promise<
24242 Octokit.Response<Octokit.GistsUpdateResponse>
24243 >;
24244
24245 endpoint: Octokit.Endpoint;
24246 };
24247
24248 listCommits: {
24249 (params?: Octokit.GistsListCommitsParams): Promise<
24250 Octokit.Response<Octokit.GistsListCommitsResponse>
24251 >;
24252
24253 endpoint: Octokit.Endpoint;
24254 };
24255 /**
24256 * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)."
24257 */
24258 star: {
24259 (params?: Octokit.GistsStarParams): Promise<
24260 Octokit.Response<Octokit.GistsStarResponse>
24261 >;
24262
24263 endpoint: Octokit.Endpoint;
24264 };
24265
24266 unstar: {
24267 (params?: Octokit.GistsUnstarParams): Promise<
24268 Octokit.Response<Octokit.GistsUnstarResponse>
24269 >;
24270
24271 endpoint: Octokit.Endpoint;
24272 };
24273
24274 checkIsStarred: {
24275 (params?: Octokit.GistsCheckIsStarredParams): Promise<
24276 Octokit.AnyResponse
24277 >;
24278
24279 endpoint: Octokit.Endpoint;
24280 };
24281 /**
24282 * **Note**: This was previously `/gists/:gist_id/fork`.
24283 */
24284 fork: {
24285 (params?: Octokit.GistsForkParams): Promise<
24286 Octokit.Response<Octokit.GistsForkResponse>
24287 >;
24288
24289 endpoint: Octokit.Endpoint;
24290 };
24291
24292 listForks: {
24293 (params?: Octokit.GistsListForksParams): Promise<
24294 Octokit.Response<Octokit.GistsListForksResponse>
24295 >;
24296
24297 endpoint: Octokit.Endpoint;
24298 };
24299
24300 delete: {
24301 (params?: Octokit.GistsDeleteParams): Promise<
24302 Octokit.Response<Octokit.GistsDeleteResponse>
24303 >;
24304
24305 endpoint: Octokit.Endpoint;
24306 };
24307
24308 listComments: {
24309 (params?: Octokit.GistsListCommentsParams): Promise<
24310 Octokit.Response<Octokit.GistsListCommentsResponse>
24311 >;
24312
24313 endpoint: Octokit.Endpoint;
24314 };
24315
24316 getComment: {
24317 (params?: Octokit.GistsGetCommentParams): Promise<
24318 Octokit.Response<Octokit.GistsGetCommentResponse>
24319 >;
24320
24321 endpoint: Octokit.Endpoint;
24322 };
24323
24324 createComment: {
24325 (params?: Octokit.GistsCreateCommentParams): Promise<
24326 Octokit.Response<Octokit.GistsCreateCommentResponse>
24327 >;
24328
24329 endpoint: Octokit.Endpoint;
24330 };
24331
24332 updateComment: {
24333 (params?: Octokit.GistsUpdateCommentParams): Promise<
24334 Octokit.Response<Octokit.GistsUpdateCommentResponse>
24335 >;
24336
24337 endpoint: Octokit.Endpoint;
24338 };
24339
24340 deleteComment: {
24341 (params?: Octokit.GistsDeleteCommentParams): Promise<
24342 Octokit.Response<Octokit.GistsDeleteCommentResponse>
24343 >;
24344
24345 endpoint: Octokit.Endpoint;
24346 };
24347 };
24348 git: {
24349 /**
24350 * The `content` in the response will always be Base64 encoded.,* ,* _Note_: This API supports blobs up to 100 megabytes in size.
24351 */
24352 getBlob: {
24353 (params?: Octokit.GitGetBlobParams): Promise<
24354 Octokit.Response<Octokit.GitGetBlobResponse>
24355 >;
24356
24357 endpoint: Octokit.Endpoint;
24358 };
24359
24360 createBlob: {
24361 (params?: Octokit.GitCreateBlobParams): Promise<
24362 Octokit.Response<Octokit.GitCreateBlobResponse>
24363 >;
24364
24365 endpoint: Octokit.Endpoint;
24366 };
24367 /**
24368 * Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).
24369 */
24370 getCommit: {
24371 (params?: Octokit.GitGetCommitParams): Promise<
24372 Octokit.Response<Octokit.GitGetCommitResponse>
24373 >;
24374
24375 endpoint: Octokit.Endpoint;
24376 };
24377 /**
24378 * Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).,* ,* The `committer` section is optional and will be filled with the `author` data if omitted. If the `author` section is omitted, it will be filled in with the authenticated user's information and the current date.,* ,* Both the `author` and `committer` parameters have the same keys:,* ,* | name | type | description |,* | ----- | ------ | ----------------------------------------------------------------------------------------------------------------------- |,* | name | string | The name of the author (or committer) of the commit |,* | email | string | The email of the author (or committer) of the commit |,* | date | string | Indicates when this commit was authored (or committed). This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. |,* ,* You can also provide an optional string `signature` parameter. This value will be added to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database.,* ,* **Note**: To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits.,* ,* In this example, the payload that the signature is over would have been:,* ,*
24379 */
24380 createCommit: {
24381 (params?: Octokit.GitCreateCommitParams): Promise<
24382 Octokit.Response<Octokit.GitCreateCommitResponse>
24383 >;
24384
24385 endpoint: Octokit.Endpoint;
24386 };
24387 /**
24388 * Returns a branch or tag reference. Other than the [REST API](https://developer.github.com/v3/git/refs/#get-a-reference) it always returns a single reference. If the REST API returns with an array then the method responds with an error.
24389 */
24390 getRef: {
24391 (params?: Octokit.GitGetRefParams): Promise<Octokit.AnyResponse>;
24392
24393 endpoint: Octokit.Endpoint;
24394 };
24395 /**
24396 * This will return an array of all the references on the system, including things like notes and stashes if they exist on the server
24397 */
24398 listRefs: {
24399 (params?: Octokit.GitListRefsParams): Promise<Octokit.AnyResponse>;
24400
24401 endpoint: Octokit.Endpoint;
24402 };
24403 /**
24404 * Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.
24405 */
24406 createRef: {
24407 (params?: Octokit.GitCreateRefParams): Promise<
24408 Octokit.Response<Octokit.GitCreateRefResponse>
24409 >;
24410
24411 endpoint: Octokit.Endpoint;
24412 };
24413
24414 updateRef: {
24415 (params?: Octokit.GitUpdateRefParams): Promise<
24416 Octokit.Response<Octokit.GitUpdateRefResponse>
24417 >;
24418
24419 endpoint: Octokit.Endpoint;
24420 };
24421 /**
24422 * Example: Deleting a branch:,* ,* ```,* DELETE /repos/octocat/Hello-World/git/refs/heads/feature-a,* ```,* ,* Example: Deleting a tag:,* ,* ```,* DELETE /repos/octocat/Hello-World/git/refs/tags/v1.0,* ```
24423 */
24424 deleteRef: {
24425 (params?: Octokit.GitDeleteRefParams): Promise<
24426 Octokit.Response<Octokit.GitDeleteRefResponse>
24427 >;
24428
24429 endpoint: Octokit.Endpoint;
24430 };
24431
24432 getTag: {
24433 (params?: Octokit.GitGetTagParams): Promise<
24434 Octokit.Response<Octokit.GitGetTagResponse>
24435 >;
24436
24437 endpoint: Octokit.Endpoint;
24438 };
24439 /**
24440 * Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.
24441 */
24442 createTag: {
24443 (params?: Octokit.GitCreateTagParams): Promise<
24444 Octokit.Response<Octokit.GitCreateTagResponse>
24445 >;
24446
24447 endpoint: Octokit.Endpoint;
24448 };
24449 /**
24450 * If `truncated` in the response is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, omit the `recursive` parameter, and fetch one sub-tree at a time. If you need to fetch even more items, you can clone the repository and iterate over the Git data locally.
24451 */
24452 getTree: {
24453 (params?: Octokit.GitGetTreeParams): Promise<Octokit.AnyResponse>;
24454
24455 endpoint: Octokit.Endpoint;
24456 };
24457 /**
24458 * The tree creation API will take nested entries as well. If both a tree and a nested path modifying that tree are specified, it will overwrite the contents of that tree with the new path contents and write a new tree out.
24459 */
24460 createTree: {
24461 (params?: Octokit.GitCreateTreeParams): Promise<
24462 Octokit.Response<Octokit.GitCreateTreeResponse>
24463 >;
24464
24465 endpoint: Octokit.Endpoint;
24466 };
24467 };
24468 apps: {
24469 /**
24470 * **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).,* ,* If the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
24471 */
24472 getBySlug: {
24473 (params?: Octokit.AppsGetBySlugParams): Promise<
24474 Octokit.Response<Octokit.AppsGetBySlugResponse>
24475 >;
24476
24477 endpoint: Octokit.Endpoint;
24478 };
24479 /**
24480 * Returns the GitHub App associated with the authentication credentials used.,* ,* You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
24481 */
24482 getAuthenticated: {
24483 (params?: Octokit.EmptyParams): Promise<
24484 Octokit.Response<Octokit.AppsGetAuthenticatedResponse>
24485 >;
24486
24487 endpoint: Octokit.Endpoint;
24488 };
24489 /**
24490 * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.,* ,* The permissions the installation has are included under the `permissions` key.
24491 */
24492 listInstallations: {
24493 (params?: Octokit.AppsListInstallationsParams): Promise<
24494 Octokit.Response<Octokit.AppsListInstallationsResponse>
24495 >;
24496
24497 endpoint: Octokit.Endpoint;
24498 };
24499 /**
24500 * You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
24501 */
24502 getInstallation: {
24503 (params?: Octokit.AppsGetInstallationParams): Promise<
24504 Octokit.Response<Octokit.AppsGetInstallationResponse>
24505 >;
24506
24507 endpoint: Octokit.Endpoint;
24508 };
24509 /**
24510 * Lists installations in a repository that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.,* ,* You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.,* ,* The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.,* ,* The permissions the installation has are included under the `permissions` key.
24511 */
24512 listInstallationsForAuthenticatedUser: {
24513 (
24514 params?: Octokit.AppsListInstallationsForAuthenticatedUserParams
24515 ): Promise<
24516 Octokit.Response<
24517 Octokit.AppsListInstallationsForAuthenticatedUserResponse
24518 >
24519 >;
24520
24521 endpoint: Octokit.Endpoint;
24522 };
24523 /**
24524 * Creates an access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.,* ,* You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
24525 */
24526 createInstallationToken: {
24527 (params?: Octokit.AppsCreateInstallationTokenParams): Promise<
24528 Octokit.Response<Octokit.AppsCreateInstallationTokenResponse>
24529 >;
24530
24531 endpoint: Octokit.Endpoint;
24532 };
24533 /**
24534 * Enables an authenticated GitHub App to find the organization's installation information.,* ,* You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
24535 */
24536 findOrgInstallation: {
24537 (params?: Octokit.AppsFindOrgInstallationParams): Promise<
24538 Octokit.Response<Octokit.AppsFindOrgInstallationResponse>
24539 >;
24540
24541 endpoint: Octokit.Endpoint;
24542 };
24543 /**
24544 * Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.,* ,* You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
24545 */
24546 findRepoInstallation: {
24547 (params?: Octokit.AppsFindRepoInstallationParams): Promise<
24548 Octokit.Response<Octokit.AppsFindRepoInstallationResponse>
24549 >;
24550
24551 endpoint: Octokit.Endpoint;
24552 };
24553 /**
24554 * Enables an authenticated GitHub App to find the user’s installation information.,* ,* You must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
24555 */
24556 findUserInstallation: {
24557 (params?: Octokit.AppsFindUserInstallationParams): Promise<
24558 Octokit.Response<Octokit.AppsFindUserInstallationResponse>
24559 >;
24560
24561 endpoint: Octokit.Endpoint;
24562 };
24563 /**
24564 * Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.
24565 */
24566 createFromManifest: {
24567 (params?: Octokit.AppsCreateFromManifestParams): Promise<
24568 Octokit.Response<Octokit.AppsCreateFromManifestResponse>
24569 >;
24570
24571 endpoint: Octokit.Endpoint;
24572 };
24573 /**
24574 * Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/v3/activity/events/types/#contentreferenceevent) to create an attachment.,* ,* The app must create a content attachment within six hours of the content reference URL being posted. See "[Using content attachments](https://developer.github.com/apps/using-content-attachments/)" for details about content attachments.,* ,* You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.,* ,* This example creates a content attachment for the domain `https://errors.ai/`.
24575 */
24576 createContentAttachment: {
24577 (params?: Octokit.AppsCreateContentAttachmentParams): Promise<
24578 Octokit.Response<Octokit.AppsCreateContentAttachmentResponse>
24579 >;
24580
24581 endpoint: Octokit.Endpoint;
24582 };
24583 /**
24584 * List repositories that an installation can access.,* ,* You must use an [installation access token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.
24585 */
24586 listRepos: {
24587 (params?: Octokit.AppsListReposParams): Promise<
24588 Octokit.Response<Octokit.AppsListReposResponse>
24589 >;
24590
24591 endpoint: Octokit.Endpoint;
24592 };
24593 /**
24594 * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.,* ,* The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.,* ,* You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.,* ,* The access the user has to each repository is included in the hash under the `permissions` key.
24595 */
24596 listInstallationReposForAuthenticatedUser: {
24597 (
24598 params?: Octokit.AppsListInstallationReposForAuthenticatedUserParams
24599 ): Promise<
24600 Octokit.Response<
24601 Octokit.AppsListInstallationReposForAuthenticatedUserResponse
24602 >
24603 >;
24604
24605 endpoint: Octokit.Endpoint;
24606 };
24607 /**
24608 * Add a single repository to an installation. The authenticated user must have admin access to the repository.,* ,* You must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.
24609 */
24610 addRepoToInstallation: {
24611 (params?: Octokit.AppsAddRepoToInstallationParams): Promise<
24612 Octokit.Response<Octokit.AppsAddRepoToInstallationResponse>
24613 >;
24614
24615 endpoint: Octokit.Endpoint;
24616 };
24617 /**
24618 * Remove a single repository from an installation. The authenticated user must have admin access to the repository.,* ,* You must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.
24619 */
24620 removeRepoFromInstallation: {
24621 (params?: Octokit.AppsRemoveRepoFromInstallationParams): Promise<
24622 Octokit.Response<Octokit.AppsRemoveRepoFromInstallationResponse>
24623 >;
24624
24625 endpoint: Octokit.Endpoint;
24626 };
24627 /**
24628 * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
24629 */
24630 listPlans: {
24631 (params?: Octokit.AppsListPlansParams): Promise<
24632 Octokit.Response<Octokit.AppsListPlansResponse>
24633 >;
24634
24635 endpoint: Octokit.Endpoint;
24636 };
24637 /**
24638 * GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
24639 */
24640 listPlansStubbed: {
24641 (params?: Octokit.AppsListPlansStubbedParams): Promise<
24642 Octokit.Response<Octokit.AppsListPlansStubbedResponse>
24643 >;
24644
24645 endpoint: Octokit.Endpoint;
24646 };
24647 /**
24648 * Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.,* ,* GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
24649 */
24650 listAccountsUserOrOrgOnPlan: {
24651 (params?: Octokit.AppsListAccountsUserOrOrgOnPlanParams): Promise<
24652 Octokit.Response<Octokit.AppsListAccountsUserOrOrgOnPlanResponse>
24653 >;
24654
24655 endpoint: Octokit.Endpoint;
24656 };
24657 /**
24658 * Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.,* ,* GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
24659 */
24660 listAccountsUserOrOrgOnPlanStubbed: {
24661 (params?: Octokit.AppsListAccountsUserOrOrgOnPlanStubbedParams): Promise<
24662 Octokit.Response<Octokit.AppsListAccountsUserOrOrgOnPlanStubbedResponse>
24663 >;
24664
24665 endpoint: Octokit.Endpoint;
24666 };
24667 /**
24668 * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.,* ,* GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
24669 */
24670 checkAccountIsAssociatedWithAny: {
24671 (params?: Octokit.AppsCheckAccountIsAssociatedWithAnyParams): Promise<
24672 Octokit.Response<Octokit.AppsCheckAccountIsAssociatedWithAnyResponse>
24673 >;
24674
24675 endpoint: Octokit.Endpoint;
24676 };
24677 /**
24678 * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.,* ,* GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.
24679 */
24680 checkAccountIsAssociatedWithAnyStubbed: {
24681 (
24682 params?: Octokit.AppsCheckAccountIsAssociatedWithAnyStubbedParams
24683 ): Promise<
24684 Octokit.Response<
24685 Octokit.AppsCheckAccountIsAssociatedWithAnyStubbedResponse
24686 >
24687 >;
24688
24689 endpoint: Octokit.Endpoint;
24690 };
24691 /**
24692 * Returns only active subscriptions. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).
24693 */
24694 listMarketplacePurchasesForAuthenticatedUser: {
24695 (
24696 params?: Octokit.AppsListMarketplacePurchasesForAuthenticatedUserParams
24697 ): Promise<
24698 Octokit.Response<
24699 Octokit.AppsListMarketplacePurchasesForAuthenticatedUserResponse
24700 >
24701 >;
24702
24703 endpoint: Octokit.Endpoint;
24704 };
24705 /**
24706 * Returns only active subscriptions. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).
24707 */
24708 listMarketplacePurchasesForAuthenticatedUserStubbed: {
24709 (
24710 params?: Octokit.AppsListMarketplacePurchasesForAuthenticatedUserStubbedParams
24711 ): Promise<
24712 Octokit.Response<
24713 Octokit.AppsListMarketplacePurchasesForAuthenticatedUserStubbedResponse
24714 >
24715 >;
24716
24717 endpoint: Octokit.Endpoint;
24718 };
24719 };
24720 interactions: {
24721 /**
24722 * Shows which group of GitHub users can interact with this organization and when the restriction expires. If there are no restrictions, you will see an empty response.
24723 */
24724 getRestrictionsForOrg: {
24725 (params?: Octokit.InteractionsGetRestrictionsForOrgParams): Promise<
24726 Octokit.Response<Octokit.InteractionsGetRestrictionsForOrgResponse>
24727 >;
24728
24729 endpoint: Octokit.Endpoint;
24730 };
24731 /**
24732 * Temporarily restricts interactions to certain GitHub users in any public repository in the given organization. You must be an organization owner to set these restrictions.
24733 */
24734 addOrUpdateRestrictionsForOrg: {
24735 (
24736 params?: Octokit.InteractionsAddOrUpdateRestrictionsForOrgParams
24737 ): Promise<
24738 Octokit.Response<
24739 Octokit.InteractionsAddOrUpdateRestrictionsForOrgResponse
24740 >
24741 >;
24742
24743 endpoint: Octokit.Endpoint;
24744 };
24745 /**
24746 * Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.
24747 */
24748 removeRestrictionsForOrg: {
24749 (params?: Octokit.InteractionsRemoveRestrictionsForOrgParams): Promise<
24750 Octokit.Response<Octokit.InteractionsRemoveRestrictionsForOrgResponse>
24751 >;
24752
24753 endpoint: Octokit.Endpoint;
24754 };
24755 /**
24756 * Shows which group of GitHub users can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.
24757 */
24758 getRestrictionsForRepo: {
24759 (params?: Octokit.InteractionsGetRestrictionsForRepoParams): Promise<
24760 Octokit.Response<Octokit.InteractionsGetRestrictionsForRepoResponse>
24761 >;
24762
24763 endpoint: Octokit.Endpoint;
24764 };
24765 /**
24766 * Temporarily restricts interactions to certain GitHub users within the given repository. You must have owner or admin access to set restrictions.
24767 */
24768 addOrUpdateRestrictionsForRepo: {
24769 (
24770 params?: Octokit.InteractionsAddOrUpdateRestrictionsForRepoParams
24771 ): Promise<
24772 Octokit.Response<
24773 Octokit.InteractionsAddOrUpdateRestrictionsForRepoResponse
24774 >
24775 >;
24776
24777 endpoint: Octokit.Endpoint;
24778 };
24779 /**
24780 * Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions.
24781 */
24782 removeRestrictionsForRepo: {
24783 (params?: Octokit.InteractionsRemoveRestrictionsForRepoParams): Promise<
24784 Octokit.Response<Octokit.InteractionsRemoveRestrictionsForRepoResponse>
24785 >;
24786
24787 endpoint: Octokit.Endpoint;
24788 };
24789 };
24790 issues: {
24791 /**
24792 * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.,* ,* Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint.,* ,*
24793 */
24794 list: {
24795 (params?: Octokit.IssuesListParams): Promise<
24796 Octokit.Response<Octokit.IssuesListResponse>
24797 >;
24798
24799 endpoint: Octokit.Endpoint;
24800 };
24801 /**
24802 * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.,* ,* Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint.,* ,*
24803 */
24804 listForAuthenticatedUser: {
24805 (params?: Octokit.IssuesListForAuthenticatedUserParams): Promise<
24806 Octokit.Response<Octokit.IssuesListForAuthenticatedUserResponse>
24807 >;
24808
24809 endpoint: Octokit.Endpoint;
24810 };
24811 /**
24812 * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.,* ,* Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint.,* ,*
24813 */
24814 listForOrg: {
24815 (params?: Octokit.IssuesListForOrgParams): Promise<
24816 Octokit.Response<Octokit.IssuesListForOrgResponse>
24817 >;
24818
24819 endpoint: Octokit.Endpoint;
24820 };
24821 /**
24822 * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.,* ,* Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint.,* ,*
24823 */
24824 listForRepo: {
24825 (params?: Octokit.IssuesListForRepoParams): Promise<
24826 Octokit.Response<Octokit.IssuesListForRepoResponse>
24827 >;
24828
24829 endpoint: Octokit.Endpoint;
24830 };
24831 /**
24832 * The API returns a [`301 Moved Permanently` status](https://developer.github.com/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/v3/activity/events/types/#issuesevent) webhook.,* ,* **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.,* ,* Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint.,* ,*
24833 */
24834 get: {
24835 (params?: Octokit.IssuesGetParams): Promise<
24836 Octokit.Response<Octokit.IssuesGetResponse>
24837 >;
24838
24839 endpoint: Octokit.Endpoint;
24840 };
24841 /**
24842 * Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
24843 */
24844 create: {
24845 (params?: Octokit.IssuesCreateParams): Promise<
24846 Octokit.Response<Octokit.IssuesCreateResponse>
24847 >;
24848
24849 endpoint: Octokit.Endpoint;
24850 };
24851 /**
24852 * Issue owners and users with push access can edit an issue.
24853 */
24854 update: {
24855 (params?: Octokit.IssuesUpdateParams): Promise<
24856 Octokit.Response<Octokit.IssuesUpdateResponse>
24857 >;
24858
24859 endpoint: Octokit.Endpoint;
24860 };
24861 /**
24862 * Users with push access can lock an issue or pull request's conversation.,* ,* Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)."
24863 */
24864 lock: {
24865 (params?: Octokit.IssuesLockParams): Promise<
24866 Octokit.Response<Octokit.IssuesLockResponse>
24867 >;
24868
24869 endpoint: Octokit.Endpoint;
24870 };
24871 /**
24872 * Users with push access can unlock an issue's conversation.
24873 */
24874 unlock: {
24875 (params?: Octokit.IssuesUnlockParams): Promise<
24876 Octokit.Response<Octokit.IssuesUnlockResponse>
24877 >;
24878
24879 endpoint: Octokit.Endpoint;
24880 };
24881 /**
24882 * Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.
24883 */
24884 listAssignees: {
24885 (params?: Octokit.IssuesListAssigneesParams): Promise<
24886 Octokit.Response<Octokit.IssuesListAssigneesResponse>
24887 >;
24888
24889 endpoint: Octokit.Endpoint;
24890 };
24891 /**
24892 * Checks if a user has permission to be assigned to an issue in this repository.,* ,* If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.,* ,* Otherwise a `404` status code is returned.
24893 */
24894 checkAssignee: {
24895 (params?: Octokit.IssuesCheckAssigneeParams): Promise<
24896 Octokit.Response<Octokit.IssuesCheckAssigneeResponse>
24897 >;
24898
24899 endpoint: Octokit.Endpoint;
24900 };
24901 /**
24902 * Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.,* ,* This example adds two assignees to the existing `octocat` assignee.
24903 */
24904 addAssignees: {
24905 (params?: Octokit.IssuesAddAssigneesParams): Promise<
24906 Octokit.Response<Octokit.IssuesAddAssigneesResponse>
24907 >;
24908
24909 endpoint: Octokit.Endpoint;
24910 };
24911 /**
24912 * Removes one or more assignees from an issue.,* ,* This example removes two of three assignees, leaving the `octocat` assignee.
24913 */
24914 removeAssignees: {
24915 (params?: Octokit.IssuesRemoveAssigneesParams): Promise<
24916 Octokit.Response<Octokit.IssuesRemoveAssigneesResponse>
24917 >;
24918
24919 endpoint: Octokit.Endpoint;
24920 };
24921 /**
24922 * Issue Comments are ordered by ascending ID.,* ,*
24923 */
24924 listComments: {
24925 (params?: Octokit.IssuesListCommentsParams): Promise<
24926 Octokit.Response<Octokit.IssuesListCommentsResponse>
24927 >;
24928
24929 endpoint: Octokit.Endpoint;
24930 };
24931 /**
24932 * By default, Issue Comments are ordered by ascending ID.,* ,*
24933 */
24934 listCommentsForRepo: {
24935 (params?: Octokit.IssuesListCommentsForRepoParams): Promise<
24936 Octokit.Response<Octokit.IssuesListCommentsForRepoResponse>
24937 >;
24938
24939 endpoint: Octokit.Endpoint;
24940 };
24941
24942 getComment: {
24943 (params?: Octokit.IssuesGetCommentParams): Promise<
24944 Octokit.Response<Octokit.IssuesGetCommentResponse>
24945 >;
24946
24947 endpoint: Octokit.Endpoint;
24948 };
24949 /**
24950 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
24951 */
24952 createComment: {
24953 (params?: Octokit.IssuesCreateCommentParams): Promise<
24954 Octokit.Response<Octokit.IssuesCreateCommentResponse>
24955 >;
24956
24957 endpoint: Octokit.Endpoint;
24958 };
24959
24960 updateComment: {
24961 (params?: Octokit.IssuesUpdateCommentParams): Promise<
24962 Octokit.Response<Octokit.IssuesUpdateCommentResponse>
24963 >;
24964
24965 endpoint: Octokit.Endpoint;
24966 };
24967
24968 deleteComment: {
24969 (params?: Octokit.IssuesDeleteCommentParams): Promise<
24970 Octokit.Response<Octokit.IssuesDeleteCommentResponse>
24971 >;
24972
24973 endpoint: Octokit.Endpoint;
24974 };
24975
24976 listEvents: {
24977 (params?: Octokit.IssuesListEventsParams): Promise<
24978 Octokit.Response<Octokit.IssuesListEventsResponse>
24979 >;
24980
24981 endpoint: Octokit.Endpoint;
24982 };
24983
24984 listEventsForRepo: {
24985 (params?: Octokit.IssuesListEventsForRepoParams): Promise<
24986 Octokit.Response<Octokit.IssuesListEventsForRepoResponse>
24987 >;
24988
24989 endpoint: Octokit.Endpoint;
24990 };
24991
24992 getEvent: {
24993 (params?: Octokit.IssuesGetEventParams): Promise<
24994 Octokit.Response<Octokit.IssuesGetEventResponse>
24995 >;
24996
24997 endpoint: Octokit.Endpoint;
24998 };
24999
25000 listLabelsForRepo: {
25001 (params?: Octokit.IssuesListLabelsForRepoParams): Promise<
25002 Octokit.Response<Octokit.IssuesListLabelsForRepoResponse>
25003 >;
25004
25005 endpoint: Octokit.Endpoint;
25006 };
25007
25008 getLabel: {
25009 (params?: Octokit.IssuesGetLabelParams): Promise<
25010 Octokit.Response<Octokit.IssuesGetLabelResponse>
25011 >;
25012
25013 endpoint: Octokit.Endpoint;
25014 };
25015
25016 createLabel: {
25017 (params?: Octokit.IssuesCreateLabelParams): Promise<
25018 Octokit.Response<Octokit.IssuesCreateLabelResponse>
25019 >;
25020
25021 endpoint: Octokit.Endpoint;
25022 };
25023
25024 updateLabel: {
25025 (params?: Octokit.IssuesUpdateLabelParams): Promise<
25026 Octokit.Response<Octokit.IssuesUpdateLabelResponse>
25027 >;
25028
25029 endpoint: Octokit.Endpoint;
25030 };
25031
25032 deleteLabel: {
25033 (params?: Octokit.IssuesDeleteLabelParams): Promise<
25034 Octokit.Response<Octokit.IssuesDeleteLabelResponse>
25035 >;
25036
25037 endpoint: Octokit.Endpoint;
25038 };
25039
25040 listLabelsOnIssue: {
25041 (params?: Octokit.IssuesListLabelsOnIssueParams): Promise<
25042 Octokit.Response<Octokit.IssuesListLabelsOnIssueResponse>
25043 >;
25044
25045 endpoint: Octokit.Endpoint;
25046 };
25047
25048 addLabels: {
25049 (params?: Octokit.IssuesAddLabelsParams): Promise<
25050 Octokit.Response<Octokit.IssuesAddLabelsResponse>
25051 >;
25052
25053 endpoint: Octokit.Endpoint;
25054 };
25055 /**
25056 * Removes the specified label from the issue, and returns the remaining labels on the issue.
25057 */
25058 removeLabel: {
25059 (params?: Octokit.IssuesRemoveLabelParams): Promise<Octokit.AnyResponse>;
25060
25061 endpoint: Octokit.Endpoint;
25062 };
25063
25064 replaceLabels: {
25065 (params?: Octokit.IssuesReplaceLabelsParams): Promise<
25066 Octokit.Response<Octokit.IssuesReplaceLabelsResponse>
25067 >;
25068
25069 endpoint: Octokit.Endpoint;
25070 };
25071
25072 removeLabels: {
25073 (params?: Octokit.IssuesRemoveLabelsParams): Promise<
25074 Octokit.Response<Octokit.IssuesRemoveLabelsResponse>
25075 >;
25076
25077 endpoint: Octokit.Endpoint;
25078 };
25079
25080 listLabelsForMilestone: {
25081 (params?: Octokit.IssuesListLabelsForMilestoneParams): Promise<
25082 Octokit.Response<Octokit.IssuesListLabelsForMilestoneResponse>
25083 >;
25084
25085 endpoint: Octokit.Endpoint;
25086 };
25087
25088 listMilestonesForRepo: {
25089 (params?: Octokit.IssuesListMilestonesForRepoParams): Promise<
25090 Octokit.Response<Octokit.IssuesListMilestonesForRepoResponse>
25091 >;
25092
25093 endpoint: Octokit.Endpoint;
25094 };
25095
25096 getMilestone: {
25097 (params?: Octokit.IssuesGetMilestoneParams): Promise<
25098 Octokit.Response<Octokit.IssuesGetMilestoneResponse>
25099 >;
25100
25101 endpoint: Octokit.Endpoint;
25102 };
25103
25104 createMilestone: {
25105 (params?: Octokit.IssuesCreateMilestoneParams): Promise<
25106 Octokit.Response<Octokit.IssuesCreateMilestoneResponse>
25107 >;
25108
25109 endpoint: Octokit.Endpoint;
25110 };
25111
25112 updateMilestone: {
25113 (params?: Octokit.IssuesUpdateMilestoneParams): Promise<
25114 Octokit.Response<Octokit.IssuesUpdateMilestoneResponse>
25115 >;
25116
25117 endpoint: Octokit.Endpoint;
25118 };
25119
25120 deleteMilestone: {
25121 (params?: Octokit.IssuesDeleteMilestoneParams): Promise<
25122 Octokit.Response<Octokit.IssuesDeleteMilestoneResponse>
25123 >;
25124
25125 endpoint: Octokit.Endpoint;
25126 };
25127
25128 listEventsForTimeline: {
25129 (params?: Octokit.IssuesListEventsForTimelineParams): Promise<
25130 Octokit.Response<Octokit.IssuesListEventsForTimelineResponse>
25131 >;
25132
25133 endpoint: Octokit.Endpoint;
25134 };
25135 };
25136 migrations: {
25137 /**
25138 * Initiates the generation of a migration archive.
25139 */
25140 startForOrg: {
25141 (params?: Octokit.MigrationsStartForOrgParams): Promise<
25142 Octokit.Response<Octokit.MigrationsStartForOrgResponse>
25143 >;
25144
25145 endpoint: Octokit.Endpoint;
25146 };
25147 /**
25148 * Lists the most recent migrations.
25149 */
25150 listForOrg: {
25151 (params?: Octokit.MigrationsListForOrgParams): Promise<
25152 Octokit.Response<Octokit.MigrationsListForOrgResponse>
25153 >;
25154
25155 endpoint: Octokit.Endpoint;
25156 };
25157 /**
25158 * Fetches the status of a migration.,* ,* The `state` of a migration can be one of the following values:,* ,* * `pending`, which means the migration hasn't started yet.,* * `exporting`, which means the migration is in progress.,* * `exported`, which means the migration finished successfully.,* * `failed`, which means the migration failed.
25159 */
25160 getStatusForOrg: {
25161 (params?: Octokit.MigrationsGetStatusForOrgParams): Promise<
25162 Octokit.Response<Octokit.MigrationsGetStatusForOrgResponse>
25163 >;
25164
25165 endpoint: Octokit.Endpoint;
25166 };
25167 /**
25168 * Fetches the URL to a migration archive.,* ,*
25169 */
25170 getArchiveForOrg: {
25171 (params?: Octokit.MigrationsGetArchiveForOrgParams): Promise<
25172 Octokit.Response<Octokit.MigrationsGetArchiveForOrgResponse>
25173 >;
25174
25175 endpoint: Octokit.Endpoint;
25176 };
25177 /**
25178 * Deletes a previous migration archive. Migration archives are automatically deleted after seven days.
25179 */
25180 deleteArchiveForOrg: {
25181 (params?: Octokit.MigrationsDeleteArchiveForOrgParams): Promise<
25182 Octokit.Response<Octokit.MigrationsDeleteArchiveForOrgResponse>
25183 >;
25184
25185 endpoint: Octokit.Endpoint;
25186 };
25187 /**
25188 * Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://developer.github.com/v3/repos/#delete-a-repository) when the migration is complete and you no longer need the source data.
25189 */
25190 unlockRepoForOrg: {
25191 (params?: Octokit.MigrationsUnlockRepoForOrgParams): Promise<
25192 Octokit.Response<Octokit.MigrationsUnlockRepoForOrgResponse>
25193 >;
25194
25195 endpoint: Octokit.Endpoint;
25196 };
25197 /**
25198 * Start a source import to a GitHub repository using GitHub Importer.
25199 */
25200 startImport: {
25201 (params?: Octokit.MigrationsStartImportParams): Promise<
25202 Octokit.Response<Octokit.MigrationsStartImportResponse>
25203 >;
25204
25205 endpoint: Octokit.Endpoint;
25206 };
25207 /**
25208 * View the progress of an import.,* ,* **Import status**,* ,* This section includes details about the possible values of the `status` field of the Import Progress response.,* ,* An import that does not have errors will progress through these steps:,* ,* * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.,* * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).,* * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.,* * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".,* * `complete` - the import is complete, and the repository is ready on GitHub.,* ,* If there are problems, you will see one of these in the `status` field:,* ,* * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update Existing Import](#update-existing-import) section.,* * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://github.com/contact) for more information.,* * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update Existing Import](#update-existing-import) section.,* * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](#cancel-an-import) and [retry](#start-an-import) with the correct URL.,* * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update Existing Import](#update-existing-import) section.,* ,* **The project_choices field**,* ,* When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.,* ,* **Git LFS related fields**,* ,* This section includes details about Git LFS related fields that may be present in the Import Progress response.,* ,* * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.,* * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.,* * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.,* * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request.
25209 */
25210 getImportProgress: {
25211 (params?: Octokit.MigrationsGetImportProgressParams): Promise<
25212 Octokit.Response<Octokit.MigrationsGetImportProgressResponse>
25213 >;
25214
25215 endpoint: Octokit.Endpoint;
25216 };
25217 /**
25218 * An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request. If no parameters are provided, the import will be restarted.,* ,* Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request.,* ,* The following example demonstrates the workflow for updating an import with "project1" as the project choice. Given a `project_choices` array like such:,* ,* To restart an import, no parameters are provided in the update request.
25219 */
25220 updateImport: {
25221 (params?: Octokit.MigrationsUpdateImportParams): Promise<
25222 Octokit.Response<Octokit.MigrationsUpdateImportResponse>
25223 >;
25224
25225 endpoint: Octokit.Endpoint;
25226 };
25227 /**
25228 * Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.,* ,* This API method and the "Map a commit author" method allow you to provide correct Git author information.
25229 */
25230 getCommitAuthors: {
25231 (params?: Octokit.MigrationsGetCommitAuthorsParams): Promise<
25232 Octokit.Response<Octokit.MigrationsGetCommitAuthorsResponse>
25233 >;
25234
25235 endpoint: Octokit.Endpoint;
25236 };
25237 /**
25238 * Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.
25239 */
25240 mapCommitAuthor: {
25241 (params?: Octokit.MigrationsMapCommitAuthorParams): Promise<
25242 Octokit.Response<Octokit.MigrationsMapCommitAuthorResponse>
25243 >;
25244
25245 endpoint: Octokit.Endpoint;
25246 };
25247 /**
25248 * You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/).
25249 */
25250 setLfsPreference: {
25251 (params?: Octokit.MigrationsSetLfsPreferenceParams): Promise<
25252 Octokit.Response<Octokit.MigrationsSetLfsPreferenceResponse>
25253 >;
25254
25255 endpoint: Octokit.Endpoint;
25256 };
25257 /**
25258 * List files larger than 100MB found during the import
25259 */
25260 getLargeFiles: {
25261 (params?: Octokit.MigrationsGetLargeFilesParams): Promise<
25262 Octokit.Response<Octokit.MigrationsGetLargeFilesResponse>
25263 >;
25264
25265 endpoint: Octokit.Endpoint;
25266 };
25267 /**
25268 * Stop an import for a repository.
25269 */
25270 cancelImport: {
25271 (params?: Octokit.MigrationsCancelImportParams): Promise<
25272 Octokit.Response<Octokit.MigrationsCancelImportResponse>
25273 >;
25274
25275 endpoint: Octokit.Endpoint;
25276 };
25277 /**
25278 * Initiates the generation of a user migration archive.
25279 */
25280 startForAuthenticatedUser: {
25281 (params?: Octokit.MigrationsStartForAuthenticatedUserParams): Promise<
25282 Octokit.Response<Octokit.MigrationsStartForAuthenticatedUserResponse>
25283 >;
25284
25285 endpoint: Octokit.Endpoint;
25286 };
25287 /**
25288 * Lists all migrations a user has started.
25289 */
25290 listForAuthenticatedUser: {
25291 (params?: Octokit.MigrationsListForAuthenticatedUserParams): Promise<
25292 Octokit.Response<Octokit.MigrationsListForAuthenticatedUserResponse>
25293 >;
25294
25295 endpoint: Octokit.Endpoint;
25296 };
25297 /**
25298 * Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:,* ,* * `pending` - the migration hasn't started yet.,* * `exporting` - the migration is in progress.,* * `exported` - the migration finished successfully.,* * `failed` - the migration failed.,* ,* Once the migration has been `exported` you can [download the migration archive](#download-a-user-migration-archive).
25299 */
25300 getStatusForAuthenticatedUser: {
25301 (params?: Octokit.MigrationsGetStatusForAuthenticatedUserParams): Promise<
25302 Octokit.Response<
25303 Octokit.MigrationsGetStatusForAuthenticatedUserResponse
25304 >
25305 >;
25306
25307 endpoint: Octokit.Endpoint;
25308 };
25309 /**
25310 * Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:,* ,* * attachments,* * bases,* * commit\_comments,* * issue\_comments,* * issue\_events,* * issues,* * milestones,* * organizations,* * projects,* * protected\_branches,* * pull\_request\_reviews,* * pull\_requests,* * releases,* * repositories,* * review\_comments,* * schema,* * users,* ,* The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.,* ,*
25311 */
25312 getArchiveForAuthenticatedUser: {
25313 (
25314 params?: Octokit.MigrationsGetArchiveForAuthenticatedUserParams
25315 ): Promise<
25316 Octokit.Response<
25317 Octokit.MigrationsGetArchiveForAuthenticatedUserResponse
25318 >
25319 >;
25320
25321 endpoint: Octokit.Endpoint;
25322 };
25323 /**
25324 * Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [Get a list of user migrations](#get-a-list-of-user-migrations) and [Get the status of a user migration](#get-the-status-of-a-user-migration) endpoints, will continue to be available even after an archive is deleted.
25325 */
25326 deleteArchiveForAuthenticatedUser: {
25327 (
25328 params?: Octokit.MigrationsDeleteArchiveForAuthenticatedUserParams
25329 ): Promise<
25330 Octokit.Response<
25331 Octokit.MigrationsDeleteArchiveForAuthenticatedUserResponse
25332 >
25333 >;
25334
25335 endpoint: Octokit.Endpoint;
25336 };
25337 /**
25338 * Unlocks a repository. You can lock repositories when you [start a user migration](#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://developer.github.com/v3/repos/#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.
25339 */
25340 unlockRepoForAuthenticatedUser: {
25341 (
25342 params?: Octokit.MigrationsUnlockRepoForAuthenticatedUserParams
25343 ): Promise<
25344 Octokit.Response<
25345 Octokit.MigrationsUnlockRepoForAuthenticatedUserResponse
25346 >
25347 >;
25348
25349 endpoint: Octokit.Endpoint;
25350 };
25351 };
25352 codesOfConduct: {
25353 listConductCodes: {
25354 (params?: Octokit.EmptyParams): Promise<
25355 Octokit.Response<Octokit.CodesOfConductListConductCodesResponse>
25356 >;
25357
25358 endpoint: Octokit.Endpoint;
25359 };
25360
25361 getConductCode: {
25362 (params?: Octokit.CodesOfConductGetConductCodeParams): Promise<
25363 Octokit.Response<Octokit.CodesOfConductGetConductCodeResponse>
25364 >;
25365
25366 endpoint: Octokit.Endpoint;
25367 };
25368 /**
25369 * This method returns the contents of the repository's code of conduct file, if one is detected.
25370 */
25371 getForRepo: {
25372 (params?: Octokit.CodesOfConductGetForRepoParams): Promise<
25373 Octokit.Response<Octokit.CodesOfConductGetForRepoResponse>
25374 >;
25375
25376 endpoint: Octokit.Endpoint;
25377 };
25378 };
25379 emojis: {
25380 /**
25381 * Lists all the emojis available to use on GitHub.,* ,*
25382 */
25383 get: {
25384 (params?: Octokit.EmptyParams): Promise<
25385 Octokit.Response<Octokit.EmojisGetResponse>
25386 >;
25387
25388 endpoint: Octokit.Endpoint;
25389 };
25390 };
25391 gitignore: {
25392 /**
25393 * List all templates available to pass as an option when [creating a repository](https://developer.github.com/v3/repos/#create).
25394 */
25395 listTemplates: {
25396 (params?: Octokit.EmptyParams): Promise<
25397 Octokit.Response<Octokit.GitignoreListTemplatesResponse>
25398 >;
25399
25400 endpoint: Octokit.Endpoint;
25401 };
25402 /**
25403 * The API also allows fetching the source of a single template.,* ,* Use the raw [media type](https://developer.github.com/v3/media/) to get the raw contents.,* ,*
25404 */
25405 getTemplate: {
25406 (params?: Octokit.GitignoreGetTemplateParams): Promise<
25407 Octokit.Response<Octokit.GitignoreGetTemplateResponse>
25408 >;
25409
25410 endpoint: Octokit.Endpoint;
25411 };
25412 };
25413 licenses: {
25414 list: {
25415 (params?: Octokit.EmptyParams): Promise<
25416 Octokit.Response<Octokit.LicensesListResponse>
25417 >;
25418
25419 endpoint: Octokit.Endpoint;
25420 };
25421
25422 get: {
25423 (params?: Octokit.LicensesGetParams): Promise<
25424 Octokit.Response<Octokit.LicensesGetResponse>
25425 >;
25426
25427 endpoint: Octokit.Endpoint;
25428 };
25429 /**
25430 * This method returns the contents of the repository's license file, if one is detected.,* ,* Similar to [the repository contents API](https://developer.github.com/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.
25431 */
25432 getForRepo: {
25433 (params?: Octokit.LicensesGetForRepoParams): Promise<
25434 Octokit.Response<Octokit.LicensesGetForRepoResponse>
25435 >;
25436
25437 endpoint: Octokit.Endpoint;
25438 };
25439 };
25440 markdown: {
25441 render: {
25442 (params?: Octokit.MarkdownRenderParams): Promise<
25443 Octokit.Response<Octokit.MarkdownRenderResponse>
25444 >;
25445
25446 endpoint: Octokit.Endpoint;
25447 };
25448 /**
25449 * You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.,* ,*
25450 */
25451 renderRaw: {
25452 (params?: Octokit.MarkdownRenderRawParams): Promise<
25453 Octokit.Response<Octokit.MarkdownRenderRawResponse>
25454 >;
25455
25456 endpoint: Octokit.Endpoint;
25457 };
25458 };
25459 meta: {
25460 /**
25461 * This endpoint provides a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/)."
25462 */
25463 get: {
25464 (params?: Octokit.EmptyParams): Promise<
25465 Octokit.Response<Octokit.MetaGetResponse>
25466 >;
25467
25468 endpoint: Octokit.Endpoint;
25469 };
25470 };
25471 rateLimit: {
25472 /**
25473 * **Note:** Accessing this endpoint does not count against your REST API rate limit.,* ,* **Understanding your rate limit status**,* ,* The Search API has a [custom rate limit](https://developer.github.com/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.,* ,* For these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see three objects:,* ,* * The `core` object provides your rate limit status for all non-search-related resources in the REST API.,* * The `search` object provides your rate limit status for the [Search API](https://developer.github.com/v3/search/).,* * The `graphql` object provides your rate limit status for the [GraphQL API](/v4/).,* ,* For more information on the headers and values in the rate limit response, see "[Rate limiting](https://developer.github.com/v3/#rate-limiting).",* ,* The `rate` object (shown at the bottom of the response above) is deprecated.,* ,* If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.
25474 */
25475 get: {
25476 (params?: Octokit.EmptyParams): Promise<
25477 Octokit.Response<Octokit.RateLimitGetResponse>
25478 >;
25479
25480 endpoint: Octokit.Endpoint;
25481 };
25482 };
25483 orgs: {
25484 /**
25485 * List organizations for the authenticated user.,* ,* **OAuth scope requirements**,* ,* This only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.
25486 */
25487 listForAuthenticatedUser: {
25488 (params?: Octokit.OrgsListForAuthenticatedUserParams): Promise<
25489 Octokit.Response<Octokit.OrgsListForAuthenticatedUserResponse>
25490 >;
25491
25492 endpoint: Octokit.Endpoint;
25493 };
25494 /**
25495 * Lists all organizations, in the order that they were created on GitHub.,* ,* **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of organizations.
25496 */
25497 list: {
25498 (params?: Octokit.OrgsListParams): Promise<
25499 Octokit.Response<Octokit.OrgsListResponse>
25500 >;
25501
25502 endpoint: Octokit.Endpoint;
25503 };
25504 /**
25505 * List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.,* ,* This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](#list-your-organizations) API instead.
25506 */
25507 listForUser: {
25508 (params?: Octokit.OrgsListForUserParams): Promise<
25509 Octokit.Response<Octokit.OrgsListForUserResponse>
25510 >;
25511
25512 endpoint: Octokit.Endpoint;
25513 };
25514 /**
25515 * To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
25516 */
25517 get: {
25518 (params?: Octokit.OrgsGetParams): Promise<
25519 Octokit.Response<Octokit.OrgsGetResponse>
25520 >;
25521
25522 endpoint: Octokit.Endpoint;
25523 };
25524 /**
25525 * **Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.,* ,* Setting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:,* ,* * Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.,* * Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.,* * If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.
25526 */
25527 update: {
25528 (params?: Octokit.OrgsUpdateParams): Promise<
25529 Octokit.Response<Octokit.OrgsUpdateResponse>
25530 >;
25531
25532 endpoint: Octokit.Endpoint;
25533 };
25534 /**
25535 * List the users blocked by an organization.
25536 */
25537 listBlockedUsers: {
25538 (params?: Octokit.OrgsListBlockedUsersParams): Promise<
25539 Octokit.Response<Octokit.OrgsListBlockedUsersResponse>
25540 >;
25541
25542 endpoint: Octokit.Endpoint;
25543 };
25544 /**
25545 * If the user is blocked:,* ,* If the user is not blocked:
25546 */
25547 checkBlockedUser: {
25548 (params?: Octokit.OrgsCheckBlockedUserParams): Promise<
25549 Octokit.Response<Octokit.OrgsCheckBlockedUserResponse>
25550 >;
25551
25552 endpoint: Octokit.Endpoint;
25553 };
25554
25555 blockUser: {
25556 (params?: Octokit.OrgsBlockUserParams): Promise<
25557 Octokit.Response<Octokit.OrgsBlockUserResponse>
25558 >;
25559
25560 endpoint: Octokit.Endpoint;
25561 };
25562
25563 unblockUser: {
25564 (params?: Octokit.OrgsUnblockUserParams): Promise<
25565 Octokit.Response<Octokit.OrgsUnblockUserResponse>
25566 >;
25567
25568 endpoint: Octokit.Endpoint;
25569 };
25570 /**
25571 * List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.,* ,*
25572 */
25573 listMembers: {
25574 (params?: Octokit.OrgsListMembersParams): Promise<
25575 Octokit.Response<Octokit.OrgsListMembersResponse>
25576 >;
25577
25578 endpoint: Octokit.Endpoint;
25579 };
25580 /**
25581 * Check if a user is, publicly or privately, a member of the organization.
25582 */
25583 checkMembership: {
25584 (params?: Octokit.OrgsCheckMembershipParams): Promise<
25585 Octokit.AnyResponse
25586 >;
25587
25588 endpoint: Octokit.Endpoint;
25589 };
25590 /**
25591 * Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
25592 */
25593 removeMember: {
25594 (params?: Octokit.OrgsRemoveMemberParams): Promise<
25595 Octokit.Response<Octokit.OrgsRemoveMemberResponse>
25596 >;
25597
25598 endpoint: Octokit.Endpoint;
25599 };
25600 /**
25601 * Members of an organization can choose to have their membership publicized or not.
25602 */
25603 listPublicMembers: {
25604 (params?: Octokit.OrgsListPublicMembersParams): Promise<
25605 Octokit.Response<Octokit.OrgsListPublicMembersResponse>
25606 >;
25607
25608 endpoint: Octokit.Endpoint;
25609 };
25610
25611 checkPublicMembership: {
25612 (params?: Octokit.OrgsCheckPublicMembershipParams): Promise<
25613 Octokit.AnyResponse
25614 >;
25615
25616 endpoint: Octokit.Endpoint;
25617 };
25618 /**
25619 * The user can publicize their own membership. (A user cannot publicize the membership for another user.),* ,* Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)."
25620 */
25621 publicizeMembership: {
25622 (params?: Octokit.OrgsPublicizeMembershipParams): Promise<
25623 Octokit.Response<Octokit.OrgsPublicizeMembershipResponse>
25624 >;
25625
25626 endpoint: Octokit.Endpoint;
25627 };
25628
25629 concealMembership: {
25630 (params?: Octokit.OrgsConcealMembershipParams): Promise<
25631 Octokit.Response<Octokit.OrgsConcealMembershipResponse>
25632 >;
25633
25634 endpoint: Octokit.Endpoint;
25635 };
25636 /**
25637 * In order to get a user's membership with an organization, the authenticated user must be an organization member.
25638 */
25639 getMembership: {
25640 (params?: Octokit.OrgsGetMembershipParams): Promise<Octokit.AnyResponse>;
25641
25642 endpoint: Octokit.Endpoint;
25643 };
25644 /**
25645 * Only authenticated organization owners can add a member to the organization or update the member's role.,* ,* * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](#get-organization-membership) will be `pending` until they accept the invitation.,* ,* * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.,* ,* **Rate limits**,* ,* To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
25646 */
25647 addOrUpdateMembership: {
25648 (params?: Octokit.OrgsAddOrUpdateMembershipParams): Promise<
25649 Octokit.AnyResponse
25650 >;
25651
25652 endpoint: Octokit.Endpoint;
25653 };
25654 /**
25655 * In order to remove a user's membership with an organization, the authenticated user must be an organization owner.,* ,* If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
25656 */
25657 removeMembership: {
25658 (params?: Octokit.OrgsRemoveMembershipParams): Promise<
25659 Octokit.Response<Octokit.OrgsRemoveMembershipResponse>
25660 >;
25661
25662 endpoint: Octokit.Endpoint;
25663 };
25664 /**
25665 * List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.
25666 */
25667 listInvitationTeams: {
25668 (params?: Octokit.OrgsListInvitationTeamsParams): Promise<
25669 Octokit.Response<Octokit.OrgsListInvitationTeamsResponse>
25670 >;
25671
25672 endpoint: Octokit.Endpoint;
25673 };
25674 /**
25675 * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
25676 */
25677 listPendingInvitations: {
25678 (params?: Octokit.OrgsListPendingInvitationsParams): Promise<
25679 Octokit.Response<Octokit.OrgsListPendingInvitationsResponse>
25680 >;
25681
25682 endpoint: Octokit.Endpoint;
25683 };
25684 /**
25685 * Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
25686 */
25687 createInvitation: {
25688 (params?: Octokit.OrgsCreateInvitationParams): Promise<
25689 Octokit.Response<Octokit.OrgsCreateInvitationResponse>
25690 >;
25691
25692 endpoint: Octokit.Endpoint;
25693 };
25694
25695 listMemberships: {
25696 (params?: Octokit.OrgsListMembershipsParams): Promise<
25697 Octokit.Response<Octokit.OrgsListMembershipsResponse>
25698 >;
25699
25700 endpoint: Octokit.Endpoint;
25701 };
25702
25703 getMembershipForAuthenticatedUser: {
25704 (params?: Octokit.OrgsGetMembershipForAuthenticatedUserParams): Promise<
25705 Octokit.Response<Octokit.OrgsGetMembershipForAuthenticatedUserResponse>
25706 >;
25707
25708 endpoint: Octokit.Endpoint;
25709 };
25710
25711 updateMembership: {
25712 (params?: Octokit.OrgsUpdateMembershipParams): Promise<
25713 Octokit.Response<Octokit.OrgsUpdateMembershipResponse>
25714 >;
25715
25716 endpoint: Octokit.Endpoint;
25717 };
25718 /**
25719 * List all users who are outside collaborators of an organization.,* ,*
25720 */
25721 listOutsideCollaborators: {
25722 (params?: Octokit.OrgsListOutsideCollaboratorsParams): Promise<
25723 Octokit.Response<Octokit.OrgsListOutsideCollaboratorsResponse>
25724 >;
25725
25726 endpoint: Octokit.Endpoint;
25727 };
25728 /**
25729 * Removing a user from this list will remove them from all the organization's repositories.
25730 */
25731 removeOutsideCollaborator: {
25732 (params?: Octokit.OrgsRemoveOutsideCollaboratorParams): Promise<
25733 Octokit.Response<Octokit.OrgsRemoveOutsideCollaboratorResponse>
25734 >;
25735
25736 endpoint: Octokit.Endpoint;
25737 };
25738 /**
25739 * When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)".
25740 */
25741 convertMemberToOutsideCollaborator: {
25742 (params?: Octokit.OrgsConvertMemberToOutsideCollaboratorParams): Promise<
25743 Octokit.Response<Octokit.OrgsConvertMemberToOutsideCollaboratorResponse>
25744 >;
25745
25746 endpoint: Octokit.Endpoint;
25747 };
25748
25749 listHooks: {
25750 (params?: Octokit.OrgsListHooksParams): Promise<
25751 Octokit.Response<Octokit.OrgsListHooksResponse>
25752 >;
25753
25754 endpoint: Octokit.Endpoint;
25755 };
25756
25757 getHook: {
25758 (params?: Octokit.OrgsGetHookParams): Promise<
25759 Octokit.Response<Octokit.OrgsGetHookResponse>
25760 >;
25761
25762 endpoint: Octokit.Endpoint;
25763 };
25764 /**
25765 * Here's how you can create a hook that posts payloads in JSON format:
25766 */
25767 createHook: {
25768 (params?: Octokit.OrgsCreateHookParams): Promise<
25769 Octokit.Response<Octokit.OrgsCreateHookResponse>
25770 >;
25771
25772 endpoint: Octokit.Endpoint;
25773 };
25774
25775 updateHook: {
25776 (params?: Octokit.OrgsUpdateHookParams): Promise<
25777 Octokit.Response<Octokit.OrgsUpdateHookResponse>
25778 >;
25779
25780 endpoint: Octokit.Endpoint;
25781 };
25782 /**
25783 * This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook.
25784 */
25785 pingHook: {
25786 (params?: Octokit.OrgsPingHookParams): Promise<
25787 Octokit.Response<Octokit.OrgsPingHookResponse>
25788 >;
25789
25790 endpoint: Octokit.Endpoint;
25791 };
25792
25793 deleteHook: {
25794 (params?: Octokit.OrgsDeleteHookParams): Promise<
25795 Octokit.Response<Octokit.OrgsDeleteHookResponse>
25796 >;
25797
25798 endpoint: Octokit.Endpoint;
25799 };
25800 };
25801 projects: {
25802 /**
25803 * **Note**: The status code may also be `401` or `410`, depending on the scope of the authenticating token.
25804 */
25805 listForRepo: {
25806 (params?: Octokit.ProjectsListForRepoParams): Promise<
25807 Octokit.Response<Octokit.ProjectsListForRepoResponse>
25808 >;
25809
25810 endpoint: Octokit.Endpoint;
25811 };
25812 /**
25813 * **Note**: The status code may also be `401` or `410`, depending on the scope of the authenticating token.
25814 */
25815 listForOrg: {
25816 (params?: Octokit.ProjectsListForOrgParams): Promise<
25817 Octokit.Response<Octokit.ProjectsListForOrgResponse>
25818 >;
25819
25820 endpoint: Octokit.Endpoint;
25821 };
25822
25823 listForUser: {
25824 (params?: Octokit.ProjectsListForUserParams): Promise<
25825 Octokit.Response<Octokit.ProjectsListForUserResponse>
25826 >;
25827
25828 endpoint: Octokit.Endpoint;
25829 };
25830 /**
25831 * **Note**: The status code may also be `401` or `410`, depending on the scope of the authenticating token.
25832 */
25833 get: {
25834 (params?: Octokit.ProjectsGetParams): Promise<
25835 Octokit.Response<Octokit.ProjectsGetResponse>
25836 >;
25837
25838 endpoint: Octokit.Endpoint;
25839 };
25840 /**
25841 * **Note**: The status code may also be `401` or `410`, depending on the scope of the authenticating token.
25842 */
25843 createForRepo: {
25844 (params?: Octokit.ProjectsCreateForRepoParams): Promise<
25845 Octokit.Response<Octokit.ProjectsCreateForRepoResponse>
25846 >;
25847
25848 endpoint: Octokit.Endpoint;
25849 };
25850 /**
25851 * **Note**: The status code may also be `401` or `410`, depending on the scope of the authenticating token.
25852 */
25853 createForOrg: {
25854 (params?: Octokit.ProjectsCreateForOrgParams): Promise<
25855 Octokit.Response<Octokit.ProjectsCreateForOrgResponse>
25856 >;
25857
25858 endpoint: Octokit.Endpoint;
25859 };
25860
25861 createForAuthenticatedUser: {
25862 (params?: Octokit.ProjectsCreateForAuthenticatedUserParams): Promise<
25863 Octokit.Response<Octokit.ProjectsCreateForAuthenticatedUserResponse>
25864 >;
25865
25866 endpoint: Octokit.Endpoint;
25867 };
25868 /**
25869 * **Note**: The status code may also be `401` or `410`, depending on the scope of the authenticating token.
25870 */
25871 update: {
25872 (params?: Octokit.ProjectsUpdateParams): Promise<
25873 Octokit.Response<Octokit.ProjectsUpdateResponse>
25874 >;
25875
25876 endpoint: Octokit.Endpoint;
25877 };
25878
25879 delete: {
25880 (params?: Octokit.ProjectsDeleteParams): Promise<Octokit.AnyResponse>;
25881
25882 endpoint: Octokit.Endpoint;
25883 };
25884
25885 listCards: {
25886 (params?: Octokit.ProjectsListCardsParams): Promise<
25887 Octokit.Response<Octokit.ProjectsListCardsResponse>
25888 >;
25889
25890 endpoint: Octokit.Endpoint;
25891 };
25892
25893 getCard: {
25894 (params?: Octokit.ProjectsGetCardParams): Promise<Octokit.AnyResponse>;
25895
25896 endpoint: Octokit.Endpoint;
25897 };
25898 /**
25899 * **Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key.,* ,* Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests)" endpoint.
25900 */
25901 createCard: {
25902 (params?: Octokit.ProjectsCreateCardParams): Promise<
25903 Octokit.Response<Octokit.ProjectsCreateCardResponse>
25904 >;
25905
25906 endpoint: Octokit.Endpoint;
25907 };
25908
25909 updateCard: {
25910 (params?: Octokit.ProjectsUpdateCardParams): Promise<Octokit.AnyResponse>;
25911
25912 endpoint: Octokit.Endpoint;
25913 };
25914
25915 deleteCard: {
25916 (params?: Octokit.ProjectsDeleteCardParams): Promise<
25917 Octokit.Response<Octokit.ProjectsDeleteCardResponse>
25918 >;
25919
25920 endpoint: Octokit.Endpoint;
25921 };
25922
25923 moveCard: {
25924 (params?: Octokit.ProjectsMoveCardParams): Promise<
25925 Octokit.Response<Octokit.ProjectsMoveCardResponse>
25926 >;
25927
25928 endpoint: Octokit.Endpoint;
25929 };
25930 /**
25931 * Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.
25932 */
25933 listCollaborators: {
25934 (params?: Octokit.ProjectsListCollaboratorsParams): Promise<
25935 Octokit.Response<Octokit.ProjectsListCollaboratorsResponse>
25936 >;
25937
25938 endpoint: Octokit.Endpoint;
25939 };
25940 /**
25941 * Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.
25942 */
25943 reviewUserPermissionLevel: {
25944 (params?: Octokit.ProjectsReviewUserPermissionLevelParams): Promise<
25945 Octokit.Response<Octokit.ProjectsReviewUserPermissionLevelResponse>
25946 >;
25947
25948 endpoint: Octokit.Endpoint;
25949 };
25950 /**
25951 * Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.
25952 */
25953 addCollaborator: {
25954 (params?: Octokit.ProjectsAddCollaboratorParams): Promise<
25955 Octokit.Response<Octokit.ProjectsAddCollaboratorResponse>
25956 >;
25957
25958 endpoint: Octokit.Endpoint;
25959 };
25960 /**
25961 * Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.
25962 */
25963 removeCollaborator: {
25964 (params?: Octokit.ProjectsRemoveCollaboratorParams): Promise<
25965 Octokit.Response<Octokit.ProjectsRemoveCollaboratorResponse>
25966 >;
25967
25968 endpoint: Octokit.Endpoint;
25969 };
25970
25971 listColumns: {
25972 (params?: Octokit.ProjectsListColumnsParams): Promise<
25973 Octokit.Response<Octokit.ProjectsListColumnsResponse>
25974 >;
25975
25976 endpoint: Octokit.Endpoint;
25977 };
25978
25979 getColumn: {
25980 (params?: Octokit.ProjectsGetColumnParams): Promise<Octokit.AnyResponse>;
25981
25982 endpoint: Octokit.Endpoint;
25983 };
25984
25985 createColumn: {
25986 (params?: Octokit.ProjectsCreateColumnParams): Promise<
25987 Octokit.AnyResponse
25988 >;
25989
25990 endpoint: Octokit.Endpoint;
25991 };
25992
25993 updateColumn: {
25994 (params?: Octokit.ProjectsUpdateColumnParams): Promise<
25995 Octokit.AnyResponse
25996 >;
25997
25998 endpoint: Octokit.Endpoint;
25999 };
26000
26001 deleteColumn: {
26002 (params?: Octokit.ProjectsDeleteColumnParams): Promise<
26003 Octokit.Response<Octokit.ProjectsDeleteColumnResponse>
26004 >;
26005
26006 endpoint: Octokit.Endpoint;
26007 };
26008
26009 moveColumn: {
26010 (params?: Octokit.ProjectsMoveColumnParams): Promise<
26011 Octokit.Response<Octokit.ProjectsMoveColumnResponse>
26012 >;
26013
26014 endpoint: Octokit.Endpoint;
26015 };
26016 };
26017 pulls: {
26018 /**
26019 * Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26020 */
26021 list: {
26022 (params?: Octokit.PullsListParams): Promise<
26023 Octokit.Response<Octokit.PullsListResponse>
26024 >;
26025
26026 endpoint: Octokit.Endpoint;
26027 };
26028 /**
26029 * Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Lists details of a pull request by providing its number.,* ,* When you get, [create](https://developer.github.com/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)".,* ,* The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.,* ,* The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:,* ,* * If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.,* * If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.,* * If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.,* ,* Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
26030 */
26031 get: {
26032 (params?: Octokit.PullsGetParams): Promise<
26033 Octokit.Response<Octokit.PullsGetResponse>
26034 >;
26035
26036 endpoint: Octokit.Endpoint;
26037 };
26038 /**
26039 * Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
26040 */
26041 create: {
26042 (params?: Octokit.PullsCreateParams): Promise<
26043 Octokit.Response<Octokit.PullsCreateResponse>
26044 >;
26045
26046 endpoint: Octokit.Endpoint;
26047 };
26048 /**
26049 * Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
26050 */
26051 createFromIssue: {
26052 (params?: Octokit.PullsCreateFromIssueParams): Promise<
26053 Octokit.Response<Octokit.PullsCreateFromIssueResponse>
26054 >;
26055
26056 endpoint: Octokit.Endpoint;
26057 };
26058 /**
26059 * Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
26060 */
26061 update: {
26062 (params?: Octokit.PullsUpdateParams): Promise<
26063 Octokit.Response<Octokit.PullsUpdateResponse>
26064 >;
26065
26066 endpoint: Octokit.Endpoint;
26067 };
26068 /**
26069 * Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository).
26070 */
26071 listCommits: {
26072 (params?: Octokit.PullsListCommitsParams): Promise<
26073 Octokit.Response<Octokit.PullsListCommitsResponse>
26074 >;
26075
26076 endpoint: Octokit.Endpoint;
26077 };
26078 /**
26079 * **Note:** The response includes a maximum of 300 files.
26080 */
26081 listFiles: {
26082 (params?: Octokit.PullsListFilesParams): Promise<
26083 Octokit.Response<Octokit.PullsListFilesResponse>
26084 >;
26085
26086 endpoint: Octokit.Endpoint;
26087 };
26088
26089 checkIfMerged: {
26090 (params?: Octokit.PullsCheckIfMergedParams): Promise<Octokit.AnyResponse>;
26091
26092 endpoint: Octokit.Endpoint;
26093 };
26094 /**
26095 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
26096 */
26097 merge: {
26098 (params?: Octokit.PullsMergeParams): Promise<Octokit.AnyResponse>;
26099
26100 endpoint: Octokit.Endpoint;
26101 };
26102 /**
26103 * The list of reviews returns in chronological order.
26104 */
26105 listReviews: {
26106 (params?: Octokit.PullsListReviewsParams): Promise<
26107 Octokit.Response<Octokit.PullsListReviewsResponse>
26108 >;
26109
26110 endpoint: Octokit.Endpoint;
26111 };
26112
26113 getReview: {
26114 (params?: Octokit.PullsGetReviewParams): Promise<
26115 Octokit.Response<Octokit.PullsGetReviewResponse>
26116 >;
26117
26118 endpoint: Octokit.Endpoint;
26119 };
26120
26121 deletePendingReview: {
26122 (params?: Octokit.PullsDeletePendingReviewParams): Promise<
26123 Octokit.Response<Octokit.PullsDeletePendingReviewResponse>
26124 >;
26125
26126 endpoint: Octokit.Endpoint;
26127 };
26128
26129 getCommentsForReview: {
26130 (params?: Octokit.PullsGetCommentsForReviewParams): Promise<
26131 Octokit.Response<Octokit.PullsGetCommentsForReviewResponse>
26132 >;
26133
26134 endpoint: Octokit.Endpoint;
26135 };
26136 /**
26137 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.,* ,* **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) endpoint.,* ,* The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
26138 */
26139 createReview: {
26140 (params?: Octokit.PullsCreateReviewParams): Promise<
26141 Octokit.Response<Octokit.PullsCreateReviewResponse>
26142 >;
26143
26144 endpoint: Octokit.Endpoint;
26145 };
26146 /**
26147 * Update the review summary comment with new text.
26148 */
26149 updateReview: {
26150 (params?: Octokit.PullsUpdateReviewParams): Promise<
26151 Octokit.Response<Octokit.PullsUpdateReviewResponse>
26152 >;
26153
26154 endpoint: Octokit.Endpoint;
26155 };
26156
26157 submitReview: {
26158 (params?: Octokit.PullsSubmitReviewParams): Promise<
26159 Octokit.Response<Octokit.PullsSubmitReviewResponse>
26160 >;
26161
26162 endpoint: Octokit.Endpoint;
26163 };
26164 /**
26165 * **Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
26166 */
26167 dismissReview: {
26168 (params?: Octokit.PullsDismissReviewParams): Promise<
26169 Octokit.Response<Octokit.PullsDismissReviewResponse>
26170 >;
26171
26172 endpoint: Octokit.Endpoint;
26173 };
26174 /**
26175 * By default, review comments are ordered by ascending ID.,* ,*
26176 */
26177 listComments: {
26178 (params?: Octokit.PullsListCommentsParams): Promise<
26179 Octokit.Response<Octokit.PullsListCommentsResponse>
26180 >;
26181
26182 endpoint: Octokit.Endpoint;
26183 };
26184 /**
26185 * By default, review comments are ordered by ascending ID.,* ,*
26186 */
26187 listCommentsForRepo: {
26188 (params?: Octokit.PullsListCommentsForRepoParams): Promise<
26189 Octokit.Response<Octokit.PullsListCommentsForRepoResponse>
26190 >;
26191
26192 endpoint: Octokit.Endpoint;
26193 };
26194
26195 getComment: {
26196 (params?: Octokit.PullsGetCommentParams): Promise<
26197 Octokit.Response<Octokit.PullsGetCommentResponse>
26198 >;
26199
26200 endpoint: Octokit.Endpoint;
26201 };
26202 /**
26203 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.,* ,* **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) endpoint.,* ,* The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
26204 */
26205 createComment: {
26206 (params?: Octokit.PullsCreateCommentParams): Promise<
26207 Octokit.Response<Octokit.PullsCreateCommentResponse>
26208 >;
26209
26210 endpoint: Octokit.Endpoint;
26211 };
26212 /**
26213 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.,* ,* **Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) endpoint.,* ,* The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
26214 */
26215 createCommentReply: {
26216 (params?: Octokit.PullsCreateCommentReplyParams): Promise<
26217 Octokit.Response<Octokit.PullsCreateCommentReplyResponse>
26218 >;
26219
26220 endpoint: Octokit.Endpoint;
26221 };
26222
26223 updateComment: {
26224 (params?: Octokit.PullsUpdateCommentParams): Promise<
26225 Octokit.Response<Octokit.PullsUpdateCommentResponse>
26226 >;
26227
26228 endpoint: Octokit.Endpoint;
26229 };
26230
26231 deleteComment: {
26232 (params?: Octokit.PullsDeleteCommentParams): Promise<
26233 Octokit.Response<Octokit.PullsDeleteCommentResponse>
26234 >;
26235
26236 endpoint: Octokit.Endpoint;
26237 };
26238
26239 listReviewRequests: {
26240 (params?: Octokit.PullsListReviewRequestsParams): Promise<
26241 Octokit.Response<Octokit.PullsListReviewRequestsResponse>
26242 >;
26243
26244 endpoint: Octokit.Endpoint;
26245 };
26246 /**
26247 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
26248 */
26249 createReviewRequest: {
26250 (params?: Octokit.PullsCreateReviewRequestParams): Promise<
26251 Octokit.Response<Octokit.PullsCreateReviewRequestResponse>
26252 >;
26253
26254 endpoint: Octokit.Endpoint;
26255 };
26256
26257 deleteReviewRequest: {
26258 (params?: Octokit.PullsDeleteReviewRequestParams): Promise<
26259 Octokit.Response<Octokit.PullsDeleteReviewRequestResponse>
26260 >;
26261
26262 endpoint: Octokit.Endpoint;
26263 };
26264 };
26265 reactions: {
26266 /**
26267 * List the reactions to a [commit comment](https://developer.github.com/v3/repos/comments/).
26268 */
26269 listForCommitComment: {
26270 (params?: Octokit.ReactionsListForCommitCommentParams): Promise<
26271 Octokit.Response<Octokit.ReactionsListForCommitCommentResponse>
26272 >;
26273
26274 endpoint: Octokit.Endpoint;
26275 };
26276 /**
26277 * Create a reaction to a [commit comment](https://developer.github.com/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.
26278 */
26279 createForCommitComment: {
26280 (params?: Octokit.ReactionsCreateForCommitCommentParams): Promise<
26281 Octokit.Response<Octokit.ReactionsCreateForCommitCommentResponse>
26282 >;
26283
26284 endpoint: Octokit.Endpoint;
26285 };
26286 /**
26287 * List the reactions to an [issue](https://developer.github.com/v3/issues/).
26288 */
26289 listForIssue: {
26290 (params?: Octokit.ReactionsListForIssueParams): Promise<
26291 Octokit.Response<Octokit.ReactionsListForIssueResponse>
26292 >;
26293
26294 endpoint: Octokit.Endpoint;
26295 };
26296 /**
26297 * Create a reaction to an [issue](https://developer.github.com/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.
26298 */
26299 createForIssue: {
26300 (params?: Octokit.ReactionsCreateForIssueParams): Promise<
26301 Octokit.Response<Octokit.ReactionsCreateForIssueResponse>
26302 >;
26303
26304 endpoint: Octokit.Endpoint;
26305 };
26306 /**
26307 * List the reactions to an [issue comment](https://developer.github.com/v3/issues/comments/).
26308 */
26309 listForIssueComment: {
26310 (params?: Octokit.ReactionsListForIssueCommentParams): Promise<
26311 Octokit.Response<Octokit.ReactionsListForIssueCommentResponse>
26312 >;
26313
26314 endpoint: Octokit.Endpoint;
26315 };
26316 /**
26317 * Create a reaction to an [issue comment](https://developer.github.com/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.
26318 */
26319 createForIssueComment: {
26320 (params?: Octokit.ReactionsCreateForIssueCommentParams): Promise<
26321 Octokit.Response<Octokit.ReactionsCreateForIssueCommentResponse>
26322 >;
26323
26324 endpoint: Octokit.Endpoint;
26325 };
26326 /**
26327 * List the reactions to a [pull request review comment](https://developer.github.com/v3/pulls/comments/).
26328 */
26329 listForPullRequestReviewComment: {
26330 (
26331 params?: Octokit.ReactionsListForPullRequestReviewCommentParams
26332 ): Promise<
26333 Octokit.Response<
26334 Octokit.ReactionsListForPullRequestReviewCommentResponse
26335 >
26336 >;
26337
26338 endpoint: Octokit.Endpoint;
26339 };
26340 /**
26341 * Create a reaction to a [pull request review comment](https://developer.github.com/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.
26342 */
26343 createForPullRequestReviewComment: {
26344 (
26345 params?: Octokit.ReactionsCreateForPullRequestReviewCommentParams
26346 ): Promise<
26347 Octokit.Response<
26348 Octokit.ReactionsCreateForPullRequestReviewCommentResponse
26349 >
26350 >;
26351
26352 endpoint: Octokit.Endpoint;
26353 };
26354 /**
26355 * List the reactions to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
26356 */
26357 listForTeamDiscussion: {
26358 (params?: Octokit.ReactionsListForTeamDiscussionParams): Promise<
26359 Octokit.Response<Octokit.ReactionsListForTeamDiscussionResponse>
26360 >;
26361
26362 endpoint: Octokit.Endpoint;
26363 };
26364 /**
26365 * Create a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.
26366 */
26367 createForTeamDiscussion: {
26368 (params?: Octokit.ReactionsCreateForTeamDiscussionParams): Promise<
26369 Octokit.Response<Octokit.ReactionsCreateForTeamDiscussionResponse>
26370 >;
26371
26372 endpoint: Octokit.Endpoint;
26373 };
26374 /**
26375 * List the reactions to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
26376 */
26377 listForTeamDiscussionComment: {
26378 (params?: Octokit.ReactionsListForTeamDiscussionCommentParams): Promise<
26379 Octokit.Response<Octokit.ReactionsListForTeamDiscussionCommentResponse>
26380 >;
26381
26382 endpoint: Octokit.Endpoint;
26383 };
26384 /**
26385 * Create a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.
26386 */
26387 createForTeamDiscussionComment: {
26388 (params?: Octokit.ReactionsCreateForTeamDiscussionCommentParams): Promise<
26389 Octokit.Response<
26390 Octokit.ReactionsCreateForTeamDiscussionCommentResponse
26391 >
26392 >;
26393
26394 endpoint: Octokit.Endpoint;
26395 };
26396 /**
26397 * OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/).
26398 */
26399 delete: {
26400 (params?: Octokit.ReactionsDeleteParams): Promise<
26401 Octokit.Response<Octokit.ReactionsDeleteResponse>
26402 >;
26403
26404 endpoint: Octokit.Endpoint;
26405 };
26406 };
26407 repos: {
26408 /**
26409 * List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.,* ,* The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
26410 */
26411 list: {
26412 (params?: Octokit.ReposListParams): Promise<Octokit.AnyResponse>;
26413
26414 endpoint: Octokit.Endpoint;
26415 };
26416 /**
26417 * List public repositories for the specified user.
26418 */
26419 listForUser: {
26420 (params?: Octokit.ReposListForUserParams): Promise<Octokit.AnyResponse>;
26421
26422 endpoint: Octokit.Endpoint;
26423 };
26424 /**
26425 * List repositories for the specified org.
26426 */
26427 listForOrg: {
26428 (params?: Octokit.ReposListForOrgParams): Promise<
26429 Octokit.Response<Octokit.ReposListForOrgResponse>
26430 >;
26431
26432 endpoint: Octokit.Endpoint;
26433 };
26434 /**
26435 * This provides a dump of every public repository, in the order that they were created.,* ,* Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of repositories.
26436 */
26437 listPublic: {
26438 (params?: Octokit.ReposListPublicParams): Promise<
26439 Octokit.Response<Octokit.ReposListPublicResponse>
26440 >;
26441
26442 endpoint: Octokit.Endpoint;
26443 };
26444 /**
26445 * **Note**: There are two endpoints for creating a repository: one to create a repository on a user account, and one to create a repository in an organization. The organization endpoint is fully enabled for [GitHub Apps](https://developer.github.com/v3/apps/available-endpoints/), whereas the user endpoint is enabled only for [user-to-server requests](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#user-to-server-requests).,* ,* **OAuth scope requirements**,* ,* When using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:,* ,* * `public_repo` scope or `repo` scope to create a public repository,* * `repo` scope to create a private repository
26446 */
26447 createForAuthenticatedUser: {
26448 (params?: Octokit.ReposCreateForAuthenticatedUserParams): Promise<
26449 Octokit.Response<Octokit.ReposCreateForAuthenticatedUserResponse>
26450 >;
26451
26452 endpoint: Octokit.Endpoint;
26453 };
26454 /**
26455 * **Note**: There are two endpoints for creating a repository: one to create a repository on a user account, and one to create a repository in an organization. The organization endpoint is fully enabled for [GitHub Apps](https://developer.github.com/v3/apps/available-endpoints/), whereas the user endpoint is enabled only for [user-to-server requests](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#user-to-server-requests).,* ,* **OAuth scope requirements**,* ,* When using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:,* ,* * `public_repo` scope or `repo` scope to create a public repository,* * `repo` scope to create a private repository
26456 */
26457 createInOrg: {
26458 (params?: Octokit.ReposCreateInOrgParams): Promise<
26459 Octokit.Response<Octokit.ReposCreateInOrgResponse>
26460 >;
26461
26462 endpoint: Octokit.Endpoint;
26463 };
26464 /**
26465 * The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
26466 */
26467 get: {
26468 (params?: Octokit.ReposGetParams): Promise<
26469 Octokit.Response<Octokit.ReposGetResponse>
26470 >;
26471
26472 endpoint: Octokit.Endpoint;
26473 };
26474 /**
26475 * **Note**: To edit a repository's topics, use the [`topics` endpoint](#replace-all-topics-for-a-repository).
26476 */
26477 update: {
26478 (params?: Octokit.ReposUpdateParams): Promise<
26479 Octokit.Response<Octokit.ReposUpdateResponse>
26480 >;
26481
26482 endpoint: Octokit.Endpoint;
26483 };
26484
26485 listTopics: {
26486 (params?: Octokit.ReposListTopicsParams): Promise<
26487 Octokit.Response<Octokit.ReposListTopicsResponse>
26488 >;
26489
26490 endpoint: Octokit.Endpoint;
26491 };
26492
26493 replaceTopics: {
26494 (params?: Octokit.ReposReplaceTopicsParams): Promise<
26495 Octokit.Response<Octokit.ReposReplaceTopicsResponse>
26496 >;
26497
26498 endpoint: Octokit.Endpoint;
26499 };
26500 /**
26501 * Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.,* ,* GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
26502 */
26503 listContributors: {
26504 (params?: Octokit.ReposListContributorsParams): Promise<
26505 Octokit.AnyResponse
26506 >;
26507
26508 endpoint: Octokit.Endpoint;
26509 };
26510 /**
26511 * Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
26512 */
26513 listLanguages: {
26514 (params?: Octokit.ReposListLanguagesParams): Promise<
26515 Octokit.Response<Octokit.ReposListLanguagesResponse>
26516 >;
26517
26518 endpoint: Octokit.Endpoint;
26519 };
26520
26521 listTeams: {
26522 (params?: Octokit.ReposListTeamsParams): Promise<
26523 Octokit.Response<Octokit.ReposListTeamsResponse>
26524 >;
26525
26526 endpoint: Octokit.Endpoint;
26527 };
26528
26529 listTags: {
26530 (params?: Octokit.ReposListTagsParams): Promise<
26531 Octokit.Response<Octokit.ReposListTagsResponse>
26532 >;
26533
26534 endpoint: Octokit.Endpoint;
26535 };
26536 /**
26537 * Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.,* ,* If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:
26538 */
26539 delete: {
26540 (params?: Octokit.ReposDeleteParams): Promise<
26541 Octokit.Response<Octokit.ReposDeleteResponse>
26542 >;
26543
26544 endpoint: Octokit.Endpoint;
26545 };
26546 /**
26547 * A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).
26548 */
26549 transfer: {
26550 (params?: Octokit.ReposTransferParams): Promise<
26551 Octokit.Response<Octokit.ReposTransferResponse>
26552 >;
26553
26554 endpoint: Octokit.Endpoint;
26555 };
26556
26557 listBranches: {
26558 (params?: Octokit.ReposListBranchesParams): Promise<
26559 Octokit.Response<Octokit.ReposListBranchesResponse>
26560 >;
26561
26562 endpoint: Octokit.Endpoint;
26563 };
26564
26565 getBranch: {
26566 (params?: Octokit.ReposGetBranchParams): Promise<
26567 Octokit.Response<Octokit.ReposGetBranchResponse>
26568 >;
26569
26570 endpoint: Octokit.Endpoint;
26571 };
26572 /**
26573 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26574 */
26575 getBranchProtection: {
26576 (params?: Octokit.ReposGetBranchProtectionParams): Promise<
26577 Octokit.Response<Octokit.ReposGetBranchProtectionResponse>
26578 >;
26579
26580 endpoint: Octokit.Endpoint;
26581 };
26582 /**
26583 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Protecting a branch requires admin or owner permissions to the repository.,* ,* **Note**: Passing new arrays of `users` and `teams` replaces their previous values.,* ,* **Note**: The list of users and teams in total is limited to 100 items.
26584 */
26585 updateBranchProtection: {
26586 (params?: Octokit.ReposUpdateBranchProtectionParams): Promise<
26587 Octokit.Response<Octokit.ReposUpdateBranchProtectionResponse>
26588 >;
26589
26590 endpoint: Octokit.Endpoint;
26591 };
26592 /**
26593 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26594 */
26595 removeBranchProtection: {
26596 (params?: Octokit.ReposRemoveBranchProtectionParams): Promise<
26597 Octokit.Response<Octokit.ReposRemoveBranchProtectionResponse>
26598 >;
26599
26600 endpoint: Octokit.Endpoint;
26601 };
26602 /**
26603 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26604 */
26605 getProtectedBranchRequiredStatusChecks: {
26606 (
26607 params?: Octokit.ReposGetProtectedBranchRequiredStatusChecksParams
26608 ): Promise<
26609 Octokit.Response<
26610 Octokit.ReposGetProtectedBranchRequiredStatusChecksResponse
26611 >
26612 >;
26613
26614 endpoint: Octokit.Endpoint;
26615 };
26616 /**
26617 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.
26618 */
26619 updateProtectedBranchRequiredStatusChecks: {
26620 (
26621 params?: Octokit.ReposUpdateProtectedBranchRequiredStatusChecksParams
26622 ): Promise<
26623 Octokit.Response<
26624 Octokit.ReposUpdateProtectedBranchRequiredStatusChecksResponse
26625 >
26626 >;
26627
26628 endpoint: Octokit.Endpoint;
26629 };
26630 /**
26631 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26632 */
26633 removeProtectedBranchRequiredStatusChecks: {
26634 (
26635 params?: Octokit.ReposRemoveProtectedBranchRequiredStatusChecksParams
26636 ): Promise<Octokit.AnyResponse>;
26637
26638 endpoint: Octokit.Endpoint;
26639 };
26640 /**
26641 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26642 */
26643 listProtectedBranchRequiredStatusChecksContexts: {
26644 (
26645 params?: Octokit.ReposListProtectedBranchRequiredStatusChecksContextsParams
26646 ): Promise<Octokit.AnyResponse>;
26647
26648 endpoint: Octokit.Endpoint;
26649 };
26650 /**
26651 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26652 */
26653 replaceProtectedBranchRequiredStatusChecksContexts: {
26654 (
26655 params?: Octokit.ReposReplaceProtectedBranchRequiredStatusChecksContextsParams
26656 ): Promise<
26657 Octokit.Response<
26658 Octokit.ReposReplaceProtectedBranchRequiredStatusChecksContextsResponse
26659 >
26660 >;
26661
26662 endpoint: Octokit.Endpoint;
26663 };
26664 /**
26665 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26666 */
26667 addProtectedBranchRequiredStatusChecksContexts: {
26668 (
26669 params?: Octokit.ReposAddProtectedBranchRequiredStatusChecksContextsParams
26670 ): Promise<
26671 Octokit.Response<
26672 Octokit.ReposAddProtectedBranchRequiredStatusChecksContextsResponse
26673 >
26674 >;
26675
26676 endpoint: Octokit.Endpoint;
26677 };
26678 /**
26679 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26680 */
26681 removeProtectedBranchRequiredStatusChecksContexts: {
26682 (
26683 params?: Octokit.ReposRemoveProtectedBranchRequiredStatusChecksContextsParams
26684 ): Promise<
26685 Octokit.Response<
26686 Octokit.ReposRemoveProtectedBranchRequiredStatusChecksContextsResponse
26687 >
26688 >;
26689
26690 endpoint: Octokit.Endpoint;
26691 };
26692 /**
26693 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26694 */
26695 getProtectedBranchPullRequestReviewEnforcement: {
26696 (
26697 params?: Octokit.ReposGetProtectedBranchPullRequestReviewEnforcementParams
26698 ): Promise<Octokit.AnyResponse>;
26699
26700 endpoint: Octokit.Endpoint;
26701 };
26702 /**
26703 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.,* ,* **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
26704 */
26705 updateProtectedBranchPullRequestReviewEnforcement: {
26706 (
26707 params?: Octokit.ReposUpdateProtectedBranchPullRequestReviewEnforcementParams
26708 ): Promise<
26709 Octokit.Response<
26710 Octokit.ReposUpdateProtectedBranchPullRequestReviewEnforcementResponse
26711 >
26712 >;
26713
26714 endpoint: Octokit.Endpoint;
26715 };
26716 /**
26717 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26718 */
26719 removeProtectedBranchPullRequestReviewEnforcement: {
26720 (
26721 params?: Octokit.ReposRemoveProtectedBranchPullRequestReviewEnforcementParams
26722 ): Promise<Octokit.AnyResponse>;
26723
26724 endpoint: Octokit.Endpoint;
26725 };
26726 /**
26727 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.,* ,* **Note**: You must enable branch protection to require signed commits.
26728 */
26729 getProtectedBranchRequiredSignatures: {
26730 (
26731 params?: Octokit.ReposGetProtectedBranchRequiredSignaturesParams
26732 ): Promise<
26733 Octokit.Response<
26734 Octokit.ReposGetProtectedBranchRequiredSignaturesResponse
26735 >
26736 >;
26737
26738 endpoint: Octokit.Endpoint;
26739 };
26740 /**
26741 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.
26742 */
26743 addProtectedBranchRequiredSignatures: {
26744 (
26745 params?: Octokit.ReposAddProtectedBranchRequiredSignaturesParams
26746 ): Promise<
26747 Octokit.Response<
26748 Octokit.ReposAddProtectedBranchRequiredSignaturesResponse
26749 >
26750 >;
26751
26752 endpoint: Octokit.Endpoint;
26753 };
26754 /**
26755 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.
26756 */
26757 removeProtectedBranchRequiredSignatures: {
26758 (
26759 params?: Octokit.ReposRemoveProtectedBranchRequiredSignaturesParams
26760 ): Promise<Octokit.AnyResponse>;
26761
26762 endpoint: Octokit.Endpoint;
26763 };
26764 /**
26765 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.
26766 */
26767 getProtectedBranchAdminEnforcement: {
26768 (params?: Octokit.ReposGetProtectedBranchAdminEnforcementParams): Promise<
26769 Octokit.AnyResponse
26770 >;
26771
26772 endpoint: Octokit.Endpoint;
26773 };
26774 /**
26775 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
26776 */
26777 addProtectedBranchAdminEnforcement: {
26778 (params?: Octokit.ReposAddProtectedBranchAdminEnforcementParams): Promise<
26779 Octokit.Response<
26780 Octokit.ReposAddProtectedBranchAdminEnforcementResponse
26781 >
26782 >;
26783
26784 endpoint: Octokit.Endpoint;
26785 };
26786 /**
26787 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
26788 */
26789 removeProtectedBranchAdminEnforcement: {
26790 (
26791 params?: Octokit.ReposRemoveProtectedBranchAdminEnforcementParams
26792 ): Promise<Octokit.AnyResponse>;
26793
26794 endpoint: Octokit.Endpoint;
26795 };
26796 /**
26797 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* **Note**: Teams and users `restrictions` are only available for organization-owned repositories.
26798 */
26799 getProtectedBranchRestrictions: {
26800 (params?: Octokit.ReposGetProtectedBranchRestrictionsParams): Promise<
26801 Octokit.AnyResponse
26802 >;
26803
26804 endpoint: Octokit.Endpoint;
26805 };
26806 /**
26807 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Disables the ability to restrict who can push to this branch.
26808 */
26809 removeProtectedBranchRestrictions: {
26810 (params?: Octokit.ReposRemoveProtectedBranchRestrictionsParams): Promise<
26811 Octokit.AnyResponse
26812 >;
26813
26814 endpoint: Octokit.Endpoint;
26815 };
26816 /**
26817 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.
26818 */
26819 listProtectedBranchTeamRestrictions: {
26820 (
26821 params?: Octokit.ReposListProtectedBranchTeamRestrictionsParams
26822 ): Promise<
26823 Octokit.Response<
26824 Octokit.ReposListProtectedBranchTeamRestrictionsResponse
26825 >
26826 >;
26827
26828 endpoint: Octokit.Endpoint;
26829 };
26830 /**
26831 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, you can include child teams.,* ,* | Type | Description |,* | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |,* | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |
26832 */
26833 replaceProtectedBranchTeamRestrictions: {
26834 (
26835 params?: Octokit.ReposReplaceProtectedBranchTeamRestrictionsParams
26836 ): Promise<
26837 Octokit.Response<
26838 Octokit.ReposReplaceProtectedBranchTeamRestrictionsResponse
26839 >
26840 >;
26841
26842 endpoint: Octokit.Endpoint;
26843 };
26844 /**
26845 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.,* ,* | Type | Description |,* | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |,* | `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |
26846 */
26847 addProtectedBranchTeamRestrictions: {
26848 (params?: Octokit.ReposAddProtectedBranchTeamRestrictionsParams): Promise<
26849 Octokit.Response<
26850 Octokit.ReposAddProtectedBranchTeamRestrictionsResponse
26851 >
26852 >;
26853
26854 endpoint: Octokit.Endpoint;
26855 };
26856 /**
26857 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can include child teams.,* ,* | Type | Description |,* | ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |,* | `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |
26858 */
26859 removeProtectedBranchTeamRestrictions: {
26860 (
26861 params?: Octokit.ReposRemoveProtectedBranchTeamRestrictionsParams
26862 ): Promise<
26863 Octokit.Response<
26864 Octokit.ReposRemoveProtectedBranchTeamRestrictionsResponse
26865 >
26866 >;
26867
26868 endpoint: Octokit.Endpoint;
26869 };
26870 /**
26871 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Lists the people who have push access to this branch.
26872 */
26873 listProtectedBranchUserRestrictions: {
26874 (
26875 params?: Octokit.ReposListProtectedBranchUserRestrictionsParams
26876 ): Promise<Octokit.AnyResponse>;
26877
26878 endpoint: Octokit.Endpoint;
26879 };
26880 /**
26881 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.,* ,* | Type | Description |,* | ------- | ---------------------------------------------------------------------------------------------------------------------- |,* | `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |
26882 */
26883 replaceProtectedBranchUserRestrictions: {
26884 (
26885 params?: Octokit.ReposReplaceProtectedBranchUserRestrictionsParams
26886 ): Promise<
26887 Octokit.Response<
26888 Octokit.ReposReplaceProtectedBranchUserRestrictionsResponse
26889 >
26890 >;
26891
26892 endpoint: Octokit.Endpoint;
26893 };
26894 /**
26895 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Grants the specified people push access for this branch.,* ,* | Type | Description |,* | ------- | ---------------------------------------------------------------------------------------------------------------------- |,* | `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |
26896 */
26897 addProtectedBranchUserRestrictions: {
26898 (params?: Octokit.ReposAddProtectedBranchUserRestrictionsParams): Promise<
26899 Octokit.Response<
26900 Octokit.ReposAddProtectedBranchUserRestrictionsResponse
26901 >
26902 >;
26903
26904 endpoint: Octokit.Endpoint;
26905 };
26906 /**
26907 * Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's billing plans](https://help.github.com/articles/github-s-billing-plans) in the GitHub Help documentation.,* ,* Removes the ability of a team to push to this branch.,* ,* | Type | Description |,* | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |,* | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users and teams in total is limited to 100 items. |
26908 */
26909 removeProtectedBranchUserRestrictions: {
26910 (
26911 params?: Octokit.ReposRemoveProtectedBranchUserRestrictionsParams
26912 ): Promise<
26913 Octokit.Response<
26914 Octokit.ReposRemoveProtectedBranchUserRestrictionsResponse
26915 >
26916 >;
26917
26918 endpoint: Octokit.Endpoint;
26919 };
26920 /**
26921 * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.,* ,* If you pass the `hellcat-preview` media type, team members will include the members of child teams.
26922 */
26923 listCollaborators: {
26924 (params?: Octokit.ReposListCollaboratorsParams): Promise<
26925 Octokit.Response<Octokit.ReposListCollaboratorsResponse>
26926 >;
26927
26928 endpoint: Octokit.Endpoint;
26929 };
26930 /**
26931 * For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.,* ,* If you pass the `hellcat-preview` media type, team members will include the members of child teams.
26932 */
26933 checkCollaborator: {
26934 (params?: Octokit.ReposCheckCollaboratorParams): Promise<
26935 Octokit.AnyResponse
26936 >;
26937
26938 endpoint: Octokit.Endpoint;
26939 };
26940 /**
26941 * Possible values for the `permission` key: `admin`, `write`, `read`, `none`.
26942 */
26943 getCollaboratorPermissionLevel: {
26944 (params?: Octokit.ReposGetCollaboratorPermissionLevelParams): Promise<
26945 Octokit.AnyResponse
26946 >;
26947
26948 endpoint: Octokit.Endpoint;
26949 };
26950 /**
26951 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.,* ,* Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs).",* ,* The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://developer.github.com/v3/repos/invitations/).,* ,* **Rate limits**,* ,* To prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.
26952 */
26953 addCollaborator: {
26954 (params?: Octokit.ReposAddCollaboratorParams): Promise<
26955 Octokit.AnyResponse
26956 >;
26957
26958 endpoint: Octokit.Endpoint;
26959 };
26960
26961 removeCollaborator: {
26962 (params?: Octokit.ReposRemoveCollaboratorParams): Promise<
26963 Octokit.Response<Octokit.ReposRemoveCollaboratorResponse>
26964 >;
26965
26966 endpoint: Octokit.Endpoint;
26967 };
26968 /**
26969 * Commit Comments use [these custom media types](#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/v3/media/).,* ,* Comments are ordered by ascending ID.,* ,*
26970 */
26971 listCommitComments: {
26972 (params?: Octokit.ReposListCommitCommentsParams): Promise<
26973 Octokit.Response<Octokit.ReposListCommitCommentsResponse>
26974 >;
26975
26976 endpoint: Octokit.Endpoint;
26977 };
26978
26979 listCommentsForCommit: {
26980 (params?: Octokit.ReposListCommentsForCommitParams): Promise<
26981 Octokit.Response<Octokit.ReposListCommentsForCommitResponse>
26982 >;
26983
26984 endpoint: Octokit.Endpoint;
26985 };
26986 /**
26987 * This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
26988 */
26989 createCommitComment: {
26990 (params?: Octokit.ReposCreateCommitCommentParams): Promise<
26991 Octokit.Response<Octokit.ReposCreateCommitCommentResponse>
26992 >;
26993
26994 endpoint: Octokit.Endpoint;
26995 };
26996
26997 getCommitComment: {
26998 (params?: Octokit.ReposGetCommitCommentParams): Promise<
26999 Octokit.Response<Octokit.ReposGetCommitCommentResponse>
27000 >;
27001
27002 endpoint: Octokit.Endpoint;
27003 };
27004
27005 updateCommitComment: {
27006 (params?: Octokit.ReposUpdateCommitCommentParams): Promise<
27007 Octokit.Response<Octokit.ReposUpdateCommitCommentResponse>
27008 >;
27009
27010 endpoint: Octokit.Endpoint;
27011 };
27012
27013 deleteCommitComment: {
27014 (params?: Octokit.ReposDeleteCommitCommentParams): Promise<
27015 Octokit.Response<Octokit.ReposDeleteCommitCommentResponse>
27016 >;
27017
27018 endpoint: Octokit.Endpoint;
27019 };
27020
27021 listCommits: {
27022 (params?: Octokit.ReposListCommitsParams): Promise<
27023 Octokit.Response<Octokit.ReposListCommitsResponse>
27024 >;
27025
27026 endpoint: Octokit.Endpoint;
27027 };
27028 /**
27029 * Diffs with binary data will have no 'patch' property. Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
27030 */
27031 getCommit: {
27032 (params?: Octokit.ReposGetCommitParams): Promise<
27033 Octokit.Response<Octokit.ReposGetCommitResponse>
27034 >;
27035
27036 endpoint: Octokit.Endpoint;
27037 };
27038 /**
27039 * Users with read access can get the SHA-1 of a commit reference:,* ,* To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:,* ,* ,* ,* To check if a remote reference's SHA-1 is the same as your local reference's SHA-1, make a `GET` request and provide the current SHA-1 for the local reference as the ETag.,* ,* The SHA-1 of the commit reference.,* ,*
27040 */
27041 getCommitRefSha: {
27042 (params?: Octokit.ReposGetCommitRefShaParams): Promise<
27043 Octokit.Response<Octokit.ReposGetCommitRefShaResponse>
27044 >;
27045
27046 endpoint: Octokit.Endpoint;
27047 };
27048 /**
27049 * Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `<USERNAME>:branch`. For example:,* ,* ```,* GET /repos/:owner/:repo/compare/hubot:branchname...octocat:branchname,* ```,* ,* The response from the API is equivalent to running the `git log base..head` command; however, commits are returned in reverse chronological order.,* ,* Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.,* ,* **Working with large comparisons**,* ,* The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.,* ,* For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.
27050 */
27051 compareCommits: {
27052 (params?: Octokit.ReposCompareCommitsParams): Promise<
27053 Octokit.Response<Octokit.ReposCompareCommitsResponse>
27054 >;
27055
27056 endpoint: Octokit.Endpoint;
27057 };
27058 /**
27059 * This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE, README, and CONTRIBUTING files.
27060 */
27061 retrieveCommunityProfileMetrics: {
27062 (params?: Octokit.ReposRetrieveCommunityProfileMetricsParams): Promise<
27063 Octokit.Response<Octokit.ReposRetrieveCommunityProfileMetricsResponse>
27064 >;
27065
27066 endpoint: Octokit.Endpoint;
27067 };
27068 /**
27069 * Gets the preferred README for a repository.,* ,* READMEs support [custom media types](#custom-media-types) for retrieving the raw content or rendered HTML.
27070 */
27071 getReadme: {
27072 (params?: Octokit.ReposGetReadmeParams): Promise<
27073 Octokit.Response<Octokit.ReposGetReadmeResponse>
27074 >;
27075
27076 endpoint: Octokit.Endpoint;
27077 };
27078 /**
27079 * Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.,* ,* Files and symlinks support [a custom media type](#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](#custom-media-types) to ensure the content is returned in a consistent object format.,* ,* **Note**:,* ,* * To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/v3/git/trees/).,* * This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/v3/git/trees/#get-a-tree).,* * This API supports files up to 1 megabyte in size.,* ,* The response will be an array of objects, one object for each item in the directory.,* ,* When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".,* ,* If the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](#response-if-content-is-a-file)).,* ,* Otherwise, the API responds with an object describing the symlink itself:,* ,* The `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.,* ,* If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.
27080 */
27081 getContents: {
27082 (params?: Octokit.ReposGetContentsParams): Promise<Octokit.AnyResponse>;
27083
27084 endpoint: Octokit.Endpoint;
27085 };
27086 /**
27087 * Creates a new file in a repository.
27088 */
27089 createFile: {
27090 (params?: Octokit.ReposCreateFileParams): Promise<
27091 Octokit.Response<Octokit.ReposCreateFileResponse>
27092 >;
27093
27094 endpoint: Octokit.Endpoint;
27095 };
27096 /**
27097 * Updates a file in a repository.
27098 */
27099 updateFile: {
27100 (params?: Octokit.ReposUpdateFileParams): Promise<
27101 Octokit.Response<Octokit.ReposUpdateFileResponse>
27102 >;
27103
27104 endpoint: Octokit.Endpoint;
27105 };
27106 /**
27107 * Deletes a file in a repository.,* ,* The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.,* ,* You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.,* ,* Both the `author` and `committer` parameters have the same keys:,* ,* | name | type | description |,* | ----- | ------ | ---------------------------------------------------- |,* | name | string | The name of the author (or committer) of the commit |,* | email | string | The email of the author (or committer) of the commit |
27108 */
27109 deleteFile: {
27110 (params?: Octokit.ReposDeleteFileParams): Promise<
27111 Octokit.Response<Octokit.ReposDeleteFileResponse>
27112 >;
27113
27114 endpoint: Octokit.Endpoint;
27115 };
27116 /**
27117 * Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.,* ,* _Note_: For private repositories, these links are temporary and expire after five minutes.,* ,* To follow redirects with curl, use the `-L` switch:,* ,*
27118 */
27119 getArchiveLink: {
27120 (params?: Octokit.ReposGetArchiveLinkParams): Promise<
27121 Octokit.Response<Octokit.ReposGetArchiveLinkResponse>
27122 >;
27123
27124 endpoint: Octokit.Endpoint;
27125 };
27126
27127 listDeployKeys: {
27128 (params?: Octokit.ReposListDeployKeysParams): Promise<
27129 Octokit.Response<Octokit.ReposListDeployKeysResponse>
27130 >;
27131
27132 endpoint: Octokit.Endpoint;
27133 };
27134
27135 getDeployKey: {
27136 (params?: Octokit.ReposGetDeployKeyParams): Promise<
27137 Octokit.Response<Octokit.ReposGetDeployKeyResponse>
27138 >;
27139
27140 endpoint: Octokit.Endpoint;
27141 };
27142 /**
27143 * Here's how you can create a read-only deploy key:,* ,*
27144 */
27145 addDeployKey: {
27146 (params?: Octokit.ReposAddDeployKeyParams): Promise<
27147 Octokit.Response<Octokit.ReposAddDeployKeyResponse>
27148 >;
27149
27150 endpoint: Octokit.Endpoint;
27151 };
27152
27153 removeDeployKey: {
27154 (params?: Octokit.ReposRemoveDeployKeyParams): Promise<
27155 Octokit.Response<Octokit.ReposRemoveDeployKeyResponse>
27156 >;
27157
27158 endpoint: Octokit.Endpoint;
27159 };
27160 /**
27161 * Simple filtering of deployments is available via query parameters:
27162 */
27163 listDeployments: {
27164 (params?: Octokit.ReposListDeploymentsParams): Promise<
27165 Octokit.Response<Octokit.ReposListDeploymentsResponse>
27166 >;
27167
27168 endpoint: Octokit.Endpoint;
27169 };
27170
27171 getDeployment: {
27172 (params?: Octokit.ReposGetDeploymentParams): Promise<
27173 Octokit.Response<Octokit.ReposGetDeploymentResponse>
27174 >;
27175
27176 endpoint: Octokit.Endpoint;
27177 };
27178 /**
27179 * Deployments offer a few configurable parameters with sane defaults.,* ,* The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.,* ,* The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.,* ,* The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.,* ,* By default, [commit statuses](https://developer.github.com/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.,* ,* The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.,* ,* The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.,* ,* Users with `repo` or `repo_deployment` scopes can create a deployment for a given ref:,* ,* A simple example putting the user and room into the payload to notify back to chat networks.,* ,* A more advanced example specifying required commit statuses and bypassing auto-merging.,* ,* This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.,* ,* This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.
27180 */
27181 createDeployment: {
27182 (params?: Octokit.ReposCreateDeploymentParams): Promise<
27183 Octokit.AnyResponse
27184 >;
27185
27186 endpoint: Octokit.Endpoint;
27187 };
27188 /**
27189 * Users with pull access can view deployment statuses for a deployment:
27190 */
27191 listDeploymentStatuses: {
27192 (params?: Octokit.ReposListDeploymentStatusesParams): Promise<
27193 Octokit.Response<Octokit.ReposListDeploymentStatusesResponse>
27194 >;
27195
27196 endpoint: Octokit.Endpoint;
27197 };
27198 /**
27199 * Users with pull access can view a deployment status for a deployment:
27200 */
27201 getDeploymentStatus: {
27202 (params?: Octokit.ReposGetDeploymentStatusParams): Promise<
27203 Octokit.Response<Octokit.ReposGetDeploymentStatusResponse>
27204 >;
27205
27206 endpoint: Octokit.Endpoint;
27207 };
27208 /**
27209 * Users with `push` access can create deployment statuses for a given deployment.,* ,* GitHub Apps require `read & write` access to "Deployments" and `read-only` access to "Repo contents" (for private repos). OAuth Apps require the `repo_deployment` scope.
27210 */
27211 createDeploymentStatus: {
27212 (params?: Octokit.ReposCreateDeploymentStatusParams): Promise<
27213 Octokit.Response<Octokit.ReposCreateDeploymentStatusResponse>
27214 >;
27215
27216 endpoint: Octokit.Endpoint;
27217 };
27218
27219 listDownloads: {
27220 (params?: Octokit.ReposListDownloadsParams): Promise<
27221 Octokit.Response<Octokit.ReposListDownloadsResponse>
27222 >;
27223
27224 endpoint: Octokit.Endpoint;
27225 };
27226
27227 getDownload: {
27228 (params?: Octokit.ReposGetDownloadParams): Promise<
27229 Octokit.Response<Octokit.ReposGetDownloadResponse>
27230 >;
27231
27232 endpoint: Octokit.Endpoint;
27233 };
27234
27235 deleteDownload: {
27236 (params?: Octokit.ReposDeleteDownloadParams): Promise<
27237 Octokit.Response<Octokit.ReposDeleteDownloadResponse>
27238 >;
27239
27240 endpoint: Octokit.Endpoint;
27241 };
27242
27243 listForks: {
27244 (params?: Octokit.ReposListForksParams): Promise<
27245 Octokit.Response<Octokit.ReposListForksResponse>
27246 >;
27247
27248 endpoint: Octokit.Endpoint;
27249 };
27250 /**
27251 * Create a fork for the authenticated user.,* ,* **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://github.com/contact).
27252 */
27253 createFork: {
27254 (params?: Octokit.ReposCreateForkParams): Promise<
27255 Octokit.Response<Octokit.ReposCreateForkResponse>
27256 >;
27257
27258 endpoint: Octokit.Endpoint;
27259 };
27260 /**
27261 * When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.,* ,*
27262 */
27263 listInvitations: {
27264 (params?: Octokit.ReposListInvitationsParams): Promise<
27265 Octokit.Response<Octokit.ReposListInvitationsResponse>
27266 >;
27267
27268 endpoint: Octokit.Endpoint;
27269 };
27270
27271 deleteInvitation: {
27272 (params?: Octokit.ReposDeleteInvitationParams): Promise<
27273 Octokit.Response<Octokit.ReposDeleteInvitationResponse>
27274 >;
27275
27276 endpoint: Octokit.Endpoint;
27277 };
27278
27279 updateInvitation: {
27280 (params?: Octokit.ReposUpdateInvitationParams): Promise<
27281 Octokit.Response<Octokit.ReposUpdateInvitationResponse>
27282 >;
27283
27284 endpoint: Octokit.Endpoint;
27285 };
27286 /**
27287 * When authenticating as a user, this endpoint will list all currently open repository invitations for that user.,* ,*
27288 */
27289 listInvitationsForAuthenticatedUser: {
27290 (
27291 params?: Octokit.ReposListInvitationsForAuthenticatedUserParams
27292 ): Promise<
27293 Octokit.Response<
27294 Octokit.ReposListInvitationsForAuthenticatedUserResponse
27295 >
27296 >;
27297
27298 endpoint: Octokit.Endpoint;
27299 };
27300
27301 acceptInvitation: {
27302 (params?: Octokit.ReposAcceptInvitationParams): Promise<
27303 Octokit.Response<Octokit.ReposAcceptInvitationResponse>
27304 >;
27305
27306 endpoint: Octokit.Endpoint;
27307 };
27308
27309 declineInvitation: {
27310 (params?: Octokit.ReposDeclineInvitationParams): Promise<
27311 Octokit.Response<Octokit.ReposDeclineInvitationResponse>
27312 >;
27313
27314 endpoint: Octokit.Endpoint;
27315 };
27316
27317 merge: {
27318 (params?: Octokit.ReposMergeParams): Promise<Octokit.AnyResponse>;
27319
27320 endpoint: Octokit.Endpoint;
27321 };
27322 /**
27323 * Responses during the preview period contain two additional fields:,* ,* * `html_url`: The absolute URL (with scheme) to the rendered site. For example, `https://username.github.io`.,* * `source`: Information about the source branch and directory for the rendered site. The source field includes:,* * `branch`: The repo branch for [site source files](https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/) For example, _master_ or _gh-pages_.,* * `path`: The repo directory from which the site publishes. Can be either `/` or `/docs`.
27324 */
27325 getPages: {
27326 (params?: Octokit.ReposGetPagesParams): Promise<
27327 Octokit.Response<Octokit.ReposGetPagesResponse>
27328 >;
27329
27330 endpoint: Octokit.Endpoint;
27331 };
27332
27333 updateInformationAboutPagesSite: {
27334 (params?: Octokit.ReposUpdateInformationAboutPagesSiteParams): Promise<
27335 Octokit.Response<Octokit.ReposUpdateInformationAboutPagesSiteResponse>
27336 >;
27337
27338 endpoint: Octokit.Endpoint;
27339 };
27340 /**
27341 * You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.,* ,* Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
27342 */
27343 requestPageBuild: {
27344 (params?: Octokit.ReposRequestPageBuildParams): Promise<
27345 Octokit.Response<Octokit.ReposRequestPageBuildResponse>
27346 >;
27347
27348 endpoint: Octokit.Endpoint;
27349 };
27350
27351 listPagesBuilds: {
27352 (params?: Octokit.ReposListPagesBuildsParams): Promise<
27353 Octokit.AnyResponse
27354 >;
27355
27356 endpoint: Octokit.Endpoint;
27357 };
27358
27359 getLatestPagesBuild: {
27360 (params?: Octokit.ReposGetLatestPagesBuildParams): Promise<
27361 Octokit.AnyResponse
27362 >;
27363
27364 endpoint: Octokit.Endpoint;
27365 };
27366
27367 getPagesBuild: {
27368 (params?: Octokit.ReposGetPagesBuildParams): Promise<Octokit.AnyResponse>;
27369
27370 endpoint: Octokit.Endpoint;
27371 };
27372 /**
27373 * This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/v3/repos/#list-tags).,* ,* Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.
27374 */
27375 listReleases: {
27376 (params?: Octokit.ReposListReleasesParams): Promise<
27377 Octokit.Response<Octokit.ReposListReleasesResponse>
27378 >;
27379
27380 endpoint: Octokit.Endpoint;
27381 };
27382 /**
27383 * **Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/v3/#hypermedia).
27384 */
27385 getRelease: {
27386 (params?: Octokit.ReposGetReleaseParams): Promise<
27387 Octokit.Response<Octokit.ReposGetReleaseResponse>
27388 >;
27389
27390 endpoint: Octokit.Endpoint;
27391 };
27392 /**
27393 * View the latest published full release for the repository.,* ,* The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.
27394 */
27395 getLatestRelease: {
27396 (params?: Octokit.ReposGetLatestReleaseParams): Promise<
27397 Octokit.Response<Octokit.ReposGetLatestReleaseResponse>
27398 >;
27399
27400 endpoint: Octokit.Endpoint;
27401 };
27402 /**
27403 * Get a published release with the specified tag.
27404 */
27405 getReleaseByTag: {
27406 (params?: Octokit.ReposGetReleaseByTagParams): Promise<
27407 Octokit.Response<Octokit.ReposGetReleaseByTagResponse>
27408 >;
27409
27410 endpoint: Octokit.Endpoint;
27411 };
27412 /**
27413 * Users with push access to the repository can create a release.,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
27414 */
27415 createRelease: {
27416 (params?: Octokit.ReposCreateReleaseParams): Promise<
27417 Octokit.Response<Octokit.ReposCreateReleaseResponse>
27418 >;
27419
27420 endpoint: Octokit.Endpoint;
27421 };
27422 /**
27423 * Users with push access to the repository can edit a release.
27424 */
27425 updateRelease: {
27426 (params?: Octokit.ReposUpdateReleaseParams): Promise<
27427 Octokit.Response<Octokit.ReposUpdateReleaseResponse>
27428 >;
27429
27430 endpoint: Octokit.Endpoint;
27431 };
27432 /**
27433 * Users with push access to the repository can delete a release.
27434 */
27435 deleteRelease: {
27436 (params?: Octokit.ReposDeleteReleaseParams): Promise<
27437 Octokit.Response<Octokit.ReposDeleteReleaseResponse>
27438 >;
27439
27440 endpoint: Octokit.Endpoint;
27441 };
27442
27443 listAssetsForRelease: {
27444 (params?: Octokit.ReposListAssetsForReleaseParams): Promise<
27445 Octokit.Response<Octokit.ReposListAssetsForReleaseResponse>
27446 >;
27447
27448 endpoint: Octokit.Endpoint;
27449 };
27450 /**
27451 * This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. This endpoint is provided by a URI template in [the release's API response](#get-a-single-release). You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.,* ,* The asset data is expected in its raw binary form, rather than JSON. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.,* ,* Send the raw binary content of the asset as the request body.,* ,* This may leave an empty asset with a state of `"new"`. It can be safely deleted.
27452 */
27453 uploadReleaseAsset: {
27454 (params?: Octokit.ReposUploadReleaseAssetParams): Promise<
27455 Octokit.AnyResponse
27456 >;
27457
27458 endpoint: Octokit.Endpoint;
27459 };
27460 /**
27461 * To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.
27462 */
27463 getReleaseAsset: {
27464 (params?: Octokit.ReposGetReleaseAssetParams): Promise<
27465 Octokit.Response<Octokit.ReposGetReleaseAssetResponse>
27466 >;
27467
27468 endpoint: Octokit.Endpoint;
27469 };
27470 /**
27471 * Users with push access to the repository can edit a release asset.
27472 */
27473 updateReleaseAsset: {
27474 (params?: Octokit.ReposUpdateReleaseAssetParams): Promise<
27475 Octokit.Response<Octokit.ReposUpdateReleaseAssetResponse>
27476 >;
27477
27478 endpoint: Octokit.Endpoint;
27479 };
27480
27481 deleteReleaseAsset: {
27482 (params?: Octokit.ReposDeleteReleaseAssetParams): Promise<
27483 Octokit.Response<Octokit.ReposDeleteReleaseAssetResponse>
27484 >;
27485
27486 endpoint: Octokit.Endpoint;
27487 };
27488 /**
27489 * * `total` - The Total number of commits authored by the contributor.,* ,* Weekly Hash (`weeks` array):,* ,* * `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).,* * `a` - Number of additions,* * `d` - Number of deletions,* * `c` - Number of commits,* ,*
27490 */
27491 getContributorsStats: {
27492 (params?: Octokit.ReposGetContributorsStatsParams): Promise<
27493 Octokit.Response<Octokit.ReposGetContributorsStatsResponse>
27494 >;
27495
27496 endpoint: Octokit.Endpoint;
27497 };
27498 /**
27499 * Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.,* ,*
27500 */
27501 getCommitActivityStats: {
27502 (params?: Octokit.ReposGetCommitActivityStatsParams): Promise<
27503 Octokit.Response<Octokit.ReposGetCommitActivityStatsResponse>
27504 >;
27505
27506 endpoint: Octokit.Endpoint;
27507 };
27508 /**
27509 * Returns a weekly aggregate of the number of additions and deletions pushed to a repository.,* ,*
27510 */
27511 getCodeFrequencyStats: {
27512 (params?: Octokit.ReposGetCodeFrequencyStatsParams): Promise<
27513 Octokit.Response<Octokit.ReposGetCodeFrequencyStatsResponse>
27514 >;
27515
27516 endpoint: Octokit.Endpoint;
27517 };
27518 /**
27519 * Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.,* ,* The array order is oldest week (index 0) to most recent week.,* ,*
27520 */
27521 getParticipationStats: {
27522 (params?: Octokit.ReposGetParticipationStatsParams): Promise<
27523 Octokit.Response<Octokit.ReposGetParticipationStatsResponse>
27524 >;
27525
27526 endpoint: Octokit.Endpoint;
27527 };
27528 /**
27529 * Each array contains the day number, hour number, and number of commits:,* ,* * `0-6`: Sunday - Saturday,* * `0-23`: Hour of day,* * Number of commits,* ,* For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
27530 */
27531 getPunchCardStats: {
27532 (params?: Octokit.ReposGetPunchCardStatsParams): Promise<
27533 Octokit.Response<Octokit.ReposGetPunchCardStatsResponse>
27534 >;
27535
27536 endpoint: Octokit.Endpoint;
27537 };
27538 /**
27539 * Users with push access in a repository can create commit statuses for a given SHA.,* ,* Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.
27540 */
27541 createStatus: {
27542 (params?: Octokit.ReposCreateStatusParams): Promise<
27543 Octokit.Response<Octokit.ReposCreateStatusResponse>
27544 >;
27545
27546 endpoint: Octokit.Endpoint;
27547 };
27548 /**
27549 * Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.,* ,* This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.
27550 */
27551 listStatusesForRef: {
27552 (params?: Octokit.ReposListStatusesForRefParams): Promise<
27553 Octokit.Response<Octokit.ReposListStatusesForRefResponse>
27554 >;
27555
27556 endpoint: Octokit.Endpoint;
27557 };
27558 /**
27559 * Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.,* ,* The most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/v3/#pagination) if there are over 100 contexts.,* ,* Additionally, a combined `state` is returned. The `state` is one of:,* ,* * **failure** if any of the contexts report as `error` or `failure`,* * **pending** if there are no statuses or a context is `pending`,* * **success** if the latest status for all contexts is `success`
27560 */
27561 getCombinedStatusForRef: {
27562 (params?: Octokit.ReposGetCombinedStatusForRefParams): Promise<
27563 Octokit.Response<Octokit.ReposGetCombinedStatusForRefResponse>
27564 >;
27565
27566 endpoint: Octokit.Endpoint;
27567 };
27568 /**
27569 * Get the top 10 referrers over the last 14 days.
27570 */
27571 getTopReferrers: {
27572 (params?: Octokit.ReposGetTopReferrersParams): Promise<
27573 Octokit.Response<Octokit.ReposGetTopReferrersResponse>
27574 >;
27575
27576 endpoint: Octokit.Endpoint;
27577 };
27578 /**
27579 * Get the top 10 popular contents over the last 14 days.
27580 */
27581 getTopPaths: {
27582 (params?: Octokit.ReposGetTopPathsParams): Promise<
27583 Octokit.Response<Octokit.ReposGetTopPathsResponse>
27584 >;
27585
27586 endpoint: Octokit.Endpoint;
27587 };
27588 /**
27589 * Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
27590 */
27591 getViews: {
27592 (params?: Octokit.ReposGetViewsParams): Promise<
27593 Octokit.Response<Octokit.ReposGetViewsResponse>
27594 >;
27595
27596 endpoint: Octokit.Endpoint;
27597 };
27598 /**
27599 * Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
27600 */
27601 getClones: {
27602 (params?: Octokit.ReposGetClonesParams): Promise<
27603 Octokit.Response<Octokit.ReposGetClonesResponse>
27604 >;
27605
27606 endpoint: Octokit.Endpoint;
27607 };
27608
27609 listHooks: {
27610 (params?: Octokit.ReposListHooksParams): Promise<
27611 Octokit.Response<Octokit.ReposListHooksResponse>
27612 >;
27613
27614 endpoint: Octokit.Endpoint;
27615 };
27616
27617 getHook: {
27618 (params?: Octokit.ReposGetHookParams): Promise<
27619 Octokit.Response<Octokit.ReposGetHookResponse>
27620 >;
27621
27622 endpoint: Octokit.Endpoint;
27623 };
27624 /**
27625 * Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.,* ,* Here's how you can create a hook that posts payloads in JSON format:
27626 */
27627 createHook: {
27628 (params?: Octokit.ReposCreateHookParams): Promise<
27629 Octokit.Response<Octokit.ReposCreateHookResponse>
27630 >;
27631
27632 endpoint: Octokit.Endpoint;
27633 };
27634
27635 updateHook: {
27636 (params?: Octokit.ReposUpdateHookParams): Promise<
27637 Octokit.Response<Octokit.ReposUpdateHookResponse>
27638 >;
27639
27640 endpoint: Octokit.Endpoint;
27641 };
27642 /**
27643 * This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.,* ,* **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`
27644 */
27645 testPushHook: {
27646 (params?: Octokit.ReposTestPushHookParams): Promise<
27647 Octokit.Response<Octokit.ReposTestPushHookResponse>
27648 >;
27649
27650 endpoint: Octokit.Endpoint;
27651 };
27652 /**
27653 * This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook.
27654 */
27655 pingHook: {
27656 (params?: Octokit.ReposPingHookParams): Promise<
27657 Octokit.Response<Octokit.ReposPingHookResponse>
27658 >;
27659
27660 endpoint: Octokit.Endpoint;
27661 };
27662
27663 deleteHook: {
27664 (params?: Octokit.ReposDeleteHookParams): Promise<
27665 Octokit.Response<Octokit.ReposDeleteHookResponse>
27666 >;
27667
27668 endpoint: Octokit.Endpoint;
27669 };
27670 };
27671 search: {
27672 /**
27673 * Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* Suppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.,* ,* You can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:,* ,* In this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.
27674 */
27675 repos: {
27676 (params?: Octokit.SearchReposParams): Promise<Octokit.AnyResponse>;
27677
27678 endpoint: Octokit.Endpoint;
27679 };
27680 /**
27681 * Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* **Considerations for commit search**,* ,* Only the _default branch_ is considered. In most cases, this will be the `master` branch.,* ,* Suppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:
27682 */
27683 commits: {
27684 (params?: Octokit.SearchCommitsParams): Promise<Octokit.AnyResponse>;
27685
27686 endpoint: Octokit.Endpoint;
27687 };
27688 /**
27689 * Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* **Note:** You must [authenticate](https://developer.github.com/v3/#authentication) to search for code across all public repositories.,* ,* **Considerations for code search**,* ,* Due to the complexity of searching code, there are a few restrictions on how searches are performed:,* ,* * Only the _default branch_ is considered. In most cases, this will be the `master` branch.,* * Only files smaller than 384 KB are searchable.,* * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.,* ,* Suppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:,* ,* Here, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.
27690 */
27691 code: {
27692 (params?: Octokit.SearchCodeParams): Promise<Octokit.AnyResponse>;
27693
27694 endpoint: Octokit.Endpoint;
27695 };
27696 /**
27697 * Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* Let's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.,* ,* In this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.
27698 */
27699 issuesAndPullRequests: {
27700 (params?: Octokit.SearchIssuesAndPullRequestsParams): Promise<
27701 Octokit.AnyResponse
27702 >;
27703
27704 endpoint: Octokit.Endpoint;
27705 };
27706 /**
27707 * Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* Let's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.,* ,* In this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.
27708 */
27709 issues: {
27710 (params?: Octokit.SearchIssuesParams): Promise<Octokit.AnyResponse>;
27711
27712 endpoint: Octokit.Endpoint;
27713 };
27714 /**
27715 * Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* Imagine you're looking for a list of popular users. You might try out this query:,* ,* Here, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.
27716 */
27717 users: {
27718 (params?: Octokit.SearchUsersParams): Promise<Octokit.AnyResponse>;
27719
27720 endpoint: Octokit.Endpoint;
27721 };
27722 /**
27723 * Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* See "[Searching topics](https://help.github.com/articles/searching-topics/)" for a detailed list of qualifiers.,* ,* Suppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:,* ,* In this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.,* ,* **Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/v3/#link-header) indicating pagination is not included in the response.
27724 */
27725 topics: {
27726 (params?: Octokit.SearchTopicsParams): Promise<Octokit.AnyResponse>;
27727
27728 endpoint: Octokit.Endpoint;
27729 };
27730 /**
27731 * Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/v3/#pagination).,* ,* When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](#text-match-metadata).,* ,* Suppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:,* ,* The labels that best match for the query appear first in the search results.
27732 */
27733 labels: {
27734 (params?: Octokit.SearchLabelsParams): Promise<Octokit.AnyResponse>;
27735
27736 endpoint: Octokit.Endpoint;
27737 };
27738 };
27739 teams: {
27740 list: {
27741 (params?: Octokit.TeamsListParams): Promise<
27742 Octokit.Response<Octokit.TeamsListResponse>
27743 >;
27744
27745 endpoint: Octokit.Endpoint;
27746 };
27747
27748 get: {
27749 (params?: Octokit.TeamsGetParams): Promise<
27750 Octokit.Response<Octokit.TeamsGetResponse>
27751 >;
27752
27753 endpoint: Octokit.Endpoint;
27754 };
27755 /**
27756 * To create a team, the authenticated user must be a member of `:org`.
27757 */
27758 create: {
27759 (params?: Octokit.TeamsCreateParams): Promise<
27760 Octokit.Response<Octokit.TeamsCreateResponse>
27761 >;
27762
27763 endpoint: Octokit.Endpoint;
27764 };
27765 /**
27766 * To edit a team, the authenticated user must either be an owner of the org that the team is associated with, or a maintainer of the team.,* ,* **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.
27767 */
27768 update: {
27769 (params?: Octokit.TeamsUpdateParams): Promise<
27770 Octokit.Response<Octokit.TeamsUpdateResponse>
27771 >;
27772
27773 endpoint: Octokit.Endpoint;
27774 };
27775 /**
27776 * To delete a team, the authenticated user must be a team maintainer or an owner of the org associated with the team.,* ,* If you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.
27777 */
27778 delete: {
27779 (params?: Octokit.TeamsDeleteParams): Promise<
27780 Octokit.Response<Octokit.TeamsDeleteResponse>
27781 >;
27782
27783 endpoint: Octokit.Endpoint;
27784 };
27785 /**
27786 * At this time, the `hellcat-preview` media type is required to use this endpoint.,* ,*
27787 */
27788 listChild: {
27789 (params?: Octokit.TeamsListChildParams): Promise<Octokit.AnyResponse>;
27790
27791 endpoint: Octokit.Endpoint;
27792 };
27793 /**
27794 * **Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.
27795 */
27796 listRepos: {
27797 (params?: Octokit.TeamsListReposParams): Promise<
27798 Octokit.Response<Octokit.TeamsListReposResponse>
27799 >;
27800
27801 endpoint: Octokit.Endpoint;
27802 };
27803 /**
27804 * **Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.,* ,* You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:
27805 */
27806 checkManagesRepo: {
27807 (params?: Octokit.TeamsCheckManagesRepoParams): Promise<
27808 Octokit.AnyResponse
27809 >;
27810
27811 endpoint: Octokit.Endpoint;
27812 };
27813 /**
27814 * To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization.,* ,* If you pass the `hellcat-preview` media type, you can modify repository permissions of child teams.,* ,* Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs).",* ,*
27815 */
27816 addOrUpdateRepo: {
27817 (params?: Octokit.TeamsAddOrUpdateRepoParams): Promise<
27818 Octokit.Response<Octokit.TeamsAddOrUpdateRepoResponse>
27819 >;
27820
27821 endpoint: Octokit.Endpoint;
27822 };
27823 /**
27824 * If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.
27825 */
27826 removeRepo: {
27827 (params?: Octokit.TeamsRemoveRepoParams): Promise<
27828 Octokit.Response<Octokit.TeamsRemoveRepoResponse>
27829 >;
27830
27831 endpoint: Octokit.Endpoint;
27832 };
27833 /**
27834 * List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/apps/building-oauth-apps/).
27835 */
27836 listForAuthenticatedUser: {
27837 (params?: Octokit.TeamsListForAuthenticatedUserParams): Promise<
27838 Octokit.Response<Octokit.TeamsListForAuthenticatedUserResponse>
27839 >;
27840
27841 endpoint: Octokit.Endpoint;
27842 };
27843 /**
27844 * Lists the organization projects for a team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.
27845 */
27846 listProjects: {
27847 (params?: Octokit.TeamsListProjectsParams): Promise<
27848 Octokit.Response<Octokit.TeamsListProjectsResponse>
27849 >;
27850
27851 endpoint: Octokit.Endpoint;
27852 };
27853 /**
27854 * Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.
27855 */
27856 reviewProject: {
27857 (params?: Octokit.TeamsReviewProjectParams): Promise<
27858 Octokit.Response<Octokit.TeamsReviewProjectResponse>
27859 >;
27860
27861 endpoint: Octokit.Endpoint;
27862 };
27863 /**
27864 * Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
27865 */
27866 addOrUpdateProject: {
27867 (params?: Octokit.TeamsAddOrUpdateProjectParams): Promise<
27868 Octokit.Response<Octokit.TeamsAddOrUpdateProjectResponse>
27869 >;
27870
27871 endpoint: Octokit.Endpoint;
27872 };
27873 /**
27874 * Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.
27875 */
27876 removeProject: {
27877 (params?: Octokit.TeamsRemoveProjectParams): Promise<
27878 Octokit.Response<Octokit.TeamsRemoveProjectResponse>
27879 >;
27880
27881 endpoint: Octokit.Endpoint;
27882 };
27883 /**
27884 * List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27885 */
27886 listDiscussions: {
27887 (params?: Octokit.TeamsListDiscussionsParams): Promise<
27888 Octokit.Response<Octokit.TeamsListDiscussionsResponse>
27889 >;
27890
27891 endpoint: Octokit.Endpoint;
27892 };
27893 /**
27894 * Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27895 */
27896 getDiscussion: {
27897 (params?: Octokit.TeamsGetDiscussionParams): Promise<
27898 Octokit.Response<Octokit.TeamsGetDiscussionResponse>
27899 >;
27900
27901 endpoint: Octokit.Endpoint;
27902 };
27903 /**
27904 * Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
27905 */
27906 createDiscussion: {
27907 (params?: Octokit.TeamsCreateDiscussionParams): Promise<
27908 Octokit.Response<Octokit.TeamsCreateDiscussionResponse>
27909 >;
27910
27911 endpoint: Octokit.Endpoint;
27912 };
27913 /**
27914 * Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27915 */
27916 updateDiscussion: {
27917 (params?: Octokit.TeamsUpdateDiscussionParams): Promise<
27918 Octokit.Response<Octokit.TeamsUpdateDiscussionResponse>
27919 >;
27920
27921 endpoint: Octokit.Endpoint;
27922 };
27923 /**
27924 * Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27925 */
27926 deleteDiscussion: {
27927 (params?: Octokit.TeamsDeleteDiscussionParams): Promise<
27928 Octokit.Response<Octokit.TeamsDeleteDiscussionResponse>
27929 >;
27930
27931 endpoint: Octokit.Endpoint;
27932 };
27933 /**
27934 * List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27935 */
27936 listDiscussionComments: {
27937 (params?: Octokit.TeamsListDiscussionCommentsParams): Promise<
27938 Octokit.Response<Octokit.TeamsListDiscussionCommentsResponse>
27939 >;
27940
27941 endpoint: Octokit.Endpoint;
27942 };
27943 /**
27944 * Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27945 */
27946 getDiscussionComment: {
27947 (params?: Octokit.TeamsGetDiscussionCommentParams): Promise<
27948 Octokit.Response<Octokit.TeamsGetDiscussionCommentResponse>
27949 >;
27950
27951 endpoint: Octokit.Endpoint;
27952 };
27953 /**
27954 * Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).,* ,* This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details.
27955 */
27956 createDiscussionComment: {
27957 (params?: Octokit.TeamsCreateDiscussionCommentParams): Promise<
27958 Octokit.Response<Octokit.TeamsCreateDiscussionCommentResponse>
27959 >;
27960
27961 endpoint: Octokit.Endpoint;
27962 };
27963 /**
27964 * Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27965 */
27966 updateDiscussionComment: {
27967 (params?: Octokit.TeamsUpdateDiscussionCommentParams): Promise<
27968 Octokit.Response<Octokit.TeamsUpdateDiscussionCommentResponse>
27969 >;
27970
27971 endpoint: Octokit.Endpoint;
27972 };
27973 /**
27974 * Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
27975 */
27976 deleteDiscussionComment: {
27977 (params?: Octokit.TeamsDeleteDiscussionCommentParams): Promise<
27978 Octokit.Response<Octokit.TeamsDeleteDiscussionCommentResponse>
27979 >;
27980
27981 endpoint: Octokit.Endpoint;
27982 };
27983 /**
27984 * If you pass the `hellcat-preview` media type, team members will include the members of child teams.
27985 */
27986 listMembers: {
27987 (params?: Octokit.TeamsListMembersParams): Promise<
27988 Octokit.Response<Octokit.TeamsListMembersResponse>
27989 >;
27990
27991 endpoint: Octokit.Endpoint;
27992 };
27993 /**
27994 * The "Get team member" API (described below) is deprecated.,* ,* We recommend using the [Get team membership API](https://developer.github.com/v3/teams/members/#get-team-membership) instead. It allows you to get both active and pending memberships.,* ,* To list members in a team, the team must be visible to the authenticated user.
27995 */
27996 getMember: {
27997 (params?: Octokit.TeamsGetMemberParams): Promise<Octokit.AnyResponse>;
27998
27999 endpoint: Octokit.Endpoint;
28000 };
28001 /**
28002 * The "Add team member" API (described below) is deprecated.,* ,* We recommend using the [Add team membership API](https://developer.github.com/v3/teams/members/#add-or-update-team-membership) instead. It allows you to invite new organization members to your teams.,* ,* To add a user to a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with, and the user being added must already be a member of at least one other team on the same organization.,* ,* Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs).",* ,* If you attempt to add an organization to a team, you will get this:,* ,* If you attempt to add a user to a team and that user is not a member of at least one other team on the same organization, you will get this:
28003 */
28004 addMember: {
28005 (params?: Octokit.TeamsAddMemberParams): Promise<
28006 Octokit.Response<Octokit.TeamsAddMemberResponse>
28007 >;
28008
28009 endpoint: Octokit.Endpoint;
28010 };
28011 /**
28012 * The "Remove team member" API (described below) is deprecated.,* ,* We recommend using the [Remove team membership API](https://developer.github.com/v3/teams/members/#remove-team-membership) instead. It allows you to remove both active and pending memberships.,* ,* To remove a user from a team, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. NOTE: This does not delete the user, it just removes them from the team.
28013 */
28014 removeMember: {
28015 (params?: Octokit.TeamsRemoveMemberParams): Promise<
28016 Octokit.Response<Octokit.TeamsRemoveMemberResponse>
28017 >;
28018
28019 endpoint: Octokit.Endpoint;
28020 };
28021 /**
28022 * If you pass the `hellcat-preview` media type, team members will include the members of child teams.,* ,* To get a user's membership with a team, the team must be visible to the authenticated user.,* ,* **Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/v3/teams#create-team).
28023 */
28024 getMembership: {
28025 (params?: Octokit.TeamsGetMembershipParams): Promise<Octokit.AnyResponse>;
28026
28027 endpoint: Octokit.Endpoint;
28028 };
28029 /**
28030 * If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a maintainer of the team.,* ,* If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.,* ,* If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a maintainer of the team.,* ,* If you attempt to add an organization to a team, you will get this:
28031 */
28032 addOrUpdateMembership: {
28033 (params?: Octokit.TeamsAddOrUpdateMembershipParams): Promise<
28034 Octokit.AnyResponse
28035 >;
28036
28037 endpoint: Octokit.Endpoint;
28038 };
28039 /**
28040 * To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. NOTE: This does not delete the user, it just removes their membership from the team.
28041 */
28042 removeMembership: {
28043 (params?: Octokit.TeamsRemoveMembershipParams): Promise<
28044 Octokit.Response<Octokit.TeamsRemoveMembershipResponse>
28045 >;
28046
28047 endpoint: Octokit.Endpoint;
28048 };
28049 /**
28050 * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
28051 */
28052 listPendingInvitations: {
28053 (params?: Octokit.TeamsListPendingInvitationsParams): Promise<
28054 Octokit.Response<Octokit.TeamsListPendingInvitationsResponse>
28055 >;
28056
28057 endpoint: Octokit.Endpoint;
28058 };
28059 };
28060 users: {
28061 /**
28062 * Provides publicly available information about someone with a GitHub account.,* ,* The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://developer.github.com/v3/#authentication).,* ,* The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://developer.github.com/v3/users/emails/)".
28063 */
28064 getByUsername: {
28065 (params?: Octokit.UsersGetByUsernameParams): Promise<
28066 Octokit.Response<Octokit.UsersGetByUsernameResponse>
28067 >;
28068
28069 endpoint: Octokit.Endpoint;
28070 };
28071 /**
28072 * Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.,* ,* Lists public profile information when authenticated through OAuth without the `user` scope.
28073 */
28074 getAuthenticated: {
28075 (params?: Octokit.EmptyParams): Promise<Octokit.AnyResponse>;
28076
28077 endpoint: Octokit.Endpoint;
28078 };
28079 /**
28080 * **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.
28081 */
28082 updateAuthenticated: {
28083 (params?: Octokit.UsersUpdateAuthenticatedParams): Promise<
28084 Octokit.Response<Octokit.UsersUpdateAuthenticatedResponse>
28085 >;
28086
28087 endpoint: Octokit.Endpoint;
28088 };
28089 /**
28090 * Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.,* ,* The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:
28091 */
28092 getContextForUser: {
28093 (params?: Octokit.UsersGetContextForUserParams): Promise<
28094 Octokit.Response<Octokit.UsersGetContextForUserResponse>
28095 >;
28096
28097 endpoint: Octokit.Endpoint;
28098 };
28099 /**
28100 * Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.,* ,* Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of users.
28101 */
28102 list: {
28103 (params?: Octokit.UsersListParams): Promise<
28104 Octokit.Response<Octokit.UsersListResponse>
28105 >;
28106
28107 endpoint: Octokit.Endpoint;
28108 };
28109 /**
28110 * List the users you've blocked on your personal account.
28111 */
28112 listBlocked: {
28113 (params?: Octokit.EmptyParams): Promise<
28114 Octokit.Response<Octokit.UsersListBlockedResponse>
28115 >;
28116
28117 endpoint: Octokit.Endpoint;
28118 };
28119 /**
28120 * If the user is blocked:,* ,* If the user is not blocked:
28121 */
28122 checkBlocked: {
28123 (params?: Octokit.UsersCheckBlockedParams): Promise<
28124 Octokit.Response<Octokit.UsersCheckBlockedResponse>
28125 >;
28126
28127 endpoint: Octokit.Endpoint;
28128 };
28129
28130 block: {
28131 (params?: Octokit.UsersBlockParams): Promise<
28132 Octokit.Response<Octokit.UsersBlockResponse>
28133 >;
28134
28135 endpoint: Octokit.Endpoint;
28136 };
28137
28138 unblock: {
28139 (params?: Octokit.UsersUnblockParams): Promise<
28140 Octokit.Response<Octokit.UsersUnblockResponse>
28141 >;
28142
28143 endpoint: Octokit.Endpoint;
28144 };
28145 /**
28146 * Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.
28147 */
28148 listEmails: {
28149 (params?: Octokit.UsersListEmailsParams): Promise<
28150 Octokit.Response<Octokit.UsersListEmailsResponse>
28151 >;
28152
28153 endpoint: Octokit.Endpoint;
28154 };
28155 /**
28156 * Lists your publicly visible email address, which you can set with the [Toggle primary email visibility](#toggle-primary-email-visibility) endpoint. This endpoint is accessible with the `user:email` scope.
28157 */
28158 listPublicEmails: {
28159 (params?: Octokit.UsersListPublicEmailsParams): Promise<
28160 Octokit.Response<Octokit.UsersListPublicEmailsResponse>
28161 >;
28162
28163 endpoint: Octokit.Endpoint;
28164 };
28165 /**
28166 * This endpoint is accessible with the `user` scope.
28167 */
28168 addEmails: {
28169 (params?: Octokit.UsersAddEmailsParams): Promise<
28170 Octokit.Response<Octokit.UsersAddEmailsResponse>
28171 >;
28172
28173 endpoint: Octokit.Endpoint;
28174 };
28175 /**
28176 * This endpoint is accessible with the `user` scope.
28177 */
28178 deleteEmails: {
28179 (params?: Octokit.UsersDeleteEmailsParams): Promise<
28180 Octokit.Response<Octokit.UsersDeleteEmailsResponse>
28181 >;
28182
28183 endpoint: Octokit.Endpoint;
28184 };
28185 /**
28186 * Sets the visibility for your primary email addresses.
28187 */
28188 togglePrimaryEmailVisibility: {
28189 (params?: Octokit.UsersTogglePrimaryEmailVisibilityParams): Promise<
28190 Octokit.Response<Octokit.UsersTogglePrimaryEmailVisibilityResponse>
28191 >;
28192
28193 endpoint: Octokit.Endpoint;
28194 };
28195
28196 listFollowersForUser: {
28197 (params?: Octokit.UsersListFollowersForUserParams): Promise<
28198 Octokit.Response<Octokit.UsersListFollowersForUserResponse>
28199 >;
28200
28201 endpoint: Octokit.Endpoint;
28202 };
28203
28204 listFollowersForAuthenticatedUser: {
28205 (params?: Octokit.UsersListFollowersForAuthenticatedUserParams): Promise<
28206 Octokit.Response<Octokit.UsersListFollowersForAuthenticatedUserResponse>
28207 >;
28208
28209 endpoint: Octokit.Endpoint;
28210 };
28211
28212 listFollowingForUser: {
28213 (params?: Octokit.UsersListFollowingForUserParams): Promise<
28214 Octokit.Response<Octokit.UsersListFollowingForUserResponse>
28215 >;
28216
28217 endpoint: Octokit.Endpoint;
28218 };
28219
28220 listFollowingForAuthenticatedUser: {
28221 (params?: Octokit.UsersListFollowingForAuthenticatedUserParams): Promise<
28222 Octokit.Response<Octokit.UsersListFollowingForAuthenticatedUserResponse>
28223 >;
28224
28225 endpoint: Octokit.Endpoint;
28226 };
28227
28228 checkFollowing: {
28229 (params?: Octokit.UsersCheckFollowingParams): Promise<
28230 Octokit.AnyResponse
28231 >;
28232
28233 endpoint: Octokit.Endpoint;
28234 };
28235
28236 checkFollowingForUser: {
28237 (params?: Octokit.UsersCheckFollowingForUserParams): Promise<
28238 Octokit.AnyResponse
28239 >;
28240
28241 endpoint: Octokit.Endpoint;
28242 };
28243 /**
28244 * Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs).",* ,* Following a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.
28245 */
28246 follow: {
28247 (params?: Octokit.UsersFollowParams): Promise<
28248 Octokit.Response<Octokit.UsersFollowResponse>
28249 >;
28250
28251 endpoint: Octokit.Endpoint;
28252 };
28253 /**
28254 * Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.
28255 */
28256 unfollow: {
28257 (params?: Octokit.UsersUnfollowParams): Promise<
28258 Octokit.Response<Octokit.UsersUnfollowResponse>
28259 >;
28260
28261 endpoint: Octokit.Endpoint;
28262 };
28263 /**
28264 * Lists the _verified_ public SSH keys for a user. This is accessible by anyone.
28265 */
28266 listPublicKeysForUser: {
28267 (params?: Octokit.UsersListPublicKeysForUserParams): Promise<
28268 Octokit.Response<Octokit.UsersListPublicKeysForUserResponse>
28269 >;
28270
28271 endpoint: Octokit.Endpoint;
28272 };
28273 /**
28274 * Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28275 */
28276 listPublicKeys: {
28277 (params?: Octokit.UsersListPublicKeysParams): Promise<
28278 Octokit.Response<Octokit.UsersListPublicKeysResponse>
28279 >;
28280
28281 endpoint: Octokit.Endpoint;
28282 };
28283 /**
28284 * View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28285 */
28286 getPublicKey: {
28287 (params?: Octokit.UsersGetPublicKeyParams): Promise<
28288 Octokit.Response<Octokit.UsersGetPublicKeyResponse>
28289 >;
28290
28291 endpoint: Octokit.Endpoint;
28292 };
28293 /**
28294 * Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28295 */
28296 createPublicKey: {
28297 (params?: Octokit.UsersCreatePublicKeyParams): Promise<
28298 Octokit.Response<Octokit.UsersCreatePublicKeyResponse>
28299 >;
28300
28301 endpoint: Octokit.Endpoint;
28302 };
28303 /**
28304 * Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28305 */
28306 deletePublicKey: {
28307 (params?: Octokit.UsersDeletePublicKeyParams): Promise<
28308 Octokit.Response<Octokit.UsersDeletePublicKeyResponse>
28309 >;
28310
28311 endpoint: Octokit.Endpoint;
28312 };
28313 /**
28314 * Lists the GPG keys for a user. This information is accessible by anyone.
28315 */
28316 listGpgKeysForUser: {
28317 (params?: Octokit.UsersListGpgKeysForUserParams): Promise<
28318 Octokit.Response<Octokit.UsersListGpgKeysForUserResponse>
28319 >;
28320
28321 endpoint: Octokit.Endpoint;
28322 };
28323 /**
28324 * Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28325 */
28326 listGpgKeys: {
28327 (params?: Octokit.UsersListGpgKeysParams): Promise<
28328 Octokit.Response<Octokit.UsersListGpgKeysResponse>
28329 >;
28330
28331 endpoint: Octokit.Endpoint;
28332 };
28333 /**
28334 * View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28335 */
28336 getGpgKey: {
28337 (params?: Octokit.UsersGetGpgKeyParams): Promise<
28338 Octokit.Response<Octokit.UsersGetGpgKeyResponse>
28339 >;
28340
28341 endpoint: Octokit.Endpoint;
28342 };
28343 /**
28344 * Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28345 */
28346 createGpgKey: {
28347 (params?: Octokit.UsersCreateGpgKeyParams): Promise<
28348 Octokit.Response<Octokit.UsersCreateGpgKeyResponse>
28349 >;
28350
28351 endpoint: Octokit.Endpoint;
28352 };
28353 /**
28354 * Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
28355 */
28356 deleteGpgKey: {
28357 (params?: Octokit.UsersDeleteGpgKeyParams): Promise<
28358 Octokit.Response<Octokit.UsersDeleteGpgKeyResponse>
28359 >;
28360
28361 endpoint: Octokit.Endpoint;
28362 };
28363 };
28364}
28365
28366export = Octokit;