@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
54 lines • 2.18 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ResourceMetadata = {
/**
* Timestamp when the agreement document was created.
*/
createdAt?: Date | null | undefined;
/**
* User ID of the person who created the agreement document.
*/
createdBy?: string | null | undefined;
/**
* Timestamp when the agreement document was last modified.
*/
modifiedAt?: Date | null | undefined;
/**
* User ID of the person who last modified the agreement document.
*/
modifiedBy?: string | null | undefined;
/**
* Unique identifier for the request, useful for tracking and debugging.
*/
requestId?: string | null | undefined;
/**
* The timestamp indicating when the response was generated.
*/
responseTimestamp?: Date | null | undefined;
/**
* The duration of time, in milliseconds, that the server took to process and respond
*
* @remarks
* to the request. This is measured from the time the server received the request
* until the time the response was sent.
*/
responseDurationMs?: number | null | undefined;
};
/** @internal */
export declare const ResourceMetadata$inboundSchema: z.ZodType<ResourceMetadata, z.ZodTypeDef, unknown>;
/** @internal */
export type ResourceMetadata$Outbound = {
created_at?: string | null | undefined;
created_by?: string | null | undefined;
modified_at?: string | null | undefined;
modified_by?: string | null | undefined;
request_id?: string | null | undefined;
response_timestamp?: string | null | undefined;
response_duration_ms?: number | null | undefined;
};
/** @internal */
export declare const ResourceMetadata$outboundSchema: z.ZodType<ResourceMetadata$Outbound, z.ZodTypeDef, ResourceMetadata>;
export declare function resourceMetadataToJSON(resourceMetadata: ResourceMetadata): string;
export declare function resourceMetadataFromJSON(jsonString: string): SafeParseResult<ResourceMetadata, SDKValidationError>;
//# sourceMappingURL=resourcemetadata.d.ts.map