From 0065e00f2a734f15b733aed25cade658c1525a5e Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 01:31:12 +0000 Subject: [PATCH] SDK regeneration --- core/request_option.go | 2 +- types.go | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/request_option.go b/core/request_option.go index 0e1ed08..4dc1758 100644 --- a/core/request_option.go +++ b/core/request_option.go @@ -58,7 +58,7 @@ func (r *RequestOptions) cloneHeader() http.Header { headers := r.HTTPHeader.Clone() headers.Set("X-Fern-Language", "Go") headers.Set("X-Fern-SDK-Name", "github.com/seamapi/go") - headers.Set("X-Fern-SDK-Version", "v0.2.15") + headers.Set("X-Fern-SDK-Version", "v0.2.16") return headers } diff --git a/types.go b/types.go index b365859..2c31fef 100644 --- a/types.go +++ b/types.go @@ -3300,6 +3300,7 @@ type Event struct { DeviceId *string `json:"device_id,omitempty" url:"device_id,omitempty"` AcsCredentialId *string `json:"acs_credential_id,omitempty" url:"acs_credential_id,omitempty"` AcsUserId *string `json:"acs_user_id,omitempty" url:"acs_user_id,omitempty"` + ClientSessionId *string `json:"client_session_id,omitempty" url:"client_session_id,omitempty"` EnrollmentAutomationId *string `json:"enrollment_automation_id,omitempty" url:"enrollment_automation_id,omitempty"` EventType string `json:"event_type" url:"event_type"` WorkspaceId string `json:"workspace_id" url:"workspace_id"` @@ -3404,6 +3405,8 @@ const ( EventTypeEnrollmentAutomationDeleted EventType = "enrollment_automation.deleted" EventTypeAcsUserDeleted EventType = "acs_user.deleted" EventTypeAcsCredentialDeleted EventType = "acs_credential.deleted" + EventTypePhoneDeactivated EventType = "phone.deactivated" + EventTypeClientSessionDeleted EventType = "client_session.deleted" ) func NewEventTypeFromString(s string) (EventType, error) { @@ -3502,6 +3505,10 @@ func NewEventTypeFromString(s string) (EventType, error) { return EventTypeAcsUserDeleted, nil case "acs_credential.deleted": return EventTypeAcsCredentialDeleted, nil + case "phone.deactivated": + return EventTypePhoneDeactivated, nil + case "client_session.deleted": + return EventTypeClientSessionDeleted, nil } var t EventType return "", fmt.Errorf("%s is not a valid %T", s, t)