@@ -909,6 +909,7 @@ public func FfiConverterTypeAuthRequestResponse_lower(_ value: AuthRequestRespon
909909 * api_url: "https://api.bitwarden.com".to_string(),
910910 * user_agent: "Bitwarden Rust-SDK".to_string(),
911911 * device_type: DeviceType::SDK,
912+  * bitwarden_client_version: None,
912913 * };
913914 * let default = ClientSettings::default();
914915 * ```
@@ -930,6 +931,10 @@ public struct ClientSettings {
930931     * Device type to send to Bitwarden. Defaults to SDK
931932     */
932933    public  let  deviceType :  DeviceType 
934+     /**
935+      * Bitwarden Client Version to send to Bitwarden.
936+      */
937+     public  let  bitwardenClientVersion :  String ? 
933938
934939    // Default memberwise initializers are never public by default, so we
935940    // declare one manually.
@@ -945,11 +950,15 @@ public struct ClientSettings {
945950         */userAgent:  String ,  
946951        /**
947952         * Device type to send to Bitwarden. Defaults to SDK
948-          */deviceType:  DeviceType )  { 
953+          */deviceType:  DeviceType ,  
954+         /**
955+          * Bitwarden Client Version to send to Bitwarden.
956+          */bitwardenClientVersion:  String ? )  { 
949957        self . identityUrl =  identityUrl
950958        self . apiUrl =  apiUrl
951959        self . userAgent =  userAgent
952960        self . deviceType =  deviceType
961+         self . bitwardenClientVersion =  bitwardenClientVersion
953962    } 
954963} 
955964
@@ -975,6 +984,9 @@ extension ClientSettings: Equatable, Hashable {
975984        if  lhs. deviceType !=  rhs. deviceType { 
976985            return  false 
977986        } 
987+         if  lhs. bitwardenClientVersion !=  rhs. bitwardenClientVersion { 
988+             return  false 
989+         } 
978990        return  true 
979991    } 
980992
@@ -983,6 +995,7 @@ extension ClientSettings: Equatable, Hashable {
983995        hasher. combine ( apiUrl) 
984996        hasher. combine ( userAgent) 
985997        hasher. combine ( deviceType) 
998+         hasher. combine ( bitwardenClientVersion) 
986999    } 
9871000} 
9881001
@@ -998,7 +1011,8 @@ public struct FfiConverterTypeClientSettings: FfiConverterRustBuffer {
9981011                identityUrl:  FfiConverterString . read ( from:  & buf) ,  
9991012                apiUrl:  FfiConverterString . read ( from:  & buf) ,  
10001013                userAgent:  FfiConverterString . read ( from:  & buf) ,  
1001-                 deviceType:  FfiConverterTypeDeviceType . read ( from:  & buf) 
1014+                 deviceType:  FfiConverterTypeDeviceType . read ( from:  & buf) ,  
1015+                 bitwardenClientVersion:  FfiConverterOptionString . read ( from:  & buf) 
10021016        ) 
10031017    } 
10041018
@@ -1007,6 +1021,7 @@ public struct FfiConverterTypeClientSettings: FfiConverterRustBuffer {
10071021        FfiConverterString . write ( value. apiUrl,  into:  & buf) 
10081022        FfiConverterString . write ( value. userAgent,  into:  & buf) 
10091023        FfiConverterTypeDeviceType . write ( value. deviceType,  into:  & buf) 
1024+         FfiConverterOptionString . write ( value. bitwardenClientVersion,  into:  & buf) 
10101025    } 
10111026} 
10121027
@@ -3508,6 +3523,7 @@ public enum DeviceType {
35083523    case  windowsCli
35093524    case  macOsCli
35103525    case  linuxCli
3526+     case  duckDuckGoBrowser
35113527
35123528} 
35133529#if compiler(>=6) 
@@ -3576,6 +3592,8 @@ public struct FfiConverterTypeDeviceType: FfiConverterRustBuffer {
35763592
35773593        case  26 :  return  . linuxCli
35783594
3595+         case  27 :  return  . duckDuckGoBrowser
3596+         
35793597        default :  throw  UniffiInternalError . unexpectedEnumCase
35803598        } 
35813599    } 
@@ -3687,6 +3705,10 @@ public struct FfiConverterTypeDeviceType: FfiConverterRustBuffer {
36873705        case  . linuxCli: 
36883706            writeInt ( & buf,  Int32 ( 26 ) ) 
36893707
3708+         
3709+         case  . duckDuckGoBrowser: 
3710+             writeInt ( & buf,  Int32 ( 27 ) ) 
3711+         
36903712        } 
36913713    } 
36923714} 
@@ -5161,8 +5183,8 @@ private let initializationResult: InitializationResult = {
51615183    } 
51625184
51635185    uniffiCallbackInitClientManagedTokens ( ) 
5164-     uniffiEnsureBitwardenCryptoInitialized ( ) 
51655186    uniffiEnsureBitwardenEncodingInitialized ( ) 
5187+     uniffiEnsureBitwardenCryptoInitialized ( ) 
51665188    return  InitializationResult . ok
51675189} ( ) 
51685190
0 commit comments