@moneytree/mt-link-javascript-sdk 4.0.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/open-service-url.d.ts +3 -1
- package/dist/api/open-service.d.ts +3 -1
- package/dist/index.js +5 -5
- package/dist/typings.d.ts +15 -3
- package/package.json +1 -1
package/dist/typings.d.ts
CHANGED
|
@@ -35,10 +35,18 @@ export type VaultViewConnectionSetting = {
|
|
|
35
35
|
view: 'connection-setting';
|
|
36
36
|
credentialId: string;
|
|
37
37
|
};
|
|
38
|
+
export type VaultViewConnectionUpdate = {
|
|
39
|
+
view: 'connection-update';
|
|
40
|
+
credentialId: string;
|
|
41
|
+
};
|
|
42
|
+
export type VaultViewConnectionDelete = {
|
|
43
|
+
view: 'connection-delete';
|
|
44
|
+
credentialId: string;
|
|
45
|
+
};
|
|
38
46
|
export type VaultViewCustomerSupport = {
|
|
39
47
|
view: 'customer-support';
|
|
40
48
|
};
|
|
41
|
-
export type VaultServiceTypes = VaultViewServiceList | VaultViewServiceConnection | VaultViewConnectionSetting | VaultViewCustomerSupport;
|
|
49
|
+
export type VaultServiceTypes = VaultViewServiceList | VaultViewServiceConnection | VaultViewConnectionSetting | VaultViewConnectionUpdate | VaultViewConnectionDelete | VaultViewCustomerSupport;
|
|
42
50
|
export type MyAccountServiceTypes = {
|
|
43
51
|
view: LoginLinkTo;
|
|
44
52
|
};
|
|
@@ -47,15 +55,19 @@ export type MyAccountOpenServiceUrlOptions = ConfigsOptionsWithoutIsNewTab | (Co
|
|
|
47
55
|
export type VaultOpenServiceViewServiceList = ConfigsOptions & VaultViewServiceList;
|
|
48
56
|
export type VaultOpenServiceViewServiceConnection = ConfigsOptions & VaultViewServiceConnection;
|
|
49
57
|
export type VaultOpenServiceViewConnectionSetting = ConfigsOptions & VaultViewConnectionSetting;
|
|
58
|
+
export type VaultOpenServiceViewConnectionUpdate = ConfigsOptions & VaultViewConnectionUpdate;
|
|
59
|
+
export type VaultOpenServiceViewConnectionDelete = ConfigsOptions & VaultViewConnectionDelete;
|
|
50
60
|
export type VaultOpenServiceViewCustomerSupport = ConfigsOptions & VaultViewCustomerSupport;
|
|
51
61
|
export type VaultOpenServiceUrlViewServiceList = ConfigsOptionsWithoutIsNewTab & VaultViewServiceList;
|
|
52
62
|
export type VaultOpenServiceUrlViewServiceConnection = ConfigsOptionsWithoutIsNewTab & VaultViewServiceConnection;
|
|
53
63
|
export type VaultOpenServiceUrlViewConnectionSetting = ConfigsOptionsWithoutIsNewTab & VaultViewConnectionSetting;
|
|
64
|
+
export type VaultOpenServiceUrlViewConnectionUpdate = ConfigsOptionsWithoutIsNewTab & VaultViewConnectionUpdate;
|
|
65
|
+
export type VaultOpenServiceUrlViewConnectionDelete = ConfigsOptionsWithoutIsNewTab & VaultViewConnectionDelete;
|
|
54
66
|
export type VaultOpenServiceUrlViewCustomerSupport = ConfigsOptionsWithoutIsNewTab & VaultViewCustomerSupport;
|
|
55
67
|
export type LinkKitOpenServiceOptions = ConfigsOptions;
|
|
56
68
|
export type LinkKitOpenServiceUrlOptions = ConfigsOptionsWithoutIsNewTab;
|
|
57
|
-
export type OpenServiceOptions = MyAccountOpenServiceOptions | ConfigsOptions | VaultOpenServiceViewServiceList | VaultOpenServiceViewConnectionSetting | VaultOpenServiceViewCustomerSupport | LinkKitOpenServiceOptions;
|
|
58
|
-
export type OpenServiceUrlOptions = MyAccountOpenServiceUrlOptions | ConfigsOptionsWithoutIsNewTab | VaultOpenServiceUrlViewServiceList | VaultOpenServiceUrlViewConnectionSetting | VaultOpenServiceUrlViewCustomerSupport | LinkKitOpenServiceUrlOptions;
|
|
69
|
+
export type OpenServiceOptions = MyAccountOpenServiceOptions | ConfigsOptions | VaultOpenServiceViewServiceList | VaultOpenServiceViewConnectionSetting | VaultOpenServiceViewConnectionUpdate | VaultOpenServiceViewConnectionDelete | VaultOpenServiceViewCustomerSupport | LinkKitOpenServiceOptions;
|
|
70
|
+
export type OpenServiceUrlOptions = MyAccountOpenServiceUrlOptions | ConfigsOptionsWithoutIsNewTab | VaultOpenServiceUrlViewServiceList | VaultOpenServiceUrlViewConnectionSetting | VaultOpenServiceUrlViewConnectionUpdate | VaultOpenServiceUrlViewConnectionDelete | VaultOpenServiceUrlViewCustomerSupport | LinkKitOpenServiceUrlOptions;
|
|
59
71
|
export type Scopes = string | string[];
|
|
60
72
|
interface AuthorizeConfigsOptions {
|
|
61
73
|
forceLogout?: boolean;
|