@proofline/sdk 2.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.d.ts +33 -418
- package/dist/transport.js +1 -1
- package/openapi.public.json +46 -1001
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -585,15 +585,6 @@ export interface components {
|
|
|
585
585
|
};
|
|
586
586
|
/** @enum {string} */
|
|
587
587
|
AgentVendor: "CURSOR_CLOUD_AGENTS" | "DEVIN";
|
|
588
|
-
ApprovalGap: {
|
|
589
|
-
/**
|
|
590
|
-
* Format: uuid
|
|
591
|
-
* @description Assessment whose approval could not supply deferred occurrence questions.
|
|
592
|
-
*/
|
|
593
|
-
assessment_id: string;
|
|
594
|
-
/** @description Reason the assessment's approval could not supply deferred occurrence questions. */
|
|
595
|
-
code: string;
|
|
596
|
-
};
|
|
597
588
|
AssessmentProjection: {
|
|
598
589
|
/**
|
|
599
590
|
* Format: uuid
|
|
@@ -614,28 +605,6 @@ export interface components {
|
|
|
614
605
|
/** @description Environment reach retained by the plan. */
|
|
615
606
|
reach: string;
|
|
616
607
|
};
|
|
617
|
-
/** @description How one condition relates to the review's base revision. */
|
|
618
|
-
AttributedChange: "INTRODUCED" | "CHANGED" | "UNCHANGED" | "RESOLVED" | "UNATTRIBUTED";
|
|
619
|
-
AttributedConditionView: {
|
|
620
|
-
/** @description How this condition relates to the review's base revision. */
|
|
621
|
-
change: components["schemas"]["AttributedChange"];
|
|
622
|
-
/** @description The member that declares the site at each revision that declares it. */
|
|
623
|
-
reviewed_tree_citations: components["schemas"]["ReviewedTreeCitationView"][];
|
|
624
|
-
/**
|
|
625
|
-
* @description The revision that holds the condition: the base for `RESOLVED`, the
|
|
626
|
-
* proposed revision for `INTRODUCED`, `CHANGED` and `UNCHANGED`, and
|
|
627
|
-
* either for `UNATTRIBUTED`.
|
|
628
|
-
*/
|
|
629
|
-
revision: components["schemas"]["AttributedRevision"];
|
|
630
|
-
/**
|
|
631
|
-
* @description World's label of the condition's site and what it declares, such as
|
|
632
|
-
* `.github/workflows/ci.yml jobs.test.steps[0].uses: actions/checkout@v4`.
|
|
633
|
-
* It quotes repository text.
|
|
634
|
-
*/
|
|
635
|
-
subject: components["schemas"]["UntrustedText"];
|
|
636
|
-
};
|
|
637
|
-
AttributedRevision: "PROPOSED_CODE_REVISION" | "BASE_CODE_REVISION";
|
|
638
|
-
AttributionStatus: "COMPARED" | "UNAVAILABLE" | "UNREADABLE";
|
|
639
608
|
AuthorChoice: {
|
|
640
609
|
/**
|
|
641
610
|
* Format: int64
|
|
@@ -650,84 +619,6 @@ export interface components {
|
|
|
650
619
|
login?: string | null;
|
|
651
620
|
};
|
|
652
621
|
/** @enum {string} */
|
|
653
|
-
Authority: "ADVISORY" | "DEPLOYMENT_POLICY";
|
|
654
|
-
Availability: ("RECORDED" | "NOT_RECORDED" | "LEGACY" | "OPERATIONAL_FAILURE") | "LIMITED";
|
|
655
|
-
/** @description How the capture ended. */
|
|
656
|
-
CaptureState: "PENDING" | "RECORDED" | "UNBOUND" | "NOT_EXECUTED" | "INCOMPLETE";
|
|
657
|
-
/**
|
|
658
|
-
* @description Which conditions behind a check's result the change brought, and which
|
|
659
|
-
* World found at the review's base revision. It sits beside the result and
|
|
660
|
-
* never changes it: a condition already at the base is still a condition.
|
|
661
|
-
*/
|
|
662
|
-
ChangeAttributionView: {
|
|
663
|
-
/**
|
|
664
|
-
* @description Where every condition is recorded when some are omitted. Absent when
|
|
665
|
-
* `conditions` lists them all.
|
|
666
|
-
*/
|
|
667
|
-
complete_record?: components["schemas"]["CompleteRecordView"] | null;
|
|
668
|
-
/**
|
|
669
|
-
* Format: uint32
|
|
670
|
-
* @description How many conditions World attributed, listed or not. Zero unless
|
|
671
|
-
* `status` is `COMPARED`.
|
|
672
|
-
*/
|
|
673
|
-
condition_count: number;
|
|
674
|
-
/**
|
|
675
|
-
* @description Every condition, each once, in World's order, never netted against
|
|
676
|
-
* another. Empty unless `status` is `COMPARED`, and empty when some are
|
|
677
|
-
* omitted: it never lists only some of them.
|
|
678
|
-
*/
|
|
679
|
-
conditions: components["schemas"]["AttributedConditionView"][];
|
|
680
|
-
/**
|
|
681
|
-
* @description How many conditions there are of each change at each revision, over
|
|
682
|
-
* every condition, listed or not. Changes with none are left out.
|
|
683
|
-
*/
|
|
684
|
-
counts: components["schemas"]["ChangeCountView"][];
|
|
685
|
-
/**
|
|
686
|
-
* @description World's code for why it could not read that revision, such as
|
|
687
|
-
* `BASE_REVIEWED_TREE_NOT_DECLARED`. Present exactly when `status` is
|
|
688
|
-
* `UNAVAILABLE`.
|
|
689
|
-
*/
|
|
690
|
-
detail_code?: string | null;
|
|
691
|
-
/**
|
|
692
|
-
* @description The conditions a summary lists when some are omitted: the first ones
|
|
693
|
-
* in the order `counts` gives, each whole, at most 50 and always fewer
|
|
694
|
-
* than `condition_count`. Present exactly when `omitted_condition_count`
|
|
695
|
-
* is not zero.
|
|
696
|
-
*/
|
|
697
|
-
listed_conditions?: components["schemas"]["AttributedConditionView"][] | null;
|
|
698
|
-
/**
|
|
699
|
-
* Format: uint32
|
|
700
|
-
* @description How many of those conditions this response does not list. Zero when
|
|
701
|
-
* the result kept World's attribution whole. Otherwise the result kept a
|
|
702
|
-
* summary: `listed_conditions` lists the first ones, `counts` is still
|
|
703
|
-
* exact, and World's recorded evaluation holds every condition.
|
|
704
|
-
*/
|
|
705
|
-
omitted_condition_count: number;
|
|
706
|
-
/**
|
|
707
|
-
* @description The revision World could not read. Present exactly when `status` is
|
|
708
|
-
* `UNAVAILABLE`.
|
|
709
|
-
*/
|
|
710
|
-
revision?: components["schemas"]["AttributedRevision"] | null;
|
|
711
|
-
/**
|
|
712
|
-
* @description Whether World compared both revisions, could not read one, or recorded
|
|
713
|
-
* an attribution this build cannot read.
|
|
714
|
-
*/
|
|
715
|
-
status: components["schemas"]["AttributionStatus"];
|
|
716
|
-
};
|
|
717
|
-
/** @description How many conditions are of one change at one revision. */
|
|
718
|
-
ChangeCountView: {
|
|
719
|
-
/** @description How the counted conditions relate to the review's base revision. */
|
|
720
|
-
change: components["schemas"]["AttributedChange"];
|
|
721
|
-
/**
|
|
722
|
-
* Format: uint32
|
|
723
|
-
* @description How many conditions have this `change` at this `revision`, over every
|
|
724
|
-
* condition, listed or not.
|
|
725
|
-
*/
|
|
726
|
-
count: number;
|
|
727
|
-
/** @description The revision that holds the counted conditions. */
|
|
728
|
-
revision: components["schemas"]["AttributedRevision"];
|
|
729
|
-
};
|
|
730
|
-
/** @enum {string} */
|
|
731
622
|
ChangeDiagramKindView: "FLOWCHART" | "SEQUENCE";
|
|
732
623
|
ChangeDiagramOutcome: "DRAWN" | "NO_INTERACTION" | "INDEX_INCOMPLETE" | "OVER_CAPS" | "DECISION_UNAVAILABLE";
|
|
733
624
|
/** @description The change-level diagram recorded for a review, or why there is none. */
|
|
@@ -897,16 +788,6 @@ export interface components {
|
|
|
897
788
|
*/
|
|
898
789
|
review_id: string;
|
|
899
790
|
};
|
|
900
|
-
/**
|
|
901
|
-
* @description World's immutable record of the complete answer an omitted list comes
|
|
902
|
-
* from.
|
|
903
|
-
*/
|
|
904
|
-
CompleteRecordView: {
|
|
905
|
-
/** @description The `sha256:` digest of the complete attribution in that record. */
|
|
906
|
-
attribution_digest: string;
|
|
907
|
-
/** @description The evaluation World recorded, which holds every condition. */
|
|
908
|
-
world_evaluation_id: string;
|
|
909
|
-
};
|
|
910
791
|
/**
|
|
911
792
|
* @description An upload refused for its content: a symbolic or unknown commit, or a
|
|
912
793
|
* report that cannot be read. Nothing is stored.
|
|
@@ -969,18 +850,6 @@ export interface components {
|
|
|
969
850
|
* @description When the assessment completed. Null while it has not.
|
|
970
851
|
*/
|
|
971
852
|
completed_at?: string | null;
|
|
972
|
-
/**
|
|
973
|
-
* @description The retained decision disclosure, which grants no deployment
|
|
974
|
-
* authorization. Absent when none is recorded and the review kind
|
|
975
|
-
* records no decision basis.
|
|
976
|
-
*/
|
|
977
|
-
decision_presentation?: components["schemas"]["CustomerDecision"] | null;
|
|
978
|
-
/**
|
|
979
|
-
* @description What World declares depends on what this change deploys in this
|
|
980
|
-
* environment, at the assessment's pinned snapshot. Absent when the
|
|
981
|
-
* assessment's kind records no declared reach.
|
|
982
|
-
*/
|
|
983
|
-
declared_reach?: components["schemas"]["DeclaredReachView"] | null;
|
|
984
853
|
/**
|
|
985
854
|
* @description The risk domains the assessment evaluated, each with its status and
|
|
986
855
|
* reason, ordered by domain.
|
|
@@ -1032,18 +901,6 @@ export interface components {
|
|
|
1032
901
|
* @description When the assessment completed. Null while it has not.
|
|
1033
902
|
*/
|
|
1034
903
|
completed_at?: string | null;
|
|
1035
|
-
/**
|
|
1036
|
-
* @description The retained decision disclosure, which grants no deployment
|
|
1037
|
-
* authorization. Absent when none is recorded and the review kind
|
|
1038
|
-
* records no decision basis.
|
|
1039
|
-
*/
|
|
1040
|
-
decision_presentation?: components["schemas"]["CustomerDecision"] | null;
|
|
1041
|
-
/**
|
|
1042
|
-
* @description What World declares depends on what this change deploys in this
|
|
1043
|
-
* environment, at the assessment's pinned snapshot. Absent when the
|
|
1044
|
-
* assessment's kind records no declared reach.
|
|
1045
|
-
*/
|
|
1046
|
-
declared_reach?: components["schemas"]["DeclaredReachView"] | null;
|
|
1047
904
|
/**
|
|
1048
905
|
* @description The risk domains the assessment evaluated, each with its status and
|
|
1049
906
|
* reason, ordered by domain.
|
|
@@ -1098,13 +955,6 @@ export interface components {
|
|
|
1098
955
|
subjects: components["schemas"]["SubjectView"][];
|
|
1099
956
|
};
|
|
1100
957
|
CustomerCheck: {
|
|
1101
|
-
/**
|
|
1102
|
-
* @description Which conditions behind the outcome the change brought and which were
|
|
1103
|
-
* already at the review's base revision. It never changes the outcome:
|
|
1104
|
-
* a condition already at the base is pre-existing, not safe. Absent for
|
|
1105
|
-
* a check whose evaluator does not compare the two revisions.
|
|
1106
|
-
*/
|
|
1107
|
-
change_attribution?: components["schemas"]["ChangeAttributionView"] | null;
|
|
1108
958
|
/**
|
|
1109
959
|
* @description Why World refused the check, or otherwise World's recorded explanation
|
|
1110
960
|
* of the result. Null when neither is recorded.
|
|
@@ -1201,33 +1051,6 @@ export interface components {
|
|
|
1201
1051
|
/** @description The code assessment's recorded execution status. */
|
|
1202
1052
|
status: components["schemas"]["CodeAssessmentStatus"];
|
|
1203
1053
|
};
|
|
1204
|
-
CustomerDecision: {
|
|
1205
|
-
/** @description Whether the decision is `ADVISORY` or comes from a `DEPLOYMENT_POLICY`. */
|
|
1206
|
-
authority: components["schemas"]["Authority"];
|
|
1207
|
-
/**
|
|
1208
|
-
* @description Whether a verified decision record is present, absent, legacy, failed,
|
|
1209
|
-
* or too large for this projection.
|
|
1210
|
-
*/
|
|
1211
|
-
availability: components["schemas"]["Availability"];
|
|
1212
|
-
/**
|
|
1213
|
-
* @description The permission, evidence classification and reason code of the
|
|
1214
|
-
* verified recorded basis. Null when no verified basis is recorded.
|
|
1215
|
-
*/
|
|
1216
|
-
basis?: components["schemas"]["CustomerDecisionBasis"] | null;
|
|
1217
|
-
/**
|
|
1218
|
-
* @description The local deployment gate state and any recorded override. Null unless
|
|
1219
|
-
* the decision belongs to a deployment gate.
|
|
1220
|
-
*/
|
|
1221
|
-
gate_state?: components["schemas"]["GateState"] | null;
|
|
1222
|
-
};
|
|
1223
|
-
CustomerDecisionBasis: {
|
|
1224
|
-
/** @description How the recorded basis classified its evidence. */
|
|
1225
|
-
evidence: components["schemas"]["EvidenceView"];
|
|
1226
|
-
/** @description The permission the recorded basis reached: `PERMIT` or `BLOCK`. */
|
|
1227
|
-
permission: components["schemas"]["PermissionView"];
|
|
1228
|
-
/** @description The reason code the recorded basis gives for its permission. */
|
|
1229
|
-
reason_code: string;
|
|
1230
|
-
};
|
|
1231
1054
|
CustomerEvidenceRef: {
|
|
1232
1055
|
/**
|
|
1233
1056
|
* @description The commit a file or commit reference reads. Null for other kinds, and
|
|
@@ -1414,6 +1237,11 @@ export interface components {
|
|
|
1414
1237
|
* the automatic decision.
|
|
1415
1238
|
*/
|
|
1416
1239
|
actor_login?: string | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* @description The actor's GitHub profile name, when known. Lead with it; the login
|
|
1242
|
+
* is the fallback. Null for the automatic decision.
|
|
1243
|
+
*/
|
|
1244
|
+
actor_name?: string | null;
|
|
1417
1245
|
/** @description For `ALREADY_COVERED`, `HUMAN` or `BOT`. Null for every other decision. */
|
|
1418
1246
|
covering_author_kind?: string | null;
|
|
1419
1247
|
/**
|
|
@@ -1571,8 +1399,9 @@ export interface components {
|
|
|
1571
1399
|
is_deep_review?: boolean;
|
|
1572
1400
|
/**
|
|
1573
1401
|
* @description `PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes
|
|
1574
|
-
* sent as a patch, `COMMIT`, a review of pushed commits,
|
|
1575
|
-
* complete selected files at one pushed commit
|
|
1402
|
+
* sent as a patch, `COMMIT`, a review of pushed commits, `FILES`,
|
|
1403
|
+
* complete selected files at one pushed commit, or `MERGE_GROUP`, the
|
|
1404
|
+
* commit GitHub's merge queue built for a group of pull requests.
|
|
1576
1405
|
*/
|
|
1577
1406
|
kind: string;
|
|
1578
1407
|
/**
|
|
@@ -1587,6 +1416,12 @@ export interface components {
|
|
|
1587
1416
|
* Its captured review owner and GitHub bypass remain separate history.
|
|
1588
1417
|
*/
|
|
1589
1418
|
merge_gate?: components["schemas"]["PullRequestMergeGate"] | null;
|
|
1419
|
+
/**
|
|
1420
|
+
* @description For a `MERGE_GROUP` review, the pull requests GitHub queued in the
|
|
1421
|
+
* group, in number order. Absent for every other kind, and until
|
|
1422
|
+
* Proofline has read the group's members.
|
|
1423
|
+
*/
|
|
1424
|
+
merge_group_pull_request_numbers?: number[];
|
|
1590
1425
|
/**
|
|
1591
1426
|
* @description What Proofline still has open for the reviewed head, counted from the
|
|
1592
1427
|
* current finding decisions. Absent while the review is `PENDING` or
|
|
@@ -1621,6 +1456,11 @@ export interface components {
|
|
|
1621
1456
|
pull_request_author_github_user_id?: number | null;
|
|
1622
1457
|
/** @description Provider display metadata for the pull request author, not the rerun requester. */
|
|
1623
1458
|
pull_request_author_login?: string | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* @description The author's GitHub profile name, when known. Lead with it; the login
|
|
1461
|
+
* is the fallback. Display metadata, never identity.
|
|
1462
|
+
*/
|
|
1463
|
+
pull_request_author_name?: string | null;
|
|
1624
1464
|
/** @description The author's profile on the deployment's GitHub host. Absent when no author login is known. */
|
|
1625
1465
|
pull_request_author_url?: string | null;
|
|
1626
1466
|
/**
|
|
@@ -1741,44 +1581,6 @@ export interface components {
|
|
|
1741
1581
|
};
|
|
1742
1582
|
/** @enum {string} */
|
|
1743
1583
|
Dataset: "reviews" | "finding_outcomes" | "finding_validations" | "spend" | "findings";
|
|
1744
|
-
/** @enum {string} */
|
|
1745
|
-
DeclaredReachOutcome: "READ" | "NO_ROOTS" | "ROOTS_UNKNOWN" | "UNAVAILABLE";
|
|
1746
|
-
/**
|
|
1747
|
-
* @description One assessment's declared reach receipt. A reached entity declares a
|
|
1748
|
-
* dependency on what the change deploys; it is never a claim that the change
|
|
1749
|
-
* breaks it.
|
|
1750
|
-
*/
|
|
1751
|
-
DeclaredReachView: {
|
|
1752
|
-
/**
|
|
1753
|
-
* @description Whether World's walk ended with no gap. An empty, incomplete reach
|
|
1754
|
-
* says nothing about what depends on the change.
|
|
1755
|
-
*/
|
|
1756
|
-
complete: boolean;
|
|
1757
|
-
/** @description Every reached entity, shorter paths first, then by kind. */
|
|
1758
|
-
entities: components["schemas"]["ReachedEntityView"][];
|
|
1759
|
-
/** @description Where World's walk or its evidence stopped. */
|
|
1760
|
-
gaps: components["schemas"]["ReachGapView"][];
|
|
1761
|
-
/**
|
|
1762
|
-
* @description `READ` when World answered, `NO_ROOTS` when no evidence bound a
|
|
1763
|
-
* deployed artifact or workload to the repository, `ROOTS_UNKNOWN` when
|
|
1764
|
-
* World's evidence does not establish which revision runs, and
|
|
1765
|
-
* `UNAVAILABLE` when World gave no answer. Only `READ` carries entities or gaps.
|
|
1766
|
-
*/
|
|
1767
|
-
outcome: components["schemas"]["DeclaredReachOutcome"];
|
|
1768
|
-
/** @description World's digest of its full answer. Null unless `READ`. */
|
|
1769
|
-
receipt_digest?: string | null;
|
|
1770
|
-
/**
|
|
1771
|
-
* Format: uuid
|
|
1772
|
-
* @description The World snapshot the reach was read at. Null unless `READ`.
|
|
1773
|
-
*/
|
|
1774
|
-
snapshot_id?: string | null;
|
|
1775
|
-
/**
|
|
1776
|
-
* @description The Terraform addresses the reach also started from, or why it took
|
|
1777
|
-
* none. Absent when the assessment read reach only from the deployed
|
|
1778
|
-
* revision.
|
|
1779
|
-
*/
|
|
1780
|
-
terraform?: components["schemas"]["TerraformRootsView"] | null;
|
|
1781
|
-
};
|
|
1782
1584
|
DeepReviewEscalation: {
|
|
1783
1585
|
/** @description A fixed customer explanation; internal admission errors are withheld. */
|
|
1784
1586
|
reason: string;
|
|
@@ -1824,8 +1626,6 @@ export interface components {
|
|
|
1824
1626
|
severity: string;
|
|
1825
1627
|
};
|
|
1826
1628
|
/** @enum {string} */
|
|
1827
|
-
EvidenceView: "REQUIRED_PROPERTIES_ESTABLISHED" | "INCOMPLETE" | "NO_APPLICABLE_OBLIGATIONS";
|
|
1828
|
-
/** @enum {string} */
|
|
1829
1629
|
ExportEvidenceKind: "repository_file" | "repository_file_at_commit" | "companion_repository_file" | "commit" | "workflow_run" | "world_entity" | "deterministic_test" | "recorded_read" | "text";
|
|
1830
1630
|
ExportEvidenceRef: {
|
|
1831
1631
|
/** @description Stable opaque occurrence-local identity, independent of evidence values. */
|
|
@@ -2300,21 +2100,6 @@ export interface components {
|
|
|
2300
2100
|
/** @description The finding's recorded severity. */
|
|
2301
2101
|
severity: components["schemas"]["ExportFindingSeverity"];
|
|
2302
2102
|
};
|
|
2303
|
-
GateState: {
|
|
2304
|
-
/**
|
|
2305
|
-
* @description The occurrence questions the gate's approval deferred, as each
|
|
2306
|
-
* observed execution of its deployment answered them. Outcome-only
|
|
2307
|
-
* records: none of them changes the gate or grades a prediction.
|
|
2308
|
-
*/
|
|
2309
|
-
occurrence_captures: components["schemas"]["OccurrenceCapture"][];
|
|
2310
|
-
/** @description Recorded override authorization, not confirmation of provider delivery. */
|
|
2311
|
-
override_record?: components["schemas"]["Override"] | null;
|
|
2312
|
-
/**
|
|
2313
|
-
* @description Local gate state. ALLOWED/BLOCKED can precede provider delivery.
|
|
2314
|
-
* This field does not confirm that GitHub released or blocked a run.
|
|
2315
|
-
*/
|
|
2316
|
-
status: string;
|
|
2317
|
-
};
|
|
2318
2103
|
/** @enum {string} */
|
|
2319
2104
|
GateStatus: "REQUESTED" | "EVALUATING" | "ALLOWED" | "BLOCKED" | "BYPASSED" | "SUPERSEDED";
|
|
2320
2105
|
/**
|
|
@@ -2380,42 +2165,6 @@ export interface components {
|
|
|
2380
2165
|
*/
|
|
2381
2166
|
incompleteness_kind?: string | null;
|
|
2382
2167
|
};
|
|
2383
|
-
/** @description The capture of one observed execution of a gate's deployment. */
|
|
2384
|
-
OccurrenceCapture: {
|
|
2385
|
-
/** @description Assessments whose approval could defer nothing, with the reason. */
|
|
2386
|
-
approval_gaps: components["schemas"]["ApprovalGap"][];
|
|
2387
|
-
/** @description Explanation of the capture's outcome, when available. */
|
|
2388
|
-
detail?: string | null;
|
|
2389
|
-
/** @description Retained identity of the deployment occurrence, when available. */
|
|
2390
|
-
occurrence_key?: string | null;
|
|
2391
|
-
/** @description Deferred questions and their binding or observed results for this occurrence. */
|
|
2392
|
-
questions: components["schemas"]["OccurrenceQuestion"][];
|
|
2393
|
-
/** @description Whether the capture is pending, recorded, unbound, not executed, or incomplete. */
|
|
2394
|
-
state: components["schemas"]["CaptureState"];
|
|
2395
|
-
};
|
|
2396
|
-
/** @description One deferred question as the gate presents it. */
|
|
2397
|
-
OccurrenceQuestion: {
|
|
2398
|
-
/**
|
|
2399
|
-
* Format: uuid
|
|
2400
|
-
* @description Assessment whose approval deferred this question.
|
|
2401
|
-
*/
|
|
2402
|
-
assessment_id: string;
|
|
2403
|
-
/** @description World's binding or refusal code, or the control plane's own gap. */
|
|
2404
|
-
code?: string | null;
|
|
2405
|
-
/** @description Hypothesis family key for the deferred question. */
|
|
2406
|
-
family_key: string;
|
|
2407
|
-
/**
|
|
2408
|
-
* Format: int32
|
|
2409
|
-
* @description Hypothesis family version for the deferred question.
|
|
2410
|
-
*/
|
|
2411
|
-
family_version: number;
|
|
2412
|
-
/** @description World's observed result once it recorded the question. */
|
|
2413
|
-
observed_result?: string | null;
|
|
2414
|
-
/** @description World outcome record identifier, when an observed result was recorded. */
|
|
2415
|
-
outcome_id?: string | null;
|
|
2416
|
-
/** @description Whether the question is pending, recorded, unbound, or not executed. */
|
|
2417
|
-
state: components["schemas"]["QuestionState"];
|
|
2418
|
-
};
|
|
2419
2168
|
OpenFindingCounts: {
|
|
2420
2169
|
/**
|
|
2421
2170
|
* Format: uint64
|
|
@@ -2499,29 +2248,6 @@ export interface components {
|
|
|
2499
2248
|
};
|
|
2500
2249
|
/** @enum {string} */
|
|
2501
2250
|
Outcome: "ALLOW" | "BLOCK";
|
|
2502
|
-
Override: {
|
|
2503
|
-
/**
|
|
2504
|
-
* @description The comment recorded with the approval, truncated past 8000
|
|
2505
|
-
* characters.
|
|
2506
|
-
*/
|
|
2507
|
-
comment?: string | null;
|
|
2508
|
-
/**
|
|
2509
|
-
* Format: int64
|
|
2510
|
-
* @description The GitHub environment ID the approval applied to.
|
|
2511
|
-
*/
|
|
2512
|
-
github_environment_id: number;
|
|
2513
|
-
/**
|
|
2514
|
-
* Format: int64
|
|
2515
|
-
* @description The GitHub user ID of the person whose GitHub deployment approval
|
|
2516
|
-
* overrode the gate.
|
|
2517
|
-
*/
|
|
2518
|
-
github_user_id: number;
|
|
2519
|
-
/**
|
|
2520
|
-
* @description That person's GitHub login as recorded with the approval, a display
|
|
2521
|
-
* label truncated past 128 characters.
|
|
2522
|
-
*/
|
|
2523
|
-
github_user_login: string;
|
|
2524
|
-
};
|
|
2525
2251
|
PassProjection: {
|
|
2526
2252
|
/** @description Symbolic configuration binding, not a historical model identity. */
|
|
2527
2253
|
model_binding: string;
|
|
@@ -2603,8 +2329,6 @@ export interface components {
|
|
|
2603
2329
|
*/
|
|
2604
2330
|
iteration: number;
|
|
2605
2331
|
};
|
|
2606
|
-
/** @enum {string} */
|
|
2607
|
-
PermissionView: "PERMIT" | "BLOCK";
|
|
2608
2332
|
PlanProjection: {
|
|
2609
2333
|
/** @description Environment assessment bindings recorded in the plan. */
|
|
2610
2334
|
assessments: components["schemas"]["AssessmentProjection"][];
|
|
@@ -2719,44 +2443,6 @@ export interface components {
|
|
|
2719
2443
|
/** @description The current gate projection, including a recorded bypass or supersession by a newer head. */
|
|
2720
2444
|
status: components["schemas"]["GateStatus"];
|
|
2721
2445
|
};
|
|
2722
|
-
/** @description Where one deferred question stands. */
|
|
2723
|
-
QuestionState: "PENDING" | "RECORDED" | "UNBOUND" | "NOT_EXECUTED";
|
|
2724
|
-
ReachGapView: {
|
|
2725
|
-
/** @description `COVERAGE_INCOMPLETE`, `SOURCE_CAPABILITY_MISSING` or `BOUND_REACHED`. */
|
|
2726
|
-
code: string;
|
|
2727
|
-
};
|
|
2728
|
-
ReachStepView: {
|
|
2729
|
-
/**
|
|
2730
|
-
* Format: uuid
|
|
2731
|
-
* @description The World relation assertion behind this step.
|
|
2732
|
-
*/
|
|
2733
|
-
assertion_id: string;
|
|
2734
|
-
/**
|
|
2735
|
-
* @description `OUT` when the step follows the relation from its subject, `IN` when
|
|
2736
|
-
* it follows it back to the subject.
|
|
2737
|
-
*/
|
|
2738
|
-
direction: string;
|
|
2739
|
-
/** @description The relation key, such as `proofline.relation.consumes_api`. */
|
|
2740
|
-
relation: string;
|
|
2741
|
-
};
|
|
2742
|
-
ReachedEntityView: {
|
|
2743
|
-
/**
|
|
2744
|
-
* Format: uuid
|
|
2745
|
-
* @description World's entity ID.
|
|
2746
|
-
*/
|
|
2747
|
-
entity_id: string;
|
|
2748
|
-
/** @description The entity's kind, such as `service` or `queue`. */
|
|
2749
|
-
kind: string;
|
|
2750
|
-
/**
|
|
2751
|
-
* @description World's display label for the entity: environment evidence for
|
|
2752
|
-
* readers of this organization, never published to GitHub.
|
|
2753
|
-
*/
|
|
2754
|
-
label: string;
|
|
2755
|
-
/** @description The recorded relation assertions from the deployed root to the entity. */
|
|
2756
|
-
path: components["schemas"]["ReachStepView"][];
|
|
2757
|
-
/** @description World's registry type keys for the entity. */
|
|
2758
|
-
type_keys: string[];
|
|
2759
|
-
};
|
|
2760
2446
|
/** @description A recorded refresh decision, as the console shows it. */
|
|
2761
2447
|
RefreshView: {
|
|
2762
2448
|
/**
|
|
@@ -3067,8 +2753,6 @@ export interface components {
|
|
|
3067
2753
|
findings: components["schemas"]["RoutingFindingView"][];
|
|
3068
2754
|
/** @description Safe routing projection bound to this review's retained inputs. */
|
|
3069
2755
|
plan: components["schemas"]["PlanProjection"];
|
|
3070
|
-
/** @description Actual specialist selection and pass receipts for the applied workflow. */
|
|
3071
|
-
specialist_execution?: components["schemas"]["SpecialistExecutionView"] | null;
|
|
3072
2756
|
/** @constant */
|
|
3073
2757
|
status: "SUPPORTED";
|
|
3074
2758
|
/** @description Version of the validated routing plan. */
|
|
@@ -3117,10 +2801,17 @@ export interface components {
|
|
|
3117
2801
|
id: string;
|
|
3118
2802
|
/**
|
|
3119
2803
|
* @description `PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes
|
|
3120
|
-
* sent as a patch, `COMMIT`, a review of pushed commits,
|
|
3121
|
-
* complete selected files at one pushed commit
|
|
2804
|
+
* sent as a patch, `COMMIT`, a review of pushed commits, `FILES`,
|
|
2805
|
+
* complete selected files at one pushed commit, or `MERGE_GROUP`, the
|
|
2806
|
+
* commit GitHub's merge queue built for a group of pull requests.
|
|
3122
2807
|
*/
|
|
3123
2808
|
kind: string;
|
|
2809
|
+
/**
|
|
2810
|
+
* @description For a `MERGE_GROUP` review, the pull requests GitHub queued in the
|
|
2811
|
+
* group, in number order. Absent for every other kind, and until
|
|
2812
|
+
* Proofline has read the group's members.
|
|
2813
|
+
*/
|
|
2814
|
+
merge_group_pull_request_numbers?: number[];
|
|
3124
2815
|
/** @description The review's stable public address: `rev_` followed by its identifier without hyphens. */
|
|
3125
2816
|
public_key: string;
|
|
3126
2817
|
/**
|
|
@@ -3144,6 +2835,11 @@ export interface components {
|
|
|
3144
2835
|
pull_request_author_github_user_id?: number | null;
|
|
3145
2836
|
/** @description Provider display metadata for the pull request author, not the rerun requester. */
|
|
3146
2837
|
pull_request_author_login?: string | null;
|
|
2838
|
+
/**
|
|
2839
|
+
* @description The author's GitHub profile name, when known. Lead with it; the login
|
|
2840
|
+
* is the fallback. Display metadata, never identity.
|
|
2841
|
+
*/
|
|
2842
|
+
pull_request_author_name?: string | null;
|
|
3147
2843
|
/** @description The author's profile on the deployment's GitHub host. Absent when no author login is known. */
|
|
3148
2844
|
pull_request_author_url?: string | null;
|
|
3149
2845
|
/**
|
|
@@ -3197,32 +2893,6 @@ export interface components {
|
|
|
3197
2893
|
*/
|
|
3198
2894
|
trigger_origin: string;
|
|
3199
2895
|
};
|
|
3200
|
-
/** @description One member of a review's declared tree that World cited. */
|
|
3201
|
-
ReviewedTreeCitationView: {
|
|
3202
|
-
/**
|
|
3203
|
-
* @description The member's content hash. Absent for a member a `REJECTED`
|
|
3204
|
-
* population refused, because such a population keeps no members.
|
|
3205
|
-
*/
|
|
3206
|
-
content_sha256?: string | null;
|
|
3207
|
-
/** @description The overlay World read the member from. */
|
|
3208
|
-
overlay_digest: string;
|
|
3209
|
-
/**
|
|
3210
|
-
* @description The member's path in the repository at that revision. Repository
|
|
3211
|
-
* text, so it can hold bidirectional controls that reorder what the
|
|
3212
|
-
* reader sees.
|
|
3213
|
-
*/
|
|
3214
|
-
path: components["schemas"]["UntrustedText"];
|
|
3215
|
-
/**
|
|
3216
|
-
* @description The population the member belongs to, such as
|
|
3217
|
-
* `WORKFLOW_DEFINITIONS`.
|
|
3218
|
-
*/
|
|
3219
|
-
population_kind: string;
|
|
3220
|
-
/**
|
|
3221
|
-
* @description `PROPOSED_CODE_REVISION` (the reviewed commit) or
|
|
3222
|
-
* `BASE_CODE_REVISION` (its merge base).
|
|
3223
|
-
*/
|
|
3224
|
-
role: string;
|
|
3225
|
-
};
|
|
3226
2896
|
/**
|
|
3227
2897
|
* @description The NDJSON row and CSV column contract. Repository names are display data;
|
|
3228
2898
|
* the stable repository ID and recorded commit identify the reviewed input.
|
|
@@ -3453,40 +3123,6 @@ export interface components {
|
|
|
3453
3123
|
*/
|
|
3454
3124
|
run_number: number;
|
|
3455
3125
|
};
|
|
3456
|
-
SpecialistAssessmentExecution: {
|
|
3457
|
-
/**
|
|
3458
|
-
* Format: uuid
|
|
3459
|
-
* @description The immutable assessment whose specialist execution is reported.
|
|
3460
|
-
*/
|
|
3461
|
-
assessment_id: string;
|
|
3462
|
-
/** @description Selected specialist passes and their retained execution outputs. */
|
|
3463
|
-
passes: components["schemas"]["SpecialistPassExecution"][];
|
|
3464
|
-
};
|
|
3465
|
-
SpecialistExecutionView: {
|
|
3466
|
-
/** @description The applied specialist roster per exact assessment execution. */
|
|
3467
|
-
assessments: components["schemas"]["SpecialistAssessmentExecution"][];
|
|
3468
|
-
/** @description False until the applied parent captures its specialist choices. */
|
|
3469
|
-
selection_recorded: boolean;
|
|
3470
|
-
};
|
|
3471
|
-
/** @description A pass receipt's bounded operational facts, without its proposals or prose. */
|
|
3472
|
-
SpecialistOutputProjection: {
|
|
3473
|
-
/** @description Closed evidence-gap class, absent when the pass produced output. */
|
|
3474
|
-
gap_kind?: string | null;
|
|
3475
|
-
/** @description Verified digest of the retained output bytes. */
|
|
3476
|
-
output_sha256: string;
|
|
3477
|
-
/** @description `PRODUCED`, `UNAVAILABLE`, `INCOMPLETE` or `MALFORMED`. */
|
|
3478
|
-
status: string;
|
|
3479
|
-
};
|
|
3480
|
-
SpecialistPassExecution: {
|
|
3481
|
-
/** @description Exact selected paths from the validated captured change. */
|
|
3482
|
-
files: string[];
|
|
3483
|
-
/** @description Whether captured file facts required this pass. */
|
|
3484
|
-
floor: boolean;
|
|
3485
|
-
/** @description Closed registry key of the selected specialist. */
|
|
3486
|
-
name: string;
|
|
3487
|
-
/** @description Missing means selected, with no retained output. It never means success. */
|
|
3488
|
-
output?: components["schemas"]["SpecialistOutputProjection"] | null;
|
|
3489
|
-
};
|
|
3490
3126
|
/** @enum {string} */
|
|
3491
3127
|
SpendAccountKind: "DEPLOYMENT" | "TENANT_CREDENTIAL" | "UNATTRIBUTED";
|
|
3492
3128
|
/** @description UTC daily debit totals using only the account and transport recorded at charge time. */
|
|
@@ -3655,27 +3291,6 @@ export interface components {
|
|
|
3655
3291
|
/** @enum {string} */
|
|
3656
3292
|
SummaryRoute: "DETERMINISTIC_ONLY" | "SHORT" | "FULL";
|
|
3657
3293
|
/** @enum {string} */
|
|
3658
|
-
TerraformPlanView: "TAKEN" | "NOT_DECLARED" | "NOT_PINNED" | "HEAD_DIFFERS" | "ADDRESSES_UNREPORTED";
|
|
3659
|
-
/** @description The Terraform roots of one declared reach read. */
|
|
3660
|
-
TerraformRootsView: {
|
|
3661
|
-
/** @description The changed resource instance addresses taken as roots. */
|
|
3662
|
-
addresses: string[];
|
|
3663
|
-
/**
|
|
3664
|
-
* Format: uint
|
|
3665
|
-
* @description Changed addresses left out at World's limit of 100 roots per read.
|
|
3666
|
-
*/
|
|
3667
|
-
omitted: number;
|
|
3668
|
-
/**
|
|
3669
|
-
* @description `TAKEN` when the plan pinned for the reviewed commit named the roots,
|
|
3670
|
-
* `NOT_DECLARED` when the environment captures no Terraform plan for this
|
|
3671
|
-
* review, `NOT_PINNED` when it declares one and none was pinned,
|
|
3672
|
-
* `HEAD_DIFFERS` when the pinned plan is for another commit, and
|
|
3673
|
-
* `ADDRESSES_UNREPORTED` when the pinned plan records no changed
|
|
3674
|
-
* addresses because it was pinned before World reported them.
|
|
3675
|
-
*/
|
|
3676
|
-
plan: components["schemas"]["TerraformPlanView"];
|
|
3677
|
-
};
|
|
3678
|
-
/** @enum {string} */
|
|
3679
3294
|
ThreadObservationFreshness: "FRESH" | "STALE";
|
|
3680
3295
|
/** @description A read of GitHub's thread state. `observed_at` is when Proofline read it. */
|
|
3681
3296
|
ThreadObservationView: {
|
package/dist/transport.js
CHANGED