package github-data
Source file github_t.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421(* Auto-generated from "github.atd" *) [@@@ocaml.warning "-27-32-33-35-39"] type update_gist = { update_gist_description (*atd description *): string; update_gist_files (*atd files *): (string * update_gist) list } type wiki_page_action = [ `Created | `Edited | `Unknown of string ] type wiki_page = { wiki_page_name (*atd name *): string; wiki_page_title (*atd title *): string; wiki_page_action (*atd action *): wiki_page_action; wiki_page_sha (*atd sha *): string; wiki_page_html_url (*atd html_url *): string } type bool_as_string = bool type web_hook_config = { web_hook_config_url (*atd url *): string; web_hook_config_content_type (*atd content_type *): string option; web_hook_config_insecure_ssl (*atd insecure_ssl *): bool_as_string; web_hook_config_secret (*atd secret *): string option } type watch_action = [ `Started | `Unknown of string ] type watch_event = { watch_event_action (*atd action *): watch_action } type user_type = [ `User | `Org ] type user_info = { user_info_name (*atd name *): string option; user_info_company (*atd company *): string option; user_info_blog (*atd blog *): string option; user_info_location (*atd location *): string option; user_info_email (*atd email *): string option; user_info_hireable (*atd hireable *): bool; user_info_bio (*atd bio *): string; user_info_public_repos (*atd public_repos *): int; user_info_public_gists (*atd public_gists *): int; user_info_followers (*atd followers *): int; user_info_following (*atd following *): int; user_info_created_at (*atd created_at *): string; user_info_updated_at (*atd updated_at *): string; user_info_html_url (*atd html_url *): string; user_info_login (*atd login *): string; user_info_id (*atd id *): Int64.t; user_info_url (*atd url *): string; user_info_avatar_url (*atd avatar_url *): string option; user_info_ty (*atd ty *): user_type } type user = { user_login (*atd login *): string; user_id (*atd id *): Int64.t; user_url (*atd url *): string; user_avatar_url (*atd avatar_url *): string option; user_ty (*atd ty *): user_type } type update_release = { update_release_tag_name (*atd tag_name *): string option; update_release_target_commitish (*atd target_commitish *): string option; update_release_name (*atd name *): string option; update_release_body (*atd body *): string option; update_release_draft (*atd draft *): bool option; update_release_prerelease (*atd prerelease *): bool option } type state = [ `Open | `Closed ] type update_pull = { update_pull_title (*atd title *): string option; update_pull_body (*atd body *): string option; update_pull_state (*atd state *): state option; update_pull_base (*atd base *): string option } type update_milestone = { update_milestone_title (*atd title *): string option; update_milestone_state (*atd state *): state option; update_milestone_description (*atd description *): string option; update_milestone_due_on (*atd due_on *): string option } type update_issue = { update_issue_title (*atd title *): string option; update_issue_body (*atd body *): string option; update_issue_state (*atd state *): state option; update_issue_assignee (*atd assignee *): string option; update_issue_milestone (*atd milestone *): int option; update_issue_labels (*atd labels *): string list option } type t = Yojson.Safe.t type hook_config = [ `Web of web_hook_config | `Unknown of (string * t option) ] type event_type = [ `CommitComment | `Create | `Delete | `Deployment | `DeploymentStatus | `Download | `Follow | `Fork | `ForkApply | `Gist | `Gollum | `IssueComment | `Issues | `Member | `PageBuild | `Public | `PullRequest | `PullRequestReviewComment | `Push | `Release | `Repository | `Status | `TeamAdd | `Watch | `All | `Unknown of string ] type update_hook = { update_hook_config (*atd config *): hook_config; update_hook_events (*atd events *): event_type list option; update_hook_active (*atd active *): bool } type update_gist_file = { update_gist_file_content (*atd content *): string option; update_gist_file_name (*atd name *): string option } type pull_ref = { pull_ref_url (*atd url *): string; pull_ref_html_url (*atd html_url *): string; pull_ref_diff_url (*atd diff_url *): string; pull_ref_patch_url (*atd patch_url *): string } type milestone = { milestone_url (*atd url *): string; milestone_number (*atd number *): int; milestone_state (*atd state *): state; milestone_description (*atd description *): string; milestone_creator (*atd creator *): user option; milestone_open_issues (*atd open_issues *): int; milestone_closed_issues (*atd closed_issues *): int; milestone_created_at (*atd created_at *): string; milestone_due_on (*atd due_on *): string option; milestone_title (*atd title *): string } type label = { label_url (*atd url *): string; label_name (*atd name *): string; label_color (*atd color *): string } type issue_sort = [ `Created | `Updated | `Comments | `Unknown of string ] type direction = [ `Asc | `Desc ] type issue = { issue_url (*atd url *): string; issue_html_url (*atd html_url *): string; issue_number (*atd number *): int; issue_state (*atd state *): state; issue_title (*atd title *): string; issue_body (*atd body *): string; issue_user (*atd user *): user; issue_labels (*atd labels *): label list; issue_comments (*atd comments *): int; issue_created_at (*atd created_at *): string; issue_updated_at (*atd updated_at *): string; issue_closed_at (*atd closed_at *): string option; issue_milestone (*atd milestone *): milestone option; issue_sort (*atd sort *): issue_sort; issue_direction (*atd direction *): direction; issue_mentioned (*atd mentioned *): string list option; issue_pull_request (*atd pull_request *): pull_ref option } type timeline_source = { timeline_source_id (*atd id *): int option; timeline_source_url (*atd url *): string option; timeline_source_actor (*atd actor *): user option; timeline_source_issue (*atd issue *): issue option } type timeline_action = [ `Assigned | `Closed | `Commented | `Committed | `Cross_referenced | `Demilestoned | `Head_ref_deleted | `Head_ref_restored | `Labeled | `Locked | `Mentioned | `Merged | `Milestoned | `Referenced | `Renamed | `Reopened | `Review_dismissed | `Review_requested | `Review_request_removed | `Subscribed | `Unassigned | `Unlabeled | `Unlocked | `Unsubscribed ] type milestone_reference = { milestone_reference_title (*atd title *): string } type issue_rename = { issue_rename_from (*atd from *): string; issue_rename_to (*atd to *): string } type base_label = { base_label_name (*atd name *): string; base_label_color (*atd color *): string } type timeline_event = { timeline_event_id (*atd id *): int option; timeline_event_url (*atd url *): string option; timeline_event_actor (*atd actor *): user option; timeline_event_commit_id (*atd commit_id *): string option; timeline_event_event (*atd event *): timeline_action; timeline_event_created_at (*atd created_at *): string; timeline_event_label (*atd label *): base_label option; timeline_event_assignee (*atd assignee *): user option; timeline_event_milestone (*atd milestone *): milestone_reference option; timeline_event_source (*atd source *): timeline_source option; timeline_event_rename (*atd rename *): issue_rename option } type timeline_events = timeline_event list type change = { change_from (*atd from *): string } type ticket_changes = { ticket_changes_title (*atd title *): change option; ticket_changes_body (*atd body *): change option } type team = { team_url (*atd url *): string; team_name (*atd name *): string; team_id (*atd id *): Int64.t } type teams = team list type team_permission = [ `Pull | `Push | `Admin | `Unknown of string ] type org = { org_login (*atd login *): string; org_id (*atd id *): Int64.t; org_url (*atd url *): string; org_ty (*atd ty *): user_type; org_avatar_url (*atd avatar_url *): string option } type team_info = { team_info_permission (*atd permission *): team_permission; team_info_members_count (*atd members_count *): int; team_info_repos_count (*atd repos_count *): int; team_info_organization (*atd organization *): org; team_info_url (*atd url *): string; team_info_name (*atd name *): string; team_info_id (*atd id *): Int64.t } type team_infos = team_info list type team_add_info = { team_add_info_slug (*atd slug *): string; team_add_info_permission (*atd permission *): team_permission; team_add_info_members_url (*atd members_url *): string; team_add_info_repositories_url (*atd repositories_url *): string; team_add_info_url (*atd url *): string; team_add_info_name (*atd name *): string; team_add_info_id (*atd id *): Int64.t } type repository_permissions = { repository_permissions_admin (*atd admin *): bool; repository_permissions_push (*atd push *): bool; repository_permissions_pull (*atd pull *): bool } type repository = { repository_owner (*atd owner *): user; repository_full_name (*atd full_name *): string; repository_description (*atd description *): string option; repository_private (*atd private *): bool; repository_fork (*atd fork *): bool; repository_html_url (*atd html_url *): string; repository_clone_url (*atd clone_url *): string; repository_git_url (*atd git_url *): string; repository_ssh_url (*atd ssh_url *): string; repository_svn_url (*atd svn_url *): string; repository_mirror_url (*atd mirror_url *): string option; repository_homepage (*atd homepage *): string; repository_language (*atd language *): string option; repository_forks_count (*atd forks_count *): int; repository_subscribers_count (*atd subscribers_count *): int option; repository_stargazers_count (*atd stargazers_count *): int; repository_size (*atd size *): int; repository_default_branch (*atd default_branch *): string option; repository_open_issues_count (*atd open_issues_count *): int; repository_pushed_at (*atd pushed_at *): string option; repository_created_at (*atd created_at *): string; repository_updated_at (*atd updated_at *): string; repository_organization (*atd organization *): user option; repository_has_issues (*atd has_issues *): bool; repository_has_wiki (*atd has_wiki *): bool; repository_has_downloads (*atd has_downloads *): bool; repository_has_pages (*atd has_pages *): bool; repository_permissions (*atd permissions *): repository_permissions option; repository_id (*atd id *): Int64.t; repository_name (*atd name *): string; repository_url (*atd url *): string } type team_add_event = { team_add_event_team (*atd team *): team_add_info option; team_add_event_user (*atd user *): user option; team_add_event_repository (*atd repository *): repository option; team_add_event_organization (*atd organization *): org } type obj_type = [ `Blob | `Tree | `Commit | `Tag ] type obj = { obj_ty (*atd ty *): obj_type; obj_sha (*atd sha *): string; obj_url (*atd url *): string } type info = { info_date (*atd date *): string; info_email (*atd email *): string; info_name (*atd name *): string } type tag = { tag_obj (*atd obj *): obj; tag_url (*atd url *): string; tag_sha (*atd sha *): string; tag_tag (*atd tag *): string; tag_message (*atd message *): string; tag_tagger (*atd tagger *): info } type status_state = [ `Pending | `Success | `Failure | `Error | `Unknown of string ] type status = { status_creator (*atd creator *): user; status_url (*atd url *): string; status_updated_at (*atd updated_at *): string; status_created_at (*atd created_at *): string; status_id (*atd id *): Int64.t; status_state (*atd state *): status_state; status_target_url (*atd target_url *): string option; status_description (*atd description *): string option; status_context (*atd context *): string option } type statuses = status list type status_branch_commit = { status_branch_commit_sha (*atd sha *): string; status_branch_commit_url (*atd url *): string } type status_branch = { status_branch_name (*atd name *): string; status_branch_commit (*atd commit *): status_branch_commit } type git_commit = { git_commit_url (*atd url *): string; git_commit_author (*atd author *): info; git_commit_committer (*atd committer *): info; git_commit_message (*atd message *): string } type commit = { commit_url (*atd url *): string; commit_sha (*atd sha *): string; commit_git (*atd git *): git_commit; commit_author (*atd author *): user option; commit_committer (*atd committer *): user option } type status_event = { status_event_sha (*atd sha *): string; status_event_target_url (*atd target_url *): string option; status_event_context (*atd context *): string option; status_event_description (*atd description *): string option; status_event_state (*atd state *): status_state; status_event_commit (*atd commit *): commit; status_event_branches (*atd branches *): status_branch list } type scope = [ `User | `User_email | `User_follow | `Public_repo | `Repo | `Repo_deployment | `Repo_status | `Delete_repo | `Notifications | `Gist | `Read_repo_hook | `Write_repo_hook | `Admin_repo_hook | `Admin_org_hook | `Read_org | `Write_org | `Admin_org | `Read_public_key | `Write_public_key | `Admin_public_key | `Unknown of string ] type repositories = repository list type repository_search = { repository_search_total_count (*atd total_count *): int; repository_search_incomplete_results (*atd incomplete_results *): bool; repository_search_items (*atd items *): repositories } type issues = issue list type repository_issue_search = { repository_issue_search_total_count (*atd total_count *): int; repository_issue_search_incomplete_results (*atd incomplete_results *): bool; repository_issue_search_items (*atd items *): issues } type repository_action = [ `Created | `Deleted | `Publicized | `Privatized | `Unknown of string ] type repository_event = { repository_event_action (*atd action *): repository_action; repository_event_repository (*atd repository *): repository } type repo_commit = { repo_commit_sha (*atd sha *): string; repo_commit_url (*atd url *): string } type repo_tag = { repo_tag_name (*atd name *): string; repo_tag_commit (*atd commit *): repo_commit; repo_tag_zipball_url (*atd zipball_url *): string; repo_tag_tarball_url (*atd tarball_url *): string } type repo_issues_action = [ `Closed | `Reopened | `Subscribed | `Merged | `Referenced | `Mentioned | `Assigned | `Unassigned | `Labeled | `Unlabeled | `Milestoned | `Demilestoned | `Renamed | `Locked | `Unlocked | `Head_ref_deleted | `Head_ref_restored | `Unknown of string ] type linked_user = { linked_user_html_url (*atd html_url *): string; linked_user_login (*atd login *): string; linked_user_id (*atd id *): Int64.t; linked_user_url (*atd url *): string; linked_user_avatar_url (*atd avatar_url *): string option; linked_user_ty (*atd ty *): user_type } type repo_issues_event = { repo_issues_event_issue (*atd issue *): issue; repo_issues_event_id (*atd id *): int; repo_issues_event_url (*atd url *): string; repo_issues_event_actor (*atd actor *): linked_user option; repo_issues_event_event (*atd event *): repo_issues_action; repo_issues_event_created_at (*atd created_at *): string; repo_issues_event_label (*atd label *): base_label option; repo_issues_event_assignee (*atd assignee *): linked_user option; repo_issues_event_assigner (*atd assigner *): linked_user option; repo_issues_event_milestone (*atd milestone *): milestone_reference option; repo_issues_event_rename (*atd rename *): issue_rename option } type repo_issues_events = repo_issues_event list type repo_issue_event = { repo_issue_event_id (*atd id *): int; repo_issue_event_url (*atd url *): string; repo_issue_event_actor (*atd actor *): linked_user option; repo_issue_event_event (*atd event *): repo_issues_action; repo_issue_event_created_at (*atd created_at *): string; repo_issue_event_label (*atd label *): base_label option; repo_issue_event_assignee (*atd assignee *): linked_user option; repo_issue_event_assigner (*atd assigner *): linked_user option; repo_issue_event_milestone (*atd milestone *): milestone_reference option; repo_issue_event_rename (*atd rename *): issue_rename option } type repo_issue_events = repo_issue_event list type repo_branch = { repo_branch_name (*atd name *): string; repo_branch_commit (*atd commit *): repo_commit } type repo_branches = repo_branch list type repo = { repo_id (*atd id *): Int64.t; repo_name (*atd name *): string; repo_url (*atd url *): string } type release = { release_id (*atd id *): Int64.t; release_tag_name (*atd tag_name *): string; release_target_commitish (*atd target_commitish *): string option; release_name (*atd name *): string option; release_body (*atd body *): string option; release_draft (*atd draft *): bool; release_prerelease (*atd prerelease *): bool; release_created_at (*atd created_at *): string; release_published_at (*atd published_at *): string; release_url (*atd url *): string; release_html_url (*atd html_url *): string; release_assets_url (*atd assets_url *): string; release_upload_url (*atd upload_url *): string } type releases = release list type release_repo = { release_repo_user (*atd user *): string; release_repo_repo (*atd repo *): string; release_repo_release (*atd release *): release } type release_repos = release_repo list type release_action = [ `Published | `Unknown of string ] type release_event = { release_event_action (*atd action *): release_action; release_event_release (*atd release *): release } type release_asset = { release_asset_url (*atd url *): string; release_asset_browser_download_url (*atd browser_download_url *): string; release_asset_id (*atd id *): Int64.t; release_asset_node_id (*atd node_id *): string; release_asset_name (*atd name *): string; release_asset_label (*atd label *): string; release_asset_state (*atd state *): string; release_asset_content_type (*atd content_type *): string; release_asset_size (*atd size *): int; release_asset_download_count (*atd download_count *): int; release_asset_created_at (*atd created_at *): string; release_asset_published_at (*atd published_at *): string } type release_assets = release_asset list type ref = [ `Repository | `Branch of string | `Tag of string ] type rate = { rate_limit (*atd limit *): int; rate_remaining (*atd remaining *): int; rate_reset (*atd reset *): float } type rate_resources = { rate_resources_core (*atd core *): rate; rate_resources_search (*atd search *): rate } type rate_limit = { rate_limit_resources (*atd resources *): rate_resources } type push_event_hook_commit = { push_event_hook_commit_id (*atd id *): string; push_event_hook_commit_tree_id (*atd tree_id *): string; push_event_hook_commit_url (*atd url *): string; push_event_hook_commit_message (*atd message *): string; push_event_hook_commit_author (*atd author *): push_event_author; push_event_hook_commit_distinct (*atd distinct *): bool } type push_event_hook = { push_event_hook_after (*atd after *): string; push_event_hook_created (*atd created *): bool; push_event_hook_deleted (*atd deleted *): bool; push_event_hook_forced (*atd forced *): bool; push_event_hook_commits (*atd commits *): push_event_hook_commit list; push_event_hook_head_commit (*atd head_commit *): push_event_hook_commit option; push_event_hook_ref (*atd ref *): string; push_event_hook_before (*atd before *): string } type push_event_commit_base = { push_event_commit_base_url (*atd url *): string; push_event_commit_base_message (*atd message *): string; push_event_commit_base_author (*atd author *): push_event_author; push_event_commit_base_distinct (*atd distinct *): bool } type push_event_commit = { push_event_commit_sha (*atd sha *): string; push_event_commit_url (*atd url *): string; push_event_commit_message (*atd message *): string; push_event_commit_author (*atd author *): push_event_author; push_event_commit_distinct (*atd distinct *): bool } type push_event_base = { push_event_base_ref (*atd ref *): string; push_event_base_before (*atd before *): string } type push_event = { push_event_head (*atd head *): string; push_event_size (*atd size *): int; push_event_commits (*atd commits *): push_event_commit list; push_event_ref (*atd ref *): string; push_event_before (*atd before *): string } type punch_card = int list type punch_cards = punch_card list type link = { href: string } type pull_links = { pull_self (*atd self *): link; pull_html (*atd html *): link; pull_comments (*atd comments *): link; pull_review_comments (*atd review_comments *): link } type branch = { branch_label (*atd label *): string option; branch_ref (*atd ref *): string; branch_sha (*atd sha *): string; branch_user (*atd user *): user option; branch_repo (*atd repo *): repository option } type pull = { pull_issue_url (*atd issue_url *): string; pull_number (*atd number *): int; pull_state (*atd state *): state; pull_title (*atd title *): string; pull_body (*atd body *): string; pull_created_at (*atd created_at *): string; pull_updated_at (*atd updated_at *): string; pull_closed_at (*atd closed_at *): string option; pull_merged_at (*atd merged_at *): string option; pull_head (*atd head *): branch; pull_base (*atd base *): branch; pull_links (*atd links *): pull_links; pull_user (*atd user *): user; pull_merge_commit_sha (*atd merge_commit_sha *): string option; pull_url (*atd url *): string; pull_html_url (*atd html_url *): string; pull_diff_url (*atd diff_url *): string; pull_patch_url (*atd patch_url *): string } type pulls = pull list type body_changes = { body_changes_body (*atd body *): change option } type pull_request_review_comment_action = [ `Created | `Edited of body_changes | `Deleted | `Unknown of (string * t option) ] type pull_request_review_comment = { pull_request_review_comment_diff_hunk (*atd diff_hunk *): string; pull_request_review_comment_original_position (*atd original_position *): int; pull_request_review_comment_original_commit_id (*atd original_commit_id *): string; pull_request_review_comment_pull_request_url (*atd pull_request_url *): string; pull_request_review_comment_position (*atd position *): int option; pull_request_review_comment_line (*atd line *): int option; pull_request_review_comment_path (*atd path *): string option; pull_request_review_comment_commit_id (*atd commit_id *): string; pull_request_review_comment_id (*atd id *): Int64.t; pull_request_review_comment_url (*atd url *): string; pull_request_review_comment_html_url (*atd html_url *): string; pull_request_review_comment_body (*atd body *): string; pull_request_review_comment_user (*atd user *): user; pull_request_review_comment_created_at (*atd created_at *): string; pull_request_review_comment_updated_at (*atd updated_at *): string } type pull_request_review_comment_event = { pull_request_review_comment_event_action (*atd action *): pull_request_review_comment_action; pull_request_review_comment_event_pull_request (*atd pull_request *): pull; pull_request_review_comment_event_comment (*atd comment *): pull_request_review_comment } type pull_request_action = [ `Assigned | `Unassigned | `Labeled | `Unlabeled | `Opened | `Edited of ticket_changes | `Closed | `Reopened | `Synchronize | `Unknown of (string * t option) ] type pull_request_event = { pull_request_event_action (*atd action *): pull_request_action; pull_request_event_number (*atd number *): int; pull_request_event_pull_request (*atd pull_request *): pull } type participation = { participation_all (*atd all *): int list; participation_owner (*atd owner *): int list } type page_build_status = [ `Building | `Built | `Errored | `Unknown of string ] type page_build_error = { page_build_error_message (*atd message *): string option } type page_build = { page_build_url (*atd url *): string; page_build_status (*atd status *): page_build_status option; page_build_error (*atd error *): page_build_error } type page_build_event = { page_build_event_build (*atd build *): page_build } type orgs = org list type organization = { organization_name (*atd name *): string; organization_company (*atd company *): string; organization_blog (*atd blog *): string; organization_location (*atd location *): string; organization_email (*atd email *): string; organization_public_repos (*atd public_repos *): int; organization_public_gists (*atd public_gists *): int; organization_followers (*atd followers *): int; organization_following (*atd following *): int; organization_html_url (*atd html_url *): string; organization_created_at (*atd created_at *): string; organization_login (*atd login *): string; organization_id (*atd id *): Int64.t; organization_url (*atd url *): string; organization_ty (*atd ty *): user_type; organization_avatar_url (*atd avatar_url *): string option } type new_status = { new_status_state (*atd state *): status_state; new_status_target_url (*atd target_url *): string option; new_status_description (*atd description *): string option; new_status_context (*atd context *): string option } type new_repo = { new_repo_name (*atd name *): string; new_repo_description (*atd description *): string; new_repo_homepage (*atd homepage *): string; new_repo_private (*atd private *): bool; new_repo_has_issues (*atd has_issues *): bool; new_repo_has_wiki (*atd has_wiki *): bool; new_repo_has_downloads (*atd has_downloads *): bool; new_repo_team_id (*atd team_id *): int; new_repo_auto_init (*atd auto_init *): bool; new_repo_gitignore_template (*atd gitignore_template *): string option; new_repo_license_template (*atd license_template *): string option } type new_release = { new_release_tag_name (*atd tag_name *): string; new_release_target_commitish (*atd target_commitish *): string; new_release_name (*atd name *): string option; new_release_body (*atd body *): string option; new_release_draft (*atd draft *): bool; new_release_prerelease (*atd prerelease *): bool } type new_pull_issue = { new_pull_issue_issue (*atd issue *): int; new_pull_issue_base (*atd base *): string; new_pull_issue_head (*atd head *): string } type new_pull = { new_pull_title (*atd title *): string; new_pull_body (*atd body *): string option; new_pull_base (*atd base *): string; new_pull_head (*atd head *): string } type new_milestone = { new_milestone_title (*atd title *): string; new_milestone_state (*atd state *): state; new_milestone_description (*atd description *): string option; new_milestone_due_on (*atd due_on *): string option } type new_label = { new_label_name (*atd name *): string; new_label_color (*atd color *): string } type new_issue_comment = { new_issue_comment_body (*atd body *): string } type new_issue = { new_issue_title (*atd title *): string; new_issue_body (*atd body *): string option; new_issue_assignee (*atd assignee *): string option; new_issue_milestone (*atd milestone *): int option; new_issue_labels (*atd labels *): string list } type new_hook = { new_hook_config (*atd config *): hook_config; new_hook_events (*atd events *): event_type list; new_hook_active (*atd active *): bool } type new_gist_content = { new_gist_content (*atd content *): string } type new_gist_contents = (string * new_gist_content) list type new_gist = { new_gist_files (*atd files *): new_gist_contents; new_gist_description (*atd description *): string; new_gist_public (*atd public *): bool } type new_deploy_key = { new_deploy_key_title (*atd title *): string; new_deploy_key_key (*atd key *): string } type milestones = milestone list type milestone_sort = [ `Due_date | `Completeness ] type error = { error_resource (*atd resource *): string; error_field (*atd field *): string option; error_code (*atd code *): string; error_message (*atd message *): string option } type message = { message_message (*atd message *): string; message_errors (*atd errors *): error list } type merge_request = { merge_commit_message (*atd commit_message *): string option } type merge = { merge_sha (*atd sha *): string option; merge_merged (*atd merged *): bool; merge_message (*atd message *): string } type member_action = [ `Added | `Unknown of string ] type member_event = { member_event_action (*atd action *): member_action; member_event_member (*atd member *): linked_user } type linked_users = linked_user list type labels = label list type label_names = string list type issues_action = [ `Assigned | `Unassigned | `Labeled | `Unlabeled | `Opened | `Edited of ticket_changes | `Closed | `Reopened | `Unknown of (string * t option) ] type issues_event = { issues_event_action (*atd action *): issues_action; issues_event_issue (*atd issue *): issue; issues_event_assignee (*atd assignee *): user_info option; issues_event_label (*atd label *): label option } type issue_comment = { issue_comment_id (*atd id *): Int64.t; issue_comment_url (*atd url *): string; issue_comment_html_url (*atd html_url *): string; issue_comment_body (*atd body *): string; issue_comment_user (*atd user *): user; issue_comment_created_at (*atd created_at *): string; issue_comment_updated_at (*atd updated_at *): string } type issue_comments = issue_comment list type issue_comment_action = [ `Created | `Edited of body_changes | `Deleted | `Unknown of (string * t option) ] type issue_comment_event = { issue_comment_event_action (*atd action *): issue_comment_action; issue_comment_event_issue (*atd issue *): issue; issue_comment_event_comment (*atd comment *): issue_comment } type hook = { hook_url (*atd url *): string; hook_updated_at (*atd updated_at *): string; hook_created_at (*atd created_at *): string; hook_events (*atd events *): event_type list; hook_active (*atd active *): bool; hook_config (*atd config *): hook_config; hook_id (*atd id *): Int64.t } type hooks = hook list type gollum_event = { gollum_event_pages (*atd pages *): wiki_page list } type git_ref = { git_ref_name (*atd name *): string; git_ref_url (*atd url *): string; git_ref_obj (*atd obj *): obj } type git_refs = git_ref list type gist_fork = { gist_fork_user (*atd user *): user; gist_fork_url (*atd url *): string; gist_fork_id (*atd id *): Int64.t; gist_fork_created_at (*atd created_at *): string; gist_fork_updated_at (*atd updated_at *): string } type gist_file = { gist_file_size (*atd size *): int; gist_file_raw_url (*atd raw_url *): string; gist_file_ty (*atd ty *): string; gist_file_truncated (*atd truncated *): bool option; gist_file_language (*atd language *): string option; gist_file_content (*atd content *): string option } type gist_files = (string * gist_file) list type change_status = { change_status_deletions (*atd deletions *): int; change_status_additions (*atd additions *): int; change_status_total (*atd total *): int } type gist_commit = { gist_commit_url (*atd url *): string; gist_commit_version (*atd version *): string; gist_commit_user (*atd user *): user; gist_commit_change_status (*atd change_status *): change_status; gist_commit_committed_at (*atd committed_at *): string } type gist_commits = gist_commit list type gist = { gist_url (*atd url *): string; gist_forks_url (*atd forks_url *): string; gist_commits_url (*atd commits_url *): string; gist_id (*atd id *): string; gist_description (*atd description *): string option; gist_public (*atd public *): bool; gist_owner (*atd owner *): user; gist_user (*atd user *): string option; gist_files (*atd files *): gist_files; gist_comments (*atd comments *): int; gist_comments_url (*atd comments_url *): string; gist_html_url (*atd html_url *): string; gist_git_pull_url (*atd git_pull_url *): string; gist_git_push_url (*atd git_push_url *): string; gist_created_at (*atd created_at *): string; gist_updated_at (*atd updated_at *): string; gist_forks (*atd forks *): gist_fork list option; gist_history (*atd history *): gist_commits option } type gists = gist list type gist_forks = gist_fork list type fork_event = { fork_event_forkee (*atd forkee *): repository } type file = { file_sha (*atd sha *): string option; file_filename (*atd filename *): string; file_status (*atd status *): string; file_additions (*atd additions *): int; file_deletions (*atd deletions *): int; file_changes (*atd changes *): int; file_blob_url (*atd blob_url *): string; file_raw_url (*atd raw_url *): string; file_patch (*atd patch *): string option } type files = file list type delete_event = { delete_event_ref (*atd ref *): ref } type create_event = { create_event_ref (*atd ref *): ref; create_event_master_branch (*atd master_branch *): string; create_event_description (*atd description *): string option } type commit_comment = { commit_comment_position (*atd position *): int option; commit_comment_line (*atd line *): int option; commit_comment_path (*atd path *): string option; commit_comment_commit_id (*atd commit_id *): string; commit_comment_id (*atd id *): Int64.t; commit_comment_url (*atd url *): string; commit_comment_html_url (*atd html_url *): string; commit_comment_body (*atd body *): string; commit_comment_user (*atd user *): user; commit_comment_created_at (*atd created_at *): string; commit_comment_updated_at (*atd updated_at *): string } type commit_comment_event = { commit_comment_event_comment (*atd comment *): commit_comment } type event_constr = [ `CommitComment of commit_comment_event | `Create of create_event | `Delete of delete_event | `Download | `Follow | `Fork of fork_event | `ForkApply | `Gist | `Gollum of gollum_event | `IssueComment of issue_comment_event | `Issues of issues_event | `Member of member_event | `Public | `PullRequest of pull_request_event | `PullRequestReviewComment of pull_request_review_comment_event | `Push of push_event | `Release of release_event | `Repository of repository_event | `Status of status_event | `Watch of watch_event | `Unknown of (string * t option) ] type event = { event_public (*atd public *): bool; event_payload (*atd payload *): event_constr; event_actor (*atd actor *): user; event_org (*atd org *): org option; event_created_at (*atd created_at *): string; event_repo (*atd repo *): repo; event_id (*atd id *): Int64.t } type events = event list type event_hook_metadata = { event_hook_metadata_sender (*atd sender *): user; event_hook_metadata_organisation (*atd organisation *): org option; event_hook_metadata_created_at (*atd created_at *): string; event_hook_metadata_repository (*atd repository *): repository; event_hook_metadata_id (*atd id *): Int64.t } type event_hook_constr = [ `CommitComment of commit_comment_event | `Create of create_event | `Delete of delete_event | `Download | `Follow | `Fork of fork_event | `ForkApply | `Gist | `Gollum of gollum_event | `IssueComment of issue_comment_event | `Issues of issues_event | `Member of member_event | `Public | `PullRequest of pull_request_event | `PullRequestReviewComment of pull_request_review_comment_event | `Push of push_event_hook | `Release of release_event | `Repository of repository_event | `Status of status_event | `Watch of watch_event | `Unknown of (string * t option) ] type emojis = (string * string) list type deploy_key = { deploy_key_id (*atd id *): Int64.t; deploy_key_key (*atd key *): string; deploy_key_url (*atd url *): string; deploy_key_title (*atd title *): string } type deploy_keys = deploy_key list type contribution_week = { repo_contribution_week_w (*atd w *): int; repo_contribution_week_a (*atd a *): int; repo_contribution_week_d (*atd d *): int; repo_contribution_week_c (*atd c *): int } type contributor_stats = { repo_contributor_stats_author (*atd author *): user option; repo_contributor_stats_total (*atd total *): int; repo_contributor_stats_weeks (*atd weeks *): contribution_week list } type contributors_stats = contributor_stats list type contributor = { contributor_contributions (*atd contributions *): int; contributor_html_url (*atd html_url *): string; contributor_login (*atd login *): string; contributor_id (*atd id *): Int64.t; contributor_url (*atd url *): string; contributor_avatar_url (*atd avatar_url *): string option; contributor_ty (*atd ty *): user_type } type contributors = contributor list type commits = commit list type commit_activity = { commit_activity_days (*atd days *): int list; commit_activity_total (*atd total *): int; commit_activity_week (*atd week *): int } type commit_activities = commit_activity list type comment = { comment_id (*atd id *): Int64.t; comment_url (*atd url *): string; comment_html_url (*atd html_url *): string; comment_body (*atd body *): string; comment_user (*atd user *): user; comment_created_at (*atd created_at *): string; comment_updated_at (*atd updated_at *): string } type base_status = { base_status_url (*atd url *): string; base_status_updated_at (*atd updated_at *): string; base_status_created_at (*atd created_at *): string; base_status_id (*atd id *): Int64.t; base_status_state (*atd state *): status_state; base_status_target_url (*atd target_url *): string option; base_status_description (*atd description *): string option; base_status_context (*atd context *): string option } type base_statuses = base_status list type combined_status = { combined_status_state (*atd state *): status_state; combined_status_sha (*atd sha *): string; combined_status_total_count (*atd total_count *): int; combined_status_statuses (*atd statuses *): base_statuses; combined_status_repository (*atd repository *): repo; combined_status_url (*atd url *): string; combined_status_commit_url (*atd commit_url *): string } type code_frequency = int list type code_frequencies = code_frequency list type auto_trigger_checks = { app_id: int; setting: bool } type check_suite_preferences = { preferences: auto_trigger_checks list; respository: repository } type check_suite_info = { email: string; name: string } type check_suite_head_commit = { id: string; tree_id: string; message: string; timestamp: string; author: check_suite_info; committer: check_suite_info } type check_status = [ `Queued | `In_progress | `Completed ] type check_run_app_permissions = { metadata: string; checks: string; issues: string option; contents: string option; single_file: string option } type check_conclusion = [ `Success | `Failure | `Neutral | `Cancelled | `Timed_out | `Action_required ] type check_app = { check_run_id (*atd id *): Int64.t; check_run_slug (*atd slug *): string; check_run_node_id (*atd node_id *): string; check_run_owner (*atd owner *): user; check_run_name (*atd name *): string; check_run_description (*atd description *): string; check_run_external_url (*atd external_url *): string; check_run_html_url (*atd html_url *): string; check_run_created_at (*atd created_at *): string; check_run_updated_at (*atd updated_at *): string; check_run_permissions (*atd permissions *): check_run_app_permissions; check_run_events (*atd events *): string list } type check_suite = { id: int; node_id: string; head_branch: string; head_sha: string; status: check_status; conclusion: check_conclusion option; url: string; before: string; after: string; pull_requests: string list; created_at: string; updated_at: string; app: check_app; head_commit: check_suite_head_commit; latest_check_runs_count: int; check_runs_url: string } type check_suite_list = { total_count: Int64.t; check_suites: check_suite list } type check_suite_id = { check_run_id (*atd id *): int } type check_run_repo_ref = { check_run_ref (*atd ref *): string; check_run_sha (*atd sha *): string; check_run_repo (*atd repo *): repo } type check_run_pull_request = { check_run_url (*atd url *): string; check_run_id (*atd id *): Int64.t; check_run_number (*atd number *): Int64.t; check_run_head (*atd head *): check_run_repo_ref; check_run_base (*atd base *): check_run_repo_ref } type check_run_output = { check_run_title (*atd title *): string option; check_run_summary (*atd summary *): string option; check_run_text (*atd text *): string option; check_run_annotations_count (*atd annotations_count *): int; check_run_annotations_url (*atd annotations_url *): string } type check_run = { check_run_id (*atd id *): Int64.t; check_run_head_sha (*atd head_sha *): string; check_run_node_id (*atd node_id *): string; check_run_external_id (*atd external_id *): string; check_run_url (*atd url *): string; check_run_html_url (*atd html_url *): string; check_run_details_url (*atd details_url *): string; check_run_status (*atd status *): check_status; check_run_conclusion (*atd conclusion *): check_conclusion option; check_run_started_at (*atd started_at *): string; check_run_completed_at (*atd completed_at *): string option; check_run_output (*atd output *): check_run_output; check_run_name (*atd name *): string; check_run_check_suite (*atd check_suite *): check_suite_id; check_run_app (*atd app *): check_app; check_run_pull_requests (*atd pull_requests *): check_run_pull_request list } type check_runs_list = { total_count: int; check_runs: check_run list } type check_run_annotation = { path: string; start_line: int; end_line: int; start_column: int; end_column: int; annotation_level: string; title: string; message: string; raw_details: string; blob_href: link } type check_run_annotations = check_run_annotation list type app = { app_name (*atd name *): string; app_url (*atd url *): string } type auth = { auth_scopes (*atd scopes *): scope list; auth_token (*atd token *): string; auth_app (*atd app *): app; auth_url (*atd url *): string; auth_id (*atd id *): Int64.t; auth_note (*atd note *): string option; auth_note_url (*atd note_url *): string option } type auths = auth list type auth_req = { auth_req_scopes (*atd scopes *): scope list; auth_req_note (*atd note *): string; auth_req_note_url (*atd note_url *): string option; auth_req_client_id (*atd client_id *): string option; auth_req_client_secret (*atd client_secret *): string option; auth_req_fingerprint (*atd fingerprint *): string option }