From 730a91c629c07a6b438c7555e4a3062be7cce467 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 05:03:32 +0000 Subject: [PATCH] SDK regeneration --- acs/credentials.go | 5 ++++- core/request_option.go | 2 +- phones/simulate.go | 9 ++++----- types.go | 2 ++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/acs/credentials.go b/acs/credentials.go index c02b275..a1a036d 100644 --- a/acs/credentials.go +++ b/acs/credentials.go @@ -58,7 +58,10 @@ type CredentialsGetRequest struct { } type CredentialsListRequest struct { - IsMultiPhoneSyncCredential *bool `json:"is_multi_phone_sync_credential,omitempty" url:"is_multi_phone_sync_credential,omitempty"` + AcsUserId *string `json:"acs_user_id,omitempty" url:"acs_user_id,omitempty"` + AcsSystemId *string `json:"acs_system_id,omitempty" url:"acs_system_id,omitempty"` + UserIdentityId *string `json:"user_identity_id,omitempty" url:"user_identity_id,omitempty"` + IsMultiPhoneSyncCredential *bool `json:"is_multi_phone_sync_credential,omitempty" url:"is_multi_phone_sync_credential,omitempty"` } type CredentialsAssignResponse struct { diff --git a/core/request_option.go b/core/request_option.go index 0b46194..9564f1b 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.13") + headers.Set("X-Fern-SDK-Version", "v0.2.14") return headers } diff --git a/phones/simulate.go b/phones/simulate.go index 236da88..cb6fa86 100644 --- a/phones/simulate.go +++ b/phones/simulate.go @@ -10,11 +10,10 @@ import ( ) type SimulateCreateSandboxPhoneRequest struct { - AssaAbloyCredentialServiceAcsSystemId string `json:"assa_abloy_credential_service_acs_system_id" url:"assa_abloy_credential_service_acs_system_id"` - CustomSdkInstallationId *string `json:"custom_sdk_installation_id,omitempty" url:"custom_sdk_installation_id,omitempty"` - UserIdentityId string `json:"user_identity_id" url:"user_identity_id"` - PhoneMetadata *SimulateCreateSandboxPhoneRequestPhoneMetadata `json:"phone_metadata,omitempty" url:"phone_metadata,omitempty"` - AssaAbloyMetadata *SimulateCreateSandboxPhoneRequestAssaAbloyMetadata `json:"assa_abloy_metadata,omitempty" url:"assa_abloy_metadata,omitempty"` + CustomSdkInstallationId *string `json:"custom_sdk_installation_id,omitempty" url:"custom_sdk_installation_id,omitempty"` + UserIdentityId string `json:"user_identity_id" url:"user_identity_id"` + PhoneMetadata *SimulateCreateSandboxPhoneRequestPhoneMetadata `json:"phone_metadata,omitempty" url:"phone_metadata,omitempty"` + AssaAbloyMetadata *SimulateCreateSandboxPhoneRequestAssaAbloyMetadata `json:"assa_abloy_metadata,omitempty" url:"assa_abloy_metadata,omitempty"` } type SimulateCreateSandboxPhoneRequestAssaAbloyMetadata struct { diff --git a/types.go b/types.go index 591f72f..de3badd 100644 --- a/types.go +++ b/types.go @@ -284,6 +284,8 @@ type AcsSystem struct { CreatedAt time.Time `json:"created_at" url:"created_at"` WorkspaceId string `json:"workspace_id" url:"workspace_id"` ConnectedAccountIds []string `json:"connected_account_ids,omitempty" url:"connected_account_ids,omitempty"` + ImageUrl string `json:"image_url" url:"image_url"` + ImageAltText string `json:"image_alt_text" url:"image_alt_text"` _rawJSON json.RawMessage }