@useparagon/connect 2.0.6-experimental.2 → 2.0.6-experimental.4

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, CompleteInstallOptions, ConnectInputValue, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, DataType, DeleteConfigurationOptions, DisableWorkflowOptions, DynamicDefaultInput, DynamicFieldOptionsResult, EnumInputValue, 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, DynamicFieldMappingLoaderType, DynamicFieldMappingOptionsResult, 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 {
@@ -362,13 +362,13 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
362
362
  getPreOptions(integrationName: string, accountTypeId?: string): IntegrationConnectInput[];
363
363
  getPostOptions(integrationName: string): IntegrationConnectInput[];
364
364
  /**
365
- * Load dynamic field mapping object types
365
+ * Load dynamic field mapping options (object types or integration fields)
366
366
  */
367
- _loadCustomDynamicFieldObjectTypes(mappingKey: string, cursor?: string, search?: string): Promise<DynamicFieldOptionsResult>;
368
- /**
369
- * Load dynamic field mapping integration fields
370
- */
371
- _loadCustomDynamicFieldIntegrationFields(mappingKey: string, objectType: string, cursor?: string, search?: string): Promise<DynamicFieldOptionsResult>;
367
+ _loadDynamicFieldMappingOptions(mappingKey: string, type: DynamicFieldMappingLoaderType, params?: {
368
+ objectType?: string;
369
+ cursor?: string;
370
+ search?: string;
371
+ }): Promise<DynamicFieldMappingOptionsResult>;
372
372
  }
373
373
  export declare class InstallFlow {
374
374
  private readonly paragon;