77from ..._utils import PropertyInfo
88from ..._models import BaseModel
99
10- __all__ = ["ArtifactItem" , "PlanArtifact" , "PlanArtifactPlan " , "PullRequestArtifact" , "PullRequestArtifactPullRequest " ]
10+ __all__ = ["ArtifactItem" , "PlanArtifact" , "PlanArtifactData " , "PullRequestArtifact" , "PullRequestArtifactData " ]
1111
1212
13- class PlanArtifactPlan (BaseModel ):
13+ class PlanArtifactData (BaseModel ):
1414 document_uid : str
1515 """Unique identifier for the plan document"""
1616
@@ -22,16 +22,16 @@ class PlanArtifactPlan(BaseModel):
2222
2323
2424class PlanArtifact (BaseModel ):
25- artifact_type : Literal ["plan " ]
25+ artifact_type : Literal ["PLAN " ]
2626 """Type of the artifact"""
2727
2828 created_at : datetime
2929 """Timestamp when the artifact was created (RFC3339)"""
3030
31- plan : PlanArtifactPlan
31+ data : PlanArtifactData
3232
3333
34- class PullRequestArtifactPullRequest (BaseModel ):
34+ class PullRequestArtifactData (BaseModel ):
3535 branch : str
3636 """Branch name for the pull request"""
3737
@@ -40,13 +40,13 @@ class PullRequestArtifactPullRequest(BaseModel):
4040
4141
4242class PullRequestArtifact (BaseModel ):
43- artifact_type : Literal ["pull_request " ]
43+ artifact_type : Literal ["PULL_REQUEST " ]
4444 """Type of the artifact"""
4545
4646 created_at : datetime
4747 """Timestamp when the artifact was created (RFC3339)"""
4848
49- pull_request : PullRequestArtifactPullRequest
49+ data : PullRequestArtifactData
5050
5151
5252ArtifactItem : TypeAlias = Annotated [
0 commit comments