UNPKG

@docusign/iam-sdk

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.

69 lines 2.44 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TabConnectedFieldsData } from "./tabconnectedfieldsdata.js"; import { TabConnectionInstance } from "./tabconnectioninstance.js"; /** * Indicates if the field is required to sign the document */ export declare const ExtensionPolicy: { readonly None: "None"; }; /** * Indicates if the field is required to sign the document */ export type ExtensionPolicy = ClosedEnum<typeof ExtensionPolicy>; export type TabExtensionData = { /** * A unique UUID for each tab group. Tabs associated with the same model or concept will share the same extensionGroupId. */ extensionGroupId: string; /** * Determines input data key required for data verification. */ actionInputKey: string; /** * Indicates if the field is required to sign the document */ extensionPolicy?: ExtensionPolicy | undefined; /** * Publisher of the extension app. */ publisherName?: string | undefined; /** * Name of the extension app. */ applicationName?: string | undefined; /** * Name of an action in an extension app. */ actionName?: string | undefined; /** * Indicates the template that defines an extension. */ extensionContract?: string | undefined; /** * Indicates the template defining an action. */ actionContract?: string | undefined; /** * Name of the extension. */ extensionName?: string | undefined; /** * A boolean value that indicates if the field must pass verification to sign the document. */ requiredForExtension: boolean; /** * Array representing the extension app connection name and instance. */ connectionInstances?: Array<TabConnectionInstance> | undefined; connectedFieldsData?: TabConnectedFieldsData | undefined; }; /** @internal */ export declare const ExtensionPolicy$inboundSchema: z.ZodNativeEnum<typeof ExtensionPolicy>; /** @internal */ export declare const TabExtensionData$inboundSchema: z.ZodType<TabExtensionData, z.ZodTypeDef, unknown>; export declare function tabExtensionDataFromJSON(jsonString: string): SafeParseResult<TabExtensionData, SDKValidationError>; //# sourceMappingURL=tabextensiondata.d.ts.map