@useparagon/connect 2.0.1 → 2.0.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.
@@ -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, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions, UpdateWorkflowStateResponse } from './types';
9
+ import { AccountType, AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions, ConnectInputValue, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DataType, DeleteConfigurationOptions, DisableWorkflowOptions, DynamicDefaultInput, EnumInputValue, 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 {
@@ -348,20 +348,11 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
348
348
  cursor?: string | number | false;
349
349
  parameters?: KeyedSource<DataType.ANY>[];
350
350
  }): Promise<{
351
- data: {
352
- value: string;
353
- label: string;
354
- }[];
355
- nestedData: {
356
- title: string;
357
- items: {
358
- value: string;
359
- label: string;
360
- }[];
361
- }[];
351
+ data: EnumInputValue<any>[];
352
+ nestedData: DynamicDefaultInput[];
362
353
  nextPageCursor: string | null;
363
354
  }>;
364
- getDataSourceOptions(integrationName: string, action: string): Promise<ComboInputDataSource>;
355
+ getDataSourceOptions(integrationName: string, action: string): Promise<import("./types").DataSource | undefined>;
365
356
  getAccountTypeOptions(integrationName: string): AccountType[];
366
357
  getPreOptions(integrationName: string, accountTypeId?: string): IntegrationConnectInput[];
367
358
  getPostOptions(integrationName: string): IntegrationConnectInput[];