@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
32 lines • 2.13 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const GetTokenFromConfidentialAuthCodeServerList: readonly ["https://account-d.docusign.com", "https://account.docusign.com"];
export type GetTokenFromConfidentialAuthCodeSecurity = {
clientId: string;
secretKey: string;
};
/** @internal */
export declare const GetTokenFromConfidentialAuthCodeSecurity$inboundSchema: z.ZodType<GetTokenFromConfidentialAuthCodeSecurity, z.ZodTypeDef, unknown>;
/** @internal */
export type GetTokenFromConfidentialAuthCodeSecurity$Outbound = {
clientId: string;
secretKey: string;
};
/** @internal */
export declare const GetTokenFromConfidentialAuthCodeSecurity$outboundSchema: z.ZodType<GetTokenFromConfidentialAuthCodeSecurity$Outbound, z.ZodTypeDef, GetTokenFromConfidentialAuthCodeSecurity>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace GetTokenFromConfidentialAuthCodeSecurity$ {
/** @deprecated use `GetTokenFromConfidentialAuthCodeSecurity$inboundSchema` instead. */
const inboundSchema: z.ZodType<GetTokenFromConfidentialAuthCodeSecurity, z.ZodTypeDef, unknown>;
/** @deprecated use `GetTokenFromConfidentialAuthCodeSecurity$outboundSchema` instead. */
const outboundSchema: z.ZodType<GetTokenFromConfidentialAuthCodeSecurity$Outbound, z.ZodTypeDef, GetTokenFromConfidentialAuthCodeSecurity>;
/** @deprecated use `GetTokenFromConfidentialAuthCodeSecurity$Outbound` instead. */
type Outbound = GetTokenFromConfidentialAuthCodeSecurity$Outbound;
}
export declare function getTokenFromConfidentialAuthCodeSecurityToJSON(getTokenFromConfidentialAuthCodeSecurity: GetTokenFromConfidentialAuthCodeSecurity): string;
export declare function getTokenFromConfidentialAuthCodeSecurityFromJSON(jsonString: string): SafeParseResult<GetTokenFromConfidentialAuthCodeSecurity, SDKValidationError>;
//# sourceMappingURL=gettokenfromconfidentialauthcode.d.ts.map