-
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.
Merge pull request #96 from huntflow/INT-650_get_interview_types_endp…
…oint [INT-650] - Add get_interview_types() to the OrganizationSettings entity.
- Loading branch information
Showing
5 changed files
with
67 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,21 @@ | ||
from typing import List | ||
|
||
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]) | ||
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