@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
35 lines • 1.18 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { WorkspaceDocumentOwner } from "./workspacedocumentowner.js";
export type WorkspaceDocument = {
/**
* The ID of the document
*/
documentId: string;
/**
* The name of the document
*/
name?: string | null | undefined;
/**
* The ID of the user who owns the document
*/
ownerId?: string | null | undefined;
/**
* The size of the document in bytes
*/
size?: number | null | undefined;
/**
* The date the document was created
*/
createdDate?: Date | null | undefined;
/**
* The date the document was last updated
*/
lastUpdatedDate?: Date | null | undefined;
owner?: WorkspaceDocumentOwner | undefined;
};
/** @internal */
export declare const WorkspaceDocument$inboundSchema: z.ZodType<WorkspaceDocument, z.ZodTypeDef, unknown>;
export declare function workspaceDocumentFromJSON(jsonString: string): SafeParseResult<WorkspaceDocument, SDKValidationError>;
//# sourceMappingURL=workspacedocument.d.ts.map