From 45997d2281ae1b979275c7c591b3d90fc7c646d2 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:12 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#452) --- .stats.yml | 2 +- src/resources/webhooks.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8af8892..ccdf8c0 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/resources/webhooks.ts b/src/resources/webhooks.ts index 3ef8f5f..625c10d 100644 --- a/src/resources/webhooks.ts +++ b/src/resources/webhooks.ts @@ -633,12 +633,12 @@ export interface JobCompletionEvent extends BaseWebhookEvent { data?: JobCompletionEvent.Data; event_type?: - | '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'; } export namespace JobCompletionEvent {