def kind2
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as Gatherimport Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T
49def kind2(+api: Bool, +refresh: Bool) -> T.AcctKind:
50 match api refresh:
51 case True{} _:
52 T.ApiKey{}
53 case False{} True{}:
54 T.FullLogin{}
55 case False{} False{}:
56 T.SetupToken{}