on master help sign in
wip
commit668b51181c9598b72cd2488e44bdbb69c9dd431b authoriko <ilyakooo0@gmail.com> dateSat 23 Jul 2022, 17:23 (4 years ago) parentc177ad1
2 files changed+5−6
bw/src/BW.js+1−1 bw/src/BW.purs+4−5
bw/src/BW.js+1−1
@@ -7,7 +7,7 @@ import { EnvironmentService } from "../../deps/bw/libs/shared/dist/src/services/
77import { StateMigrationService } from "../../deps/bw/libs/shared/dist/src/services/stateMigration.service";
88import { TokenService } from "../../deps/bw/libs/shared/dist/src/services/token.service";
99import { WebCryptoFunctionService } from "../../deps/bw/libs/shared/dist/src/services/webCryptoFunction.service";
10−import { Account, AccountSettings } from "../../deps/bw/libs/shared/dist/src/models/domain/account";
10+import { Account } from "../../deps/bw/libs/shared/dist/src/models/domain/account";
1111
1212// import BrowserStorageService from "../../deps/bw/libs/shared/dist/src/services/browserStorage.service";
1313import { CryptoService } from "../../deps/bw/libs/shared/dist/src/abstractions/crypto.service";
bw/src/BW.purs+4−5
@@ -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