@useparagon/connect 2.0.5 → 2.0.6-experimental.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, 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';
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';
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 {
@@ -46,6 +46,10 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
46
46
  * so that we will be able to know whether style is added in body or not
47
47
  */
48
48
  private originalBodyOverflow;
49
+ /**
50
+ * Dynamic field mapping loaders for handling dynamic object types and integration fields
51
+ */
52
+ private dynamicFieldMappingLoaders;
49
53
  installFlow: InstallFlow;
50
54
  constructor(environmentsOrHost?: ConnectSdkEnvironments | string, flags?: {
51
55
  skipBootstrapWithLastKnownState?: boolean;
@@ -357,6 +361,14 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
357
361
  getAccountTypeOptions(integrationName: string): AccountType[];
358
362
  getPreOptions(integrationName: string, accountTypeId?: string): IntegrationConnectInput[];
359
363
  getPostOptions(integrationName: string): IntegrationConnectInput[];
364
+ /**
365
+ * Load dynamic field mapping object types
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>;
360
372
  }
361
373
  export declare class InstallFlow {
362
374
  private readonly paragon;