@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
27 lines • 1.35 kB
TypeScript
import * as z from "zod/v3";
export type V2PermissionsListPermissionsRequestBody = {
/**
* Pagination cursor from a previous response to fetch the next page of permissions.
*
* @remarks
* Include this value when you need to retrieve additional permissions beyond the initial response.
* Each response containing more results than the requested limit includes a cursor for subsequent pages.
*
* Leave empty or omit this field to start from the beginning of the permission list.
* Cursors are temporary and may expire - always handle cases where a cursor becomes invalid.
*/
cursor?: string | undefined;
/**
* Maximum number of permissions to return in a single response.
*/
limit?: number | undefined;
};
/** @internal */
export type V2PermissionsListPermissionsRequestBody$Outbound = {
cursor?: string | undefined;
limit: number;
};
/** @internal */
export declare const V2PermissionsListPermissionsRequestBody$outboundSchema: z.ZodType<V2PermissionsListPermissionsRequestBody$Outbound, z.ZodTypeDef, V2PermissionsListPermissionsRequestBody>;
export declare function v2PermissionsListPermissionsRequestBodyToJSON(v2PermissionsListPermissionsRequestBody: V2PermissionsListPermissionsRequestBody): string;
//# sourceMappingURL=v2permissionslistpermissionsrequestbody.d.ts.map