11export declare const supportedAuthAction : readonly [ "login" , "signup" ] ;
2- export declare type AuthAction = typeof supportedAuthAction [ number ] ;
2+ export type AuthAction = typeof supportedAuthAction [ number ] ;
33export interface PrivateParams {
44 cobrandClientId ?: string ;
55 samlSubjectId ?: string ;
@@ -9,7 +9,7 @@ export interface PrivateConfigsOptions {
99 sdkVersion ?: string ;
1010}
1111export declare const supportedAuthnMethod : readonly [ "passwordless" , "sso" , "credentials" ] ;
12- export declare type AuthnMethod = typeof supportedAuthnMethod [ number ] ;
12+ export type AuthnMethod = typeof supportedAuthnMethod [ number ] ;
1313export interface ConfigsOptions extends PrivateConfigsOptions {
1414 email ?: string ;
1515 backTo ?: string ;
@@ -20,43 +20,43 @@ export interface ConfigsOptions extends PrivateConfigsOptions {
2020 forceLogout ?: boolean ;
2121 authnMethod ?: AuthnMethod ;
2222}
23- export declare type ConfigsOptionsWithoutIsNewTab = Omit < ConfigsOptions , 'isNewTab' > ;
24- export declare type VaultViewServiceList = {
23+ export type ConfigsOptionsWithoutIsNewTab = Omit < ConfigsOptions , 'isNewTab' > ;
24+ export type VaultViewServiceList = {
2525 view : 'services-list' ;
2626 group ?: 'grouping_bank' | 'grouping_bank_credit_card' | 'grouping_bank_dc_card' | 'grouping_corporate_credit_card' | 'grouping_credit_card' | 'grouping_credit_coop' | 'grouping_credit_union' | 'grouping_dc_pension_plan' | 'grouping_debit_card' | 'grouping_digital_money' | 'grouping_ja_bank' | 'grouping_life_insurance' | 'grouping_point' | 'grouping_regional_bank' | 'grouping_stock' | 'grouping_testing' ;
2727 type ?: 'bank' | 'credit_card' | 'stored_value' | 'point' | 'corporate' ;
2828 search ?: string ;
2929} ;
30- export declare type VaultViewServiceConnection = {
30+ export type VaultViewServiceConnection = {
3131 view : 'service-connection' ;
3232 entityKey : string ;
3333} ;
34- export declare type VaultViewConnectionSetting = {
34+ export type VaultViewConnectionSetting = {
3535 view : 'connection-setting' ;
3636 credentialId : string ;
3737} ;
38- export declare type VaultViewCustomerSupport = {
38+ export type VaultViewCustomerSupport = {
3939 view : 'customer-support' ;
4040} ;
41- export declare type VaultServiceTypes = VaultViewServiceList | VaultViewServiceConnection | VaultViewConnectionSetting | VaultViewCustomerSupport ;
42- export declare type MyAccountServiceTypes = {
41+ export type VaultServiceTypes = VaultViewServiceList | VaultViewServiceConnection | VaultViewConnectionSetting | VaultViewCustomerSupport ;
42+ export type MyAccountServiceTypes = {
4343 view : LoginLinkTo ;
4444} ;
45- export declare type MyAccountOpenServiceOptions = ConfigsOptions | ( ConfigsOptions & MyAccountServiceTypes ) ;
46- export declare type MyAccountOpenServiceUrlOptions = ConfigsOptionsWithoutIsNewTab | ( ConfigsOptionsWithoutIsNewTab & MyAccountServiceTypes ) ;
47- export declare type VaultOpenServiceViewServiceList = ConfigsOptions & VaultViewServiceList ;
48- export declare type VaultOpenServiceViewServiceConnection = ConfigsOptions & VaultViewServiceConnection ;
49- export declare type VaultOpenServiceViewConnectionSetting = ConfigsOptions & VaultViewConnectionSetting ;
50- export declare type VaultOpenServiceViewCustomerSupport = ConfigsOptions & VaultViewCustomerSupport ;
51- export declare type VaultOpenServiceUrlViewServiceList = ConfigsOptionsWithoutIsNewTab & VaultViewServiceList ;
52- export declare type VaultOpenServiceUrlViewServiceConnection = ConfigsOptionsWithoutIsNewTab & VaultViewServiceConnection ;
53- export declare type VaultOpenServiceUrlViewConnectionSetting = ConfigsOptionsWithoutIsNewTab & VaultViewConnectionSetting ;
54- export declare type VaultOpenServiceUrlViewCustomerSupport = ConfigsOptionsWithoutIsNewTab & VaultViewCustomerSupport ;
55- export declare type LinkKitOpenServiceOptions = ConfigsOptions ;
56- export declare type LinkKitOpenServiceUrlOptions = ConfigsOptionsWithoutIsNewTab ;
57- export declare type OpenServiceOptions = MyAccountOpenServiceOptions | ConfigsOptions | VaultOpenServiceViewServiceList | VaultOpenServiceViewConnectionSetting | VaultOpenServiceViewCustomerSupport | LinkKitOpenServiceOptions ;
58- export declare type OpenServiceUrlOptions = MyAccountOpenServiceUrlOptions | ConfigsOptionsWithoutIsNewTab | VaultOpenServiceUrlViewServiceList | VaultOpenServiceUrlViewConnectionSetting | VaultOpenServiceUrlViewCustomerSupport | LinkKitOpenServiceUrlOptions ;
59- export declare type Scopes = string | string [ ] ;
45+ export type MyAccountOpenServiceOptions = ConfigsOptions | ( ConfigsOptions & MyAccountServiceTypes ) ;
46+ export type MyAccountOpenServiceUrlOptions = ConfigsOptionsWithoutIsNewTab | ( ConfigsOptionsWithoutIsNewTab & MyAccountServiceTypes ) ;
47+ export type VaultOpenServiceViewServiceList = ConfigsOptions & VaultViewServiceList ;
48+ export type VaultOpenServiceViewServiceConnection = ConfigsOptions & VaultViewServiceConnection ;
49+ export type VaultOpenServiceViewConnectionSetting = ConfigsOptions & VaultViewConnectionSetting ;
50+ export type VaultOpenServiceViewCustomerSupport = ConfigsOptions & VaultViewCustomerSupport ;
51+ export type VaultOpenServiceUrlViewServiceList = ConfigsOptionsWithoutIsNewTab & VaultViewServiceList ;
52+ export type VaultOpenServiceUrlViewServiceConnection = ConfigsOptionsWithoutIsNewTab & VaultViewServiceConnection ;
53+ export type VaultOpenServiceUrlViewConnectionSetting = ConfigsOptionsWithoutIsNewTab & VaultViewConnectionSetting ;
54+ export type VaultOpenServiceUrlViewCustomerSupport = ConfigsOptionsWithoutIsNewTab & VaultViewCustomerSupport ;
55+ export type LinkKitOpenServiceOptions = ConfigsOptions ;
56+ export type LinkKitOpenServiceUrlOptions = ConfigsOptionsWithoutIsNewTab ;
57+ export type OpenServiceOptions = MyAccountOpenServiceOptions | ConfigsOptions | VaultOpenServiceViewServiceList | VaultOpenServiceViewConnectionSetting | VaultOpenServiceViewCustomerSupport | LinkKitOpenServiceOptions ;
58+ export type OpenServiceUrlOptions = MyAccountOpenServiceUrlOptions | ConfigsOptionsWithoutIsNewTab | VaultOpenServiceUrlViewServiceList | VaultOpenServiceUrlViewConnectionSetting | VaultOpenServiceUrlViewCustomerSupport | LinkKitOpenServiceUrlOptions ;
59+ export type Scopes = string | string [ ] ;
6060interface AuthorizeConfigsOptions {
6161 forceLogout ?: boolean ;
6262}
@@ -69,9 +69,9 @@ export interface AuthorizeOptions extends OAuthSharedParams, ConfigsOptions, Aut
6969 codeChallenge ?: string ;
7070 pkce ?: boolean ;
7171}
72- export declare type AuthorizeUrlOptions = Omit < AuthorizeOptions , 'isNewTab' > ;
73- export declare type Mode = 'production' | 'staging' | 'develop' | 'local' ;
74- export declare type InitOptions = Omit < Omit < Omit < AuthorizeOptions , 'forceLogout' > , 'codeChallenge' > , 'pkce' > & PrivateParams & {
72+ export type AuthorizeUrlOptions = Omit < AuthorizeOptions , 'isNewTab' > ;
73+ export type Mode = 'production' | 'staging' | 'develop' | 'local' ;
74+ export type InitOptions = Omit < Omit < Omit < AuthorizeOptions , 'forceLogout' > , 'codeChallenge' > , 'pkce' > & PrivateParams & {
7575 mode ?: Mode ;
7676 locale ?: string ;
7777} ;
@@ -83,12 +83,12 @@ export interface ExchangeTokenOptions extends OAuthSharedParams {
8383 code ?: string ;
8484 codeVerifier ?: string ;
8585}
86- export declare type LogoutOptions = ConfigsOptions ;
87- export declare type LogoutUrlOptions = Omit < ConfigsOptions , 'isNewTab' > ;
88- export declare type OnboardOptions = Omit < Omit < Omit < Omit < AuthorizeOptions , 'showAuthToggle' > , 'forceLogout' > , 'showRememberMe' > , 'authAction' > ;
89- export declare type OnboardUrlOptions = Omit < OnboardOptions , 'isNewTab' > ;
90- export declare type ServiceId = 'vault' | 'myaccount' | 'link-kit' ;
91- export declare type LoginLinkTo = 'settings' | 'settings/authorized-applications' | 'settings/change-language' | 'settings/email-preferences' | 'settings/delete-account' | 'settings/update-email' | 'settings/update-password' ;
86+ export type LogoutOptions = ConfigsOptions ;
87+ export type LogoutUrlOptions = Omit < ConfigsOptions , 'isNewTab' > ;
88+ export type OnboardOptions = Omit < Omit < Omit < Omit < AuthorizeOptions , 'showAuthToggle' > , 'forceLogout' > , 'showRememberMe' > , 'authAction' > ;
89+ export type OnboardUrlOptions = Omit < OnboardOptions , 'isNewTab' > ;
90+ export type ServiceId = 'vault' | 'myaccount' | 'link-kit' ;
91+ export type LoginLinkTo = 'settings' | 'settings/authorized-applications' | 'settings/change-language' | 'settings/email-preferences' | 'settings/delete-account' | 'settings/update-email' | 'settings/update-password' ;
9292export interface RequestLoginLinkOptions extends ConfigsOptions {
9393 loginLinkTo ?: LoginLinkTo ;
9494}
0 commit comments