UNPKG

@docusign/iam-sdk

Version:

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

29 lines 1.49 kB
import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CustomProperty = string | number | boolean | { [k: string]: any; } | Array<any>; /** @internal */ export declare const CustomProperty$inboundSchema: z.ZodType<CustomProperty, z.ZodTypeDef, unknown>; /** @internal */ export type CustomProperty$Outbound = string | number | boolean | { [k: string]: any; } | Array<any>; /** @internal */ export declare const CustomProperty$outboundSchema: z.ZodType<CustomProperty$Outbound, z.ZodTypeDef, CustomProperty>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CustomProperty$ { /** @deprecated use `CustomProperty$inboundSchema` instead. */ const inboundSchema: z.ZodType<CustomProperty, z.ZodTypeDef, unknown>; /** @deprecated use `CustomProperty$outboundSchema` instead. */ const outboundSchema: z.ZodType<CustomProperty$Outbound, z.ZodTypeDef, CustomProperty>; /** @deprecated use `CustomProperty$Outbound` instead. */ type Outbound = CustomProperty$Outbound; } export declare function customPropertyToJSON(customProperty: CustomProperty): string; export declare function customPropertyFromJSON(jsonString: string): SafeParseResult<CustomProperty, SDKValidationError>; //# sourceMappingURL=customproperty.d.ts.map