jira.js
    Preparing search index...

    Variable RolePayloadSchemaConst

    RolePayloadSchema: ZodObject<
        {
            defaultActors: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            anID: ZodOptional<ZodBoolean>;
                            areference: ZodOptional<ZodBoolean>;
                            entityId: ZodOptional<ZodString>;
                            entityType: ZodOptional<ZodString>;
                            id: ZodOptional<ZodString>;
                            type: ZodOptional<
                                ZodCustom<"id" | "ref" | string & {}, "id" | "ref" | string & {}>,
                            >;
                        },
                        $loose,
                    >,
                >,
            >;
            description: ZodOptional<ZodString>;
            name: ZodOptional<ZodString>;
            onConflict: ZodOptional<
                ZodCustom<
                    string & {}
                    | "FAIL"
                    | "USE"
                    | "NEW",
                    string & {} | "FAIL" | "USE" | "NEW",
                >,
            >;
            pcri: ZodOptional<
                ZodObject<
                    {
                        anID: ZodOptional<ZodBoolean>;
                        areference: ZodOptional<ZodBoolean>;
                        entityId: ZodOptional<ZodString>;
                        entityType: ZodOptional<ZodString>;
                        id: ZodOptional<ZodString>;
                        type: ZodOptional<
                            ZodCustom<"id" | "ref" | string & {}, "id" | "ref" | string & {}>,
                        >;
                    },
                    $loose,
                >,
            >;
            type: ZodOptional<
                ZodCustom<
                    | string & {}
                    | "HIDDEN"
                    | "VIEWABLE"
                    | "AI_AGENT"
                    | "EDITABLE"
                    | "GUEST",
                    string & {}
                    | "HIDDEN"
                    | "VIEWABLE"
                    | "AI_AGENT"
                    | "EDITABLE"
                    | "GUEST",
                >,
            >;
        },
        $loose,
    > = ...

    The payload used to create a project role. It is optional for CMP projects, as a default role actor will be provided. TMP will add new role actors to the table.