@@ -164,6 +164,10 @@ pub struct RequestProofRequestBody {
164164 /// The treasury address.
165165 #[ prost( bytes = "vec" , tag = "20" ) ]
166166 pub treasury : :: prost:: alloc:: vec:: Vec < u8 > ,
167+ /// Whether the stdin is private. When true, stdin_uri must be under
168+ /// the private-stdins/ prefix and is only fetchable via GetStdinUri.
169+ #[ prost( bool , tag = "21" ) ]
170+ pub stdin_private : bool ,
167171}
168172#[ derive( serde:: Serialize , serde:: Deserialize ) ]
169173#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -457,6 +461,10 @@ pub struct ProofRequest {
457461 /// The proof request error, if any.
458462 #[ prost( enumeration = "ProofRequestError" , tag = "36" ) ]
459463 pub error : i32 ,
464+ /// Whether this request's stdin is private. When true, stdin_public_uri is
465+ /// empty and stdin is only fetchable via GetStdinUri by an authorized caller.
466+ #[ prost( bool , tag = "38" ) ]
467+ pub stdin_private : bool ,
460468}
461469#[ derive( serde:: Serialize , serde:: Deserialize ) ]
462470#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -514,6 +522,42 @@ pub struct GetProofRequestDetailsResponse {
514522}
515523#[ derive( serde:: Serialize , serde:: Deserialize ) ]
516524#[ derive( Clone , PartialEq , :: prost:: Message ) ]
525+ pub struct GetStdinUriRequest {
526+ /// The message format of the body.
527+ #[ prost( enumeration = "MessageFormat" , tag = "1" ) ]
528+ pub format : i32 ,
529+ /// The signature of the sender.
530+ #[ prost( bytes = "vec" , tag = "2" ) ]
531+ pub signature : :: prost:: alloc:: vec:: Vec < u8 > ,
532+ /// The body of the request.
533+ #[ prost( message, optional, tag = "3" ) ]
534+ pub body : :: core:: option:: Option < GetStdinUriRequestBody > ,
535+ }
536+ #[ derive( serde:: Serialize , serde:: Deserialize ) ]
537+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
538+ pub struct GetStdinUriRequestBody {
539+ /// The account nonce of the sender.
540+ #[ prost( uint64, tag = "1" ) ]
541+ pub nonce : u64 ,
542+ /// The identifier for the request.
543+ #[ prost( bytes = "vec" , tag = "2" ) ]
544+ pub request_id : :: prost:: alloc:: vec:: Vec < u8 > ,
545+ /// The domain separator bytes for the request.
546+ #[ prost( bytes = "vec" , tag = "3" ) ]
547+ pub domain : :: prost:: alloc:: vec:: Vec < u8 > ,
548+ }
549+ #[ derive( serde:: Serialize , serde:: Deserialize ) ]
550+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
551+ pub struct GetStdinUriResponse {
552+ /// Presigned HTTPS URL for downloading the stdin artifact.
553+ #[ prost( string, tag = "1" ) ]
554+ pub stdin_uri : :: prost:: alloc:: string:: String ,
555+ /// Unix seconds at which the URL expires.
556+ #[ prost( uint64, tag = "2" ) ]
557+ pub expires_at : u64 ,
558+ }
559+ #[ derive( serde:: Serialize , serde:: Deserialize ) ]
560+ #[ derive( Clone , PartialEq , :: prost:: Message ) ]
517561pub struct GetFilteredProofRequestsRequest {
518562 /// The optional version of the requests to filter for.
519563 #[ prost( string, optional, tag = "1" ) ]
0 commit comments