@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
38 lines • 1.52 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Tab, Tab$Outbound } from "./tab.js";
export type TabInfo = {
/**
* Unique ID of the installed extension app
*/
appId: string;
/**
* Tab data representing the tabs associated with installed apps in the account
*/
tabs: Array<Tab>;
};
/** @internal */
export declare const TabInfo$inboundSchema: z.ZodType<TabInfo, z.ZodTypeDef, unknown>;
/** @internal */
export type TabInfo$Outbound = {
appId: string;
tabs: Array<Tab$Outbound>;
};
/** @internal */
export declare const TabInfo$outboundSchema: z.ZodType<TabInfo$Outbound, z.ZodTypeDef, TabInfo>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace TabInfo$ {
/** @deprecated use `TabInfo$inboundSchema` instead. */
const inboundSchema: z.ZodType<TabInfo, z.ZodTypeDef, unknown>;
/** @deprecated use `TabInfo$outboundSchema` instead. */
const outboundSchema: z.ZodType<TabInfo$Outbound, z.ZodTypeDef, TabInfo>;
/** @deprecated use `TabInfo$Outbound` instead. */
type Outbound = TabInfo$Outbound;
}
export declare function tabInfoToJSON(tabInfo: TabInfo): string;
export declare function tabInfoFromJSON(jsonString: string): SafeParseResult<TabInfo, SDKValidationError>;
//# sourceMappingURL=tabinfo.d.ts.map