@useparagon/connect 2.2.4-experimental-15312.2 → 2.2.4-experimental-15312.3
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 +19 -9
- package/dist/src/ConnectSDK.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/types/sdk.d.ts +17 -5
- package/package.json +1 -1
package/dist/src/types/sdk.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { IConnectIntegrationWithCredentialInfo, IntegrationMetadata } from '../e
|
|
|
7
7
|
import { PersonaMeta } from '../entities/persona.interface';
|
|
8
8
|
import { IConnectUserContext } from '../helpers/ConnectUserContext';
|
|
9
9
|
import { ConnectSdkEnvironments } from '../server.types';
|
|
10
|
-
import { AuthenticatedConnectUser, CustomDropdownField, CustomDropdownOptions, DisableWorkflowOptions, DynamicMappingField, DynamicMappingOptions, FieldMappingConfig,
|
|
10
|
+
import { AuthenticatedConnectUser, CustomDropdownField, CustomDropdownOptions, DisableWorkflowOptions, DynamicMappingField, DynamicMappingOptions, FieldMappingConfig, GetIntegrationAccountOptions, IntegrationWorkflowMeta, IntegrationWorkflowState, SerializedConnectInput, UninstallOptions } from '../types/connect';
|
|
11
11
|
import { DataSource, DynamicDefaultInput, EnumInputValue } from './action';
|
|
12
12
|
import { Props as ConnectModalProps } from './connectModal';
|
|
13
13
|
import { DataType, KeyedSource } from './resolvers';
|
|
@@ -291,10 +291,22 @@ export interface IConnectSDK {
|
|
|
291
291
|
nextPageCursor: string | null;
|
|
292
292
|
}>;
|
|
293
293
|
getDataSourceOptions(integrationName: string, action: string): Promise<DataSource | undefined>;
|
|
294
|
-
setCustomDropdownOptions(action: string, dropdowns: Record<string, CustomDropdownField[] | CustomDropdownOptions
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
294
|
+
setCustomDropdownOptions(action: string, dropdowns: Record<string, CustomDropdownField[] | CustomDropdownOptions>, options?: {
|
|
295
|
+
selectedCredentialId: string;
|
|
296
|
+
selectedConfigurationId?: string;
|
|
297
|
+
}): void;
|
|
298
|
+
getCustomDropdownOptions(action: string, fieldKey?: string, options?: {
|
|
299
|
+
selectedCredentialId: string;
|
|
300
|
+
selectedConfigurationId?: string;
|
|
301
|
+
}): Record<string, CustomDropdownField[] | CustomDropdownOptions> | CustomDropdownField[] | CustomDropdownOptions;
|
|
302
|
+
setFieldMappingOptions(action: string, fieldMappings: Record<string, FieldMappingConfig>, options?: {
|
|
303
|
+
selectedCredentialId: string;
|
|
304
|
+
selectedConfigurationId?: string;
|
|
305
|
+
}): void;
|
|
306
|
+
getFieldMappingOptions(action: string, mappingKey?: string, options?: {
|
|
307
|
+
selectedCredentialId: string;
|
|
308
|
+
selectedConfigurationId?: string;
|
|
309
|
+
}): Record<string, FieldMappingConfig> | FieldMappingConfig;
|
|
298
310
|
installFlow: InstallFlow;
|
|
299
311
|
getAssetUrl(name: string): string;
|
|
300
312
|
}
|
package/package.json
CHANGED