UNPKG

@docusign/iam-sdk

Version:

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

34 lines 1.51 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WorkspaceRoleSummary } from "./workspacerolesummary.js"; export type GetWorkspaceAssignableRolesResponse = { /** * The list of roles that can be assigned to the workspace */ roles: Array<WorkspaceRoleSummary> | null; /** * The number of roles returned in the response. Always equal or less than the `count` of the request */ resultSetSize?: number | null | undefined; /** * Position of the first item in the total results */ startPosition?: number | null | undefined; /** * Position of the last item in the total results */ endPosition?: number | null | undefined; /** * The total number of roles applicable to the request regardless of pagination. It may not always be computed */ totalRowCount?: number | null | undefined; /** * The optional ID of the current role. It may not always be computed */ currentRoleId?: string | null | undefined; }; /** @internal */ export declare const GetWorkspaceAssignableRolesResponse$inboundSchema: z.ZodType<GetWorkspaceAssignableRolesResponse, z.ZodTypeDef, unknown>; export declare function getWorkspaceAssignableRolesResponseFromJSON(jsonString: string): SafeParseResult<GetWorkspaceAssignableRolesResponse, SDKValidationError>; //# sourceMappingURL=getworkspaceassignablerolesresponse.d.ts.map