Skip to content

Commit

Permalink
Release 0.0.1068
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 2, 2024
1 parent 64cd248 commit 4cb4f7b
Show file tree
Hide file tree
Showing 43 changed files with 3,245 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/revert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
ImportConnectionsResponse,
MappableFieldType,
TriggerSyncResponse,
ats,
chat,
common,
connection,
Expand Down Expand Up @@ -66,6 +67,7 @@
"MappableFieldType",
"RevertEnvironment",
"TriggerSyncResponse",
"ats",
"chat",
"common",
"connection",
Expand Down
3 changes: 3 additions & 0 deletions src/revert/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .environment import RevertEnvironment
from .resources.ats.client import AsyncAtsClient, AtsClient
from .resources.chat.client import AsyncChatClient, ChatClient
from .resources.connection.client import AsyncConnectionClient, ConnectionClient
from .resources.crm.client import AsyncCrmClient, CrmClient
Expand All @@ -28,6 +29,7 @@ def __init__(
base_url=_get_base_url(base_url=base_url, environment=environment),
httpx_client=httpx.Client(timeout=timeout) if httpx_client is None else httpx_client,
)
self.ats = AtsClient(client_wrapper=self._client_wrapper)
self.chat = ChatClient(client_wrapper=self._client_wrapper)
self.connection = ConnectionClient(client_wrapper=self._client_wrapper)
self.crm = CrmClient(client_wrapper=self._client_wrapper)
Expand All @@ -50,6 +52,7 @@ def __init__(
base_url=_get_base_url(base_url=base_url, environment=environment),
httpx_client=httpx.AsyncClient(timeout=timeout) if httpx_client is None else httpx_client,
)
self.ats = AsyncAtsClient(client_wrapper=self._client_wrapper)
self.chat = AsyncChatClient(client_wrapper=self._client_wrapper)
self.connection = AsyncConnectionClient(client_wrapper=self._client_wrapper)
self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
Expand Down
3 changes: 2 additions & 1 deletion src/revert/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was auto-generated by Fern from our API Definition.

