@useparagon/connect 2.2.1-experimental.1 → 2.2.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/src/ConnectSDK.d.ts +8 -0
- package/dist/src/ConnectSDK.js +1 -1
- package/dist/src/ConnectSDK.js.LICENSE.txt +30 -0
- package/dist/src/entities/integration.interface.d.ts +2 -2
- package/dist/src/entities/workflow.interface.d.ts +4 -0
- package/dist/src/helpers/oauth.d.ts +11 -4
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.LICENSE.txt +30 -0
- package/dist/src/lib/cloneDeep.d.ts +1 -0
- package/dist/src/types/connect.d.ts +2 -0
- package/dist/src/types/sdk.d.ts +7 -1
- package/package.json +3 -1
package/dist/src/ConnectSDK.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions,
|
|
|
10
10
|
export declare const PARAGON_OVERFLOW_EMPTY_VALUE = "PARAGON_OVERFLOW_EMPTY_VALUE";
|
|
11
11
|
export { ExternalFilePicker };
|
|
12
12
|
export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
13
|
+
private sdkVersion;
|
|
13
14
|
root: HTMLIFrameElement | undefined;
|
|
14
15
|
private rootLoaded;
|
|
15
16
|
isHeadless: boolean;
|
|
@@ -300,6 +301,13 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
300
301
|
destroyConfiguration({ id, credentialId }: DeleteConfigurationOptions): Promise<void>;
|
|
301
302
|
updateConfiguration({ id, credentialId, meta, }: UpdateConfigurationOptions): Promise<IConnectCredentialConfig>;
|
|
302
303
|
private pollForCredential;
|
|
304
|
+
/**
|
|
305
|
+
* get custom webhook trigger url
|
|
306
|
+
* @param workflowId
|
|
307
|
+
* @param connectCredentialId
|
|
308
|
+
* @returns custom webhook trigger url for user level + manual
|
|
309
|
+
*/
|
|
310
|
+
getCustomWebhookUserManualUrl(workflowId: string, connectCredentialId?: string): Promise<string>;
|
|
303
311
|
/**
|
|
304
312
|
* Returns integration config
|
|
305
313
|
* @param integration
|