Interface UnifiedDataModel

interface UnifiedDataModel {
    singularName: string;
    pluralName: string;
    fieldsSchema: any;
    description?: string;
    categories?: (
        | "Accounting"
        | "Ads"
        | "Analytics"
        | "ATS"
        | "Communication"
        | "CRM"
        | "Customer Success"
        | "Document Management"
        | "E-Commerce"
        | "E-Signature"
        | "ERP"
        | "File Storage"
        | "HRIS"
        | "Legal"
        | "Marketing Automation"
        | "Payments"
        | "Project Management"
        | "Sales"
        | "Ticketing")[];
    normalizeFields?: ((fields: Record<string, any>) => Record<string, any>);
    populateFields?: ((fields: Record<string, any>) => Record<string, any>);
    list?: DataCollectionListSpec;
    find?: DataCollectionFindSpec;
    match?: DataCollectionMatchSpec;
    create?: DataCollectionCreateSpec;
    update?: DataCollectionUpdateSpec;
    delete?: DataCollectionDeleteSpec;
    udmFallbacks?: UDMFallback[];
    fieldFallbacks?: Record<string, FieldFallbackValues>;
}

Properties

singularName: string
pluralName: string
fieldsSchema: any
description?: string
categories?: (
    | "Accounting"
    | "Ads"
    | "Analytics"
    | "ATS"
    | "Communication"
    | "CRM"
    | "Customer Success"
    | "Document Management"
    | "E-Commerce"
    | "E-Signature"
    | "ERP"
    | "File Storage"
    | "HRIS"
    | "Legal"
    | "Marketing Automation"
    | "Payments"
    | "Project Management"
    | "Sales"
    | "Ticketing")[]
normalizeFields?: ((fields: Record<string, any>) => Record<string, any>)

Normalize field values. For example, normalize phone numbers to E.164 format.

populateFields?: ((fields: Record<string, any>) => Record<string, any>)

Using dependencies between fields, populates missing fields. For example, if primaryEmail is missing, it will be populated from emails.

udmFallbacks?: UDMFallback[]
fieldFallbacks?: Record<string, FieldFallbackValues>
MMNEPVFCICPMFPCPTTAAATR