@@ -3,7 +3,6 @@ module BW where
33import Prelude
44
55import Control.Promise (Promise)
6−import Data.Argonaut.Core (Json)
76import Data.Date (Date)
87import Data.List (List)
98import Data.Nullable (Nullable)
@@ -55,7 +54,7 @@ type ProfileOrganizationResponse = {
5554 "UsersGetPremium" :: Boolean,
5655 "Seats" :: Int,
5756 "MaxCollections" :: Int,
58− "MaxStorageGb" :: Int,
57+ "MaxStorageGb" :: Nullable Int,
5958 "Key" :: String,
6059 "HasPublicAndPrivateKeys" :: Boolean,
6160 "Status" :: OrganizationUserStatusType,
@@ -73,9 +72,9 @@ type ProfileOrganizationResponse = {
7372 "PlanProductType" :: ProductType,
7473 "KeyConnectorEnabled" :: Boolean,
7574 "KeyConnectorUrl" :: String,
76− "FamilySponsorshipLastSyncDate" :: Date,
77− "FamilySponsorshipValidUntil" :: Date,
78− "FamilySponsorshipToDelete" :: Boolean
75+ "FamilySponsorshipLastSyncDate" :: Nullable Date,
76+ "FamilySponsorshipValidUntil" :: Nullable Date,
77+ "FamilySponsorshipToDelete" :: Nullable Boolean
7978 }
8079
8180organizationUserStatusTypeInvited = 0 :: OrganizationUserStatusType