@proofline/sdk 5.0.1 → 5.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 +29 -2
- package/dist/transport.js +1 -1
- package/openapi.public.json +50 -3
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1454,6 +1454,12 @@ export interface components {
|
|
|
1454
1454
|
* Absent when that observation is unavailable; scalar counts remain separate.
|
|
1455
1455
|
*/
|
|
1456
1456
|
open_items_observation?: components["schemas"]["ReviewOpenItems"] | null;
|
|
1457
|
+
/**
|
|
1458
|
+
* @description What holds the review now: GitHub's rate limit, and when it resets.
|
|
1459
|
+
* Null unless one of the review's runs waits for it, and once the run
|
|
1460
|
+
* continues.
|
|
1461
|
+
*/
|
|
1462
|
+
provider_wait?: components["schemas"]["ProviderWait"] | null;
|
|
1457
1463
|
/** @description The review's stable public address: `rev_` followed by its identifier without hyphens. */
|
|
1458
1464
|
public_key: string;
|
|
1459
1465
|
/**
|
|
@@ -1659,7 +1665,7 @@ export interface components {
|
|
|
1659
1665
|
/** @enum {string} */
|
|
1660
1666
|
ExportFindingSeverity: "WARNING" | "SERIOUS";
|
|
1661
1667
|
/** @enum {string} */
|
|
1662
|
-
ExportReviewKind: "PULL_REQUEST" | "DEPLOYMENT" | "PATCH" | "COMMIT" | "FILES";
|
|
1668
|
+
ExportReviewKind: "PULL_REQUEST" | "DEPLOYMENT" | "PATCH" | "COMMIT" | "FILES" | "MERGE_GROUP" | "REVISION_SCAN";
|
|
1663
1669
|
/** @enum {string} */
|
|
1664
1670
|
ExportReviewStatus: "PENDING" | "RUNNING" | "COMPLETED" | "INCOMPLETE" | "FAILED" | "SUPERSEDED" | "STOPPED" | "EXCLUDED";
|
|
1665
1671
|
/** @description The closed row vocabulary of the existing raw-stream export operation. */
|
|
@@ -2398,6 +2404,25 @@ export interface components {
|
|
|
2398
2404
|
};
|
|
2399
2405
|
/** @description Why the summary carries prose or does not. */
|
|
2400
2406
|
ProseOutcome: "PUBLISHED" | "NO_CHANGE_DIGEST" | "NOT_REQUESTED" | "MODEL_UNAVAILABLE" | "MALFORMED" | "REJECTED" | "UNGROUNDED";
|
|
2407
|
+
/** @description A provider wait that holds the review now. */
|
|
2408
|
+
ProviderWait: {
|
|
2409
|
+
/**
|
|
2410
|
+
* @description `GITHUB_RATE_LIMIT`: GitHub's rate limit for the organization's App
|
|
2411
|
+
* installation is reached, and the review continues after it resets.
|
|
2412
|
+
*/
|
|
2413
|
+
reason: components["schemas"]["ProviderWaitReason"];
|
|
2414
|
+
/**
|
|
2415
|
+
* Format: date-time
|
|
2416
|
+
* @description When the wait ends: the reset GitHub named, or, when it named none,
|
|
2417
|
+
* when the run is due again.
|
|
2418
|
+
*/
|
|
2419
|
+
until: string;
|
|
2420
|
+
};
|
|
2421
|
+
/**
|
|
2422
|
+
* @description Why a review's run waits on a provider.
|
|
2423
|
+
* @enum {string}
|
|
2424
|
+
*/
|
|
2425
|
+
ProviderWaitReason: "GITHUB_RATE_LIMIT";
|
|
2401
2426
|
PullRequestMergeGate: {
|
|
2402
2427
|
/**
|
|
2403
2428
|
* Format: int32
|
|
@@ -2947,7 +2972,7 @@ export interface components {
|
|
|
2947
2972
|
head_commit_sha?: string | null;
|
|
2948
2973
|
/**
|
|
2949
2974
|
* @description Whether the review analyzes a pull request, a deployment, a local patch, pushed
|
|
2950
|
-
* commits
|
|
2975
|
+
* commits, selected whole files, a merge group or a revision scan.
|
|
2951
2976
|
*/
|
|
2952
2977
|
kind: components["schemas"]["ExportReviewKind"];
|
|
2953
2978
|
/**
|
|
@@ -4169,6 +4194,7 @@ export interface operations {
|
|
|
4169
4194
|
path: {
|
|
4170
4195
|
org_id: string;
|
|
4171
4196
|
pull_request_number: number;
|
|
4197
|
+
/** @description The repository's name without its owner, or a name it had before a rename. */
|
|
4172
4198
|
repository: string;
|
|
4173
4199
|
};
|
|
4174
4200
|
cookie?: never;
|
|
@@ -4201,6 +4227,7 @@ export interface operations {
|
|
|
4201
4227
|
path: {
|
|
4202
4228
|
org_id: string;
|
|
4203
4229
|
pull_request_number: number;
|
|
4230
|
+
/** @description The repository's name without its owner, or a name it had before a rename. */
|
|
4204
4231
|
repository: string;
|
|
4205
4232
|
run_number: number;
|
|
4206
4233
|
};
|
package/dist/transport.js
CHANGED
package/openapi.public.json
CHANGED
|
@@ -1806,6 +1806,17 @@
|
|
|
1806
1806
|
],
|
|
1807
1807
|
"description": "Dated PR counts with head, evaluated-scope and bounded thread proof.\n Absent when that observation is unavailable; scalar counts remain separate."
|
|
1808
1808
|
},
|
|
1809
|
+
"provider_wait": {
|
|
1810
|
+
"anyOf": [
|
|
1811
|
+
{
|
|
1812
|
+
"$ref": "#/components/schemas/ProviderWait"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"type": "null"
|
|
1816
|
+
}
|
|
1817
|
+
],
|
|
1818
|
+
"description": "What holds the review now: GitHub's rate limit, and when it resets.\n Null unless one of the review's runs waits for it, and once the run\n continues."
|
|
1819
|
+
},
|
|
1809
1820
|
"public_key": {
|
|
1810
1821
|
"description": "The review's stable public address: `rev_` followed by its identifier without hyphens.",
|
|
1811
1822
|
"type": "string"
|
|
@@ -2218,7 +2229,9 @@
|
|
|
2218
2229
|
"DEPLOYMENT",
|
|
2219
2230
|
"PATCH",
|
|
2220
2231
|
"COMMIT",
|
|
2221
|
-
"FILES"
|
|
2232
|
+
"FILES",
|
|
2233
|
+
"MERGE_GROUP",
|
|
2234
|
+
"REVISION_SCAN"
|
|
2222
2235
|
],
|
|
2223
2236
|
"type": "string"
|
|
2224
2237
|
},
|
|
@@ -3815,6 +3828,36 @@
|
|
|
3815
3828
|
}
|
|
3816
3829
|
]
|
|
3817
3830
|
},
|
|
3831
|
+
"ProviderWait": {
|
|
3832
|
+
"description": "A provider wait that holds the review now.",
|
|
3833
|
+
"properties": {
|
|
3834
|
+
"reason": {
|
|
3835
|
+
"allOf": [
|
|
3836
|
+
{
|
|
3837
|
+
"$ref": "#/components/schemas/ProviderWaitReason"
|
|
3838
|
+
}
|
|
3839
|
+
],
|
|
3840
|
+
"description": "`GITHUB_RATE_LIMIT`: GitHub's rate limit for the organization's App\n installation is reached, and the review continues after it resets."
|
|
3841
|
+
},
|
|
3842
|
+
"until": {
|
|
3843
|
+
"description": "When the wait ends: the reset GitHub named, or, when it named none,\n when the run is due again.",
|
|
3844
|
+
"format": "date-time",
|
|
3845
|
+
"type": "string"
|
|
3846
|
+
}
|
|
3847
|
+
},
|
|
3848
|
+
"required": [
|
|
3849
|
+
"reason",
|
|
3850
|
+
"until"
|
|
3851
|
+
],
|
|
3852
|
+
"type": "object"
|
|
3853
|
+
},
|
|
3854
|
+
"ProviderWaitReason": {
|
|
3855
|
+
"description": "Why a review's run waits on a provider.",
|
|
3856
|
+
"enum": [
|
|
3857
|
+
"GITHUB_RATE_LIMIT"
|
|
3858
|
+
],
|
|
3859
|
+
"type": "string"
|
|
3860
|
+
},
|
|
3818
3861
|
"PullRequestMergeGate": {
|
|
3819
3862
|
"properties": {
|
|
3820
3863
|
"assessment_count": {
|
|
@@ -4783,7 +4826,7 @@
|
|
|
4783
4826
|
"$ref": "#/components/schemas/ExportReviewKind"
|
|
4784
4827
|
}
|
|
4785
4828
|
],
|
|
4786
|
-
"description": "Whether the review analyzes a pull request, a deployment, a local patch, pushed\n commits
|
|
4829
|
+
"description": "Whether the review analyzes a pull request, a deployment, a local patch, pushed\n commits, selected whole files, a merge group or a revision scan."
|
|
4787
4830
|
},
|
|
4788
4831
|
"organization_id": {
|
|
4789
4832
|
"description": "The organization that owns the review.",
|
|
@@ -5793,7 +5836,7 @@
|
|
|
5793
5836
|
},
|
|
5794
5837
|
"info": {
|
|
5795
5838
|
"title": "Proofline Review API",
|
|
5796
|
-
"version": "5.
|
|
5839
|
+
"version": "5.1.0"
|
|
5797
5840
|
},
|
|
5798
5841
|
"openapi": "3.1.0",
|
|
5799
5842
|
"paths": {
|
|
@@ -7107,10 +7150,12 @@
|
|
|
7107
7150
|
"style": "simple"
|
|
7108
7151
|
},
|
|
7109
7152
|
{
|
|
7153
|
+
"description": "The repository's name without its owner, or a name it had before a rename.",
|
|
7110
7154
|
"in": "path",
|
|
7111
7155
|
"name": "repository",
|
|
7112
7156
|
"required": true,
|
|
7113
7157
|
"schema": {
|
|
7158
|
+
"description": "The repository's name without its owner, or a name it had before a rename.",
|
|
7114
7159
|
"type": "string"
|
|
7115
7160
|
},
|
|
7116
7161
|
"style": "simple"
|
|
@@ -7301,10 +7346,12 @@
|
|
|
7301
7346
|
"style": "simple"
|
|
7302
7347
|
},
|
|
7303
7348
|
{
|
|
7349
|
+
"description": "The repository's name without its owner, or a name it had before a rename.",
|
|
7304
7350
|
"in": "path",
|
|
7305
7351
|
"name": "repository",
|
|
7306
7352
|
"required": true,
|
|
7307
7353
|
"schema": {
|
|
7354
|
+
"description": "The repository's name without its owner, or a name it had before a rename.",
|
|
7308
7355
|
"type": "string"
|
|
7309
7356
|
},
|
|
7310
7357
|
"style": "simple"
|