@@ -282,6 +282,12 @@ export interface components {
282282 GitBranch : string ;
283283 /** @description SHA256 hash */
284284 Sha256Hash : string ;
285+ /** @description Screenshot file to upload */
286+ ScreenshotUploadRequest : {
287+ key : components [ "schemas" ] [ "Sha256Hash" ] ;
288+ /** @description Content type of the snapshot file */
289+ contentType : string ;
290+ } ;
285291 /**
286292 * @description A unique identifier for the build
287293 * @example 12345
@@ -390,8 +396,8 @@ export interface components {
390396 } | null ;
391397 pwTraceKey ?: string | null ;
392398 threshold ?: number | null ;
393- /** @default image/png */
394- contentType : string ;
399+ /** @description Content type of the snapshot file */
400+ contentType ? : string ;
395401 } ;
396402 /** @description Build metadata */
397403 BuildMetadata : {
@@ -479,6 +485,8 @@ export interface components {
479485 /** @enum {string} */
480486 state : "pending" | "running" | "success" | "failed" | "canceled" ;
481487 } ;
488+ /** Format: uri */
489+ url : string ;
482490 } | null ;
483491 } ;
484492 /** @description Git reference */
@@ -789,8 +797,6 @@ export interface operations {
789797 commit : components [ "schemas" ] [ "Sha1Hash" ] ;
790798 /** @description The branch the build is running on */
791799 branch : components [ "schemas" ] [ "GitBranch" ] ;
792- /** @description Keys of screenshot files */
793- screenshotKeys : components [ "schemas" ] [ "Sha256Hash" ] [ ] ;
794800 /** @description Keys of Playwright trace files */
795801 pwTraceKeys ?: components [ "schemas" ] [ "Sha256Hash" ] [ ] ;
796802 /** @description The name of the build (for multi-build setups) */
@@ -830,7 +836,18 @@ export interface operations {
830836 * This is useful when a build is created from an incomplete test suite where some tests are skipped.
831837 */
832838 subset ?: boolean | null ;
833- } ;
839+ } & ( {
840+ /**
841+ * @deprecated
842+ * @description Keys of screenshot files
843+ */
844+ screenshotKeys : components [ "schemas" ] [ "Sha256Hash" ] [ ] ;
845+ screenshots ?: unknown ;
846+ } | {
847+ /** @description Screenshot files to upload */
848+ screenshots : components [ "schemas" ] [ "ScreenshotUploadRequest" ] [ ] ;
849+ screenshotKeys ?: unknown ;
850+ } ) ;
834851 } ;
835852 } ;
836853 responses : {
@@ -842,16 +859,38 @@ export interface operations {
842859 content : {
843860 "application/json" : {
844861 build : components [ "schemas" ] [ "Build" ] ;
845- screenshots : {
862+ screenshots : ( {
846863 key : string ;
847- /** Format: uri */
864+ /**
865+ * Format: uri
866+ * @deprecated
867+ * @description Deprecated. Use postUrl and fields instead.
868+ */
848869 putUrl : string ;
849- } [ ] ;
850- pwTraces : {
870+ } | {
851871 key : string ;
852872 /** Format: uri */
873+ postUrl : string ;
874+ fields : {
875+ [ key : string ] : string ;
876+ } ;
877+ } ) [ ] ;
878+ pwTraces : ( {
879+ key : string ;
880+ /**
881+ * Format: uri
882+ * @deprecated
883+ * @description Deprecated. Use postUrl and fields instead.
884+ */
853885 putUrl : string ;
854- } [ ] ;
886+ } | {
887+ key : string ;
888+ /** Format: uri */
889+ postUrl : string ;
890+ fields : {
891+ [ key : string ] : string ;
892+ } ;
893+ } ) [ ] ;
855894 } ;
856895 } ;
857896 } ;
@@ -1446,6 +1485,15 @@ export interface operations {
14461485 "application/json" : components [ "schemas" ] [ "Error" ] ;
14471486 } ;
14481487 } ;
1488+ /** @description Not found */
1489+ 404 : {
1490+ headers : {
1491+ [ name : string ] : unknown ;
1492+ } ;
1493+ content : {
1494+ "application/json" : components [ "schemas" ] [ "Error" ] ;
1495+ } ;
1496+ } ;
14491497 /** @description Server error */
14501498 500 : {
14511499 headers : {
@@ -1455,6 +1503,15 @@ export interface operations {
14551503 "application/json" : components [ "schemas" ] [ "Error" ] ;
14561504 } ;
14571505 } ;
1506+ /** @description Service unavailable */
1507+ 503 : {
1508+ headers : {
1509+ [ name : string ] : unknown ;
1510+ } ;
1511+ content : {
1512+ "application/json" : components [ "schemas" ] [ "Error" ] ;
1513+ } ;
1514+ } ;
14581515 } ;
14591516 } ;
14601517 getAuthProject : {
@@ -1880,10 +1937,18 @@ export interface operations {
18801937 content : {
18811938 "application/json" : {
18821939 /**
1883- * @description Overall review conclusion for the build: "APPROVE" or "REQUEST_CHANGES"
1940+ * @description Review event to apply to the build: "APPROVE", "REJECT" or "COMMENT". Required when `conclusion` is not provided.
1941+ * @enum {string}
1942+ */
1943+ event ?: "APPROVE" | "REJECT" | "COMMENT" ;
1944+ /**
1945+ * @deprecated
1946+ * @description Deprecated: use `event` instead. Overall review conclusion for the build: "APPROVE" or "REQUEST_CHANGES".
18841947 * @enum {string}
18851948 */
1886- conclusion : "APPROVE" | "REQUEST_CHANGES" ;
1949+ conclusion ?: "APPROVE" | "REQUEST_CHANGES" ;
1950+ /** @description Optional comment to attach to the review. Expected as the JSON representation of a rich-text document. */
1951+ body ?: unknown ;
18871952 /**
18881953 * @description Optional per-snapshot review decisions. When omitted, only the build-level review is recorded.
18891954 * @default []
@@ -1910,10 +1975,19 @@ export interface operations {
19101975 "application/json" : {
19111976 id : string ;
19121977 /** @enum {string} */
1913- state : "approved" | "rejected" ;
1978+ state : "approved" | "rejected" | "commented" | "pending" ;
19141979 } ;
19151980 } ;
19161981 } ;
1982+ /** @description Invalid parameters */
1983+ 400 : {
1984+ headers : {
1985+ [ name : string ] : unknown ;
1986+ } ;
1987+ content : {
1988+ "application/json" : components [ "schemas" ] [ "Error" ] ;
1989+ } ;
1990+ } ;
19171991 /** @description Unauthorized */
19181992 401 : {
19191993 headers : {
0 commit comments