from . import chat, common, connection, crm, field_mapping, metadata, sync, ticket
from . import ats, chat, common, connection, crm, field_mapping, metadata, sync, ticket
from .connection import (
ConnectionImport,
ConnectionStatus,
Expand Down Expand Up @@ -57,6 +57,7 @@
"ImportConnectionsResponse",
"MappableFieldType",
"TriggerSyncResponse",
"ats",
"chat",
"common",
"connection",
Expand Down
61 changes: 61 additions & 0 deletions src/revert/resources/ats/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# This file was auto-generated by Fern from our API Definition.

from .resources import (
CreateOrUpdateCandidateRequest,
CreateOrUpdateCandidateResponse,
CreateOrUpdateDepartmentRequest,
CreateOrUpdateDepartmentResponse,
CreateOrUpdateJobRequest,
CreateOrUpdateJobResponse,
CreateOrUpdateOfferRequest,
CreateOrUpdateOfferResponse,
DeleteCandidateResponse,
DeleteDepartmentResponse,
DeleteJobResponse,
DeleteOfferResponse,
GetCandidateResponse,
GetCandidatesResponse,
GetDepartmentResponse,
GetDepartmentsResponse,
GetJobResponse,
GetJobsResponse,
GetOfferResponse,
GetOffersResponse,
PostProxyRequestBody,
ProxyResponse,
candidate,
department,
job,
offer,
proxy,
)

__all__ = [
"CreateOrUpdateCandidateRequest",
"CreateOrUpdateCandidateResponse",
"CreateOrUpdateDepartmentRequest",
"CreateOrUpdateDepartmentResponse",
"CreateOrUpdateJobRequest",
"CreateOrUpdateJobResponse",
"CreateOrUpdateOfferRequest",
"CreateOrUpdateOfferResponse",
"DeleteCandidateResponse",
"DeleteDepartmentResponse",
"DeleteJobResponse",
"DeleteOfferResponse",
"GetCandidateResponse",
"GetCandidatesResponse",
"GetDepartmentResponse",
"GetDepartmentsResponse",
"GetJobResponse",
"GetJobsResponse",
"GetOfferResponse",
"GetOffersResponse",
"PostProxyRequestBody",
"ProxyResponse",
"candidate",
"department",
"job",
"offer",
"proxy",
]
28 changes: 28 additions & 0 deletions src/revert/resources/ats/client.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file was auto-generated by Fern from our API Definition.

from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .resources.candidate.client import AsyncCandidateClient, CandidateClient
from .resources.department.client import AsyncDepartmentClient, DepartmentClient
from .resources.job.client import AsyncJobClient, JobClient
from .resources.offer.client import AsyncOfferClient, OfferClient
from .resources.proxy.client import AsyncProxyClient, ProxyClient


class AtsClient:
def __init__(self, *, client_wrapper: SyncClientWrapper):
self._client_wrapper = client_wrapper
self.candidate = CandidateClient(client_wrapper=self._client_wrapper)
self.department = DepartmentClient(client_wrapper=self._client_wrapper)
self.job = JobClient(client_wrapper=self._client_wrapper)
self.offer = OfferClient(client_wrapper=self._client_wrapper)
self.proxy = ProxyClient(client_wrapper=self._client_wrapper)


class AsyncAtsClient:
def __init__(self, *, client_wrapper: AsyncClientWrapper):
self._client_wrapper = client_wrapper
self.candidate = AsyncCandidateClient(client_wrapper=self._client_wrapper)
self.department = AsyncDepartmentClient(client_wrapper=self._client_wrapper)
self.job = AsyncJobClient(client_wrapper=self._client_wrapper)
self.offer = AsyncOfferClient(client_wrapper=self._client_wrapper)
self.proxy = AsyncProxyClient(client_wrapper=self._client_wrapper)
56 changes: 56 additions & 0 deletions src/revert/resources/ats/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This file was auto-generated by Fern from our API Definition.

from . import candidate, department, job, offer, proxy
from .candidate import (
CreateOrUpdateCandidateRequest,
CreateOrUpdateCandidateResponse,
DeleteCandidateResponse,
GetCandidateResponse,
GetCandidatesResponse,
)
from .department import (
CreateOrUpdateDepartmentRequest,
CreateOrUpdateDepartmentResponse,
DeleteDepartmentResponse,
GetDepartmentResponse,
GetDepartmentsResponse,
)
from .job import CreateOrUpdateJobRequest, CreateOrUpdateJobResponse, DeleteJobResponse, GetJobResponse, GetJobsResponse
from .offer import (
CreateOrUpdateOfferRequest,
CreateOrUpdateOfferResponse,
DeleteOfferResponse,
GetOfferResponse,
GetOffersResponse,
)
from .proxy import PostProxyRequestBody, ProxyResponse

__all__ = [
"CreateOrUpdateCandidateRequest",
"CreateOrUpdateCandidateResponse",
"CreateOrUpdateDepartmentRequest",
"CreateOrUpdateDepartmentResponse",
"CreateOrUpdateJobRequest",
"CreateOrUpdateJobResponse",
"CreateOrUpdateOfferRequest",
"CreateOrUpdateOfferResponse",
"DeleteCandidateResponse",
"DeleteDepartmentResponse",
"DeleteJobResponse",
"DeleteOfferResponse",
"GetCandidateResponse",
"GetCandidatesResponse",
"GetDepartmentResponse",
"GetDepartmentsResponse",
"GetJobResponse",
"GetJobsResponse",
"GetOfferResponse",
"GetOffersResponse",
"PostProxyRequestBody",
"ProxyResponse",
"candidate",
"department",
"job",
"offer",
"proxy",
]
17 changes: 17 additions & 0 deletions src/revert/resources/ats/resources/candidate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was auto-generated by Fern from our API Definition.

from .types import (
CreateOrUpdateCandidateRequest,
CreateOrUpdateCandidateResponse,
DeleteCandidateResponse,
GetCandidateResponse,
GetCandidatesResponse,
)

__all__ = [
"CreateOrUpdateCandidateRequest",
"CreateOrUpdateCandidateResponse",
"DeleteCandidateResponse",
"GetCandidateResponse",
"GetCandidatesResponse",
]
Loading

0 comments on commit 4cb4f7b

Please sign in to comment.