@useparagon/connect 1.0.35-experimental.5 → 1.0.35-experimental.7
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/types/sdk.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ import { PersonaMeta } from '../entities/persona.interface';
|
|
|
8
8
|
import { IConnectUserContext } from '../helpers/ConnectUserContext';
|
|
9
9
|
import { ConnectSdkEnvironments } from '../server.types';
|
|
10
10
|
import { AuthenticatedConnectUser, DisableWorkflowOptions, DynamicMappingField, DynamicMappingOptions, GetIntegrationAccountOptions, IntegrationWorkflowMeta, IntegrationWorkflowState, SerializedConnectInput, UninstallOptions } from '../types/connect';
|
|
11
|
+
import { ComboInputDataSource } from './action';
|
|
11
12
|
import { Props as ConnectModalProps } from './connectModal';
|
|
13
|
+
import { DataType, KeyedSource } from './resolvers';
|
|
12
14
|
export type ConnectUser = {
|
|
13
15
|
authenticated: false;
|
|
14
16
|
} | AuthenticatedConnectUser;
|
|
@@ -211,6 +213,20 @@ export interface IConnectSDK {
|
|
|
211
213
|
errors: string[];
|
|
212
214
|
}>;
|
|
213
215
|
updateWorkflowState(workflowStateUpdate: Record<string, boolean>, options?: CredentialConfigOptions): Promise<UpdateWorkflowStateResponse>;
|
|
216
|
+
getFieldOptions(options: {
|
|
217
|
+
integration: string;
|
|
218
|
+
action: string;
|
|
219
|
+
search?: string;
|
|
220
|
+
cursor?: string | number | false;
|
|
221
|
+
parameters: KeyedSource<DataType.ANY>[];
|
|
222
|
+
}): Promise<{
|
|
223
|
+
data: {
|
|
224
|
+
value: string;
|
|
225
|
+
label: string;
|
|
226
|
+
}[];
|
|
227
|
+
nextPageCursor: string | null;
|
|
228
|
+
}>;
|
|
229
|
+
getComboInputOptions(integrationName: string, action: string): Promise<ComboInputDataSource>;
|
|
214
230
|
}
|
|
215
231
|
/**
|
|
216
232
|
* sdk install options
|
package/package.json
CHANGED