File tree 23 files changed +36
-33
lines changed
23 files changed +36
-33
lines changed Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncSinglePage , AsyncSinglePage
13
- from finch .types .hris .benefits .individual_benefit import IndividualBenefit
14
- from finch .types .hris .benefits .enrolled_individual import EnrolledIndividual
15
- from finch .types .hris .benefits .unenrolled_individual import UnenrolledIndividual
16
- from finch .types .hris .benefits .individual_enrolled_ids_response import IndividualEnrolledIDsResponse
13
+ from finch .types .hris .benefits import (
14
+ IndividualBenefit ,
15
+ EnrolledIndividual ,
16
+ UnenrolledIndividual ,
17
+ IndividualEnrolledIDsResponse ,
18
+ )
17
19
18
20
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
19
21
Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncSinglePage , AsyncSinglePage
13
- from finch .types .hris .company_benefit import CompanyBenefit
14
- from finch .types .hris .supported_benefit import SupportedBenefit
15
- from finch .types .hris .update_company_benefit_response import UpdateCompanyBenefitResponse
16
- from finch .types .hris .create_company_benefits_response import CreateCompanyBenefitsResponse
13
+ from finch .types .hris import (
14
+ CompanyBenefit ,
15
+ SupportedBenefit ,
16
+ UpdateCompanyBenefitResponse ,
17
+ CreateCompanyBenefitsResponse ,
18
+ )
17
19
18
20
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
19
21
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .hris . company import Company
12
+ from finch .types .hris import Company
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncIndividualsPage , AsyncIndividualsPage
13
- from finch .types .hris . individual_in_directory import IndividualInDirectory
13
+ from finch .types .hris import IndividualInDirectory
14
14
15
15
# pyright: reportDeprecated=false
16
16
Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncResponsesPage , AsyncResponsesPage
13
- from finch .types .hris . employment_data_response import EmploymentDataResponse
13
+ from finch .types .hris import EmploymentDataResponse
14
14
15
15
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
16
Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncResponsesPage , AsyncResponsesPage
13
- from finch .types .hris . individual_response import IndividualResponse
13
+ from finch .types .hris import IndividualResponse
14
14
15
15
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
16
Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncResponsesPage , AsyncResponsesPage
13
- from finch .types .hris . pay_statement_response import PayStatementResponse
13
+ from finch .types .hris import PayStatementResponse
14
14
15
15
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
16
Original file line number Diff line number Diff line change 11
11
from tests .utils import assert_matches_type
12
12
from finch ._utils import parse_date
13
13
from finch .pagination import SyncSinglePage , AsyncSinglePage
14
- from finch .types .hris . payment import Payment
14
+ from finch .types .hris import Payment
15
15
16
16
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
17
17
Original file line number Diff line number Diff line change 10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
12
from finch .pagination import SyncPage , AsyncPage
13
- from finch .types .jobs .automated_async_job import AutomatedAsyncJob
14
- from finch .types .jobs .automated_create_response import AutomatedCreateResponse
13
+ from finch .types .jobs import AutomatedAsyncJob , AutomatedCreateResponse
15
14
16
15
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
17
16
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .jobs . manual_async_job import ManualAsyncJob
12
+ from finch .types .jobs import ManualAsyncJob
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox .connections .account_create_response import AccountCreateResponse
13
- from finch .types .sandbox .connections .account_update_response import AccountUpdateResponse
12
+ from finch .types .sandbox .connections import (
13
+ AccountCreateResponse ,
14
+ AccountUpdateResponse ,
15
+ )
14
16
15
17
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
18
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox .jobs .sandbox_job_configuration import SandboxJobConfiguration
13
- from finch .types .sandbox .jobs .configuration_retrieve_response import ConfigurationRetrieveResponse
12
+ from finch .types .sandbox .jobs import SandboxJobConfiguration , ConfigurationRetrieveResponse
14
13
15
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . company_update_response import CompanyUpdateResponse
12
+ from finch .types .sandbox import CompanyUpdateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . connection_create_response import ConnectionCreateResponse
12
+ from finch .types .sandbox import ConnectionCreateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . directory_create_response import DirectoryCreateResponse
12
+ from finch .types .sandbox import DirectoryCreateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . employment_update_response import EmploymentUpdateResponse
12
+ from finch .types .sandbox import EmploymentUpdateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . individual_update_response import IndividualUpdateResponse
12
+ from finch .types .sandbox import IndividualUpdateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . job_create_response import JobCreateResponse
12
+ from finch .types .sandbox import JobCreateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 9
9
10
10
from finch import Finch , AsyncFinch
11
11
from tests .utils import assert_matches_type
12
- from finch .types .sandbox . payment_create_response import PaymentCreateResponse
12
+ from finch .types .sandbox import PaymentCreateResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 8
8
import pytest
9
9
10
10
from finch import Finch , AsyncFinch
11
+ from finch .types import CreateAccessTokenResponse
11
12
from tests .utils import assert_matches_type
12
- from finch .types .create_access_token_response import CreateAccessTokenResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
Original file line number Diff line number Diff line change 8
8
import pytest
9
9
10
10
from finch import Finch , AsyncFinch
11
+ from finch .types import Introspection , DisconnectResponse
11
12
from tests .utils import assert_matches_type
12
- from finch .types .introspection import Introspection
13
- from finch .types .disconnect_response import DisconnectResponse
14
13
15
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
15
Original file line number Diff line number Diff line change 8
8
import pytest
9
9
10
10
from finch import Finch , AsyncFinch
11
+ from finch .types import Provider
11
12
from tests .utils import assert_matches_type
12
13
from finch .pagination import SyncSinglePage , AsyncSinglePage
13
- from finch .types .provider import Provider
14
14
15
15
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
16
16
Original file line number Diff line number Diff line change 8
8
import pytest
9
9
10
10
from finch import Finch , AsyncFinch
11
+ from finch .types import RequestForwardingForwardResponse
11
12
from tests .utils import assert_matches_type
12
- from finch .types .request_forwarding_forward_response import RequestForwardingForwardResponse
13
13
14
14
base_url = os .environ .get ("TEST_API_BASE_URL" , "http://127.0.0.1:4010" )
15
15
You can’t perform that action at this time.
0 commit comments