Variable: AddPermissionToSpaceSchema
ts
const AddPermissionToSpaceSchema: ZodObject<{
_links: ZodOptional<ZodObject<{
base: ZodOptional<ZodString>;
byOperation: ZodOptional<ZodString>;
collection: ZodOptional<ZodString>;
context: ZodOptional<ZodString>;
download: ZodOptional<ZodString>;
editui: ZodOptional<ZodString>;
edituiv2: ZodOptional<ZodString>;
next: ZodOptional<ZodString>;
prev: ZodOptional<ZodString>;
self: ZodOptional<ZodString>;
tinyui: ZodOptional<ZodString>;
webui: ZodOptional<ZodString>;
}, $loose>>;
operation: ZodObject<{
key: ZodCustom<
| "copy"
| "move"
| "use"
| "update"
| string & object
| "delete"
| "read"
| "administer"
| "create"
| "export"
| "purge"
| "purge_version"
| "restore"
| "archive"
| "restrict_content",
| "copy"
| "move"
| "use"
| "update"
| string & object
| "delete"
| "read"
| "administer"
| "create"
| "export"
| "purge"
| "purge_version"
| "restore"
| "archive"
| "restrict_content">;
target: ZodCustom<
| "attachment"
| "page"
| string & object
| "comment"
| "space"
| "blogpost",
| "attachment"
| "page"
| string & object
| "comment"
| "space"
| "blogpost">;
}, $loose>;
spaceKey: ZodString;
subject: ZodObject<{
identifier: ZodString;
type: ZodCustom<"user" | "group" | string & object, "user" | "group" | string & object>;
}, $loose>;
}, $strip>;Defined in: src/v1/parameters/addPermissionToSpace.ts:4