From e064d98c7aa6c6d9fba1b977d5c97e25df7385d8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:41:15 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#490) --- .stats.yml | 2 +- src/finch/types/job_completion_event.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8af8892f..ccdf8c03 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 37 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-82f59232f8a0981c05494d0697c69182e5f36f2d355953c6098c1d4baf52341b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-73f8c2f1adc83beed2a8b1dd5d1981b61f94b8d22a7be3778b42084a810ab0e7.yml diff --git a/src/finch/types/job_completion_event.py b/src/finch/types/job_completion_event.py index db92dfac..331921f6 100644 --- a/src/finch/types/job_completion_event.py +++ b/src/finch/types/job_completion_event.py @@ -22,11 +22,11 @@ class JobCompletionEvent(BaseWebhookEvent): event_type: Optional[ Literal[ - "job.benefit_create.updated", - "job.benefit_enroll.updated", - "job.benefit_register.updated", - "job.benefit_unenroll.updated", - "job.benefit_update.updated", - "job.data_sync_all.updated", + "job.benefit_create.completed", + "job.benefit_enroll.completed", + "job.benefit_register.completed", + "job.benefit_unenroll.completed", + "job.benefit_update.completed", + "job.data_sync_all.completed", ] ] = None