UNPKG

@docusign/iam-sdk

Version:

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

25 lines 1.02 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AuthorizationCodeGrantResponse = { /** * 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 refresh token. */ refreshToken: string; /** * The number of seconds until the access token expires. */ expiresIn: number; }; /** @internal */ export declare const AuthorizationCodeGrantResponse$inboundSchema: z.ZodType<AuthorizationCodeGrantResponse, z.ZodTypeDef, unknown>; export declare function authorizationCodeGrantResponseFromJSON(jsonString: string): SafeParseResult<AuthorizationCodeGrantResponse, SDKValidationError>; //# sourceMappingURL=authorizationcodegrantresponse.d.ts.map