From aeba4627beab5014d3a73db33bb14416df6daa65 Mon Sep 17 00:00:00 2001 From: dma23 Date: Sat, 27 Dec 2025 23:56:25 -0500 Subject: [PATCH] feat: Added generateQuikForm --- src/integrations/flinks/index.tsx | 7 +++++++ src/utils/formContext.ts | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/integrations/flinks/index.tsx b/src/integrations/flinks/index.tsx index 597e091e3..803f5ebb9 100644 --- a/src/integrations/flinks/index.tsx +++ b/src/integrations/flinks/index.tsx @@ -64,6 +64,13 @@ const getOpenFlinksConnect = }); }; +export async function generateQuikDocuments( + client: IntegrationClient, + action: Record +) { + return client.generateQuikEnvelopes(action); +} + export function useFlinksConnect() { const [flinksUrl, setFlinksUrl] = useState(''); diff --git a/src/utils/formContext.ts b/src/utils/formContext.ts index c0c268b07..06c0939b9 100644 --- a/src/utils/formContext.ts +++ b/src/utils/formContext.ts @@ -202,6 +202,8 @@ export const getFormContext = (formUuid: string) => { formState.client.getQuikForms(props), getQuikFormRoles: (props: { formIds: number[] }) => formState.client.getQuikFormRoles(props), + generateQuikDocuments: (action: Record) => + formState.client.generateQuikEnvelopes(action), getConfig: (params: GetConfigParams) => formState.client.getConfig(params), // deprecated setFieldValues: (userVals: FieldValues): void => {