diff --git a/.stats.yml b/.stats.yml index 776ae867..4068fd94 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 41 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-33c66e078bce0755ba6ffea89b65cd065f406dae750be8a23dd0315b736f1c9f.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-97bf4795deec23d1bfd3b0b5fd77c2a93c87f10e5fa3375ab30f4a877be97f53.yml diff --git a/src/finch/types/jobs/automated_async_job.py b/src/finch/types/jobs/automated_async_job.py index e9d75d8e..0c4ed460 100644 --- a/src/finch/types/jobs/automated_async_job.py +++ b/src/finch/types/jobs/automated_async_job.py @@ -6,7 +6,12 @@ from ..._models import BaseModel -__all__ = ["AutomatedAsyncJob"] +__all__ = ["AutomatedAsyncJob", "Params"] + + +class Params(BaseModel): + individual_id: Optional[str] = None + """The ID of the individual that the job was completed for.""" class AutomatedAsyncJob(BaseModel): @@ -26,6 +31,9 @@ class AutomatedAsyncJob(BaseModel): job_url: str """The url that can be used to retrieve the job status""" + params: Optional[Params] = None + """The input parameters for the job.""" + scheduled_at: Optional[datetime] = None """The datetime a job is scheduled to be run. @@ -38,5 +46,5 @@ class AutomatedAsyncJob(BaseModel): status: Literal["pending", "in_progress", "complete", "error", "reauth_error", "permissions_error"] - type: Literal["data_sync_all"] - """Only `data_sync_all` currently supported""" + type: Literal["data_sync_all", "w4_form_employee_sync"] + """The type of automated job"""