@useparagon/connect 2.4.2 → 2.4.3-experimental.1
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
|
@@ -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 { AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions, ConditionalSource, ConnectInputValue, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, CustomDropdownField, DataType, DeleteConfigurationOptions, DisableWorkflowOptions, DynamicDataSource, DynamicDefaultInput, DynamicFieldMappingLoaderType, DynamicFieldMappingOptionsResult, EnumInputValue, EnumSection, EventInfo, GetIntegrationAccountOptions, GetTriggerTypesResponse, IConnectSDK, InputSources, InstallFlowStage, InstallIntegrationOptions, InstallOptions, IntegrationConfig, IntegrationConnectInput, IntegrationInstallEvent, IntentInputKeyConfig, KeyedSource, LoadCustomDropdownOptionsResult, ProxyRequestOptions, SerializedConnectInput, SetDataSourcesConfig, SingleSource, StartOptions, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions, UpdateWorkflowStateResponse, UserProvidedIntegrationConfig } from './types';
|
|
9
|
+
import { AccountType, AuthenticateOptions, AuthenticatedConnectUser, CompleteInstallOptions, ConditionalSource, ConnectInputValue, Props as ConnectModalProps, ConnectParams, ConnectUser, CreateConfigurationOptions, CredentialConfigOptions, CustomDropdownField, DataType, DeleteConfigurationOptions, DisableWorkflowOptions, DynamicDataSource, DynamicDefaultInput, DynamicFieldMappingLoaderType, DynamicFieldMappingOptionsResult, EnumInputValue, EnumSection, EventInfo, GetIntegrationAccountOptions, GetTriggerTypesResponse, IConnectSDK, InputSources, InstallFlowStage, InstallIntegrationOptions, InstallOptions, IntegrationConfig, IntegrationConnectInput, IntegrationInstallEvent, IntentInputKeyConfig, KeyedSource, LoadCustomDropdownOptionsResult, ProxyRequestOptions, SerializedConnectInput, SetDataSourcesConfig, SingleSource, StartOptions, TriggerWorkflowRequest, UninstallOptions, UpdateConfigurationOptions, UpdateWorkflowStateResponse, UserProvidedIntegrationConfig } 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 {
|
|
@@ -175,6 +175,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
175
175
|
* see PARA-1505
|
|
176
176
|
*/
|
|
177
177
|
private getAccountName;
|
|
178
|
+
private validateAccountType;
|
|
178
179
|
/**
|
|
179
180
|
* Set dynamic field mapping loaders for the given action
|
|
180
181
|
* @param action - The action to set dynamic field mapping loaders for
|
|
@@ -428,7 +429,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
428
429
|
* consumer renders directly from `input.type`.
|
|
429
430
|
*/
|
|
430
431
|
getSourcesForActionInput(input: IntentInputKeyConfig): SingleSource | ConditionalSource | null;
|
|
431
|
-
getAccountTypeOptions(integrationName: string):
|
|
432
|
+
getAccountTypeOptions(integrationName: string): AccountType[];
|
|
432
433
|
getPreOptions(integrationName: string, accountTypeId?: string): IntegrationConnectInput[];
|
|
433
434
|
getPostOptions(integrationName: string): IntegrationConnectInput[];
|
|
434
435
|
/**
|