<commit_before>﻿module Kitos.Models.DataProcessing {

    export interface IAssignedRoleDTO {
        user: ISimpleUserDTO,
        role: IDataProcessingRoleDTO,
    }

    export interface IDataProcessingAgreementDTO {
        id: number,
        name: string,
        organizationId: number,
        references: Array<dpaReference>;
        itSystems: Models.Generic.NamedEntity.NamedEntityWithEnabledStatusDTO[];
        assignedRoles: IAssignedRoleDTO[];
    }

    export interface dpaReference extends BaseReference {
        title: string;
        externalReferenceId: string;
        url: string;
        masterReference: boolean;
        created: Date;
        itSystems: Models.Generic.NamedEntity.NamedEntityWithEnabledStatusDTO[];
        assignedRoles: IAssignedRoleDTO[],
    }

    export interface IDataProcessingRoleDTO {
        id: number,
        name: string,
        note: string,
        hasWriteAccess: boolean,
    }

    export interface ISimpleUserDTO {
        id: number,
        name: string,
        email: string,
    }
}<commit_msg>Git review name changes<commit_after>﻿module Kitos.Models.DataProcessing {

    export interface IAssignedRoleDTO {
        user: ISimpleUserDTO,
        role: IDataProcessingRoleDTO,
    }

    export interface IDataProcessingAgreementDTO {
        id: number,
        name: string,
        references: Array<IDataProcessingReferenceDTO>;
        itSystems: Models.Generic.NamedEntity.NamedEntityWithEnabledStatusDTO[];
        assignedRoles: IAssignedRoleDTO[];
    }

    export interface IDataProcessingReferenceDTO extends BaseReference {
        title: string;
        externalReferenceId: string;
        url: string;
        masterReference: boolean;
        created: Date;
        itSystems: Models.Generic.NamedEntity.NamedEntityWithEnabledStatusDTO[];
        assignedRoles: IAssignedRoleDTO[],
    }

    export interface IDataProcessingRoleDTO {
        id: number,
        name: string,
        note: string,
        hasWriteAccess: boolean,
    }

    export interface ISimpleUserDTO {
        id: number,
        name: string,
        email: string,
    }
}
{'fraction_non_alphanumeric': 0.07202993451824134, 'fraction_numerical': 0.0, 'mean_word_length': 2.565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6442308', 'n_tokens_mistral': 572, 'n_tokens_neox': 585, 'n_words': 127}