Skip to content

Variable: BulkEditShareableEntityRequestSchema

ts
const BulkEditShareableEntityRequestSchema: ZodObject<{
  action: ZodCustom<
     | string & object
     | "changeOwner"
     | "changePermission"
     | "addPermission"
     | "removePermission", 
     | string & object
     | "changeOwner"
     | "changePermission"
     | "addPermission"
    | "removePermission">;
  changeOwnerDetails: ZodOptional<ZodObject<{
     autofixName: ZodBoolean;
     newOwner: ZodString;
  }, $loose>>;
  entityIds: ZodArray<ZodNumber>;
  extendAdminPermissions: ZodOptional<ZodBoolean>;
  permissionDetails: ZodOptional<ZodObject<{
     editPermissions: ZodArray<ZodObject<{
        group: ZodOptional<ZodObject<{
           groupId: ...;
           name: ...;
           self: ...;
        }, $loose>>;
        id: ZodOptional<ZodNumber>;
        project: ZodOptional<ZodObject<{
           archived: ...;
           archivedBy: ...;
           archivedDate: ...;
           assigneeType: ...;
           avatarUrls: ...;
           components: ...;
           deleted: ...;
           deletedBy: ...;
           deletedDate: ...;
           description: ...;
           email: ...;
           entityId: ...;
           expand: ...;
           favourite: ...;
           id: ...;
           insight: ...;
           isPrivate: ...;
           issueTypeHierarchy: ...;
           issueTypes: ...;
           key: ...;
           landingPageInfo: ...;
           lead: ...;
           name: ...;
           permissions: ...;
           projectCategory: ...;
           projectTypeKey: ...;
           properties: ...;
           retentionTillDate: ...;
           roles: ...;
           self: ...;
           simplified: ...;
           style: ...;
           url: ...;
           uuid: ...;
           versions: ...;
        }, $loose>>;
        role: ZodOptional<ZodObject<{
           actors: ...;
           admin: ...;
           currentUserRole: ...;
           default: ...;
           description: ...;
           id: ...;
           name: ...;
           roleConfigurable: ...;
           scope: ...;
           self: ...;
           translatedName: ...;
        }, $loose>>;
        type: ZodCustom<
           | "global"
           | "user"
           | "group"
           | ... & ...
           | "project"
           | "projectRole"
           | "loggedin"
           | "authenticated"
           | "project-unknown", 
           | "global"
           | "user"
           | "group"
           | ... & ...
           | "project"
           | "projectRole"
           | "loggedin"
           | "authenticated"
          | "project-unknown">;
        user: ZodOptional<ZodObject<{
           accountId: ...;
           active: ...;
           avatarUrls: ...;
           displayName: ...;
           self: ...;
        }, $loose>>;
     }, $loose>>;
     sharePermissions: ZodArray<ZodObject<{
        group: ZodOptional<ZodObject<{
           groupId: ...;
           name: ...;
           self: ...;
        }, $loose>>;
        id: ZodOptional<ZodNumber>;
        project: ZodOptional<ZodObject<{
           archived: ...;
           archivedBy: ...;
           archivedDate: ...;
           assigneeType: ...;
           avatarUrls: ...;
           components: ...;
           deleted: ...;
           deletedBy: ...;
           deletedDate: ...;
           description: ...;
           email: ...;
           entityId: ...;
           expand: ...;
           favourite: ...;
           id: ...;
           insight: ...;
           isPrivate: ...;
           issueTypeHierarchy: ...;
           issueTypes: ...;
           key: ...;
           landingPageInfo: ...;
           lead: ...;
           name: ...;
           permissions: ...;
           projectCategory: ...;
           projectTypeKey: ...;
           properties: ...;
           retentionTillDate: ...;
           roles: ...;
           self: ...;
           simplified: ...;
           style: ...;
           url: ...;
           uuid: ...;
           versions: ...;
        }, $loose>>;
        role: ZodOptional<ZodObject<{
           actors: ...;
           admin: ...;
           currentUserRole: ...;
           default: ...;
           description: ...;
           id: ...;
           name: ...;
           roleConfigurable: ...;
           scope: ...;
           self: ...;
           translatedName: ...;
        }, $loose>>;
        type: ZodCustom<
           | "global"
           | "user"
           | "group"
           | ... & ...
           | "project"
           | "projectRole"
           | "loggedin"
           | "authenticated"
           | "project-unknown", 
           | "global"
           | "user"
           | "group"
           | ... & ...
           | "project"
           | "projectRole"
           | "loggedin"
           | "authenticated"
          | "project-unknown">;
        user: ZodOptional<ZodObject<{
           accountId: ...;
           active: ...;
           avatarUrls: ...;
           displayName: ...;
           self: ...;
        }, $loose>>;
     }, $loose>>;
  }, $loose>>;
}, $loose>;

Defined in: src/cloud/models/bulkEditShareableEntityRequest.ts:7

Details of a request to bulk edit shareable entity.