@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
32 lines • 1.21 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* Control information and metadata for the response.
*/
export type ResponseMetadata = {
/**
* The maximum number of items that can be returned in a single page.
*/
pageLimit: number | null;
/**
* Unique identifier for the request, useful for tracking and debugging.
*/
requestId: string | null;
/**
* The timestamp indicating when the response was generated.
*/
responseTimestamp: Date | null;
/**
* 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;
};
/** @internal */
export declare const ResponseMetadata$inboundSchema: z.ZodType<ResponseMetadata, z.ZodTypeDef, unknown>;
export declare function responseMetadataFromJSON(jsonString: string): SafeParseResult<ResponseMetadata, SDKValidationError>;
//# sourceMappingURL=responsemetadata.d.ts.map