@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
30 lines • 1.41 kB
TypeScript
import * as z from "zod/v3";
export type V2PermissionsListRolesRequestBody = {
/**
* Maximum number of roles to return in a single response.
*
* @remarks
* Use smaller values for faster response times and better UI performance.
* Use larger values when you need to process many roles efficiently.
* Results exceeding this limit will be paginated with a cursor for continuation.
*/
limit?: number | undefined;
/**
* Pagination cursor from a previous response to fetch the next page of roles.
*
* @remarks
* Include this when you need to retrieve additional roles beyond the first page.
* Each response containing more results will include a cursor value that can be used here.
* Leave empty or omit this field to start from the beginning of the role list.
*/
cursor?: string | undefined;
};
/** @internal */
export type V2PermissionsListRolesRequestBody$Outbound = {
limit: number;
cursor?: string | undefined;
};
/** @internal */
export declare const V2PermissionsListRolesRequestBody$outboundSchema: z.ZodType<V2PermissionsListRolesRequestBody$Outbound, z.ZodTypeDef, V2PermissionsListRolesRequestBody>;
export declare function v2PermissionsListRolesRequestBodyToJSON(v2PermissionsListRolesRequestBody: V2PermissionsListRolesRequestBody): string;
//# sourceMappingURL=v2permissionslistrolesrequestbody.d.ts.map