@proofline/sdk 6.3.0 → 6.4.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 +24 -0
- package/dist/transport.js +1 -1
- package/openapi.public.json +41 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1365,6 +1365,13 @@ export interface components {
|
|
|
1365
1365
|
assessment_count: number;
|
|
1366
1366
|
/** @description The environment assessments this review recorded. */
|
|
1367
1367
|
assessments: components["schemas"]["CustomerAssessment"][];
|
|
1368
|
+
/**
|
|
1369
|
+
* @description The repository audit's mode, `CODE_ONLY` or `INFRASTRUCTURE_AWARE`,
|
|
1370
|
+
* when this `REVISION_SCAN` is an audit. An audit's findings are in its
|
|
1371
|
+
* audit report, not in `finding_count` or the review's assessments.
|
|
1372
|
+
* Null for every other review.
|
|
1373
|
+
*/
|
|
1374
|
+
audit_mode?: string | null;
|
|
1368
1375
|
/**
|
|
1369
1376
|
* @description The base branch tip GitHub reported when the review was triggered,
|
|
1370
1377
|
* display metadata that differs from `base_commit_sha` when the base
|
|
@@ -3021,6 +3028,13 @@ export interface components {
|
|
|
3021
3028
|
* @description How many environment assessments this review has.
|
|
3022
3029
|
*/
|
|
3023
3030
|
assessment_count: number;
|
|
3031
|
+
/**
|
|
3032
|
+
* @description The repository audit's mode, `CODE_ONLY` or `INFRASTRUCTURE_AWARE`,
|
|
3033
|
+
* when this `REVISION_SCAN` is an audit. An audit's findings are in its
|
|
3034
|
+
* audit report, not in `finding_count` or the review's assessments.
|
|
3035
|
+
* Null for every other review.
|
|
3036
|
+
*/
|
|
3037
|
+
audit_mode?: string | null;
|
|
3024
3038
|
/**
|
|
3025
3039
|
* Format: date-time
|
|
3026
3040
|
* @description When the review reached a terminal status. Absent while it is still pending or running.
|
|
@@ -4366,6 +4380,11 @@ export interface operations {
|
|
|
4366
4380
|
* findings, FAILED/INCOMPLETE/STOPPED execution, or an earlier reviewed commit.
|
|
4367
4381
|
*/
|
|
4368
4382
|
attention?: string | null;
|
|
4383
|
+
/**
|
|
4384
|
+
* @description `only` lists repository audits; `none` leaves them out, so
|
|
4385
|
+
* `kind=REVISION_SCAN&audits=none` lists plain revision scans.
|
|
4386
|
+
*/
|
|
4387
|
+
audits?: string | null;
|
|
4369
4388
|
/**
|
|
4370
4389
|
* @description `mine` for the caller's own pull requests, or a GitHub user ID. `mine`
|
|
4371
4390
|
* needs a person's sign-in or token.
|
|
@@ -4460,6 +4479,11 @@ export interface operations {
|
|
|
4460
4479
|
* findings, FAILED/INCOMPLETE/STOPPED execution, or an earlier reviewed commit.
|
|
4461
4480
|
*/
|
|
4462
4481
|
attention?: string | null;
|
|
4482
|
+
/**
|
|
4483
|
+
* @description `only` lists repository audits; `none` leaves them out, so
|
|
4484
|
+
* `kind=REVISION_SCAN&audits=none` lists plain revision scans.
|
|
4485
|
+
*/
|
|
4486
|
+
audits?: string | null;
|
|
4463
4487
|
/**
|
|
4464
4488
|
* @description `mine` for the caller's own pull requests, or a GitHub user ID. `mine`
|
|
4465
4489
|
* needs a person's sign-in or token.
|
package/dist/transport.js
CHANGED
package/openapi.public.json
CHANGED
|
@@ -1693,6 +1693,13 @@
|
|
|
1693
1693
|
},
|
|
1694
1694
|
"type": "array"
|
|
1695
1695
|
},
|
|
1696
|
+
"audit_mode": {
|
|
1697
|
+
"description": "The repository audit's mode, `CODE_ONLY` or `INFRASTRUCTURE_AWARE`,\n when this `REVISION_SCAN` is an audit. An audit's findings are in its\n audit report, not in `finding_count` or the review's assessments.\n Null for every other review.",
|
|
1698
|
+
"type": [
|
|
1699
|
+
"string",
|
|
1700
|
+
"null"
|
|
1701
|
+
]
|
|
1702
|
+
},
|
|
1696
1703
|
"base_branch_commit_sha": {
|
|
1697
1704
|
"description": "The base branch tip GitHub reported when the review was triggered,\n display metadata that differs from `base_commit_sha` when the base\n branch moved after the branch point.",
|
|
1698
1705
|
"type": [
|
|
@@ -4971,6 +4978,13 @@
|
|
|
4971
4978
|
"format": "int64",
|
|
4972
4979
|
"type": "integer"
|
|
4973
4980
|
},
|
|
4981
|
+
"audit_mode": {
|
|
4982
|
+
"description": "The repository audit's mode, `CODE_ONLY` or `INFRASTRUCTURE_AWARE`,\n when this `REVISION_SCAN` is an audit. An audit's findings are in its\n audit report, not in `finding_count` or the review's assessments.\n Null for every other review.",
|
|
4983
|
+
"type": [
|
|
4984
|
+
"string",
|
|
4985
|
+
"null"
|
|
4986
|
+
]
|
|
4987
|
+
},
|
|
4974
4988
|
"completed_at": {
|
|
4975
4989
|
"description": "When the review reached a terminal status. Absent while it is still pending or running.",
|
|
4976
4990
|
"format": "date-time",
|
|
@@ -6342,7 +6356,7 @@
|
|
|
6342
6356
|
},
|
|
6343
6357
|
"info": {
|
|
6344
6358
|
"title": "Proofline Review API",
|
|
6345
|
-
"version": "6.
|
|
6359
|
+
"version": "6.4.0"
|
|
6346
6360
|
},
|
|
6347
6361
|
"openapi": "3.1.0",
|
|
6348
6362
|
"paths": {
|
|
@@ -7415,6 +7429,19 @@
|
|
|
7415
7429
|
},
|
|
7416
7430
|
"style": "form"
|
|
7417
7431
|
},
|
|
7432
|
+
{
|
|
7433
|
+
"description": "`only` lists repository audits; `none` leaves them out, so\n `kind=REVISION_SCAN&audits=none` lists plain revision scans.",
|
|
7434
|
+
"in": "query",
|
|
7435
|
+
"name": "audits",
|
|
7436
|
+
"schema": {
|
|
7437
|
+
"description": "`only` lists repository audits; `none` leaves them out, so\n `kind=REVISION_SCAN&audits=none` lists plain revision scans.",
|
|
7438
|
+
"type": [
|
|
7439
|
+
"string",
|
|
7440
|
+
"null"
|
|
7441
|
+
]
|
|
7442
|
+
},
|
|
7443
|
+
"style": "form"
|
|
7444
|
+
},
|
|
7418
7445
|
{
|
|
7419
7446
|
"description": "`mine` for the caller's own pull requests, or a GitHub user ID. `mine`\n needs a person's sign-in or token.",
|
|
7420
7447
|
"in": "query",
|
|
@@ -7687,6 +7714,19 @@
|
|
|
7687
7714
|
},
|
|
7688
7715
|
"style": "form"
|
|
7689
7716
|
},
|
|
7717
|
+
{
|
|
7718
|
+
"description": "`only` lists repository audits; `none` leaves them out, so\n `kind=REVISION_SCAN&audits=none` lists plain revision scans.",
|
|
7719
|
+
"in": "query",
|
|
7720
|
+
"name": "audits",
|
|
7721
|
+
"schema": {
|
|
7722
|
+
"description": "`only` lists repository audits; `none` leaves them out, so\n `kind=REVISION_SCAN&audits=none` lists plain revision scans.",
|
|
7723
|
+
"type": [
|
|
7724
|
+
"string",
|
|
7725
|
+
"null"
|
|
7726
|
+
]
|
|
7727
|
+
},
|
|
7728
|
+
"style": "form"
|
|
7729
|
+
},
|
|
7690
7730
|
{
|
|
7691
7731
|
"description": "`mine` for the caller's own pull requests, or a GitHub user ID. `mine`\n needs a person's sign-in or token.",
|
|
7692
7732
|
"in": "query",
|