@makehq/sdk
    Preparing search index...

    Type Alias Function

    Represents a custom function in Make. Custom functions are user-created code snippets that can be used in scenarios.

    type Function = {
        args: string;
        code?: string;
        createdAt: string;
        createdByUser: { email: string; id: number; name: string };
        description: string;
        id: number;
        name: string;
        scenarios?: { id: number; name: string }[];
        updatedAt: string;
    }
    Index

    Properties

    args: string

    Function arguments declaration

    code?: string

    The actual function code

    createdAt: string

    Timestamp when the function was created

    createdByUser: { email: string; id: number; name: string }

    Information about the user who created the function

    Type declaration

    • email: string

      User email

    • id: number

      User ID

    • name: string

      User name

    description: string

    Description of what the function does

    id: number

    Unique identifier of the function

    name: string

    Name of the function

    scenarios?: { id: number; name: string }[]

    List of scenarios using this function

    Type declaration

    • id: number

      Scenario ID

    • name: string

      Scenario name

    updatedAt: string

    Timestamp when the function was last updated