@useparagon/connect 1.0.35-experimental.11 → 1.0.35-experimental.13

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.
@@ -6,7 +6,7 @@ import { PersonaMeta } from './entities/persona.interface';
6
6
  import { ExternalFilePicker } from './file-picker/types';
7
7
  import SDKEventEmitter from './SDKEventEmitter';
8
8
  import { ConnectSdkEnvironments } from './server.types';
9
- import { AccountType, AuthenticateOptions, AuthenticatedConnectUser, ComboInputDataSource, CompleteInstallOptions, ConnectInputValue, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DataType, DeleteConfigurationOptions, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallIntegrationOptions, InstallOptions, IntegrationConfig, IntegrationConnectInput, IntegrationInstallEvent, KeyedSource, LoadCustomDropdownOptionsResult, SerializedConnectInput, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions, UpdateWorkflowStateResponse } from './types';
9
+ import { AccountType, AuthenticateOptions, AuthenticatedConnectUser, ComboInputDataSource, CompleteInstallOptions, ConnectInputValue, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DataType, DeleteConfigurationOptions, DisableWorkflowOptions, EventInfo, GetIntegrationAccountOptions, IConnectSDK, InstallIntegrationOptions, InstallOptions, IntegrationConfig, IntegrationConnectInput, IntegrationInstallEvent, KeyedSource, LoadCustomDropdownOptionsResult, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions, UpdateWorkflowStateResponse } from './types';
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 {
@@ -354,7 +354,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
354
354
  }>;
355
355
  getDataSourceOptions(integrationName: string, action: string): Promise<ComboInputDataSource>;
356
356
  getAccountTypeOptions(integrationName: string): AccountType[];
357
- getPreOptions(integrationName: string, accountTypeId?: string): KeyedSource<DataType.ANY>[] | IntegrationConnectInput[];
357
+ getPreOptions(integrationName: string, accountTypeId?: string): IntegrationConnectInput[];
358
358
  getPostOptions(integrationName: string): IntegrationConnectInput[];
359
359
  }
360
360
  export declare class InstallFlow {
@@ -369,6 +369,7 @@ export declare class InstallFlow {
369
369
  constructor(paragon: ConnectSDK);
370
370
  start(integrationName: string, startOptions?: StartOptions): Promise<InstallFlowStage>;
371
371
  getScheme(): null | AuthenticationScheme;
372
+ private getSelectedAccountTypeOption;
372
373
  private requiresAccountType;
373
374
  private requiresPreOptions;
374
375
  private requiresPostOptions;
@@ -387,7 +388,7 @@ type AccountTypeStage = {
387
388
  };
388
389
  type PreOptionsStage = {
389
390
  stage: 'preOptions';
390
- options: IntegrationConnectInput[] | KeyedSource<DataType.ANY>[] | SerializedConnectInput[];
391
+ options: IntegrationConnectInput[];
391
392
  done: false;
392
393
  };
393
394
  type PostOptionsStage = {