@useparagon/connect 1.0.32 → 1.0.33
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/src/types/sdk.d.ts +4 -4
- package/package.json +1 -1
package/dist/src/types/sdk.d.ts
CHANGED
|
@@ -97,11 +97,11 @@ export interface IConnectSDK {
|
|
|
97
97
|
* Install Options:
|
|
98
98
|
* `{showPortalAfterInstall: boolean}` decides wether to show portal with configuration view after the installation is completed
|
|
99
99
|
*/
|
|
100
|
-
installIntegration(name: string, options
|
|
100
|
+
installIntegration(name: string, options?: InstallIntegrationOptions): Promise<void | IntegrationInstallEvent>;
|
|
101
101
|
/**
|
|
102
102
|
* uninstalls an integration for connected user.
|
|
103
103
|
*/
|
|
104
|
-
uninstallIntegration(name: string, options
|
|
104
|
+
uninstallIntegration(name: string, options?: UninstallOptions): Promise<void>;
|
|
105
105
|
/**
|
|
106
106
|
* disables a workflow for the connected user and unsubscribes all the workflows in hermes
|
|
107
107
|
*/
|
|
@@ -109,7 +109,7 @@ export interface IConnectSDK {
|
|
|
109
109
|
/**
|
|
110
110
|
* enables a workflow for the connected user and subscribe the workflows in hermes
|
|
111
111
|
*/
|
|
112
|
-
enableWorkflow(workflowId: string, options
|
|
112
|
+
enableWorkflow(workflowId: string, options?: CredentialConfigOptions): Promise<void>;
|
|
113
113
|
setUserMetadata(meta: PersonaMeta): Promise<AuthenticatedConnectUser>;
|
|
114
114
|
/**
|
|
115
115
|
* sets the base url for different services used in connect sdk
|
|
@@ -171,7 +171,7 @@ export interface IConnectSDK {
|
|
|
171
171
|
* @param integrationType
|
|
172
172
|
* @param options
|
|
173
173
|
*/
|
|
174
|
-
getIntegrationAccount(integrationType: string, options
|
|
174
|
+
getIntegrationAccount(integrationType: string, options?: GetIntegrationAccountOptions): Promise<IConnectIntegrationWithCredentialInfo>;
|
|
175
175
|
/**
|
|
176
176
|
* Connects to a resource using the provided credentials payload.
|
|
177
177
|
* @param resourceSlug
|