@useparagon/connect 2.2.4-experimental-15312.1 → 2.2.4-experimental-15312.2
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
CHANGED
|
@@ -56,6 +56,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
56
56
|
skipBootstrapWithLastKnownState?: boolean;
|
|
57
57
|
});
|
|
58
58
|
setHeadless(headless: boolean): void;
|
|
59
|
+
getAssetUrl(name: string): string;
|
|
59
60
|
/**
|
|
60
61
|
* post message handler
|
|
61
62
|
* @param event
|
|
@@ -405,6 +406,7 @@ export declare class InstallFlow {
|
|
|
405
406
|
private preOptionsValue;
|
|
406
407
|
private postOptionsValue;
|
|
407
408
|
private credentialId;
|
|
409
|
+
private hasFinishedInstruction;
|
|
408
410
|
constructor(paragon: ConnectSDK);
|
|
409
411
|
start(integrationName: string, startOptions?: StartOptions): void;
|
|
410
412
|
cancel(): Promise<void>;
|
|
@@ -417,13 +419,18 @@ export declare class InstallFlow {
|
|
|
417
419
|
private getIntegrationName;
|
|
418
420
|
private getSelectedAccountTypeOption;
|
|
419
421
|
private requiresAccountType;
|
|
422
|
+
private getIntegrationInstructionMetadata;
|
|
423
|
+
private getSalesforceInstructionMetadata;
|
|
424
|
+
private requiresInstruction;
|
|
420
425
|
private requiresPreOptions;
|
|
421
426
|
private requiresPostOptions;
|
|
427
|
+
private requiresOAuth;
|
|
422
428
|
/** Starts an OAuth authentication flow through a window Pop-up */
|
|
423
429
|
private handleOAuth;
|
|
424
430
|
setAccountType(accountType: string): Promise<void>;
|
|
425
431
|
setPreOptions(options: Record<string, ConnectInputValue>): Promise<void>;
|
|
426
432
|
setPostOptions(options: Record<string, ConnectInputValue>): Promise<void>;
|
|
433
|
+
private setHasFinishedInstruction;
|
|
427
434
|
getAccountTypeValue(): string | null;
|
|
428
435
|
getPreOptionsValue(): Record<string, ConnectInputValue> | null;
|
|
429
436
|
getPostOptionsValue(): Record<string, ConnectInputValue> | null;
|