@@ -91,6 +91,14 @@ class ProjectCompact(BaseModel):
9191 resource_type : Union [str , Any ] = Field (default = None )
9292 name : Union [str , Any ] = Field (default = None )
9393
94+ class ProjectCompletedBy (BaseModel ):
95+ """Nested schema for Project.completed_by"""
96+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
97+
98+ gid : Union [str , Any ] = Field (default = None )
99+ name : Union [str , Any ] = Field (default = None )
100+ resource_type : Union [str , Any ] = Field (default = None )
101+
94102class ProjectCurrentStatusUpdate (BaseModel ):
95103 """Nested schema for Project.current_status_update"""
96104 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -100,8 +108,8 @@ class ProjectCurrentStatusUpdate(BaseModel):
100108 resource_subtype : Union [str , Any ] = Field (default = None )
101109 title : Union [str , Any ] = Field (default = None )
102110
103- class ProjectTeam (BaseModel ):
104- """Nested schema for Project.team """
111+ class ProjectWorkspace (BaseModel ):
112+ """Nested schema for Project.workspace """
105113 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
106114
107115 gid : Union [str , Any ] = Field (default = None )
@@ -116,6 +124,22 @@ class ProjectFollowersItem(BaseModel):
116124 name : Union [str , Any ] = Field (default = None )
117125 resource_type : Union [str , Any ] = Field (default = None )
118126
127+ class ProjectOwner (BaseModel ):
128+ """Nested schema for Project.owner"""
129+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
130+
131+ gid : Union [str , Any ] = Field (default = None )
132+ name : Union [str , Any ] = Field (default = None )
133+ resource_type : Union [str , Any ] = Field (default = None )
134+
135+ class ProjectTeam (BaseModel ):
136+ """Nested schema for Project.team"""
137+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
138+
139+ gid : Union [str , Any ] = Field (default = None )
140+ name : Union [str , Any ] = Field (default = None )
141+ resource_type : Union [str , Any ] = Field (default = None )
142+
119143class ProjectCurrentStatusAuthor (BaseModel ):
120144 """Nested schema for ProjectCurrentStatus.author"""
121145 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -154,30 +178,6 @@ class ProjectMembersItem(BaseModel):
154178 name : Union [str , Any ] = Field (default = None )
155179 resource_type : Union [str , Any ] = Field (default = None )
156180
157- class ProjectWorkspace (BaseModel ):
158- """Nested schema for Project.workspace"""
159- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
160-
161- gid : Union [str , Any ] = Field (default = None )
162- name : Union [str , Any ] = Field (default = None )
163- resource_type : Union [str , Any ] = Field (default = None )
164-
165- class ProjectOwner (BaseModel ):
166- """Nested schema for Project.owner"""
167- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
168-
169- gid : Union [str , Any ] = Field (default = None )
170- name : Union [str , Any ] = Field (default = None )
171- resource_type : Union [str , Any ] = Field (default = None )
172-
173- class ProjectCompletedBy (BaseModel ):
174- """Nested schema for Project.completed_by"""
175- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
176-
177- gid : Union [str , Any ] = Field (default = None )
178- name : Union [str , Any ] = Field (default = None )
179- resource_type : Union [str , Any ] = Field (default = None )
180-
181181class Project (BaseModel ):
182182 """Full project object"""
183183 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -772,16 +772,16 @@ class StoryCreateParams(BaseModel):
772772
773773 data : Union [StoryCreateParamsData , Any ] = Field (default = None )
774774
775- class StoryCreatedBy (BaseModel ):
776- """Nested schema for Story.created_by """
775+ class StoryTarget (BaseModel ):
776+ """Nested schema for Story.target """
777777 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
778778
779779 gid : Union [str , Any ] = Field (default = None )
780780 name : Union [str , Any ] = Field (default = None )
781781 resource_type : Union [str , Any ] = Field (default = None )
782782
783- class StoryTarget (BaseModel ):
784- """Nested schema for Story.target """
783+ class StoryCreatedBy (BaseModel ):
784+ """Nested schema for Story.created_by """
785785 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
786786
787787 gid : Union [str , Any ] = Field (default = None )
0 commit comments