-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get_interview_types() in OrganizationSettings entity.
- Loading branch information
koval
committed
Jul 22, 2024
1 parent
419c165
commit f5f17ab
Showing
5 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from datetime import datetime | ||
from typing import Optional | ||
|
||
from pydantic import BaseModel, Field | ||
|
||
from huntflow_api_client.models.consts import InterviewType as InterviewTypeEnum | ||
|
||
|
||
class InterviewType(BaseModel): | ||
id: int = Field(..., description="Interview type ID", examples=[20]) | ||
name: str = Field(..., description="Interview type name", examples=["Phone interview"]) | ||
account: int = Field(..., description="Organization ID", examples=[42]) | ||
removed: Optional[datetime] = Field(None, description="Date and time of removing") | ||
order: int = Field(..., description="Order number") | ||
type: InterviewTypeEnum = Field( | ||
..., | ||
description="Type of the interview", | ||
examples=[InterviewTypeEnum.USER], | ||
) | ||
|
||
|
||
class InterviewTypesListResponse(BaseModel): | ||
items: list[InterviewType] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
[project] | ||
name = "huntflow-api-client" | ||
version = "2.2.0" | ||
version = "2.3.0" | ||
description = "Huntflow API Client for Python" | ||
authors = [ | ||
{name = "Developers huntflow", email = "[email protected]"}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters