UNPKG

@docusign/iam-sdk

Version:

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

21 lines 868 B
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type JWTGrantResponse = { /** * The value of the access token. This value will be added to the Authorization header of all Docusign API calls. */ accessToken: string; /** * The type of token. For access tokens, the value of this will be Bearer. */ tokenType: string; /** * The number of seconds until the access token expires. */ expiresIn: number; }; /** @internal */ export declare const JWTGrantResponse$inboundSchema: z.ZodType<JWTGrantResponse, z.ZodTypeDef, unknown>; export declare function jwtGrantResponseFromJSON(jsonString: string): SafeParseResult<JWTGrantResponse, SDKValidationError>; //# sourceMappingURL=jwtgrantresponse.d.ts.map