@@ -33,17 +33,17 @@ type PreloginRequest
34type ProfileResponse
34type ProfileResponse
35 = { id :: String
35 = { id :: String
36− , name :: String
36+ , name :: JNullable String
37 , email :: String
37 , email :: String
38 , emailVerified :: Boolean
38 , emailVerified :: Boolean
39 , masterPasswordHint :: JNullable String
39 , masterPasswordHint :: JNullable String
40 , premiumPersonally :: Boolean
40 , premiumPersonally :: Boolean
41 -- , premiumFromOrganization :: Boolean
41 -- , premiumFromOrganization :: Boolean
42− , culture :: String
42+ , culture :: JNullable String
43 , twoFactorEnabled :: Boolean
43 , twoFactorEnabled :: Boolean
44 , key :: EncryptedString
44 , key :: EncryptedString
45 , privateKey :: EncryptedString
45 , privateKey :: EncryptedString
46− , securityStamp :: String
46+ , securityStamp :: JNullable String
47 , forcePasswordReset :: Boolean
47 , forcePasswordReset :: Boolean
48 , usesKeyConnector :: Boolean
48 , usesKeyConnector :: Boolean
49 , organizations :: Array ProfileOrganizationResponse
49 , organizations :: Array ProfileOrganizationResponse
@@ -53,39 +53,39 @@ type ProfileResponse
54type ProfileOrganizationResponse
54type ProfileOrganizationResponse
55 = { id :: String
55 = { id :: String
56− , name :: String
56+ , name :: JNullable String
57− , usePolicies :: Boolean
57+ , usePolicies :: JNullable Boolean
58− , useGroups :: Boolean
58+ , useGroups :: JNullable Boolean
59− , useDirectory :: Boolean
59+ , useDirectory :: JNullable Boolean
60− , useEvents :: Boolean
60+ , useEvents :: JNullable Boolean
61− , useTotp :: Boolean
61+ , useTotp :: JNullable Boolean
62− , use2fa :: Boolean
62+ , use2fa :: JNullable Boolean
63− , useApi :: Boolean
63+ , useApi :: JNullable Boolean
64− , useSso :: Boolean
64+ , useSso :: JNullable Boolean
65− , useKeyConnector :: Boolean
65+ , useKeyConnector :: JNullable Boolean
66− , useResetPassword :: Boolean
66+ , useResetPassword :: JNullable Boolean
67− , selfHost :: Boolean
67+ , selfHost :: JNullable Boolean
68− , usersGetPremium :: Boolean
68+ , usersGetPremium :: JNullable Boolean
69− , seats :: Int
69+ , seats :: JNullable Int
70− , maxCollections :: Int
70+ , maxCollections :: JNullable Int
71 , maxStorageGb :: JNullable Int
71 , maxStorageGb :: JNullable Int
72− , key :: String
72+ , key :: JNullable String
73− , hasPublicAndPrivateKeys :: Boolean
73+ , hasPublicAndPrivateKeys :: JNullable Boolean
74− , status :: OrganizationUserStatusType
74+ , status :: JNullable OrganizationUserStatusType
75− , type :: OrganizationUserType
75+ , type :: JNullable OrganizationUserType
76− , enabled :: Boolean
76+ , enabled :: JNullable Boolean
77− , ssoBound :: Boolean
77+ , ssoBound :: JNullable Boolean
78− , identifier :: String
78+ , identifier :: JNullable String
79− , permissions :: PermissionsApi
79+ , permissions :: JNullable PermissionsApi
80− , resetPasswordEnrolled :: Boolean
80+ , resetPasswordEnrolled :: JNullable Boolean
81− , userId :: String
81+ , userId :: JNullable String
82− , providerId :: String
82+ , providerId :: JNullable String
83− , providerName :: String
83+ , providerName :: JNullable String
84− , familySponsorshipFriendlyName :: String
84+ , familySponsorshipFriendlyName :: JNullable String
85− , familySponsorshipAvailable :: Boolean
85+ , familySponsorshipAvailable :: JNullable Boolean
86− , planProductType :: ProductType
86+ , planProductType :: JNullable ProductType
87− , keyConnectorEnabled :: Boolean
87+ , keyConnectorEnabled :: JNullable Boolean
88− , keyConnectorUrl :: String
88+ , keyConnectorUrl :: JNullable String
89 , familySponsorshipLastSyncDate :: JNullable Timestamp
89 , familySponsorshipLastSyncDate :: JNullable Timestamp
90 , familySponsorshipValidUntil :: JNullable Timestamp
90 , familySponsorshipValidUntil :: JNullable Timestamp
91 , familySponsorshipToDelete :: JNullable Boolean
91 , familySponsorshipToDelete :: JNullable Boolean
@@ -145,13 +145,13 @@ type ProductType
146type ProfileProviderResponse
146type ProfileProviderResponse
147 = { id :: String
147 = { id :: String
148− , name :: String
148+ , name :: JNullable String
149− , key :: String
149+ , key :: JNullable String
150− , status :: ProviderUserStatusType
150+ , status :: JNullable ProviderUserStatusType
151− , type :: ProviderUserType
151+ , type :: JNullable ProviderUserType
152 , enabled :: Boolean
152 , enabled :: Boolean
153 , permissions :: PermissionsApi
153 , permissions :: PermissionsApi
154− , userId :: String
154+ , userId :: JNullable String
155 , useEvents :: Boolean
155 , useEvents :: Boolean
@@ -173,7 +173,7 @@ type ProviderUserType
174type ProfileProviderOrganizationResponse
174type ProfileProviderOrganizationResponse
175 = { id :: String
175 = { id :: String
176− , name :: String
176+ , name :: JNullable String
177 , usePolicies :: Boolean
177 , usePolicies :: Boolean
178 , useGroups :: Boolean
178 , useGroups :: Boolean
179 , useDirectory :: Boolean
179 , useDirectory :: Boolean
@@ -189,23 +189,23 @@ type ProfileProviderOrganizationResponse
189 , seats :: Int
189 , seats :: Int
190 , maxCollections :: Int
190 , maxCollections :: Int
191 , maxStorageGb :: JNullable Int
191 , maxStorageGb :: JNullable Int
192− , key :: String
192+ , key :: JNullable String
193 , hasPublicAndPrivateKeys :: Boolean
193 , hasPublicAndPrivateKeys :: Boolean
194 , status :: OrganizationUserStatusType
194 , status :: OrganizationUserStatusType
195 , type :: OrganizationUserType
195 , type :: OrganizationUserType
196 , enabled :: Boolean
196 , enabled :: Boolean
197 , ssoBound :: Boolean
197 , ssoBound :: Boolean
198− , identifier :: String
198+ , identifier :: JNullable String
199 , permissions :: PermissionsApi
199 , permissions :: PermissionsApi
200 , resetPasswordEnrolled :: Boolean
200 , resetPasswordEnrolled :: Boolean
201− , userId :: String
201+ , userId :: JNullable String
202− , providerId :: String
202+ , providerId :: JNullable String
203− , providerName :: String
203+ , providerName :: JNullable String
204− , familySponsorshipFriendlyName :: String
204+ , familySponsorshipFriendlyName :: JNullable String
205 , familySponsorshipAvailable :: Boolean
205 , familySponsorshipAvailable :: Boolean
206 , planProductType :: ProductType
206 , planProductType :: ProductType
207 , keyConnectorEnabled :: Boolean
207 , keyConnectorEnabled :: Boolean
208− , keyConnectorUrl :: String
208+ , keyConnectorUrl :: JNullable String
209 , familySponsorshipLastSyncDate :: JNullable Timestamp
209 , familySponsorshipLastSyncDate :: JNullable Timestamp
210 , familySponsorshipValidUntil :: JNullable Timestamp
210 , familySponsorshipValidUntil :: JNullable Timestamp
211 , familySponsorshipToDelete :: JNullable Boolean
211 , familySponsorshipToDelete :: JNullable Boolean
@@ -373,14 +373,14 @@ type SyncResponse
374type FolderResponse
374type FolderResponse
375 = { id :: String
375 = { id :: String
376− , name :: String
376+ , name :: JNullable String
377− , revisionDate :: String
377+ , revisionDate :: JNullable String
380type CollectionDetailsResponse
380type CollectionDetailsResponse
381 = { id :: String
381 = { id :: String
382 , organizationId :: JNullable String
382 , organizationId :: JNullable String
383− , name :: String
383+ , name :: JNullable String
384 , externalId :: JNullable String
384 , externalId :: JNullable String
385 , readOnly :: Boolean
385 , readOnly :: Boolean
@@ -424,8 +424,8 @@ type CipherType
426type FieldApi
426type FieldApi
427− = { name :: String
427+ = { name :: JNullable String
428− , value :: String
428+ , value :: JNullable String
429 , type :: FieldType
429 , type :: FieldType
430 , linkedId :: JNullable LinkedIdType
430 , linkedId :: JNullable LinkedIdType
@@ -569,16 +569,16 @@ type SecureNoteApi = {
570type AttachmentResponse
570type AttachmentResponse
571 = { id :: String
571 = { id :: String
572− , url :: String
572+ , url :: JNullable String
573− , fileName :: String
573+ , fileName :: JNullable String
574− , key :: String
574+ , key :: JNullable String
575− , size :: String
575+ , size :: JNullable String
576− , sizeName :: String
576+ , sizeName :: JNullable String
579type PasswordHistoryResponse
579type PasswordHistoryResponse
580 = { password :: String
580 = { password :: String
581− , lastUsedDate :: String
581+ , lastUsedDate :: JNullable String
584cipherRepromptTypeNone = 0 :: CipherRepromptType
584cipherRepromptTypeNone = 0 :: CipherRepromptType
@@ -634,19 +634,19 @@ type PolicyType
635type SendResponse
635type SendResponse
636 = { id :: String
636 = { id :: String
637− , accessId :: String
637+ , accessId :: JNullable String
638 , type :: SendType
638 , type :: SendType
639− , name :: String
639+ , name :: JNullable String
640 , notes :: JNullable String
640 , notes :: JNullable String
641 , file :: JNullable SendFileApi
641 , file :: JNullable SendFileApi
642 , text :: JNullable SendTextApi
642 , text :: JNullable SendTextApi
643− , key :: String
643+ , key :: JNullable String
644 , maxAccessCount :: JNullable Int
644 , maxAccessCount :: JNullable Int
645− , accessCount :: Int
645+ , accessCount :: JNullable Int
646− , revisionDate :: String
646+ , revisionDate :: JNullable String
647− , expirationDate :: String
647+ , expirationDate :: JNullable String
648 , deletionDate :: JNullable String
648 , deletionDate :: JNullable String
649− , password :: String
649+ , password :: JNullable String
650 , disable :: Boolean
650 , disable :: Boolean
651 , hideEmail :: Boolean
651 , hideEmail :: Boolean
@@ -660,12 +660,12 @@ type SendType
661type SendFileApi
661type SendFileApi
662 = { id :: String
662 = { id :: String
663− , fileName :: String
663+ , fileName :: JNullable String
664− , size :: String
664+ , size :: JNullable String
665− , sizeName :: String
665+ , sizeName :: JNullable String
668type SendTextApi
668type SendTextApi
669− = { text :: String
669+ = { text :: JNullable String
670 , hidden :: Boolean
670 , hidden :: Boolean